Commit Graph
31558 Commits
Author SHA1 Message Date
Evan Rosky c65ef7ba28 Merge "Add rotation support to launch animations" into sc-dev am: 16a713c450
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13538154

Change-Id: I2eaa01261c68a655ab5661adb4b59865670b583b
2021-03-18 23:27:22 +00:00
Evan Rosky 16a713c450 Merge "Add rotation support to launch animations" into sc-dev 2021-03-18 23:24:50 +00:00
Mariia Sandrikova ce9c8654fe Merge "Revert "Enable Live Tile"" into sc-dev am: f7864feded
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13916401

Change-Id: If0e92dde13417179b76e4fee0733a5eb96ce594c
2021-03-18 22:20:22 +00:00
Vadim Tryshev 66d5320ddc Merge "Not assuming reverse order of menu shortcuts" into sc-dev am: 5c97cb689d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13907074

Change-Id: Ic45ce98fd6ba56e4d913eed5fc3cbc842ce94ce2
2021-03-18 22:18:44 +00:00
Vadim Tryshev f55bd89fc4 Merge "Fixing testOverview test" into sc-dev am: 93f2b75223
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13905048

Change-Id: Ia5d50e66118425a5346c11413f2b39b4fa6998b4
2021-03-18 22:06:24 +00:00
Mariia Sandrikova f7864feded Merge "Revert "Enable Live Tile"" into sc-dev 2021-03-18 19:18:34 +00:00
Vadim Tryshev 5c97cb689d Merge "Not assuming reverse order of menu shortcuts" into sc-dev 2021-03-18 18:41:04 +00:00
Vadim Tryshev 93f2b75223 Merge "Fixing testOverview test" into sc-dev 2021-03-18 18:07:32 +00:00
Sunny Goyal 35113c74be Merge "Using recents animation and swipe handler for 3-button mode" into sc-dev am: b8cffbfcb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856990

Change-Id: I44f70c1eddb1e536c1fc8e401910eaf5a8cf4b5d
2021-03-18 17:26:59 +00:00
Mariia Sandrikova ea0d30de68 Revert "Enable Live Tile"
This reverts commit 56c0931e99.

Reason for revert: DroidMonitor: Potential culprit for Bug 183078688 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Fix: 183078688
Fix: 183091281
Change-Id: I050b3e26d35a7a1b60b5ccc58d371a7ab8efb0dc
2021-03-18 16:44:50 +00:00
Sunny Goyal 582a7d54be Merge "Adding an optional QSB in hotseat" into sc-dev am: fa699566f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13821473

Change-Id: Ice64e2c9114b11e66445ba0f8a20af87d988e7cf
2021-03-18 16:09:31 +00:00
Samuel Fufa 186421b253 Merge "[Search] Update search input hint" into sc-dev am: 74bd4f32e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13893587

Change-Id: I12ba00ef489dc8af853446957267ab7c6179cee0
2021-03-18 16:09:20 +00:00
Sunny Goyal b8cffbfcb4 Merge "Using recents animation and swipe handler for 3-button mode" into sc-dev 2021-03-18 16:08:05 +00:00
Sunny Goyal fa699566f5 Merge "Adding an optional QSB in hotseat" into sc-dev 2021-03-18 16:07:45 +00:00
Samuel Fufa 74bd4f32e2 Merge "[Search] Update search input hint" into sc-dev 2021-03-18 16:03:20 +00:00
Alina Zaidi 10f7d08e88 Merge "Improvements to widget picker search." into sc-dev am: cc2c8a5cb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13916402

Change-Id: Ib29b3772f33f4a678080f83482f91c32d16faecd
2021-03-18 15:51:47 +00:00
Steven Ng e24aa62d97 Merge "Adjust bottom picker padding / margin & add a drag handle" into sc-dev am: 5e94a5fa8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13916400

Change-Id: I65a16f7a82e94b202f0d5af46015c61d586ead6d
2021-03-18 15:48:25 +00:00
Alina Zaidi cc2c8a5cb1 Merge "Improvements to widget picker search." into sc-dev 2021-03-18 15:29:16 +00:00
Steven Ng 5e94a5fa8f Merge "Adjust bottom picker padding / margin & add a drag handle" into sc-dev 2021-03-18 15:24:50 +00:00
Steven Ng 3b37a9041e Merge "Apply local color extraction during drag-n-drop" into sc-dev am: 93c29bff5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13877353

Change-Id: I21d53c3ae11f94b8646a564acf3559ea2e4f4852
2021-03-18 13:11:27 +00:00
Steven Ng 93c29bff5b Merge "Apply local color extraction during drag-n-drop" into sc-dev 2021-03-18 12:37:19 +00:00
Alina Zaidi cb76e7d16f Improvements to widget picker search.
-Expand clickable area on search bar.

Test: Tested prototype locally.
Bug: b/157286785
Change-Id: I70a4edb1ce207f4dae9a0909c05e0823840500dd
2021-03-18 12:13:18 +00:00
Steven Ng 66ccd29a3d Adjust bottom picker padding / margin & add a drag handle
Test: Manual
Bug: 179797520
Change-Id: I594bf2cf140a31f20d41fbb9804197724478caf9
2021-03-18 12:09:45 +00:00
Alina Zaidi f7a942dd1a Merge "Bug fixes for widget picker search." into sc-dev am: 378ca5e920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13852907

Change-Id: Ic4e7e0b4181ade6be1a7d8917afaec5f3f2a908b
2021-03-18 10:54:16 +00:00
Steven Ng 32aa92e07f Merge "Adjust font, color, margin, corners for all widgets tray" into sc-dev am: 99060b30ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13901157

Change-Id: I0221dae10323408503b42b936415c26389376cc3
2021-03-18 10:54:05 +00:00
Alina Zaidi 378ca5e920 Merge "Bug fixes for widget picker search." into sc-dev 2021-03-18 10:32:18 +00:00
Steven Ng 99060b30ca Merge "Adjust font, color, margin, corners for all widgets tray" into sc-dev 2021-03-18 10:25:00 +00:00
Sunny Goyal 10228811ca [automerger skipped] Merge "Adding some build rules in Launcher3" into sc-dev am: f0ae3631ca -s ours
am skip reason: skip tag Change-Id Ib2c18f1e252b3382030293fd3b873e840320301a with SHA-1 f90d6451b0 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13857568

Change-Id: If2c75746b59766b1129193e5e2be55105b52378a
2021-03-18 06:59:57 +00:00
Sunny Goyal f0ae3631ca Merge "Adding some build rules in Launcher3" into sc-dev 2021-03-18 06:26:06 +00:00
Tracy Zhou a696c36c49 Merge "Enable Live Tile" into sc-dev am: 7e7bab4cb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13755884

Change-Id: Ib3b0879ffe3516b69c257d19bbc044db254a12b9
2021-03-18 06:03:06 +00:00
Tracy Zhou 7e7bab4cb6 Merge "Enable Live Tile" into sc-dev 2021-03-18 05:24:48 +00:00
Tracy Zhou 56c0931e99 Enable Live Tile
Fixes: 169694902
Fixes: 174866547
Fixes: 181937887
Test: manual
Change-Id: I5f2f304d4003e72ed2fb4ea0b0c74f06d2adfe4b
2021-03-17 18:34:52 -07:00
Sunny Goyal f5c42ea6aa Adding some build rules in Launcher3
Bug: 182502086
Test: Presubmit
Change-Id: Ib2c18f1e252b3382030293fd3b873e840320301a
Merged-In: Ib2c18f1e252b3382030293fd3b873e840320301a
2021-03-18 01:26:36 +00:00
Sunny Goyal 6dd20c65c9 Merge "Adding some build rules in Launcher3" 2021-03-18 01:25:37 +00:00
vadimt 6327dabc2a Not assuming reverse order of menu shortcuts
For Launcher3 tests the order can be either
Shortcut 0
Shortcut 1
Shortcut 2

or
Shortcut 2
Shortcut 1
Shortcut 0

Test: presubmit
Bug: 182006150
Change-Id: Ie014f5e5655a5b0bff05316c2a1457a5b5f703ef
2021-03-17 15:53:49 -07:00
Steven Ng 08ef694509 Adjust font, color, margin, corners for all widgets tray
Test: manually
Bug: 179797520
Change-Id: Ib78aae05e021da272ef2f754c876d24a4c14bcb0
2021-03-17 22:43:12 +00:00
[1;3C a608d81359 Add rotation support to launch animations
This only adds support for launch animations. Recents
requires some auxiliar work.

Adds a rotation parameter to the animation targets that
only gets used by shell transitions. If this is non-zero,
launcher will transform it's coordinates relative to that
provide rotation.

Bug: 179308296
Test: Launch and exit apps with different orientation from
      default (portrait).
Change-Id: I7b52cbd37432bcd43e7155bcb07b30cc65c43186
2021-03-17 15:30:47 -07:00
vadimt 17ba630cd9 Fixing testOverview test
Apparently, we can't generally expect that flinging to and
fro will return Overview to the original task, especially
if the device performance is low.

Now starting the expected task explicitly.

Test: presubmit
Bug: 182794819
Change-Id: Ia2931f4f3005c46dd72990c247a90f9010b9b8d5
2021-03-17 14:41:04 -07:00
Sunny Goyal c373e1c642 Adding an optional QSB in hotseat
Removing sections in all-apps during transition and treating
it as a single unit

Bug: 175137718
Test: Manual
Change-Id: I55a501d80b5903f1a9d92a26b3784784fd9e50fd
2021-03-17 12:21:44 -07:00
Steven Ng 30dd1d65f6 Apply local color extraction during drag-n-drop
Test: Drag a test widget around and observe local extract color
      is applied.

Bug: b/182282587, b/182816217
Change-Id: If63a9d91ceb2102d5d913bca85997b8be07b1adf
2021-03-17 18:10:51 +00:00
Sunny Goyal d5347045d0 Using recents animation and swipe handler for 3-button mode
Bug: 181165935
Test: Manual

Change-Id: I7fe586319e4dde1a1b398a0c75896c4dfdb75862
2021-03-17 09:26:51 -07:00
Alina Zaidi 2e732e95d9 Bug fixes for widget picker search.
SearchBarController
- Use Extended Edit Text to handle close keyboard action well.
- On press enter while search remove focus from bar and hide keyboard.
- On cancel button press hide keyboard and also reset search targets to empty so that on next search session the previous results dont flash (show for a short time before reflecting users query).

WidgetsFullSheet
- Make sure expanded header are reset when user leaves personal/work recycler views. Search recycler view resets its expanded header on every search already.
- Show 'no search results' view if no search result present.
- Update WidgetListBaseRowEntryComparator to show personal profile widgets first.

Test: Tested prototype locally.
Bug: b/157286785
Change-Id: Ibaa208c4091783e14ac0887caf559e867185df5a
2021-03-17 14:43:04 +00:00
Alex Chau 530aca6ad5 Merge "Two panel & two page swipe & currentPage fixes" into sc-dev am: 1e024358ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13728185

Change-Id: I514c3fda36c8d8b624c44a4054ad295e744ce1b1
2021-03-17 13:58:31 +00:00
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
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 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