Samuel Fufa
f951a7ccde
Merge "[Hotseat] Fix badging for shortcut predictions in hotseat" into sc-dev am: 7165a1d6de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887561
Change-Id: Ia03048f7743c5faa4009f66565036aa43fc3bb86
2021-03-17 13:55:08 +00:00
Alex Chau
1e024358ad
Merge "Two panel & two page swipe & currentPage fixes" into sc-dev
2021-03-17 13:47:01 +00:00
Samuel Fufa
7165a1d6de
Merge "[Hotseat] Fix badging for shortcut predictions in hotseat" into sc-dev
2021-03-17 13:15:47 +00:00
Alex Chau
56f7bb4b5d
Merge "Align task thumbnails to edge when cropped." into sc-dev am: b4254cd504
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13817071
Change-Id: Id3c4d489b3c2fab22714f700e07e8351b63e57ce
2021-03-17 11:49:08 +00:00
Alex Chau
036eae2bc5
Merge "Align task thumbnails to edge when cropped." into sc-dev am: b4254cd504
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13817071
Change-Id: I93d39edda7831b0169dadf48536636698190f44f
2021-03-17 11:48:26 +00:00
Andras Kloczl
8e57cce4ee
Two panel & two page swipe & currentPage fixes
...
- Pagespacing set to 0 to have similar design to figma
- Added padding to left side of left panel and right side of right panel to match figma
- getPageScrolls changed to support two page scrolling
- validateNewPage changed so that only even indexed pages can be switched to
- getPageWidthSize added for measurements, it returns half screen width when two panel is active
- onMeasure changed to use getPageWidthSize
- panelCount has been increased from 1 to 2 when two panel is active
- add feature flag for two panel home
- shouldConsumeTouch changed so not only currentpage is checked but currentpage+1 screen as well
- add one more extra check for setDropLayoutForDragObject for currentpage + 2, next to right panel
- using new grid option for two panel home screen
Test: manual
Bug: 174464115
Change-Id: I1bad7eecc67f65fb833608744a5aa5aca65373b4
2021-03-17 12:19:02 +01:00
Alex Chau
b4254cd504
Merge "Align task thumbnails to edge when cropped." into sc-dev
2021-03-17 11:09:04 +00:00
Yogisha Dixit
6ba03c5fce
Merge "Fix bug with resize frame disappearing." into sc-dev am: 6d593d891e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887005
Change-Id: Ibfbe14238f9b39b1f4d7b5d94a34eea7f02398c0
2021-03-17 10:50:44 +00:00
Yogisha Dixit
736faa41ff
Merge "Fix bug with resize frame disappearing." into sc-dev am: 6d593d891e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887005
Change-Id: I9c198e2c3c489f2b80ee17db7dbedeac4cabe3b9
2021-03-17 10:44:05 +00:00
Yogisha Dixit
6d593d891e
Merge "Fix bug with resize frame disappearing." into sc-dev
2021-03-17 10:27:33 +00:00
Yogisha Dixit
c02aa1524d
Merge "Use targetCell[Width|Height] as default widget size." into sc-dev am: 8332f51b99
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714414
Change-Id: I0f45b70c4f71dffcedc8774d11f3e33b25c81391
2021-03-17 10:11:40 +00:00
Alina Zaidi
d75796431c
Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev am: f8cf4c59b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13827977
Change-Id: Ib9404e4cbb6a3b39b2945d2d43a3cce2bc07ff90
2021-03-17 10:11:26 +00:00
Yogisha Dixit
6ce8e95262
Merge "Use targetCell[Width|Height] as default widget size." into sc-dev am: 8332f51b99
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714414
Change-Id: Ia71890a9ac1cee979d2f44f6a5218557a62db64c
2021-03-17 10:11:17 +00:00
Alina Zaidi
bf1c979225
Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev am: f8cf4c59b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13827977
Change-Id: I5e32a8852d7f8ed4d70af2ce2a150adb0212d127
2021-03-17 10:11:08 +00:00
Yogisha Dixit
8332f51b99
Merge "Use targetCell[Width|Height] as default widget size." into sc-dev
2021-03-17 09:53:36 +00:00
Alina Zaidi
f8cf4c59b7
Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev
2021-03-17 09:47:27 +00:00
Sunny Goyal
f90d6451b0
Adding some build rules in Launcher3
...
Bug: 182502086
Test: Presubmit
Change-Id: Ib2c18f1e252b3382030293fd3b873e840320301a
2021-03-17 06:14:02 +00:00
android-build-team Robot
4940843c78
Snap for 7213287 from a5d8c9cbf0 to tm-release
...
Change-Id: Ic4ab98f199dbb2d22175443f68fec68c80e9e57a
2021-03-17 03:07:32 +00:00
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