Winson
f768d93468
Fixing regression in L3 with search bar transition.
...
Change-Id: Ia4155a653012c5d23df21167233fe766e5479347
2015-09-25 23:21:00 +00:00
Winson
17e2d49547
Use Long.compare() instead of truncating values for comparison.
...
Bug: 24116808
2015-09-25 23:20:13 +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
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
2949fb5b16
Fixing talk-back folder icon removal regression.
...
Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43
2015-09-24 18:21:16 +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
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
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
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
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
Sunny Goyal
6a706b1dd7
Preventing nullpointer exception when cloning rawList
...
Bug: 24299525
Change-Id: I92018a3da7d75afc2c6997302f8e0492eb78e62f
2015-09-22 16:56:55 -07: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
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
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
Adam Cohen
141b20e0b3
Add fake CustomContent screen for testing Launcher interface
...
Change-Id: I5f2aee1768fe59ee3079d069ff0be21cdf9282ea
2015-09-18 12:11:16 -07: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
77f670721d
am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
...
* commit '605156bd87345beef31bf9164e85fbfc8a1cfc08':
Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
2015-09-18 17:23:11 +00:00
Winson
605156bd87
Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
...
Bug: 24173665
Change-Id: Ia59481dc7fb52454760c688ba49c90b8507d7900
2015-09-18 17:18:08 +00:00
Sunny Goyal
9b75b5f8dc
am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts
...
* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
Catching RemoteExceptions when calling packagemanager to get list of shortcuts
2015-09-18 17:05:41 +00:00
Sunny Goyal
3186058153
Catching RemoteExceptions when calling packagemanager to get list of shortcuts
...
Bug: 23796963
Change-Id: I5486c2916e981e7135edd5df360536a362bc2795
2015-09-18 09:15:22 -07:00
Sunny Goyal
05247be8aa
am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
...
* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
Null check when getting list of widget receivers
2015-09-17 22:03:56 +00:00
Sunny Goyal
0f196e6939
Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
2015-09-17 21:52:13 +00:00
Sunny Goyal
a3c657750a
am 79afe010: Throwing system api call exceptions in case of dogfood builds
...
* commit '79afe010d55af6b1753430a334bf6e24448e9375':
Throwing system api call exceptions in case of dogfood builds
2015-09-17 21:38:25 +00:00
Sunny Goyal
7b221efa53
Null check when getting list of widget receivers
...
Bug: 23897605
Change-Id: Ib23b394828b0e5ec50bf7452b2ec2c905f4a6fbc
2015-09-17 14:09:27 -07:00
Sunny Goyal
79afe010d5
Throwing system api call exceptions in case of dogfood builds
...
Change-Id: I28bad663712a22360ceed095ceb54ce71b1449d5
2015-09-17 12:50:11 -07:00
Tony Wickham
1cdb6d0661
onDropChild() always marks the cell as occupied.
...
Bug: 24164487
Change-Id: I11ef638a56b638ee82c3cd748340995970fc7e32
2015-09-17 19:48:08 +00:00
Sunny Goyal
f33b78b850
am 3dc7beea: Catching DeadObjectException and TransactionTooLarge
...
* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
Catching DeadObjectException and TransactionTooLarge
2015-09-15 21:19:40 +00:00
Sunny Goyal
3dc7beea3c
Catching DeadObjectException and TransactionTooLarge
...
Bug: 23796965
Bug: 23796963
Change-Id: I4c6ed217b9925b2e6014adc374b8b21f1ba559bc
2015-09-15 13:36:46 -07:00
Winson
fa56b3f2f1
Requiring key chord to delete icons and folders on the workspace
...
- Also fixing case where the all apps button to search for more apps
was not focusable
Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92
2015-09-14 19:47:19 +00:00
Tony Wickham
8a511b9123
Merge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3-burnaby-polish
2015-09-14 18:39:56 +00:00
Winson
c0b52fefbc
Refactoring to ensure item deletion always removes from the DB.
...
- Routing the various places where we call through to delete from
LauncherModel through Launcher, which will delegate the removal
of the icon from the workspace, and properly handle the removal
of all items and their contents from the db.
Bug: 23944119
Change-Id: I022fe2b3e79da16b5af87505c4362490b8422686
2015-09-10 14:55:17 -07:00
Tony Wickham
3e776a87dc
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
2015-09-10 11:56:54 -07:00
Sunny Goyal
01251b0dc4
am 4abaf133: Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby
...
* commit '4abaf133546b0c950edc82594985e9da50d9c1dd':
Removing items which are on invalid screen
2015-09-09 17:07:52 +00:00
Sunny Goyal
e5745e9d02
am c74e4197: Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chani
...
* commit 'c74e41973a74aa416e16aeadaa2f491153da26bc':
Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters
2015-09-09 17:07:51 +00:00
Sunny Goyal
4abaf13354
Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby
2015-09-09 17:05:11 +00:00
Sunny Goyal
c74e41973a
Restoring provider behavior for reloading app on old devices
...
> For older devices, launcher will only reload in case of inserts with specific query parameters
> For older devices, launcehr will notify content observers of any internal inserts
> Chaning TAG for Launcher provider as max logging tag is only 23 characters
Bug: 23821706
Change-Id: I32891387612d967c41ddae848c43dc4b1de1b0e9
2015-09-09 09:38:52 -07:00
Sunny Goyal
41cdc8d20a
Removing items which are on invalid screen
...
Bug: 23804751
Change-Id: If26a6b201aa6127cfd2a08fc4b408a27d6329bad
2015-09-04 15:26:17 -07:00
Tony Wickham
388a657419
Merge "Long-clicking workspace overlay buttons does the same thing as clicking them." into ub-launcher3-burnaby-polish
2015-09-04 22:18:38 +00:00
Tony Wickham
489fc56df8
Don't repeat ReorderPreviewAnimation for folders/widgets in power save mode.
...
Since power save mode (introduced in Lollipop, also known as battery saver)
disables animations, the ReorderPreviewAnimation looks bad - instead of
displaced folders subtly and smoothly moving up and down, they violently jump
between up and down positions in rapid succession. Setting the animation to not
repeat in this case avoids this issue.
Bug: 23675090
Change-Id: I8149610af75e7023dca28a942b3447228083cd33
(cherry picked from commit 9e0702f4af )
2015-09-04 21:57:25 +00:00
Tony Wickham
6b7653d37f
Long-clicking workspace overlay buttons does the same thing as clicking them.
...
Bug: 15000525
Change-Id: I4123863de888989ad6171cb43001c3ad86c19edb
(cherry picked from commit c75917f129 )
2015-09-04 21:53:17 +00:00
Sunny Goyal
647046637e
am 606726ba: Merge "Preventing null pointer crash when opening a folder" into ub-launcher3-burnaby
...
* commit '606726ba289583a67188d9448b220c2e3fae87d7':
Preventing null pointer crash when opening a folder
2015-09-04 17:14:46 +00:00
Ivan Lee
f96b1ad27f
am 667d6888: Revert workaround for move to default screen on home intent.
...
* commit '667d6888f4a7f1a6267c1968f22fdb8ff3af8d34':
Revert workaround for move to default screen on home intent.
2015-09-04 17:14:46 +00:00
Winson Chung
4aa48517df
Merge "Disabling fast scroller when searching apps." into ub-launcher3-burnaby-polish
2015-09-03 21:07:24 +00:00