Commit Graph

2610 Commits

Author SHA1 Message Date
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 30a62d835e Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-08-17 20:15:56 +00:00
TreeHugger Robot f8d92e0a48 Merge changes I2cc102d7,Ifba9aa59 into sc-v2-dev am: 54ce7e6cf8 am: 4079cdbb74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465222

Change-Id: I07e79c417528a08896ce07213e5476d771de545c
2021-08-17 19:55:01 +00: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 1fbeb066f1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I73ea13220c10502c794c16674a34ae336e788b89
2021-08-17 02:17:46 -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 cae25fe501 Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254 am: f8829ff94f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151

Change-Id: I9e996edb7fe6ec167172e06ffe522e160fd337b7
2021-08-05 10:37:41 +00: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
Alex Chau 42f914e254 Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev 2021-08-05 09:57:19 +00:00
Bill Yi 03609d13e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia286e83ca0209375454ef6fc71b234aad3d9f70e
2021-08-04 22:18:06 +00:00
Bill Yi 16ed5b8391 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I576aa7ad9e9de9f4305f821ea5d7954b1d7d9c41
2021-08-04 22:15:00 +00:00
Bill Yi ff049aae0f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8da912b3e7ec23e63a5c1436773cd86b8cb8dffc
2021-08-04 22:14:26 +00:00
Alex Chau ac9df38e9f Make icon drawable for non-focused grid tasks smaller
- Center the icon drawable in center of IconView with and allow a smlaler size to be set

Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01:00
Alex Chau a8049d069d Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100 am: 8b11c3b574
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: Iac132e9b061b747425f69cefcfd54415704e6694
2021-07-28 11:05:27 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00
Alex Chau 8e83f31100 Merge "Tune Overview size according to VisD" into sc-v2-dev 2021-07-28 10:41:16 +00:00
Tony Wickham c537990bdf Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev am: 5ba08b348b am: e0da81dd34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388923

Change-Id: Ie0bd1d7514f242fd3bcee422cf27af3a283a74ea
2021-07-27 00:25:24 +00:00
Tony Wickham e0da81dd34 Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev am: 5ba08b348b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388923

Change-Id: Idbfc4ad75c410a9c51fccd30af2775590cc0f2a4
2021-07-27 00:14:08 +00:00
Tony Wickham 5ba08b348b Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev 2021-07-26 23:58:13 +00:00
Tony Wickham 67c36d3b3c Update taskbar background color to match overview's dark mode
Note that taskbar is intentionally dark even when dark theme is off, whereas overview changes to light.

Test: visual with a few wallpapers
Bug: 191614244
Change-Id: I30f8c2f04047ea26fa726c9e470b87637a6c502e
2021-07-26 11:53:23 -10:00
Alex Chau 5fd9d491b0 Tune Overview size according to VisD
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params

Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
Bill Yi 7e07c1051f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I03ec412fb4afbd9231028329d815c52b97ef1795
2021-07-24 03:08:39 +00:00
Bill Yi 04fe295c93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I310fbc43d7545904ee50969dbc1af837210cebc0
2021-07-24 03:05:40 +00:00
Bill Yi 818238558a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47acd077e560f94d070da5dd2c9b66ac07950e49
2021-07-24 03:05:08 +00:00
TreeHugger Robot 7e7f595719 Merge "Animate SplitPlaceholderView when entering split from overview" into sc-v2-dev am: f2af895b20 am: 092efed8d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081296

Change-Id: I6091d6c30f9392cb15566ef6eab00c57505bf0ef
2021-07-22 21:51:11 +00:00
TreeHugger Robot 092efed8d7 Merge "Animate SplitPlaceholderView when entering split from overview" into sc-v2-dev am: f2af895b20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081296

Change-Id: Iacb80efc93142dfd2e970db9f65b8696c3aeb77a
2021-07-22 21:33:26 +00:00
Vinit Nayak 7903758d08 Animate SplitPlaceholderView when entering split from overview
Bugs tracked in b/181704764

Bug: 181704764
Test: Tested on phone and large screen in multiple orientations

Change-Id: I07509006ae3d1f4425dc5119d0c8ed52b41a3bc2
2021-07-22 20:12:26 +00:00
TreeHugger Robot dae4d9f324 Merge "Scale recents during quick switch for large screens." into sc-v2-dev am: eb894b577a am: 07b974c8ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15337882

Change-Id: If6103f7dffc06002498dfbccf94b52746d824566
2021-07-21 21:47:02 +00:00
TreeHugger Robot 07b974c8ad Merge "Scale recents during quick switch for large screens." into sc-v2-dev am: eb894b577a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15337882

Change-Id: Ibbbae9f3bba290209a12e58e864b705e8502266e
2021-07-21 21:41:54 +00:00
TreeHugger Robot eb894b577a Merge "Scale recents during quick switch for large screens." into sc-v2-dev 2021-07-21 21:35:12 +00:00
Pat Manning 3786fa188d Scale recents during quick switch for large screens.
Test: manual
Fix: 192470757
Change-Id: I4522455e488213a6f461549a31e78edef35aac21
2021-07-21 17:43:04 +00:00
TreeHugger Robot f938f54b2d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-07-21 13:18:44 +00:00
TreeHugger Robot 23a13c38d5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-21 12:21:37 +00:00
Bill Yi 9430b16384 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3bbd210b4d8753303a34741d00677b321a5ed14
2021-07-21 05:58:32 +00:00
Bill Yi 51ba91bf76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I340d82d4b6e051e26eb9742bd7cf93cccec3cc80
2021-07-21 05:55:38 +00:00
Bill Yi ae99b65b1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I828bb455fd6ce0c8e5552cac3bf2090f29021ccd
2021-07-21 05:55:06 +00:00
Vinit Nayak fc02d3cf4a Merge "Move NavButtons to end of taskbar" into sc-v2-dev am: 6d2dd7a9e4 am: ce6907de48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329808

Change-Id: I512d85536566883829bd3345c216248b06e00303
2021-07-21 00:44:42 +00:00
Vinit Nayak ce6907de48 Merge "Move NavButtons to end of taskbar" into sc-v2-dev am: 6d2dd7a9e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329808

Change-Id: I3b5bfe78c9da0a2215c376cb0f2007fb735d4a30
2021-07-21 00:30:11 +00:00
Vinit Nayak 6d2dd7a9e4 Merge "Move NavButtons to end of taskbar" into sc-v2-dev 2021-07-21 00:11:31 +00:00
Vinit Nayak 8dcbde87c0 Move NavButtons to end of taskbar
* Layout hotseat icons from the end instead of the start
* IME down and system back arrow are now separate views

Bug: 191399224
Test: Tested w/ RTL + LTR in gesture
and 3 button nav w/ and w/o IME

Change-Id: I4d0ecd0bee0c519892c63eeefef45055b26d349b
2021-07-20 13:55:37 -07:00
Bill Yi f027fbc667 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If181c6ceec433af77301991086294f534287ed70
2021-07-18 04:20:07 +00:00
Bill Yi 0b755e15ce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c41d2289e29a43beeac27ba236080ef5b8a7083
2021-07-18 04:17:18 +00:00
Bill Yi d795b67d17 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic985ca3898b08c71facddecf2e9c94fd4f0ad350
2021-07-18 04:16:45 +00:00
Bill Yi 031eaa94d8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d192d835177cb690922c81710a2ef72e22ea1b4
2021-07-16 02:55:37 +00:00
Bill Yi 081208c566 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8342bc6735cdec0f5ff4cabd8a48974e3455aae3
2021-07-16 02:52:31 +00:00