Commit Graph

22963 Commits

Author SHA1 Message Date
Samuel Fufa 07e2b4b6e7 Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev 2020-06-04 19:42:11 +00:00
TreeHugger Robot 441e5b76b9 Merge "Log tap on pause app." into ub-launcher3-rvc-dev 2020-06-04 19:09:08 +00:00
TreeHugger Robot 7a41d1e909 Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev 2020-06-04 19:09:05 +00:00
Zak Cohen e4ad2ce1e2 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-04 11:32:10 -07:00
TreeHugger Robot fb4fa0c4c7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-06-04 16:41:44 +00:00
TreeHugger Robot 0b5610b040 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-06-04 16:34:49 +00:00
Andy Wickham ad6a4dceea Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-04 01:30:22 +00:00
Bill Yi 54a995162c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I83d3a32c7a0ebd4275c563c1a794ab07c69d779c
2020-06-04 00:08:38 +00:00
Bill Yi f2d2d1e084 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0322065edda96559d79a8fbda5d05354b8460fda
2020-06-04 00:08:26 +00:00
Zak Cohen f2a6d5b70f Revert "Shared Lib - add stub for handleImageBundleAsScreenshot."
This reverts commit 1e60bb54ca.

Reason for revert: Stub not needed

Change-Id: I71e5bb38e37042addaaff75423bc47209d56a20b
2020-06-03 23:29:20 +00:00
Tracy Zhou ef474d2959 Merge "Improve V2 grid migration algorithm" into ub-launcher3-rvc-dev 2020-06-03 22:52:36 +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 9cab0dd837 Merge "Make "Don't suggest app" default True" into ub-launcher3-rvc-dev 2020-06-03 22:29:50 +00:00
Tracy Zhou b48e289e63 Improve V2 grid migration algorithm
- Reset next X when finding the next available space for placement
- Cache icons by screen id in a map so that we don't need to load it each time
- Update tests accordingly

Test: Manual and unit test
Fixes: 155828336
Change-Id: I848775725a624b7a62154224c0745cd680d2e5f0
2020-06-03 15:19:11 -07: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
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 377debe4f1 Log tap on pause app.
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/FaK9EfH884yqKCPKUSWTw
Log : https://paste.googleplex.com/5492235632115712

Bug: 157770913
Change-Id: I08bfc28b6fd4eb987692fb36835d94f40f3216af
2020-06-03 11:31:47 -07:00
thiruram a00bcf326c Log tap on app info within task menu.
Override TaskShortcutFactory.dummyInfo to logs 'task -> app info' as TaskEvent and 'app icon -> app info' as AppEvent.

Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.j2cziephk9fy

Change-Id: I448a489fcc93324f6082eba2857644feb5d6bca3
2020-06-03 10:55:39 -07: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 1a5795d1fe Adds Assistant Sandbox tutorial.
Demo: https://drive.google.com/open?id=1onivF9qKdgJeUG2ROkQBxcgi-l0VfC4f

Fixes: 157824552

Change-Id: Ia0e5f46b39e3f06feed2f7e175ab7861e9d51a96
2020-06-02 14:38:45 -07: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 341fa84c5e Fixing animation jittering during swipe-up
AnimatorPlaybackController was using setCurrentPlayTime to control animation,
which converts progress (float) to duration (long) causing the progress to
loose accuracy.
Instead calling setCurrentFraction(float) on the target animation.

Bug: 155164803
Change-Id: I3e4c93c5a75a9ba16e80adee97229c974ffc86b1
2020-06-01 17:55:25 -07:00
TreeHugger Robot 210bb43493 Merge "Add app launch event for tap on shortcut in shortcut container." into ub-launcher3-rvc-dev 2020-06-02 00:09:26 +00:00