Commit Graph

2291 Commits

Author SHA1 Message Date
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 e2d95f9703 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I824aa5417111572f7a9a8fe4eb474b066c09a8c8
2021-05-17 10:53:00 +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 9cbba5e50d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I826fe1dd1cc8d48ba140440dcab80fc9dac06562
2021-05-13 07:40:41 +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 626bd698e9 Merge "Update gesture navigation tutorial." into sc-dev am: 53a44a2e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14341983

Change-Id: Icbc36a86ce49afc2ec806cdbdfb23895f2ab21cc
2021-05-12 10:02:01 +00:00
Andy Wickham fff9a1c425 Merge "Update gesture navigation tutorial." into sc-dev am: 53a44a2e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14341983

Change-Id: Ib43b990c15263e85ffd2b343952ca8808ca6877e
2021-05-12 10:00:29 +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 f0b07f7164 Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761

Change-Id: I0d2a436b70d120fac658a331682f8630b4145806
2021-05-11 15:43:50 +00:00
TreeHugger Robot b8991cc1fc Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761

Change-Id: Ic71f8c2c6f595ae6c968466b19228f6506f132f1
2021-05-11 11:17:58 +00: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 313946ebb4 Merge "Make focus task a bit bigger" into sc-dev am: 1eba68385a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453617

Change-Id: Ib0f462ebd22dbe4453e1b291899b5d83dcb77e61
2021-05-07 06:13:54 +00:00
TreeHugger Robot 8ff25d8944 Merge "Make focus task a bit bigger" into sc-dev am: 1eba68385a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453617

Change-Id: Iafa85ed96c949750aa1658cc5b403f7a912981c2
2021-05-07 06:13:32 +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 c97a9c9e6b Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248

Change-Id: I0fa38b70057522057556e6d12f9c1a4cba349d7a
2021-05-06 20:54:57 +00:00
Vinit Nayak 17e84027fe Initial commit of 3 button work am: 16fd85629d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017

Change-Id: I34007cf2d6dd0b1328ae3e248bcafef801502d68
2021-05-06 20:54:56 +00:00
Vinit Nayak a66716d953 Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248

Change-Id: I29e35a601ee7972b394c4adf402999e1c6c3ee0a
2021-05-06 20:54:22 +00:00
Vinit Nayak d0aa4130c1 Initial commit of 3 button work am: 16fd85629d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017

Change-Id: Iff11098781b1470c629a8ee505ead67476fa0862
2021-05-06 20:54:21 +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 34881df9a3 Merge "Add funtional animation for SplitSelect from Grid." into sc-dev am: 46d420bf14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14373811

Change-Id: Iecb2d8ce70fd7cd6491be9f4017b4b5491e2983b
2021-05-05 19:29:45 +00:00
TreeHugger Robot 511fd3bd7f Merge "Add funtional animation for SplitSelect from Grid." into sc-dev am: 46d420bf14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14373811

Change-Id: I87348741e8c71cf8a445a42156ff03f17f806d92
2021-05-05 19:29:45 +00: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 910e62eaae Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: I0684a0c54ecf615a46ec257094ff4e40563e661d
2021-05-05 03:22:56 +00:00
TreeHugger Robot 0b391711d5 Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: Id000f1f81eff3a2cb5f1476090f2d734f962a050
2021-05-05 03:22:52 +00: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 868fabfaa1 Merge "Change TaskIconMenu to lay out vertically" into sc-dev am: 127714094a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14333138

Change-Id: I07f5de32f9e620aa58c73b8e5a779c74bffb9c22
2021-04-28 20:58:58 +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
TreeHugger Robot 7b19ff59c9 Merge "Some overview scrim and status bar color adjustments" into sc-dev am: 69cb35a85a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14299457

Change-Id: I6ddfa2847a157ebd5e7996d4160989055cf39beb
2021-04-28 03:31:07 +00: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 34e80a0ecf Merge "Complete gesture nav sandbox for for UXR." into sc-dev am: 5a6e10bba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13854481

Change-Id: I9818eb17b8ff2326fb1deca9d5290a87ebea0fc4
2021-04-22 18:49:57 +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