Commit Graph

752 Commits

Author SHA1 Message Date
TreeHugger Robot b88bce8bb9 Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev am: 8f0de5d711
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177217

Change-Id: I8faf92aa56d0d4b663d7dd1cb8eca36344925ba9
2021-09-09 19:45:51 +00:00
TreeHugger Robot 8f0de5d711 Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev 2021-09-09 19:19:26 +00:00
Lais Andrade cc5c8843df Introduces haptic feedback to launcher overview
Haptics introduced at the key moments:

- Task scroll in overview or quick switch, trigger when a new task comes
to the center of the screen;
- Task scroll in overview when overscroll animation is triggered;
- Task dismissed in overview;

There is also a configured min gap between two scroll haptics set to
20ms to prevent fast scrolls from creating a chain of cancelled effects.

Fix: 182382085
Test: manual
Change-Id: I43c0f8c879a06f317e8a660240dafb7f7abe79f7
2021-09-09 14:08:01 +01:00
Vinit Nayak 032ea8af12 Merge "Show all nav buttons when IME showing" into sc-v2-dev am: fd5e2ff933
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780327

Change-Id: I858a91d254b5d300905eb8aa55184b5dbb60456c
2021-09-08 21:50:21 +00:00
Vinit Nayak fd5e2ff933 Merge "Show all nav buttons when IME showing" into sc-v2-dev 2021-09-08 21:44:01 +00:00
Vinit Nayak 7f4f499515 Show all nav buttons when IME showing
* Keep home and recents button, and rotate back button
to be down when IME shows in 3 button task bar.
* Move IME switcher to left side of taskbar for 3 button,
keep on right side for gesture nav.

Bug: 191399224
Test: Tested RTL and LTR, gesture + button nav
with and w/o IME.

Change-Id: I7959d26986e546596e2436b8b5eb7668f44b55cf
2021-09-07 14:43:17 -07:00
Winson Chung 95e8108771 Merge "Provide internal IME insets" into sc-v2-dev am: 507e976690
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741860

Change-Id: I4adf6cb6bbaadfa0520a7ad0a58fd8bf3251f4a3
2021-09-03 23:59:47 +00:00
Winson Chung 507e976690 Merge "Provide internal IME insets" into sc-v2-dev 2021-09-03 23:46:16 +00:00
Winson Chung 543c226ffa Provide internal IME insets
Bug: 197727397
Test: Collapse taskbar, open IME
Change-Id: Ia251be1d5892a58b062f241bdafc5dbfc223e4c3
2021-09-03 10:22:56 -07:00
Bill Yi e75e9e6507 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1c7791015bc0bbfcd512864e9a4fbbbef58999f8
2021-09-02 04:36:47 +00:00
TreeHugger Robot 2d748d92e2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-28 07:46:53 +00:00
Bill Yi e874865f44 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I40a0f348c0aab7103e1f16fdb5afdf7047f458e3
2021-08-27 05:38:10 +00:00
Android Build Prod User 46a5c12d8a Merge "Updates Taskbar Edu steps." into sc-v2-dev am: da403a97aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670133

Change-Id: I85925f8182775b46eddfab296009fa824ff09da9
2021-08-27 00:20:10 +00:00
Alex Chau 80a0219231 Styling changes for ClearAllButton am: 036dee9251
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15674921

Change-Id: I15f693e0135beab735a2ca7d827c0fe5f830a35b
2021-08-27 00:19:50 +00:00
Android Build Prod User da403a97aa Merge "Updates Taskbar Edu steps." into sc-v2-dev 2021-08-27 00:03:47 +00:00
Alex Chau 036dee9251 Styling changes for ClearAllButton
- The new style is a Widget.DeviceDefault.Button with tweaked corner radius, min size and color
- Light: http://screen/4aTR7DKuhADn2Z6
- Dark: http://screen/68XkvaAqRivbDw8

Bug: 194194694
Bug: 197887431
Test: manual
Change-Id: I1e0f2217a424a244d729c1f952035615ba045d5a
2021-08-26 23:27:42 +01:00
Android Build Prod User f08ff393fb Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev am: 2d5a8dc847
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15677716

Change-Id: I259caf452690d772c413824d99742a23ad95949b
2021-08-26 21:58:43 +00:00
Android Build Prod User 2d5a8dc847 Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev
* changes:
  Animate PredictedAppIcon when its icon changes
  Add "wave" animation when entering taskbar edu
  Add slot machine animation for PredictedAppIcon
2021-08-26 21:48:07 +00:00
Android Build Prod User 1f41b44e14 Merge "Add Split button in OverviewActions" into sc-v2-dev am: b862d2c30f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587782

Change-Id: I1bbb495f0728372bc2ae7b8a36fa5a69836894e2
2021-08-26 20:23:56 +00:00
Andy Wickham f9ea9ce1cd Updates Taskbar Edu steps.
They are now:

1. Switch apps
2. Splitscreen
3. Docking

They all use the same (blank) placeholder image.

Bug: 180605356
Test: Manual

Change-Id: I53b3f71519c50a1d93f800490d3127e4d669e068
2021-08-26 10:22:20 -10:00
Tony Wickham 31f787d352 Add "wave" animation when entering taskbar edu
Each icon scales and translates up, then back down. If the icon is predicted, it also plays a "slot machine" animation through random icons from AllAppsList.

Test: Visual
Bug: 180605356
Change-Id: Ia41cb0e340347eea6b580d23c8a2386837e9c399
2021-08-26 13:00:43 -07:00
Vinit Nayak 6174106f68 Add Split button in OverviewActions
Shows up only for large screen devices, not phones.
Tested for NexusLauncher, general 3P launcher support
needed for staged split (TODO b/195607777)

Bug: 195423591
Change-Id: I4d455769b17637174b590c640516b9fbb6352c3d
2021-08-26 11:49:38 -07:00
Andy Wickham a3c9a23aa0 Merge "Adds additional pages to Taskbar Edu." into sc-v2-dev am: 7b65460e9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15618164

Change-Id: I2c73100dbc9a343fac2d938494fae0875886e4a0
2021-08-24 18:49:15 +00:00
Andy Wickham 7b65460e9a Merge "Adds additional pages to Taskbar Edu." into sc-v2-dev 2021-08-24 18:37:17 +00:00
Andy Wickham a0cc0903e8 Adds additional pages to Taskbar Edu.
Currently there are pages for the following:
 - Splitscreen
 - Customize (add apps/predicted apps)
 - Docking (long press to hide)

At the moment they all use the same placeholder
image from before.

Button states:
 Page 1: Close and Next
 Page 2: Back and Next
 Page 3: Back and Done

You can also swipe left and right between the pages.

Demo: https://drive.google.com/file/d/1_D3i-jZxCRRVHV92p6hG5cm3VGcJ_bhK/view?usp=sharing&resourcekey=0-KHLHTTx67JlmVv-UZoAUAw

Bug: 180605356
Test: Manual
Change-Id: Ibbb81610a611f6ca412e53ed90dc1c67764f417e
2021-08-23 15:12:39 -10:00
Schneider Victor-tulias 8cb3df4896 Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ib5cdc82f2747a6c1beaf86d86139bf7585798713
2021-08-23 20:00:40 +00:00
Schneider Victor-tulias f4f6c0fd4f Merge changes I3e7d3c61,I1cba811c into sc-v2-dev
* changes:
  Convert gesture navigation feedback videos to animations with real callbacks.
  Convert gesture navigation tutorial still image vector drawables to layout files
2021-08-23 19:49:30 +00:00
Schneider Victor-tulias 69c4b54dce Convert gesture navigation feedback videos to animations with real callbacks.
Fixes: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I3e7d3c6153eeff6273e4b7ebc8cdb8328df7facc
2021-08-23 11:14:53 -07:00
Schneider Victor-tulias ff322310a3 Convert gesture navigation tutorial still image vector drawables to layout files
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Bill Yi cd493170fa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibfa4e4ffc8a72e59edbd24cd28473647b5b9bd89
2021-08-21 02:31:33 +00:00
TreeHugger Robot d4e7420c52 Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: I9cc84e593c3a4520468a29d0196d29e635704ea6
2021-08-19 01:11:41 +00:00
TreeHugger Robot fe5ce7334a Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: If21b096b1d5ac025ffb4116c805d31acba6cc662
2021-08-19 00:57:46 +00:00
TreeHugger Robot 7e5f1003bd Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: Id4f261c686f2cd9ad8748211bfc2aa1b99a6f210
2021-08-19 00:56:44 +00:00
TreeHugger Robot 686d42a1d4 Merge "New app animation specs." into sc-qpr1-dev 2021-08-19 00:45:05 +00:00
Tracy Zhou 9dd5f3ed6d Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev am: d571905aa6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602959

Change-Id: Idcce77cf8c3dd95f19ac16722a6a9d9d849be1c5
2021-08-18 18:46:14 +00:00
Tracy Zhou d571905aa6 Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev 2021-08-18 18:32:35 +00:00
Jon Miranda bda98de9f8 New app animation specs.
- New values and interpolators.

Bug: 173107751
Test: open apps from different parts of the home screen
Change-Id: I81bec0221aec9c04dac0bb3e926c879999699e57
2021-08-18 18:26:46 +00:00
Alex Chau 3328b32054 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I554e432e4a06e5fcece33efb39dde074a1873ada
2021-08-18 08:56:27 +00:00
Alex Chau 2683bd7728 Merge "Support different task icon margin for grid tasks" into sc-v2-dev 2021-08-18 08:41:42 +00:00
Tracy Zhou 334cae420e Tint task bar based on sampling of colors in the area
TODO: Add transition animation

Bug: 193938970
Test: manual
Change-Id: I0ffb94e0f11d47685a268ee8d057b6997f3a2ff6
2021-08-17 23:26:28 -07:00
Vinit Nayak 7afaf2731e Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev am: ca1d523734
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467633

Change-Id: Ib8fe63c243f3e4b15503c6d9c95a311666718ecb
2021-08-17 23:43:12 +00:00
Vinit Nayak ca1d523734 Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev 2021-08-17 23:26:53 +00:00
Vinit Nayak 17c4b33db6 Add GroupedTaskView for gestures in staged split.
* Currently only works for portrait 50/50 split
* Have gesture swipe animation flow use multiple
TaskViewSimulators, one for each app in split
* Added new APIs in shell to query for actively running
tasks to determine if we're in split screen
* Lots of UI polish needed during gesture
* Launching into staged split after live tile ends
not implemented yet.

Bug: 181704764
Change-Id: Ib90e99e1e10b19121e8709385e1334b9380d6502
2021-08-17 13:46:43 -07:00
TreeHugger Robot 4079cdbb74 Merge changes I2cc102d7,Ifba9aa59 into sc-v2-dev am: 54ce7e6cf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465222

Change-Id: I9de621c74f2a47f893d309031ea61e0b25763fcf
2021-08-17 19:39:18 +00:00
TreeHugger Robot 6a384092a3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:31:34 +00:00
Alex Chau eaa6d682d4 Support different task icon margin for grid tasks
- Focused and non focused grid now have differnt margin between icon and snapshot
- The overall margin above snapshot is still the same
- Invoke updateChildTaskOrientations when focus task changes to update the margin
- Also lowered the row spacing according to spec

Bug: 194194694
Test: manual
Change-Id: I25267bef19d5a8b1dc1cf96fc1babdc3ebc39330
2021-08-17 18:33:21 +01:00
Andy Wickham 13f3ffed95 Adds initial Taskbar Edu implementation.
Currently it just pops up with one placeholder image for splitscreen.
The Next button doesn't do anything.

Screenshots:
Light: https://screenshot.googleplex.com/B27CwBcwobHTghN.png
Dark: https://screenshot.googleplex.com/48EuJZv8evd5RGW.png

Known issues:
 - Back gesture is picked up behind by the app behind the taskbar.
 - When the flag is enabled, the Edu shows up each time you open
   an app, rather than only the first time.

Bug: 180605356
Test: Manual
Change-Id: Ifba9aa59abf1501b5f8ddebb3fcc13df85f6efaa
2021-08-17 09:57:47 -07:00
Bill Yi 42476b5bb0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie3d9b9856af9a823121595b8f6c880d4a5b3c891
2021-08-17 02:12:27 -07:00
Bill Yi af65b6d3d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I945a5fbf0a31fe983fe20c6f173d80e6d9423e26
2021-08-17 02:11:45 -07:00
Alex Chau f8829ff94f Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151

Change-Id: Ibc12a6482224012efbaa596e84eda13dd39a2182
2021-08-05 10:19:03 +00:00