Commit Graph
49925 Commits
Author SHA1 Message Date
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
android-build-team Robot 9c282f8131 Snap for 7216111 from 1e024358ad to sc-v2-release
Change-Id: I5792b0978ffa71dfa6b351fa8b26c33606ce3d30
2021-03-18 01:08:30 +00:00
android-build-team Robot bf94f0e03d Snap for 7216111 from 1e024358ad to sc-release
Change-Id: I711292eaf66a5e3dd24e4f7b66471162f9a455be
2021-03-18 01:07:43 +00:00
Jon Spivack 840b42f66f Pass Assistant web URI in NIU Actions
The Task Overlay for the activity shown in Recents requests the AssistContent for that activity. If the content includes a web URI, this is added to the Intents sent by the NIU Actions buttons.

Bug: 180157890
Test: Manual (tested with Chrome as the recent activity on local device)
Test: TODO (b/179738220)
Change-Id: I33c79e75678605693e0282e4ad82dc6af28957dd
2021-03-17 17:47:29 -07: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
Jon Miranda 01554536a9 Snap to destination page before animating folder close.
This ensures the X page animation runs in the preview.

Bug: 175329686
Test: Scroll to 2nd page, and close folder before scroll finishes
Change-Id: Id4820a212dcc945b0134b79f3d42c68954b17275
2021-03-17 12:15:48 -04:00
Jon Miranda 58561d4fd7 Dump DeviceProfile to help with debugging grid changes
Some of these internal values are not exposed in hierarchy viewer

Bug: 175329686
Test: Take bug report and verify output
Change-Id: Ic39be510682fe5aeb03b7436858f6442895c796f
2021-03-17 11:50:08 -04: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 97e56b1665 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: I60d81c9d7dfb540a6da40264bb3713618e2331fd
2021-03-17 13:58:42 +00:00
Samuel Fufa 6a25b64b12 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: I52c64fa2c52c9c24143e73f84161e7d99ede3c90
2021-03-17 13:58:34 +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
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
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