Winson
aab143fd65
am f768d934: Fixing regression in L3 with search bar transition.
...
* commit 'f768d934682ba80da89d454543928e629a44103d':
Fixing regression in L3 with search bar transition.
2015-09-25 23:23:56 +00:00
Winson
f768d93468
Fixing regression in L3 with search bar transition.
...
Change-Id: Ia4155a653012c5d23df21167233fe766e5479347
2015-09-25 23:21:00 +00: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
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
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
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
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
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
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
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
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
Sunny Goyal
b3cf2d789e
Merge "Refactoring deferred bind logic" into ub-launcher3-master
2015-09-18 17:18:10 +00:00
Tony Wickham
34d2c915c4
Added AppInfoDropTargetBar to spring loaded workspace.
...
Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
2015-09-15 11:37:58 -07:00
Sunny Goyal
527c7d3460
Refactoring deferred bind logic
...
> Using ViewTreeObserver to listen for onDraw instead of overriding onDraw in workspace
> Loader passes the list of deferrerd runnables to launcher
Change-Id: Ie4877f746c96e9497396de8089f00f70bf867e17
2015-09-15 10:43:13 -07:00
Tony Wickham
e33c09f1be
Merge "Initial spring loaded workspace." into ub-launcher3-master
2015-09-15 17:32:31 +00:00
Tony Wickham
94e0d37f53
Initial spring loaded workspace.
...
It is a bit clunky and doesn't have the App Info drag bar at the
bottom yet, but it is a start.
Also removed page hints because they are no longer used.
Change-Id: I1f8f82d33e6694cab1f1c762e78852ac0d40ab33
2015-09-14 18:26:42 -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
7089a4e197
am c0b52fef: Refactoring to ensure item deletion always removes from the DB.
...
* commit 'c0b52fefbc11531d560359c093484099f9d1298e':
Refactoring to ensure item deletion always removes from the DB.
2015-09-10 22:03:57 +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
Winson
10612a7146
Merge commit '5c6bdbbc27525acc8c49cea6a1de36723a13fac7' into manual_merge_5c6bdbbc
...
Change-Id: I508bce36edca28ed565338e5173b64eba14e89d4
2015-09-09 17:06:09 -07: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
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
5c6bdbbc27
Fixing regression, reset AllApps when the screen turns off.
...
- Now that we are debouncing the workspace state, we were no longer resetting
the all apps view when the screen turns off when the user is already on the
workspace.
Bug: 23759455
Change-Id: I996b595945de96ae6ff2344349027d4722921984
2015-09-03 12:15:32 -07:00
Ivan Lee
6398b88e89
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-03 17:18:30 +00:00
Ivan Lee
667d6888f4
Revert workaround for move to default screen on home intent.
...
BUG=23556755
Change-Id: Ia268a58389b90fd0503e474f02f33a312c051c0e
2015-09-03 10:16:07 -06:00
Tony Wickham
c75917f129
Long-clicking workspace overlay buttons does the same thing as clicking them.
...
Bug: 15000525
Change-Id: I4123863de888989ad6171cb43001c3ad86c19edb
2015-09-02 16:59:19 -07:00
Tony Wickham
785f7a59d3
Previews in the wallpaper picker are offset to match the homescreen parallax.
...
When "Wallpapers" is selected from the overlay, the current wallpaper parallax
offset is sent to the WallpaperPickerActivity as an Intent extra. The CropView
then uses that offset when previewing new wallpapers to ensure the preview looks
exactly the same as the actual wallpaper will when set.
Note that this fix doesn't seem to work for DefaultWallpaperInfo - that will
come in a future CL.
Bug: 23568800
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
2015-09-02 20:55:19 +00:00
Sunny Goyal
cc818d0ad5
Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-master
2015-08-31 18:59:55 +00:00
Winson Chung
e2824c4ea7
am 1b247d9f: Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby
...
* commit '1b247d9f37cd1e9ca9e8c690c137858b66314b79':
Adding workaround for regression caused by ag/752175
2015-08-31 18:47:01 +00:00
Winson Chung
1b247d9f37
Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby
2015-08-31 18:40:41 +00:00
Winson
16615f29f6
Adding workaround for regression caused by ag/752175
...
Change-Id: I92617c88f17a5827454e147f93d822975587d5b4
2015-08-31 11:32:38 -07:00
Sunny Goyal
e2fd14b9f6
Jailing the saved instance state of all the dynamically generated views
...
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.
We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
2015-08-27 17:53:28 -07:00
Sunny Goyal
fafd4c276e
resolved conflicts for merge of ebfae6e2 to ub-launcher3-master
...
Change-Id: I1e0d5f1140e910b68322c4f5061d0a3c383899f0
2015-08-27 16:47:13 -07:00
Sunny Goyal
ebfae6e266
Revert "Adding viewId for the QSB"
...
Using QSB widget id from xml
This reverts commit 9956859139 .
Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22
2015-08-27 15:32:05 -07:00
Sunny Goyal
bcd2874ab9
am 195a2983: Merge "Adding viewId for the QSB" into ub-launcher3-burnaby
...
* commit '195a29834f866806a592bae42c8f16f71b6f64aa':
Adding viewId for the QSB
2015-08-27 21:23:22 +00:00
Sunny Goyal
9956859139
Adding viewId for the QSB
...
Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500
2015-08-27 13:48:30 -07:00
Sunny Goyal
862ee52bc3
am 22aa3813: Pending bind callbacks should be cleared before starting the loader, similar to startBinding
...
* commit '22aa3813f818e46a096fef6490db2a60f2617eb7':
Pending bind callbacks should be cleared before starting the loader, similar to startBinding
2015-08-27 17:09:02 +00:00
Sunny Goyal
22aa3813f8
Pending bind callbacks should be cleared before starting the loader,
...
similar to startBinding
Bug: 23310446
Bug: 19422965
Bug: 23304651
Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
2015-08-27 09:54:07 -07:00
Sunny Goyal
8f531dd988
resolved conflicts for merge of 20884fdc to ub-launcher3-master
...
Change-Id: I31b49ed83bf6fa966ad68b587e6fa472e87bc0e3
2015-08-25 17:08:57 -07:00