Commit Graph

3869 Commits

Author SHA1 Message Date
Adam Cohen
fa6e021ce6 Merging from ub-launcher3-rvc-dev @ build 6557059
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6557059.html

Change-Id: I9c0912f26445d454f71c4f0f63d45b184726db3d
Merged-In: I280025d9e58626fe725fe24ca60c28e89d0cee74
2020-06-04 15:02:12 +00:00
Zak Cohen
1e7b4b850f Resolve markers - Fix build break.
Test: local compile
Bug: 156757117

Change-Id: I95cdfa34ecde95768f82a14463a4b91cf5012d8e
2020-06-04 04:07:34 +00:00
Zak Cohen
1b5923e5e5 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-03 23:30:42 +00:00
TreeHugger Robot
2191b49f03 Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev 2020-06-03 22:31:45 +00:00
TreeHugger Robot
41bafc8660 Merge "Additional logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-03 21:59:26 +00:00
TreeHugger Robot
55a758253b Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev 2020-06-03 21:52:35 +00:00
TreeHugger Robot
cfb9e15af9 Merge "Only animating QSB if it is visible when going home" into ub-launcher3-rvc-dev 2020-06-03 21:49:12 +00:00
Becky Qiu
160ca4b8a2 [Overview Actions] UI update for Landscape.
1. When home screen rotation is allowed, we still have action buttons for landscape, but remove bottom margin to shrink the UI.
2. When home screen rotation is not allowed, we do in-place rotation for overview, where we won't show action buttons.

Test: see demo video: https://drive.google.com/file/d/1G6ihv_DOykx1MLpFAQf3VJHq3D1HotnX/view?usp=sharing
Bug: 153736749

Change-Id: Ia1c7ef8c245ac13bf50adf32ee5114f23e491e75
2020-06-03 14:21:08 -07:00
Andy Wickham
93cdd8b40d Merge "Gesture-excluding activities also exclude Assistant gesture." into ub-launcher3-rvc-dev 2020-06-03 21:13:52 +00:00
vadimt
2f29d8c2c8 Additional logging for swiping to home not working
Bug: 158017601
Change-Id: I16bf098cf53d7fc8402533456ad02dbf099a4638
2020-06-03 13:56:56 -07:00
TreeHugger Robot
9f365cb782 Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev 2020-06-03 20:56:24 +00:00
Andy Wickham
3212b10941 Adds Dark mode support to Sandbox.
Screenshots
Back: https://drive.google.com/open?id=1brE9WLWGeKaOgzMsczpV40rPIckOk1YJ
Home: https://drive.google.com/open?id=1zexyFPsXr4VzvwlMqhLv720kqHh7s66v
Tutorial complete: https://drive.google.com/open?id=1UbeIDYMQR04lzJhGK7rp2rSdmhiHl5QR

Fixes: 157483039
Change-Id: Id9753a00832dbe42316fbdcaf447f3a51a45bc3e
2020-06-03 13:48:39 -07:00
Adam Cohen
e557bac0a1 Merging from ub-launcher3-rvc-dev @ build 6552182
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6552182.html

Change-Id: I795aafd151c6ce53077e1aebb97567eedd84f274
Merged-In: I795aafd151c6ce53077e1aebb97567eedd84f274
2020-06-03 20:28:44 +00:00
Samuel Fufa
f667a1352d Restore hotseat when user turns off suggestions immediately after migration
- Creates a backup table `hybrid_hotseat_restore` and copies current workspace layout before hotseat migration
- restores to back up when user turns off suggestions and launcher receives empty predicted items
- deletes hybrid_hotseat_restore table if there's a layout change

Test: Manual
Bug: 157688471
Change-Id: Iaf7ddb33799493d36dbcd12408b57224162221d9
2020-06-03 13:15:21 -07:00
TreeHugger Robot
19fc8b6a83 Merge "Fixing exception when applying transaction while the surface is released" into ub-launcher3-rvc-dev 2020-06-03 20:15:16 +00:00
Sunny Goyal
f665787d0d Only animating QSB if it is visible when going home
Bug: 154863593
Change-Id: Icee925578985639e1117ff624a422082123bea1e
2020-06-03 13:11:57 -07:00
Zak Cohen
1e60bb54ca Shared Lib - add stub for handleImageBundleAsScreenshot.
Bug: 156757117
Test: local compile
Change-Id: I2e249055cc8f917b169943569e0c624df823ffb3
2020-06-03 19:13:00 +00:00
thiruram
b812b3ff60 Log tapping on split screen & free form icons within task menu.
Bug: 157770913

Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.4hmzxwn1efy

Change-Id: Id98dccb9452af7be20f636410d886dc8aeaa6bd1
2020-06-03 10:09:29 -07:00
thiruram
9752dedd71 Logs tap or longpress on task icon.
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.psxq3ooyppff
Bug: 157770913

Change-Id: I021b07fa8b3953a0f9a5e5ad9e4ee1c55d98d836
2020-06-03 17:04:48 +00:00
vadimt
2f53926848 More logging for swiping to home not working
Bug: 158017601
Change-Id: Ic967e39c6521bbf100015495970fdbfb67c4ea09
2020-06-02 18:45:20 -07:00
Sally Yuen
bd2e73ce6f Merge "Use global action constant for a11y All Apps action" into ub-launcher3-rvc-dev 2020-06-02 22:59:18 +00:00
Andy Wickham
1123ba3156 Gesture-excluding activities also exclude Assistant gesture.
Bug: 157824552
Change-Id: Ie324ed86c8d7694fed263840975c02e676533ad1
2020-06-02 14:38:45 -07:00
TreeHugger Robot
6eac572246 Merge "Fixing nullpointerexception when applying transformParams" into ub-launcher3-rvc-dev 2020-06-02 21:33:41 +00:00
TreeHugger Robot
cc74b3a79c Merge "Hide OverviewActions when no tasks showing after launcher reset." into ub-launcher3-rvc-dev 2020-06-02 21:29:23 +00:00
TreeHugger Robot
34413df66d Merge "Adds Overview Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-02 21:28:21 +00:00
TreeHugger Robot
5bae2f4af1 Merge "Logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-02 21:17:50 +00:00
Andy Wickham
fad8a87773 Adds Overview Sandbox tutorial.
Extracts fake task view animation logic to
SwipeUpGestureTutorialController, which
Home and Overview controllers extend.

Fixes: 157945497
Change-Id: Ibd1c129c57e9bee8db62baae455ca1bd9df114c7
2020-06-02 13:58:27 -07:00
Sreyas
b8e99b560b Hide OverviewActions when no tasks showing after launcher reset.
Bug: 157709549
Change-Id: I1fe00a588a6cc5e840d38a08844017383c94fe68
2020-06-02 13:52:17 -07:00
vadimt
568ac00832 Logging for swiping to home not working
Bug: 158017601
Change-Id: Ibe92a7f07a4eb880b7b54b486236ca90e74353f7
2020-06-02 13:20:10 -07:00
TreeHugger Robot
62382c3f95 Merge "Update home to overview depth interpolator to match other motion" into ub-launcher3-rvc-dev 2020-06-02 20:18:01 +00:00
TreeHugger Robot
54f63d6539 Merge "Checking for success of interactions with Wellbeing" into ub-launcher3-rvc-dev 2020-06-02 20:16:41 +00:00
Sunny Goyal
71bb2d9ab5 Fixing nullpointerexception when applying transformParams
Bug: 158015382
Change-Id: Idf979f9d1786e9cb3ee0870f43ee47a735bb595a
2020-06-02 13:02:42 -07:00
sallyyuen
034b9b67c8 Use global action constant for a11y All Apps action
"All apps" will be identified by a11y services with new id.

Bug: 157078174
Test: Manual with TalkBack
Change-Id: I6b47b93e0141a7d2a28a21ef35f80157b413a55e
2020-06-02 19:11:03 +00:00
TreeHugger Robot
73763959d1 Merge "Add SysUiOverlayInputConsumer." into ub-launcher3-rvc-dev 2020-06-02 17:49:04 +00:00
Vinit Nayak
3cdbb9b039 Merge "Set mLastRectRotation to valid rotation" into ub-launcher3-rvc-dev 2020-06-02 04:42:33 +00:00
Vinit Nayak
fb442a70f8 Set mLastRectRotation to valid rotation
mLastRectRotation's value is used after
swipe gestures are complete to reset the
layout for overview (after swiping to home
animation is complete), so we need to set
it to a valid value instead of -1.
OverviewActions visibility depends on
it being rotation 0 for it to be visible,
otherwise it won't show up.

Bug: 155844780
Test: Swipe up to home from an app,
Swipe up to overview, observe overview
actions show in portrait.
Swipe up and back down from landscape app,
hit back. Open portrait app, ensure back
gesture still works.

Change-Id: Ia923a54e68af567b4470841783328528fffebe6a
2020-06-01 18:30:15 -07:00
Sunny Goyal
518d54e3f2 Preventing launcher preload if user setup is not complete
Also fixing some leaks due to not destroying RecentsAnimationDeviceState

Bug: 155350432
Change-Id: I70f510c3db03515d5889f0bcde6a15a9456e9791
2020-06-01 16:19:38 -07:00
TreeHugger Robot
2a4dce1402 Merge "Fixing loadTasksInBackground called twice on swipe up" into ub-launcher3-rvc-dev 2020-06-01 22:44:03 +00:00
Sunny Goyal
b396864072 Fixing loadTasksInBackground called twice on swipe up
Bug: 157644889
Change-Id: Ia4413ea878f8ba731fbb7a8f61b7c0c0050f3811
2020-06-01 15:12:32 -07:00
vadimt
bd7ee7366d Checking for success of interactions with Wellbeing
Bug: 157589968
Change-Id: I9a5cc6341c0133ae5e31c47b6bd89f80e15c9099
2020-06-01 14:03:43 -07:00
TreeHugger Robot
50f2a6c7d6 Merge "Enable RotationWatcher when home rotation is on" into ub-launcher3-rvc-dev 2020-06-01 20:33:30 +00:00
Joshua Tsuji
eeb675683b Add SysUiOverlayInputConsumer.
This consumer is used when Bubbles is expanded, and causes swipes up to hide bubbles via closeSystemDialogs rather than going all the way home.

Test: install launcher and swipe up (after including the other CL in this topic)
Fixes: 156390484
Change-Id: I36b71dd95dc45a5a547eddfe0faddf61630b6f25
2020-06-01 20:33:13 +00:00
Vinit Nayak
39cc356a53 Merge "Start quickswitch on task switch instead of touch down" into ub-launcher3-rvc-dev 2020-06-01 20:32:14 +00:00
Tony Wickham
10c2b4f9d9 Update home to overview depth interpolator to match other motion
Overview comes in and workspace goes out at overshoot(1.2), so
the wallpaper depth/blur should match that speed.

Test: go to overview from home in 3 button or 0 button mode,
ensure wallpaper scales down at the same rate as other elements

Bug: 154637581
Change-Id: I03254fa3fdf19f468852bed8aab7ba21203c429a
2020-06-01 14:36:46 -05:00
TreeHugger Robot
0e1cbf56aa Merge "Reset Overview layout after swiping to home" into ub-launcher3-rvc-dev 2020-06-01 19:24:54 +00:00
Vinit Nayak
acd2f58693 Start quickswitch on task switch instead of touch down
Previously we would enter a quickswitch session state
whenever user tapped on navbar and sent flags to
sysui to only enable edge gesture for the current rotation.
Now we only do that on a new task resulting from the gesture
or when going into recents to show nav bar in the
orientation user would expect it (only if they never
quickswitched).

Fixes: 155844780
Test: Tested swiping back from quickswitching
into apps of different orientations.
Note that back is still broken when you
quickswitch and then rotate the foreground app.

Change-Id: I935e7c66489d46e59156414d64653c846ae4c5d8
2020-06-01 12:06:47 -07:00
Hyunyoung Song
2911c56a80 Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev 2020-06-01 18:08:39 +00:00
Vinit Nayak
90b006dbe5 Reset Overview layout after swiping to home
Reset overview when user does a swipe to home
gesture. Preivously we only rest when user
first when to over, and then swiped to home.

Fixes: 156053957
Change-Id: I5a157f9e2229aba4b36851bd46d704a39d647110
2020-06-01 10:40:05 -07:00
TreeHugger Robot
6d9e0c4a55 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-06-01 17:27:10 +00:00
TreeHugger Robot
7149a7e0c5 Merge "Removes unused constant" into ub-launcher3-rvc-dev 2020-06-01 16:50:30 +00:00