Commit Graph

525 Commits

Author SHA1 Message Date
Lucas Dupin
4e760601d5 Merge "Remove shadows from app launch animation" into sc-dev 2021-05-19 20:01:06 +00:00
TreeHugger Robot
f126d078ac Merge "Updated gesture navigation tutorial." into sc-dev 2021-05-19 17:25:48 +00:00
Lucas Dupin
3e19e57d22 Remove shadows from app launch animation
The Material You style proposes a flat model without shadows.

This will also help us reduce overdraw because shadows are drawn in
client composition, causing an almost full screen redraw, given that
shadows have the size of the window, which is not usually marked as
opaque.

Bug: 188420494
Test: manual
Change-Id: I5073788a247ea9084b8e3399d4ca8618c21b8d6b
2021-05-19 09:01:38 -07:00
Schneider Victor-tulias
29f61d5d21 Updated gesture navigation tutorial.
- Removed 'x' button and added tappable 'skip' text to exit the tutorial.
- Updated tutorial step indicator
- updated AVD colors.
- removed unused AVDs
- Increased the visible duration of the feedback view

Test: Manual
Bug: 148542211
Bug: 169687177
Change-Id: Ice61b1273ff270b068d008b5259d100c66057478
2021-05-18 20:00:26 +00:00
Jon Spivack
a44bb71d95 Merge "NIU Actions and Recents UI updates on Go" into sc-dev 2021-05-18 18:05:19 +00:00
Sunny Goyal
5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Pat Manning
049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +00:00
Sunny Goyal
e215fb730b Moving taskbar lifecycle to TouchInteractionService
> Inflating taskbar views with a non-launcher window context
> Removing separate taskbar view in Launcher
> Handling taskbar icon clicks directly instead of going via launcher
> Fixing some relayouts during show/hide animation

Bug: 187353581
Test: Manual
Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843
2021-05-17 21:47:08 -07:00
Jon Spivack
f90db8a8eb NIU Actions and Recents UI updates on Go
This tweaks the layout and fonts in the Go Overview. It also adds rounded corners to the task snapshots in the Recents view on Go by adding an overrideable value to the base Quickstep Launcher.

Bug: 186004471
Test: Manual (Pixel 3A)
Change-Id: I220836a95a6416b85bdb71d88822d25d939cf205
2021-05-17 11:57:01 -07:00
Pat Manning
cc64218e68 Animate task translation on dismissal.
Test: manual
Bug: 186416527
Fix: 186416527
Change-Id: I3919b96b96fdd490e15968b7c2e680dad7f6e5d6
2021-05-17 16:21:38 +00:00
Bill Yi
8d233cd42a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6f2bc52b3b9f8af036e67d3527d2c77b89be7a0
2021-05-17 10:49:53 +00:00
Bill Yi
2a99f41b95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iadb532dd2ccc98ba1437e944adf69a9ffb62fba2
2021-05-13 07:38:56 +00:00
Andy Wickham
53a44a2e51 Merge "Update gesture navigation tutorial." into sc-dev 2021-05-12 09:31:44 +00:00
Schneider Victor-tulias
e3af6c6513 Update gesture navigation tutorial.
- Updated gesture navigation feedback videos.
- Added feedback motion loop videos.
- Updated strings.
- Added alternate strings for when the user launches tutorial steps from the Tips app.

Test: manual
bug: 169687177
Change-Id: I87d475e1510a25ffefea14dbd0b224a063e7cad8
2021-05-11 18:14:29 -07:00
TreeHugger Robot
95ff5cf63e Merge "Handle config changes in Launcher" into sc-dev 2021-05-11 10:58:48 +00:00
Bill Yi
108367c948 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie96b140705ddb74ae0fdfe16dec8fc123dd73997
2021-05-11 04:18:58 +00:00
Alex Chau
a02eddc144 Handle config changes in Launcher
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default

Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
Bill Yi
1ac7b83521 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7dd72869281cae2bb6d5c40899856fec566a7670
2021-05-09 10:49:37 -07:00
TreeHugger Robot
2f1d8ed522 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-07 16:12:22 +00:00
Bill Yi
31d41e4ead Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b40206f9edbf432abf3a2555c1c9cf18ff1885c
2021-05-07 14:43:12 +00:00
TreeHugger Robot
1eba68385a Merge "Make focus task a bit bigger" into sc-dev 2021-05-07 05:53:52 +00:00
Vinit Nayak
b2993d65b7 Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev
* changes:
  Add IME switcher/hide button bar when IME showing
  Initial commit of 3 button work
2021-05-06 20:47:41 +00:00
Alex Chau
c8bd480bd5 Make focus task a bit bigger
Bug: 175939487
Test: manual
Change-Id: I0e4a13e02331ab9f4a8b1634197d7bf268edac68
2021-05-06 17:28:55 +01:00
Vinit Nayak
673faf59ee Add IME switcher/hide button bar when IME showing
Bug: 180046394
Change-Id: Ic2bd919ab3d27e0a430b081c771ea8dc5827be81
2021-05-05 12:50:39 -07:00
TreeHugger Robot
46d420bf14 Merge "Add funtional animation for SplitSelect from Grid." into sc-dev 2021-05-05 19:03:47 +00:00
Vinit Nayak
16fd85629d Initial commit of 3 button work
Home, Back and Recents basic functionality working

Fixes: 180046394
Change-Id: Ifc5c767e35e88183500d14d14736eb40df436369
2021-05-05 11:25:36 -07:00
Vinit Nayak
2dbdddb4ba Add funtional animation for SplitSelect from Grid.
Long ways to go to final UI - TODO(b/186800707)
Add comments to grid layout code,
no functional changes at all.

Bug: 181705607
Test: Enter split screen from overview task menu
in grid and carousel. Able to select all items
and enter split.

Change-Id: Ib62f1b286acf0781ec47862fa31b670e6ff1892a
2021-05-05 09:38:42 -07:00
TreeHugger Robot
19a1c4765f Merge "Adds AllSetActivity in Launcher." into sc-dev 2021-05-05 03:12:07 +00:00
Andy Wickham
474c616e98 Adds AllSetActivity in Launcher.
Mostly copied from its location in Tips.

Some exceptions:
 - Accent color (used for the icon at the top and link text)
   is derived from intent extras to match the rest of SUW.
   If needed, we could also pass other colors this way;
   currently they just use default light/dark mode colors.
 - Currently there is no animation in the middle. Not sure
   if one is expected, but we can add it later if so.

Bug: 184722307
Test: Manually passing arbitrary colors via adb:
adb shell am start -a com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET --ei accent_color_dark_mode -2134901760 --ei accent_color_light_mode 2147418112

Change-Id: I1fb8b20b88b7485d28f06afd2b421999ad847266
2021-05-04 18:44:22 -07:00
Bill Yi
fdcf8103e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ide1f0bfcb4a3a28bcdbc2d0ec830f77de864546f
2021-04-29 19:00:17 +00:00
TreeHugger Robot
127714094a Merge "Change TaskIconMenu to lay out vertically" into sc-dev 2021-04-28 20:16:43 +00:00
Vinit Nayak
4cc0dbb552 Change TaskIconMenu to lay out vertically
Still lays out horizontally when in phone
landscape.
TODO(b/186583656), need to center view.
Also have all layout be dynamic instead of having
some cases be in XML and some in code.

Bug: 181704764
Test: Task menu visible with all options in
portrait/landscape tablet
portrait phone
fake/real landscape phone

Change-Id: I3632eeb174f3e4baf2c9d69d51c1815c3c512e59
2021-04-28 11:47:08 -07:00
Tony Wickham
b482188775 Some overview scrim and status bar color adjustments
- Replace UI_STATE_OVERVIEW with UI_STATE_FULLSCREEN_TASK. Overview no
  longer needs it's own status bar treatment as it's handled by
  ScrimView already. So remove instances of UI_STATE_OVERVIEW and
  replace some with UI_STATE_FULLSCREEN_TASK if a TaskView is behind
  the status bar.
- Add ScrimView to fallback recents activity.
- Remove scrim from Background state, don't fade it in until the
  gesture ends to RECENTS.

Test: watch scrim and status bar colors during the following
- Swipe up to home (no scrim, status bar matches task at first but
  then wallpaper once task isn't overlapping status bar)
- Swipe up to overview (no scrim until let go to overview, status
  bar matches task at first, then wallpaper after not overlapping,
  then scrim once it's 90% opacity)
- Quick switch from home (scrim fades in, status bar matches once
  it reaches 90% opacity)
- Quick switch from app (no scrim, status bar matches center task)
- Repeat above for 3P launcher and 2 button mode

Fixes: 185681676
Fixes: 185286870
Change-Id: I9e5c292cc734e714169b9cc8268e8dad4e868aca
2021-04-27 17:44:30 -07:00
Bill Yi
357d710e52 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I03ce29c8d64096e013a7e296df973f83c076f353
2021-04-23 08:48:35 +00:00
Schneider Victor-tulias
5a6e10bba8 Merge "Complete gesture nav sandbox for for UXR." into sc-dev 2021-04-22 17:35:29 +00:00
Bill Yi
814728047b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c52edf741c9da39c882bc317258e63942ba0fd2
2021-04-21 08:49:29 +00:00
Bill Yi
db77bfade2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e94505a2803c2bd43cb4204944b72987dbb81d2
2021-04-20 15:55:35 +00:00
Schneider Victor-tulias
fb552936fd Complete gesture nav sandbox for for UXR.
- Removed All set screens altogether.
- Added "x" button to feedback view. This button now launches a dialog that allows the user to skip the tutorial.
- Added a progress tracker to the feedback view.
- Created a launch option to launch the back, home, then overview gesture tutorials in order.
- Added a button in the feedback view to progress through the tutorial.
- Updated tutorial animations to AnimatedVectorDrawables (with green accents).

Bug: 148542211

Test: manual
Change-Id: Icf3ec424141069895f97da74cd4ae881ff898d3f
2021-04-19 13:41:57 -07:00
TreeHugger Robot
7807cc85e2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-19 05:56:49 +00:00
Treehugger Robot
54161e66f9 Merge "Modifying screenshot button visibility" am: 3e6c445003 am: a3410d3947 am: 8848ba2497
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1461822

Change-Id: Ic1dd59d597b060b609afe818fe2b9584282078fe
2021-04-19 04:05:57 +00:00
Bill Yi
27e0cd7ff5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6d0f6f7f02381791f1e53504ec1a675cf1529ccf
2021-04-19 03:45:07 +00:00
Treehugger Robot
3e6c445003 Merge "Modifying screenshot button visibility" 2021-04-19 02:58:56 +00:00
Bill Yi
ef34790bc6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie990000f9b8ff61c1cf39ac23e525dd119510ad0
2021-04-17 22:15:09 -07:00
Andy Wickham
6c9f4ef566 Merge "Sandbox changes for use in UXR prototype." into sc-dev 2021-04-17 05:37:41 +00:00
TreeHugger Robot
b16d54d691 Merge "Update gesture navigation string resource for translations." into sc-dev 2021-04-17 01:30:35 +00:00
Andy Wickham
855072cda5 Sandbox changes for use in UXR prototype.
- "All Set" screen doesn't show after Home/Overview/Back tutorials.
 - X button in top left is hidden (we'll want to move this to the
   feedback view).
 - Feedback pops in and out from the top of the screen.
 - Hand animation is replaced by video feedback at start and after
   incorrect gesture.
 - Back tutorial goes left then right, in order to match video.
 - Updated strings and marked translatable (UX-reviewed already).
 - Added Chinese translations.
 - Many other things.

Test: Manual
Change-Id: I126a3ea0dad645014fab9cdee2ed19e06a8a56e9
2021-04-16 16:54:41 -07:00
Schneider Victor-tulias
3ce81f275f Update gesture navigation string resource for translations.
Updated the gesture navigation tutorial skip dialog's subtitle string resource and description:
1. increase char limit.
2. Added a placeholder string.
3. Updated the description to be clearer for translators.

bug: 185381331
Test: none
Change-Id: I6f06991694d48a9babf98777b377393f32998956
2021-04-16 13:38:26 -07:00
Bill Yi
a1817425d3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I601faa07c1a2ff65abe3fe14f9aef89b553c12b2
2021-04-15 20:39:39 +00:00
TreeHugger Robot
24545fdb1e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-15 00:57:46 +00:00
Bill Yi
1e8bf03140 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0987416705613c144daee763376970859601484c
2021-04-14 23:32:04 +00:00