TreeHugger Robot
75de4f64b8
Merge "Better diagnosing leaked activities." into sc-dev am: 161b27d5c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714586
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0a0ef05fca9fdeeca6afb4741ba68f0219403f61
2021-03-03 08:56:03 +00:00
TreeHugger Robot
161b27d5c5
Merge "Better diagnosing leaked activities." into sc-dev
2021-03-03 08:26:34 +00:00
android-build-team Robot
6e39d134f9
Snap for 7180829 from ce7961a493 to sc-v2-release
...
Change-Id: I9da1ab87dbc1117a241703f0a367d2f52e713737
2021-03-03 02:08:17 +00:00
android-build-team Robot
a1d72474d1
Snap for 7180829 from ce7961a493 to sc-release
...
Change-Id: Id4f4285a10ddb06985f6c265f627520185abc98c
2021-03-03 02:07:10 +00:00
Jonathan Miranda
216dfe4a98
Merge "Use grid border spacing as widget padding if possible." into sc-dev am: 41a5c37009
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13710104
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I902d61b4c40dd68dce950b9d99566dd2c0646ef1
2021-03-03 01:05:34 +00:00
Jonathan Miranda
89dcb3c76d
Merge "Use grid border spacing as widget padding if possible." into sc-dev am: 41a5c37009
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13710104
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7c37ad1649b5cbeb687765852be34b5212c717c1
2021-03-03 00:59:55 +00:00
Jonathan Miranda
41a5c37009
Merge "Use grid border spacing as widget padding if possible." into sc-dev
2021-03-03 00:24:27 +00:00
Sunny Goyal
97c2e513b3
Fixing empty page not removed when drag ends
...
Bug: 179550470
Test: Verified on device
Change-Id: Ie9b20dfde1a64b385041f6e4d32fe47e3c6e5a7d
2021-03-02 13:00:22 -08:00
TreeHugger Robot
9b6a93dc50
Merge "Fix some issues with TwoButtonNavbarTouchController" into sc-dev am: ce7961a493
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13740975
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id1298cda523359b9ea32ea4a0c284aa5a3aa4ecd
2021-03-02 20:37:54 +00:00
TreeHugger Robot
639a0103e0
Merge "Fix NPE in FlingToDeleteHelper" into sc-dev am: fe67c6be0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13741294
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ied20b0565837c924bbfa1a4eab496d0a48c5f3f1
2021-03-02 20:37:40 +00:00
TreeHugger Robot
bdf01bc359
Merge "Fix some issues with TwoButtonNavbarTouchController" into sc-dev am: ce7961a493
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13740975
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5de029df53dfe270db7c75a4c651a819b303965a
2021-03-02 20:34:40 +00:00
TreeHugger Robot
0958bd769e
Merge "Fix NPE in FlingToDeleteHelper" into sc-dev am: fe67c6be0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13741294
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If1ad90b7a21afa4ec51f04807abe3f7301568148
2021-03-02 20:31:46 +00:00
Alina Zaidi
b8ad633b7e
Interface for WidgetPickerSearchPipeline.
...
Test: not required
Bug: b/157286785
Change-Id: Ib0a4d2915bd678304e7971cdfd7296811ea8587b
2021-03-02 20:30:03 +00:00
TreeHugger Robot
ce7961a493
Merge "Fix some issues with TwoButtonNavbarTouchController" into sc-dev
2021-03-02 20:14:32 +00:00
Jon Miranda
611dba4c94
Use grid border spacing as widget padding if possible.
...
Widget padding is added by the system to create reliable consistency
between widgets.
Now that we have added border spacing between cells on the launcher
grid, we have significantly decreased the available space for widgets
on home screens: widget padding is 8dp on all sides, border spacing is
currently spec'd to be 16dp.
We can inset the widget padding added by the system, and instead rely
on the border spacing between cells to create reliable consistency
between widgets.
Bug: 175329686
Test: manual
turn CellLayout#VISUALIZE_GRID debug flag on
test drag and drop, resizing using drag handles
view measurements in go/web-hv
Change-Id: Iabb9f45e82e4ae039f55d7fd27fbd0d23be60191
2021-03-02 15:06:46 -05:00
TreeHugger Robot
fe67c6be0b
Merge "Fix NPE in FlingToDeleteHelper" into sc-dev
2021-03-02 20:00:53 +00:00
Jonathan Miranda
f425de33ac
Merge "More grid changes, closer to final specs." into sc-dev am: a9bb9394a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701885
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I38d9ea6f51535419d89c1484b6cc4df2c0b6976e
2021-03-02 19:48:29 +00:00
Jonathan Miranda
01e8cf668b
Merge "More grid changes, closer to final specs." into sc-dev am: a9bb9394a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701885
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae32e7a3e90332723b5aeb2897d559a7a9e101a5
2021-03-02 19:47:50 +00:00
Jonathan Miranda
a9bb9394a5
Merge "More grid changes, closer to final specs." into sc-dev
2021-03-02 19:19:08 +00:00
Sunny Goyal
d197ebcfd5
Moving data sanitization before bind
...
Data sanitization changes the launcher model data, which makes it
out of sync with what Launcher is displaying.
This would lead to widgetsIds getting deleted when they are created
by Launcher on UI thread, but have not yet been updated in the model
Also clearing all ghost widgets on every load. This would remove
the flaky behavior where widget update depends on folder and
other icons getting removed
Test: Presubmit
Bug: 181680555
Change-Id: I3cce69383d9d92a283c5197c3f99fbb539d93dbb
2021-03-02 10:58:16 -08:00
Tony Wickham
b96cf5cdf2
Fix some issues with TwoButtonNavbarTouchController
...
- Use same swipe height as the tests use to get to Overview
- Use mStartState instead of fromState when determining
target state, to disallow swiping through states, i.e.
from NORMAL to OVERVIEW back to NORMAL in one long swipe
up gesture. Instead, now swipe up from NORMAL goes to
OVERVIEW and swipe up from OVERVIEW goes to NORMAL.
Fixes: 177316094
Change-Id: Ic8e9c8650d4cf11eec344802e3569413bfd5d7bc
(cherry picked from commit a24b9ff69d )
2021-03-02 18:14:03 +00:00
Alex Chau
b794ea64c7
Show TaskView as grid in large screens
...
- Introduced gridProgress to RecentsView/TaskView ofr animating into grid
- Introduced gridProgress dependant translation and scale properties in TaskView
- Animate running task into grid with TaskViewSimulator
- Remove overview actions (for now) but keep clear all button in large screens
- Adjust ClearAllButton translation to acoomodate for grid
- Use screen width +-50% to calculate task visibility
- Use the position where TaskView is on screenEnd as pageScroll
- TODO: Handle separate recents activity
Doc: go/foldables-launcher-overview
Video: http://dr/file/d/107Aydii1LoFCwP63nWG3Twr2PBDE5ZgD/view?resourcekey=0-aUjdnx8ezimS9tmAgao9ag
Test: Test Launchering overview and launching overview from apps with folloiwng combination:
- large / small screen sizes
- portrait / landscape
- thumbnails from different screen sizes / orientations
Bug: 174464863
Fixes: 181509346
Change-Id: I4b691cde774f2e37532b68ba83c6eed399f2332e
2021-03-02 17:10:45 +00:00
Jon Miranda
2839c20c1a
Fix NPE in FlingToDeleteHelper
...
Bug: 171543835
Test: not able to repo bug, but this prevents the NPE
Change-Id: I153dd0665705b2f5fd7f46786e815ba57dec4720
2021-03-02 12:01:03 -05:00
Steven Ng
e98cd0cfd8
Merge "Add widget description to WidgetCell" into sc-dev am: 13d5079e90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13731966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0faf460f74b667019880f41aad3c56d94fa119e5
2021-03-02 10:50:31 +00:00
Steven Ng
eeae18a5ee
Merge "Add widget description to WidgetCell" into sc-dev am: 13d5079e90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13731966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idf5d7a6df5115c403904c79c983c491f07f49c64
2021-03-02 10:48:53 +00:00
Yogisha Dixit
2148ac7fc8
Merge "Move widget files into widget folder + add tests." into sc-dev am: a6554759aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13661706
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I70c3d7bb2a2be70807dee46867ad92e2d827b992
2021-03-02 10:48:23 +00:00
Yogisha Dixit
c478b6cc76
Merge "Move widget files into widget folder + add tests." into sc-dev am: a6554759aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13661706
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic97ace8c1cb6e6f7ba3e9f926ff610ea2fb68828
2021-03-02 10:48:05 +00:00
Steven Ng
13d5079e90
Merge "Add widget description to WidgetCell" into sc-dev
2021-03-02 09:57:22 +00:00
Yogisha Dixit
a6554759aa
Merge "Move widget files into widget folder + add tests." into sc-dev
2021-03-02 09:30:02 +00:00
Tracy Zhou
1161b62460
Merge "Check if the recents animation is still running and whether the app being restarted is the live tile app in mLiveTileRestartListener" into sc-dev am: f543e6cf9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714548
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iac251e16c2f6ed3caacde31afe07ed77b67d405d
2021-03-02 07:21:30 +00:00
Tracy Zhou
623444438f
Merge "Check if the recents animation is still running and whether the app being restarted is the live tile app in mLiveTileRestartListener" into sc-dev am: f543e6cf9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714548
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1a4ce2d8505a6757a38c2b28eb16f5620ed34c95
2021-03-02 07:20:04 +00:00
Tracy Zhou
f543e6cf9c
Merge "Check if the recents animation is still running and whether the app being restarted is the live tile app in mLiveTileRestartListener" into sc-dev
2021-03-02 06:44:40 +00:00
TreeHugger Robot
627fa214d0
Merge "Only fetching relevant widget info during first pass" into sc-dev am: 4a202c5abd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13691096
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iab518837c98d59c12451fac98664072a0eb7f4ba
2021-03-02 02:44:55 +00:00
TreeHugger Robot
25693afbe8
Merge "Only fetching relevant widget info during first pass" into sc-dev am: 4a202c5abd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13691096
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I06bf7f94a1c63399ea2130042cb29c601613c695
2021-03-02 02:43:03 +00:00
android-build-team Robot
6416c91586
Snap for 7178253 from dee1167409 to sc-v2-release
...
Change-Id: Ife6aae0b1f3cae3a5b40b0accb7d6b3c801d20ae
2021-03-02 02:08:22 +00:00
android-build-team Robot
76e26b87c4
Snap for 7178253 from dee1167409 to sc-release
...
Change-Id: Id3146cfd6244cc5af845dfbd1ba5b0d18262b1ca
2021-03-02 02:08:22 +00:00
TreeHugger Robot
4a202c5abd
Merge "Only fetching relevant widget info during first pass" into sc-dev
2021-03-02 02:07:12 +00:00
Sunny Goyal
ca6a539faa
Only fetching relevant widget info during first pass
...
This avoids loading resources for allwidget providers when they
are not added to homescreen.
Test: Verified on device
Bug: 180867488
Change-Id: If9adde8eb035ecac75dc4e3e37cd3f0f526865e5
2021-03-01 15:33:15 -08:00
Tony Wickham
ed8f264fcb
Add debug log for initInputMonitor()
...
Sometimes tests aren't getting input events, and this could help
verify that the input monitor is being initialized.
Also remove obsolete check that could mean we don't initialize
when we should.
Bug: 180915942
Change-Id: I811cb432b456bc67d9e7ded945db36eb227f5071
2021-03-01 15:29:52 -08:00
Jeff Pierce
0d0f4f96f9
SystemUI proxy updates for managing split screen
...
Allow the launcher to provide a fill-in intent when starting a
PendingIntent splitscreen, and add a new method to allow the launcher
to request removing a task from the side stage.
Bug: 179176511
Test: Manually tested with the foldable launcher prototype
Change-Id: I23173b432ffe9c988744641170412aa9111cf55d
2021-03-01 15:27:33 -08:00
Steven Ng
c7537713ca
Add widget description to WidgetCell
...
Full picker: https://screenshot.googleplex.com/8Dij79K8Pq2KWdm.png
Bottom picker: https://screenshot.googleplex.com/5f9TLra49dYJjLB.png
Test: Manually launch full and bottom widget pickers and observe
description is only shown for widgets but not shortcut.
Bug: 179797520
Change-Id: I5bfde056906a4a0f4fff9bc9a488f808365173b3
2021-03-01 23:17:32 +00:00
Alex Chau
a3131a4ca8
Merge "Remove smallestScreenSize from configChanges" into sc-dev am: dee1167409
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13687966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1a69c5b2b42880275484cf2c44b44c7dbb5e4e48
2021-03-01 21:45:46 +00:00
Alex Chau
390447f7f2
Merge "Remove smallestScreenSize from configChanges" into sc-dev am: dee1167409
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13687966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6bcef3c9b66fed421f671a436b9a9b0a9b0967df
2021-03-01 21:45:42 +00:00
Alex Chau
dee1167409
Merge "Remove smallestScreenSize from configChanges" into sc-dev
2021-03-01 21:01:19 +00:00
TreeHugger Robot
834ed89e35
Merge "Add tracing to track every allApps rebind" into sc-dev am: f6987b0be1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714072
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie60375a68bb37c647f20f12068850a653fa5c80f
2021-03-01 18:45:29 +00:00
TreeHugger Robot
b51b1f88ad
Merge "Add tracing to track every allApps rebind" into sc-dev am: f6987b0be1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714072
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I39c17441dca0414c397bb10d1aa3bf87f667d60c
2021-03-01 18:44:33 +00:00
TreeHugger Robot
f6987b0be1
Merge "Add tracing to track every allApps rebind" into sc-dev
2021-03-01 17:40:12 +00:00
Samuel Fufa
f3c661ee0f
Merge "Show typeahead hint for app results" into sc-dev am: 565975ad89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700867
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8cd9f98f62b369768f22af18d66b7b1e0cc13298
2021-03-01 15:25:24 +00:00
Samuel Fufa
6a0e355dbe
Merge "Show typeahead hint for app results" into sc-dev am: 565975ad89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700867
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic3cbdfd41ca1dfce10e35b6bcec579aa8d47eb95
2021-03-01 15:24:29 +00:00
Samuel Fufa
565975ad89
Merge "Show typeahead hint for app results" into sc-dev
2021-03-01 14:18:04 +00:00