Commit Graph

10720 Commits

Author SHA1 Message Date
Winson
8660cf5d1b am 17e2d495: Use Long.compare() instead of truncating values for comparison.
* commit '17e2d49547eb8d068b1ba816c6226cf5ef77369d':
  Use Long.compare() instead of truncating values for comparison.
2015-09-25 23:23:56 +00:00
Winson
17e2d49547 Use Long.compare() instead of truncating values for comparison.
Bug: 24116808
2015-09-25 23:20:13 +00:00
Tony Wickham
25beed886f am cb20e0bc: Merge "Inform users when "Set wallpaper" fails." into ub-launcher3-burnaby-polish
* commit 'cb20e0bc8eed5fb97ef49eda2c1a1ff514aa9e38':
  Inform users when "Set wallpaper" fails.
2015-09-25 21:27:56 +00:00
Tony Wickham
cb20e0bc8e Merge "Inform users when "Set wallpaper" fails." into ub-launcher3-burnaby-polish 2015-09-25 21:22:44 +00:00
Tony Wickham
14a43ce3e6 Inform users when "Set wallpaper" fails.
Bug: 23716897
Change-Id: I06cd63d9ee869235c6a4c3140e574bf4c710454e
2015-09-25 14:18:20 -07:00
Sunny Goyal
1f604dfbc7 am d21301e6: Cancelling the stateannouncer when entering button drop target
* commit 'd21301e674377ecd72bd14f32b52c68fabcfd3be':
  Cancelling the stateannouncer when entering button drop target
2015-09-25 21:09:28 +00:00
Sunny Goyal
d21301e674 Cancelling the stateannouncer when entering button drop target
Change-Id: Ia10298e1d4862fc5f46894fa6d934207d6e9c117
2015-09-25 12:17:08 -07:00
Sunny Goyal
c5c723bbe4 Fixing string.format missed in previous conflict resolution
Change-Id: Ic71ee97c319bb9141f70acf75f2fe0e40565f692
2015-09-25 12:07:40 -07:00
Sunny Goyal
9d4380856f resolved conflicts for e78e3d73 to ub-launcher3-master
Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
2015-09-25 11:50:16 -07:00
Sunny Goyal
e78e3d734b Accessibility fixes
1) Use a different content description for temporary new page
2) Use different accessibility description for add widget toast
3) Announce when an item is deleted
4) Announce when hovering over a drop target
5) Announce state during drag-n-drop and widget resize (similar to seekbar)

Bug: 23573321, 24057944
Change-Id: Icabb317625e70c78e11c0b4f99b9339172d93594
2015-09-25 10:22:47 -07:00
Winson
1f832f85d5 am 2949fb5b: Fixing talk-back folder icon removal regression.
* commit '2949fb5b16a07259e221c5c04470e90c8afb4ea8':
  Fixing talk-back folder icon removal regression.
2015-09-24 18:26:44 +00:00
Winson
2949fb5b16 Fixing talk-back folder icon removal regression.
Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43
2015-09-24 18:21:16 +00:00
Winson
bba140270f am 122a753d: Adding small padding between icons in AllApps.
* commit '122a753dab209aca4b34210d749262a9ccf434c1':
  Adding small padding between icons in AllApps.
2015-09-23 23:32:19 +00:00
Sunny Goyal
1bf14ff6b7 am f27cb0e6: resolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish
* commit 'f27cb0e6b1edb2a53de64fdd12d25f400a3acdd9':
  Using custom threadpool executor instead of the one defined in AsyncTask
2015-09-23 23:14:51 +00:00
Winson
122a753dab Adding small padding between icons in AllApps.
Bug: 23948851
Change-Id: If7daf84be0c5b314c5afd896d2601028ee243c80
2015-09-23 23:13:21 +00:00
Sunny Goyal
f27cb0e6b1 resolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish
Change-Id: I34e679bae7faae3c7ca725263fe6cc7c5611e63a
2015-09-23 16:12:02 -07:00
Winson Chung
4362ba6913 am 5a7a1ce0: Merge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby-polish
* commit '5a7a1ce0a7affdff02029793ac24b2581075acee':
  Fixing workspace state issue with option menu.
2015-09-23 22:54:15 +00:00
Winson Chung
5a7a1ce0a7 Merge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby-polish 2015-09-23 22:51:27 +00:00
Sunny Goyal
8ac727b2c6 Using custom threadpool executor instead of the one defined in AsyncTask
Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448
2015-09-23 15:39:14 -07:00
Sunny Goyal
2924080923 am 4c67dce4: am ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
* commit '4c67dce43f6e4f535bfe9c6d804db0822ac6db9d':
  Preventing nullpointer exception when cloning rawList
2015-09-23 18:43:52 +00:00
Sunny Goyal
4c67dce43f am ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
* commit 'ce0a89461a7e72917c052844f8e9339d2047b1d0':
  Preventing nullpointer exception when cloning rawList
2015-09-23 18:40:52 +00:00
Sunny Goyal
ce0a89461a Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby 2015-09-23 18:34:56 +00:00
Sunny Goyal
fa20fff5ca am e4d16e41: am 7ca99110: Using an executor with increased queue size for loading previews
* commit 'e4d16e41e9414f975ce78ed19b8e3616cd59a744':
  Using an executor with increased queue size for loading previews
2015-09-23 18:08:59 +00:00
Sunny Goyal
e4d16e41e9 am 7ca99110: Using an executor with increased queue size for loading previews
* commit '7ca991104e3ac2e99fcde5599416f82b4d66aad1':
  Using an executor with increased queue size for loading previews
2015-09-23 18:03:02 +00:00
Sunny Goyal
7ca991104e Using an executor with increased queue size for loading previews
An async task can be in the queue even if it has been cancelled. It
is removed only after it gets executed once. So the executor can get
blocked if there are some tasks which are running, and we keep posting
and cancelling preview load tasks.

Bug: 24306650
Change-Id: I836c8d53258542cc6f31952dff84323cc057437c
2015-09-23 10:48:50 -07:00
Tony Wickham
202ddc2011 Fixing merge into ub-launcher3-master
Change-Id: Ifd9128c72f6e11855b1bb9272c6f193d688ba021
2015-09-22 18:01:29 -07:00
Tony Wickham
626a11cb3c am ff9133f1: Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.
* commit 'ff9133f1125865f4e14a92d4b5e661f1ac92524d':
  Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.
2015-09-23 00:40:27 +00:00
Tony Wickham
724c3c638a Merge "Show a spinner while wallpaper is being cropped." into ub-launcher3-burnaby-polish 2015-09-23 00:39:36 +00:00
Winson
4616347537 Fixing workspace state issue with option menu.
- Hitting a ctrl key combo will actually call onPrepareOptionsMenu(), which
  will change the state of the workspace incorrectly.  Instead, listen for
  the menu button, and only allow the user to enter overview mode if they
  are currently not dragging or in an overlay state (like all apps or
  widgets).
- Also making the overview buttons focusable so that they are focused when
  you go into overview mode.

Bug: 22483367
Change-Id: Ie6e9febd8a5a4e7ad25d745639d42d1c7b9801b4
2015-09-22 17:33:39 -07:00
Tony Wickham
625e4fe596 Show a spinner while wallpaper is being cropped.
Bug: 23599411

Change-Id: I6c5f75554fd59b7caa3a61f1b11b4a2a6aa21e7c
2015-09-22 17:33:20 -07:00
Tony Wickham
ff9133f112 Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.
Bug: 22631531

Change-Id: Ia0c1bccf4b8af3a8b335b865974c5d08f9836689
2015-09-23 00:13:56 +00:00
Sunny Goyal
6a706b1dd7 Preventing nullpointer exception when cloning rawList
Bug: 24299525
Change-Id: I92018a3da7d75afc2c6997302f8e0492eb78e62f
2015-09-22 16:56:55 -07:00
Sunny Goyal
e04febbf8e Merge "Moving a few testing classes to a separate package" into ub-launcher3-master 2015-09-21 20:35:29 +00:00
Adam Cohen
3c9c7263dc am 9ae42fff: am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby
* commit '9ae42fff6f481ea2a06f171da43f630ded313b69':
  Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
2015-09-21 17:44:54 +00:00
Adam Cohen
9ae42fff6f am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby
* commit 'b3fff9d98a3e3c886d4efa912d7ad6753dd7ec9c':
  Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
2015-09-21 17:40:50 +00:00
Adam Cohen
b3fff9d98a Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby 2015-09-21 17:34:05 +00:00
Adam Cohen
0d6211ce8f am ed10c013: am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby
* commit 'ed10c013bd6f6775cd6bb834283303deed55daa7':
  Add fake CustomContent screen for testing Launcher interface
2015-09-19 00:56:56 +00:00
Tony Wickham
12d282736f am 20bd2c10: (-s ours) am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.
* commit '20bd2c10c1d5ead86f472a7397f060159693e4f4':
  Wallpaper preview parallax matches the actual wallpaper's.
2015-09-19 00:56:55 +00:00
Adam Cohen
ed10c013bd am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby
* commit '36bde9a9e50412329237081e595d732b7da93e0b':
  Add fake CustomContent screen for testing Launcher interface
2015-09-19 00:35:57 +00:00
Adam Cohen
36bde9a9e5 Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby 2015-09-19 00:32:53 +00:00
Adam Cohen
4b66bf3cff Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
-> In some instances, onResume would incorrectly call onShow
-> When pressing Home from CustomContent, we'd get a sequence of onHide,
   onShow, and then onHide due to some deferred actions in onNewIntent.
   Got rid of the onShow.

issue 17629011

Change-Id: I9b4f2ef682f5a7060e68210866fa05452076e428
2015-09-18 17:32:00 -07:00
Tony Wickham
ce86e194c4 Show App Info when dragging widgets from the workspace.
Bug: 24190195
Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
2015-09-18 16:06:55 -07:00
Tony Wickham
20bd2c10c1 am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.
* commit '6ed058cb6bfbb5756721e0d7f4a80a1c08ee665c':
  Wallpaper preview parallax matches the actual wallpaper's.
2015-09-18 20:41:14 +00:00
Tony Wickham
6ed058cb6b Wallpaper preview parallax matches the actual wallpaper's.
Cherry picking the following changes from ub-launcher3-master:
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a

Bug: 23568800
Change-Id: I343169b9fdc5ceaab3d4b39044627d78b7267868
(cherry picked from commit 3e776a87dc)
2015-09-18 13:09:01 -07:00
Tony Wickham
fcd19dfcd3 Merge "Ensure that setting a wallpaper snaps to a page." into ub-launcher3-master 2015-09-18 19:52:32 +00:00
Tony Wickham
e305441960 Ensure that setting a wallpaper snaps to a page.
Previously it was possible to end in a sort of limbo state between pages if the
user free scrolled in the overview before entering the wallpaper picker.

Bug: 23829077

Change-Id: I2837fb46f092efac3b3274043378431963e6eabc
2015-09-18 12:42:48 -07:00
Adam Cohen
141b20e0b3 Add fake CustomContent screen for testing Launcher interface
Change-Id: I5f2aee1768fe59ee3079d069ff0be21cdf9282ea
2015-09-18 12:11:16 -07:00
Winson Chung
26bfdd9d5a am a3c9fb12: Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish
* commit 'a3c9fb125c7449df5add990e91e0e3471e3cc776':
  Requiring key chord to delete icons and folders on the workspace
2015-09-18 18:53:48 +00:00
Winson Chung
a3c9fb125c Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish 2015-09-18 18:49:25 +00:00
Winson
8580dd584a am 77f67072: am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
* commit '77f670721d2ee1ff806eccf9b79dbeffc660a464':
2015-09-18 17:26:17 +00:00