Sunny Goyal
94ef39116a
Merge "Avoid crash when widget previews have no intrinsic size" am: f51b706439 am: d1689bfca2
...
am: 034eafa811
Change-Id: I4c1e4615b9dd5ad03666ab7f8e7812e07fa4b48a
2018-04-26 11:49:11 -07:00
Sunny Goyal
034eafa811
Merge "Avoid crash when widget previews have no intrinsic size" am: f51b706439
...
am: d1689bfca2
Change-Id: I7ed4604a24774f802a764e787122c3339befda5b
2018-04-26 11:31:09 -07:00
Sunny Goyal
d1689bfca2
Merge "Avoid crash when widget previews have no intrinsic size"
...
am: f51b706439
Change-Id: I801969e037a0f8e41c536b695a3acb67d4e1f599
2018-04-26 11:14:51 -07:00
Sunny Goyal
f51b706439
Merge "Avoid crash when widget previews have no intrinsic size"
2018-04-26 17:43:36 +00:00
Roger Olsson
8991090dc3
Avoid crash when widget previews have no intrinsic size
...
Intrinsic size for widget preview drawable checked.
Needed since some drawables, like color drawables,
do not have any intrinsic size.
Bug: 78452220
Test: manual, see Bug info.
Change-Id: I815353773e38b1fce2fe19962f07c1727e1b0768
2018-04-25 15:23:51 +02:00
Alexander Martinz
77e312c285
Merge "WallpaperManagerCompat: correct build version check" am: 8ef0aff593 am: ca82c97e62
...
am: d377343d1e
Change-Id: I3edc03759d6fb9b1a38f554daf2ce6b2b65861df
2018-04-11 14:51:07 -07:00
Alexander Martinz
d377343d1e
Merge "WallpaperManagerCompat: correct build version check" am: 8ef0aff593
...
am: ca82c97e62
Change-Id: I3d9a11d55ff53e3c6a32e8f16782024006d992b7
2018-04-11 14:41:32 -07:00
Alexander Martinz
ca82c97e62
Merge "WallpaperManagerCompat: correct build version check"
...
am: 8ef0aff593
Change-Id: Iece01a396a035d6ab3ca6dfb2dd623e2f23fc7a0
2018-04-11 14:35:03 -07:00
Treehugger Robot
8ef0aff593
Merge "WallpaperManagerCompat: correct build version check"
2018-04-11 21:25:09 +00:00
Amith Dsouza
465efaddaa
Merge branch 'ub-launcher3-master' into 'pi-dev' am: 2fae99f9b3
...
am: dca0aa03a5
Change-Id: I5d1f634f57dd47d95c2dc6512d285c4b72f28fb0
2018-04-09 22:42:54 -07:00
Amith Dsouza
dca0aa03a5
Merge branch 'ub-launcher3-master' into 'pi-dev'
...
am: 2fae99f9b3
Change-Id: I6b56e01904b9b21ba9966343b731dda8b0744958
2018-04-09 21:53:50 -07:00
Amith Dsouza
2fae99f9b3
Merge branch 'ub-launcher3-master' into 'pi-dev'
...
Bug:77820223
Test: Manual Test on Walleye with PPR1.180409.001
Change-Id: Icb8f88611a1331fd126a4356f1b7fdcacc2e68ef
2018-04-09 12:47:18 -07:00
Alexander Martinz
74c6e98cb0
WallpaperManagerCompat: correct build version check
...
WallpaperManagerCompatVOMR1 is targeting API 27 (O MR1), but the
api guard is checking, if we are running API 26 (O) or above.
Correct the check to prevent using unavailable Wallpaper APIs.
Change-Id: Iaf510bb79010e640db04adbbc2ee44de9abd6913
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com >
2018-04-09 20:13:38 +02:00
Sunny Goyal
38d2bf3504
Merge "Making QuickScrub work, when the fallback activity is on top" into ub-launcher3-master
2018-04-09 17:36:43 +00:00
TreeHugger Robot
a4e8763d11
Merge "Updating the card size logic" into ub-launcher3-master
2018-04-09 17:20:31 +00:00
TreeHugger Robot
eec189c0fc
Merge "Removing Launcher assumption from OverviewCommand, so that it works with fallback activity" into ub-launcher3-master
2018-04-09 17:20:29 +00:00
Sunny Goyal
df336cf685
Making QuickScrub work, when the fallback activity is on top
...
Bug: 75979063
Change-Id: If8029901ad1f99551b3eba74620616edf6f993ef
2018-04-09 10:06:03 -07:00
Sunny Goyal
926ba83726
Elevate GPU priority of Launcher3Quickstep
...
Bug: 75985430
Change-Id: I4ac70c76db98b4ab666b0559f3185392142be045
2018-04-09 09:23:28 -07:00
Jorim Jaggi
f4beeb8dfb
Enable early wakeup during transitions
...
We hit GL comp likely on some devices so we start composing
earlier to avoid jank.
Bug: 75985430
Change-Id: I94ff218c79fb512002a2fb7f8aa600d6662f269e
2018-04-09 16:45:06 +02:00
Tony Wickham
9ae484b95d
Merge "Log dismissing or launching recent tasks" into ub-launcher3-master
2018-04-06 22:55:50 +00:00
Tony Wickham
3541ac10a1
Merge "When dragging past first or last state, don't reinit target" into ub-launcher3-master
2018-04-06 22:51:06 +00:00
Tony Wickham
9bd862e588
Log dismissing or launching recent tasks
...
We now pass the log action (e.g. SWIPE or FLING) to the pending
animation, so that the end listener can log appropriately. This
is used when swiping down or up on a task, for example.
Bug: 73783784
Change-Id: I5c2eee24e8b23cf4af68d503d3435a6d8088dd8a
2018-04-06 15:41:39 -07:00
Tony Wickham
6270a0ea18
When dragging past first or last state, don't reinit target
...
Example bug:
1. Swipe up to overview and let go
2. Swipe all the way to the top of the screen, past where all apps stops
3. Swipe down
Before this change, you get reset in NORMAL state instead of OVERVIEW.
By ensuring that getTargetState() checks the drag direction before
returning a new state, we guarantee we only re-init in the case that the
state is actually changing. Otherwise it's possible to change the state
to one that is impossible, such as NORMAL when swiping up from ALL APPS.
Change-Id: I19913dded9c94228d06289780b6400e99403f378
2018-04-06 14:32:18 -07:00
Tony Wickham
a4984f3df8
Merge "Ignore touch events on task view when menu is open" into ub-launcher3-master
2018-04-06 19:29:22 +00:00
Sunny Goyal
d792a77234
Updating the card size logic
...
In full screen always follow the device aspect ratio
In multi-window, follow the 1:1 split window size
Rotate the screen shot only in full-screen mode
Bug: 70289009
Change-Id: Id5095565634d4d7920fefa929b28276db80bda5f
2018-04-06 11:29:32 -07:00
Jonathan Miranda
80be805996
Merge "Fix bug where BTV text alpha stays 0 when PopupContainer closed w/o animation." into ub-launcher3-master
2018-04-06 16:30:43 +00:00
Sunny Goyal
0635de29a9
Removing Launcher assumption from OverviewCommand, so that it works with
...
fallback activity
Bug: 75979063
Change-Id: I3a851f6ce4725cee590eac9004eff1180f3780bb
2018-04-06 08:44:03 -07:00
Mario Bertschler
d39148afb0
Adding FLAG_ICON_BADGED and check flag in DragView.getBadge.
...
Bug: 77634973
Change-Id: I0e398bea7aa86246616e37bbd76f0936facb83ba
2018-04-06 08:15:28 +02:00
Tony Wickham
f3c10bf15f
Ignore touch events on task view when menu is open
...
For example, long pressing icon and then dragging in the same motion
should be ignored
Bug: 77652647
Change-Id: I9cc53c2873950f216d51d90f749b3cc0d0744d3c
2018-04-05 18:44:26 -07:00
TreeHugger Robot
9bf5113e06
Merge "Fixing taskView sometimes visible during swipe-up transition" into ub-launcher3-master
2018-04-06 00:22:48 +00:00
Sunny Goyal
a0c9d90e70
Fixing taskView sometimes visible during swipe-up transition
...
Caused by change-id: I4defce3a9745407523de651aeb28a37867567507
Change-Id: I670e20da6086d257b4de45d4e1310ef6b4314c46
2018-04-05 17:06:39 -07:00
TreeHugger Robot
4b3551e976
Merge "Add null check for empty recents view" into ub-launcher3-master
2018-04-05 23:09:46 +00:00
Tony Wickham
0164d7d346
Add null check for empty recents view
...
Bug: 77533523
Change-Id: I8ba58d3ed35212b6c06e689281cb25b55ac79ae2
2018-04-05 16:00:09 -07:00
Jon Miranda
0fd7c6c9da
Fix bug where BTV text alpha stays 0 when PopupContainer closed w/o animation.
...
Bug: 77565147
Change-Id: I71501c7a65369386efcb7b1a36f19b117e119ed9
2018-04-05 15:23:41 -07:00
Sunny Goyal
ca90706994
Merge "Simplifying fallback recents animation" into ub-launcher3-master
2018-04-05 21:31:14 +00:00
TreeHugger Robot
cf24463035
Merge "Make drag handle visible in overview landscape mode." into ub-launcher3-master
2018-04-05 21:08:06 +00:00
TreeHugger Robot
5a3262e577
Merge "Update delete/uninstall/close icons." into ub-launcher3-master
2018-04-05 21:01:31 +00:00
Jon Miranda
73387743d7
Make drag handle visible in overview landscape mode.
...
Bug: 77552542
Change-Id: Ia05662f83dc865b7a1a134e225373a804d26fc3e
2018-04-05 13:57:07 -07:00
Sunny Goyal
9054843a1f
Simplifying fallback recents animation
...
Instead of using WindowTransformSwipeHandler, keeping the launcher UI in place and
just animating the window
Change-Id: I4defce3a9745407523de651aeb28a37867567507
2018-04-05 13:51:21 -07:00
Tony Wickham
b3ad0edc14
Merge "Don't let touches go through popup when notification is present" into ub-launcher3-master
2018-04-05 20:25:54 +00:00
Jon Miranda
c9fa640cee
Update delete/uninstall/close icons.
...
Bug: 77641054
Change-Id: I8fb7cc4ffe835de57d8104373816deffe77870d9
2018-04-05 13:17:53 -07:00
Tony Wickham
d3897cbab7
Parallax all apps up slightly as you swipe up from overview
...
Change-Id: Ib587844ca8a5a61322902c5415eef19186062aa2
2018-04-05 12:20:06 -07:00
Tony Wickham
c51493d281
Don't let touches go through popup when notification is present
...
Bug: 76139059
Change-Id: I7d39fbeb60e871eeadedb8a3ee1ef81dc4e2f47e
2018-04-05 12:07:08 -07:00
TreeHugger Robot
5c7e6c258e
Merge "Close options popup when rebinding launcher." into ub-launcher3-master
2018-04-05 18:47:54 +00:00
Jon Miranda
fcb7e19f67
Close options popup when rebinding launcher.
...
Bug: 77582012
Change-Id: I6707ca526c8c934f56b227288d2cbea7139ac41d
2018-04-05 11:32:41 -07:00
TreeHugger Robot
00b8ac8371
Merge "Revert "Re-enabling Widgets in Launcher3Go"" into ub-launcher3-master
2018-04-05 18:31:54 +00:00
Rajeev Kumar
ff8699e411
Revert "Re-enabling Widgets in Launcher3Go"
...
This reverts commit 2eb7f0a34b .
Bug: 74039047
Test: Manual tests
Change-Id: Ifa38f7b1b805d781fbfc63cd71b01609f0a85d9e
2018-04-05 18:25:54 +00:00
TreeHugger Robot
f54a8f345b
Merge "Avoid duplicate accessibility announcement upon switching to -1st page" into ub-launcher3-master
2018-04-05 18:02:25 +00:00
Vadim Tryshev
2c430b34cb
Avoid duplicate accessibility announcement upon switching to -1st page
...
Since -1st window already has accessible description, no need to
announce "Page X of Y" for it.
Bug: 74210311
Test: Manual
Change-Id: I5cbfd763778b5f7049be732a750df4501b5419e0
2018-04-05 10:53:08 -07:00
Sunny Goyal
83bf457aaa
Fixing crash when starting transparent activities
...
StateManager was setting the transition lenght to 0 when a workspace state transtion
was being created as part of launching a transparent activity.
Bug: 77635129
Change-Id: Ie9f40138d9b1387ba880bca0fbf130a4872e8733
2018-04-05 10:28:23 -07:00