Pat Manning
0fe7326cf0
Align task thumbnails to edge when cropped.
...
Align to left edge unless RTL enabled. Do not rotate thumbnails if they
would not fit nicely once rotated.
Test: manual - Ensure task thumbnails align with left edge if cropped.
Bug: 177402412
Change-Id: I6e03715061120deb5a8fde005d676170eed0f819
2021-03-17 01:30:07 +00:00
Alex Chau
9ae5b71ba6
Merge "Show overview as grid in fallback recents" into sc-dev am: 071862edbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841983
Change-Id: I4a4931913ccdd204bb97168b01d3385f16a3fb21
2021-03-17 01:19:36 +00:00
Alex Chau
af5f995b45
Merge "Show overview as grid in fallback recents" into sc-dev am: 071862edbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841983
Change-Id: I44183cf73165d150cfe7b304b4318ba79d855651
2021-03-17 01:18:51 +00:00
android-build-team Robot
aeb4d93c73
Snap for 7213262 from e5695f9196 to sc-v2-release
...
Change-Id: I8628dad4441b4da26731cd8619581b3fbddbeae4
2021-03-17 01:08:02 +00:00
android-build-team Robot
233dd04aed
Snap for 7213262 from e5695f9196 to sc-release
...
Change-Id: Id9506c0d4d5294771708dc0dd242261269cb2e02
2021-03-17 01:07:42 +00:00
Alex Chau
071862edbd
Merge "Show overview as grid in fallback recents" into sc-dev
2021-03-17 00:49:29 +00:00
Samuel Fufa
fa3316e8db
[Search] Update search input hint
...
Bug: 182927397
Test: Manual
Change-Id: I6ea7e70d0ddf3672187bd1936bc46c841a2618fb
2021-03-16 18:53:49 -05:00
Samuel Fufa
333a110840
Move SearchWidgetInfoContainer to NexusLauncher
...
Bug: 182361605
Test: Manual
Change-Id: I082c0ecdebca4b8c41d5d6283aacff555fa7ae63
2021-03-16 18:45:32 -05:00
Steven Ng
a1be5e5c17
Merge "Replace DragView bitmap with drawable" into sc-dev am: f61949803a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13815952
Change-Id: I4b81d86b0c4c0d89fe16b5bc30aa96add257fa55
2021-03-16 22:16:51 +00:00
Tony Wickham
8e0496fa6a
Hide taskbar when certain floating views are open am: e5695f9196
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13888785
Change-Id: I5fe1647d05c3f36967ab2ac923dbb97e34292081
2021-03-16 22:16:42 +00:00
Steven Ng
33f88e3c3b
Merge "Replace DragView bitmap with drawable" into sc-dev am: f61949803a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13815952
Change-Id: I5fccf7364788f9678d6ac4aa0c66ecebb78e1f82
2021-03-16 22:16:25 +00:00
Tony Wickham
9717f81a7d
Hide taskbar when certain floating views are open am: e5695f9196
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13888785
Change-Id: I3acceb7d5f2ad4ac608f4019356b85357f548292
2021-03-16 22:16:15 +00:00
Steven Ng
f61949803a
Merge "Replace DragView bitmap with drawable" into sc-dev
2021-03-16 21:51:07 +00:00
Yogisha Dixit
f9954cc4cc
Fix bug with resize frame disappearing.
...
Currently, if you resize the widget to the top, bottom or right, the
resize frame disappears. This is because the AppWidgetResizeFrame code
relies on the indices of the child elements to find the drag handles.
I updated the code to instead use IDs since that is more robust.
Test: manual
Bug: 182305670
Change-Id: Iaa9d32c9190fb579101914f03d57bb48dcecb88d
2021-03-16 21:31:46 +00:00
Samuel Fufa
45c16f7392
[Hotseat] Fix badging for shortcut predictions in hotseat
...
This change also sends shortcutInfo corresponding to AppTargetEvent
Screenshot: https://screenshot.googleplex.com/7nN7mNEuMCLkKbY
Bug: 159500320
Test: Manual
Change-Id: I9c31d7208510c5362039868ae41d098c9eb1e2dd
2021-03-16 15:49:16 -05:00
Steven Ng
1a4670eeff
Only clear widgets list upon all widgets & shortcuts update
...
Test: Install BBC News. Then, quickly go to all widgets tray.
BBC News widgets is added to the all widgets tray without
removing other widgets.
Bug: 182897740
Change-Id: I17b50f5128e24c346354b8fb7817a318a94efb62
2021-03-16 19:30:04 +00:00
Tony Wickham
e5695f9196
Hide taskbar when certain floating views are open
...
Test: Open widgets, ensure taskbar hides
Bug: 171917176
Change-Id: Ib78182fe0ca1ea5ffbd28ab42f49ab8f0e535a18
2021-03-16 11:28:35 -07:00
Alex Chau
ecd12b32c9
Show overview as grid in fallback recents
...
- Replace mShowAsGrid with state specific mOverviewGridEnabled and mCurrentGestureEndTarget
- Avoid showing invisible home task in grid
- Fix quick switch out of orientation in fallback recents
- Add a HOME state to switch to when starting home, to avoid showing grid overview briefly in quick switch
- Separate clear all button and overview actions handling
- Always maintain first task's fullscreen translation at 0 to avoid jumping when mOverviewFullscreenEnabled changes
- Moved fullscreenTranslation calculation to RecentsView
- Added GestureEndTarget -> BaseState translation to allow querying displayOverviewAsGrid for a displayOverviewTasksAsGrid
Bug: 174464863
Test: Launch overveiw from home, launch overveiw from app, launch into app, test for both small and large screens
Change-Id: Iee06d94d3067ea45cadd2051717223ddc0e6e70c
2021-03-16 17:08:03 +00:00
Hyunyoung Song
a5d8c9cbf0
Merge "Hide keyboard only when scrolling happens" into sc-dev am: a79c7e4227
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13868206
Change-Id: Id0977cae26bfcef19c13f21664e3352539d2b809
2021-03-16 16:59:36 +00:00
Hyunyoung Song
b85d46a784
Merge "Hide keyboard only when scrolling happens" into sc-dev am: a79c7e4227
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13868206
Change-Id: I0fac013554a8658fa1a74b89b05f02adb96c5a64
2021-03-16 16:59:26 +00:00
Tony Wickham
4bcfd703b7
Merge "Hide nav handle/background when taskbar is showing" into sc-dev am: d12feb574c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13880565
Change-Id: Ifb2edf33a159b97b69d07dadb0aa1e59e9a7c620
2021-03-16 16:58:27 +00:00
Tony Wickham
379f5418f9
Merge "Hide nav handle/background when taskbar is showing" into sc-dev am: d12feb574c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13880565
Change-Id: I529be14c2b7d7fb3a00a8a894dae0d19ae93ec55
2021-03-16 16:58:16 +00:00
Hyunyoung Song
a79c7e4227
Merge "Hide keyboard only when scrolling happens" into sc-dev
2021-03-16 16:42:58 +00:00
Tony Wickham
d12feb574c
Merge "Hide nav handle/background when taskbar is showing" into sc-dev
2021-03-16 16:38:28 +00:00
Yogisha Dixit
c42e49f535
Use targetCell[Width|Height] as default widget size.
...
Test: Created a widget and manually tested the following scenarios
- targetCell[Width|Height] not specified
- targetCell[Width|Height] larger than maxResize[Width|Height]
- targetCell[Width|Height] smaller than minResize[Width|Height]
- targetCell[Width|Height] within max/min bounds
Bug: 179807199
Change-Id: I55a9dd2f94aa450ba6362301f7ac5ba4ee42f44d
2021-03-16 14:41:55 +00:00
Alina Zaidi
1632752a72
Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar.
...
Test: Tested prototype locally.
Bug: b/157286785
Change-Id: I263063a451862755efe3d6e4a5a2eb69f2ea29b8
2021-03-16 09:25:22 +00:00
Hyunyoung Song
a907a995c9
Hide keyboard only when scrolling happens
...
Bug: 179307221
Test: see attached video
Change-Id: I9b13c8f62122a6d7bf56a28c830be9a9dbfee52a
2021-03-16 00:05:04 -07:00
android-build-team Robot
afa06222a6
Snap for 7209848 from cff5fbf58f to tm-release
...
Change-Id: Ie0c060c79db74d0de60c5c1663d0a91ba2ba601f
2021-03-16 03:07:22 +00:00
Vinit Nayak
00c72c88de
Merge "Initial commit of new split screen work." into sc-dev am: 2b30076aba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666456
Change-Id: I7305394e9509ffa4edfd8ec954b62ad09f13f3e7
2021-03-16 01:32:19 +00:00
Vinit Nayak
070d9e4490
Merge "Initial commit of new split screen work." into sc-dev am: 2b30076aba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13666456
Change-Id: I789572d90e056dae7fa2bca1af1ea769131ef6c9
2021-03-16 01:31:58 +00:00
android-build-team Robot
1455a086ee
Snap for 7209903 from af0d09b98b to sc-v2-release
...
Change-Id: If1dff6a27b8c3088dd19b838a8858b96bda59fd1
2021-03-16 01:08:21 +00:00
android-build-team Robot
1f8ae39880
Snap for 7209903 from af0d09b98b to sc-release
...
Change-Id: Ib069359f7ca8b8771e8f580ec2d185a55357e982
2021-03-16 01:07:53 +00:00
Vinit Nayak
2b30076aba
Merge "Initial commit of new split screen work." into sc-dev
2021-03-16 01:01:08 +00:00
Tony Wickham
ced1126bee
Merge "Remove insets due to Taskbar, except on workspace elements" into sc-dev am: 9f9787ad76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841018
Change-Id: I8d2c3023b6e37a4ed942f23e8f2de5e2ef195c61
2021-03-16 00:17:52 +00:00
Tony Wickham
00c5371c82
Merge "Remove insets due to Taskbar, except on workspace elements" into sc-dev am: 9f9787ad76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841018
Change-Id: Iba36ff38fab21975707b55f785814c6c00975f45
2021-03-16 00:17:21 +00:00
Steven Ng
0226d1ad79
Replace DragView bitmap with drawable
...
This is a preliminary work for local color extraction. In order to
apply local colors extracted from wallpaper to AppWidgetHostView
during drag, we need to hold a reference of the dragging
AppWidgetHostView.
In this CL, the following changes are made:
1. Instead of using bitmap image directly for icons, folders, shortcuts,
legacy widget drawable preview, a BitmapDrawable wrapper is
introduced.
2. Introduce a WidgetHostViewDraggableDrawable which draws
LauncherAppWidgetHostView directly to canvas. No more bitmap
generation overhead.
3. Remove drag outline from the drag logic because this will be replaced
by a new grid color hint UI: https://screenshot.googleplex.com/7jBEVeuxFecFKKT.png
Test: Add: add widgets, shortcuts from widgets tray.
add icons from all apps.
create folder.
Drag: drag existing widgets, shortcuts, folders and icons around
Bug: 182282587
Change-Id: Ia45ff756ea5bb80cf0761f0727a9453d50c204c0
2021-03-16 00:02:38 +00:00
Tony Wickham
9f9787ad76
Merge "Remove insets due to Taskbar, except on workspace elements" into sc-dev
2021-03-15 23:41:55 +00:00
Vinit Nayak
d987a828e8
Initial commit of new split screen work.
...
TODO:
* Extract out common elements in TaskShortcutFactory.MultiWindowFactory
for commonalities between new and old way of
invoking split screen
* Integrate with WM APIs (b/182002789)
* Write tests for SplitSelectStateController
Bug: 181704764
Change-Id: Ice35adb4ea82897f5e2433dc9b93a549f3d511b5
2021-03-15 15:42:32 -07:00
Hongwei Wang
592106e1ab
Merge "Pass the transform from Launcher to SysUI" into sc-dev am: 5b7c5e79a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13819114
Change-Id: If87ec77f62a969fb08941df978a8ea2480f39faf
2021-03-15 22:18:03 +00:00
Hongwei Wang
1626ff3798
Merge "Pass the transform from Launcher to SysUI" into sc-dev am: 5b7c5e79a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13819114
Change-Id: I34a2e0d1cd23b8a355eea8593853a2de3bd0411b
2021-03-15 22:17:14 +00:00
Tony Wickham
2debd80f1f
Hide nav handle/background when taskbar is showing
...
Test: nav handle isn't showing unless taskbar is hidden or removed
Fixes: 181206743
Bug: 171917176
Change-Id: I84b7d0bba1a5d208b1f8b1b467faf79f04078348
2021-03-15 15:03:54 -07:00
Hongwei Wang
5b7c5e79a0
Merge "Pass the transform from Launcher to SysUI" into sc-dev
2021-03-15 21:59:13 +00:00
Winson Chung
d3d48267c2
Merge "Revert "Update calls to go through the feature interface instead..."" into sc-dev am: af0d09b98b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13877230
Change-Id: Ic2f21caf0101088622f305a40fd8342c6319e687
2021-03-15 20:56:26 +00:00
Winson Chung
448c7b8a1f
Merge "Revert "Update calls to go through the feature interface instead..."" into sc-dev am: af0d09b98b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13877230
Change-Id: I12471f569a3658267ac26e283e562d698e1dded7
2021-03-15 20:56:03 +00:00
Winson Chung
af0d09b98b
Merge "Revert "Update calls to go through the feature interface instead..."" into sc-dev
2021-03-15 20:46:19 +00:00
Samuel Fufa
44384a4941
Merge "[Search]Implement search session cache in AllApps" into sc-dev am: 6547d098c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13828049
Change-Id: I57413948150c1250d542b921c5309a0c9a2abfb3
2021-03-15 20:02:03 +00:00
Samuel Fufa
cff5fbf58f
Merge "[Search]Implement search session cache in AllApps" into sc-dev am: 6547d098c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13828049
Change-Id: I83ef4cf2ba6468773089ce9534bbf40d016d7e41
2021-03-15 20:01:14 +00:00
Samuel Fufa
6547d098c6
Merge "[Search]Implement search session cache in AllApps" into sc-dev
2021-03-15 19:23:06 +00:00
Alex Chau
22cc0b1b83
Merge "Use grid Rect when calculating clear all position" into sc-dev am: 510fc67c55
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13872528
Change-Id: I63b7a148d3db3e4e2a515f5000c4fe514ca499f3
2021-03-15 18:47:49 +00:00
Alex Chau
ef56cf95d6
Merge "Use grid Rect when calculating clear all position" into sc-dev am: 510fc67c55
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13872528
Change-Id: I49f973b4ad2c3e404a4e42499330308d9afa7d65
2021-03-15 18:47:01 +00:00