Commit Graph

19207 Commits

Author SHA1 Message Date
Tracy Zhou a3bb225043 Merge "Remove setFullscreenProgress() call in TaskView#onRecycle" into ub-launcher3-qt-dev
am: fd49ef783f

Change-Id: I5c0e6c705e96618673055506d4423b78cf690859
2019-05-14 14:28:08 -07:00
Jon Miranda 0216c025cb Recycle FloatingIconView for swipe up to home animation.
am: 04d29a61c9

Change-Id: Iba5fe07dbd19b8a4c0ba75cd4aec855a03c5fa65
2019-05-14 14:27:37 -07:00
TreeHugger Robot fd49ef783f Merge "Remove setFullscreenProgress() call in TaskView#onRecycle" into ub-launcher3-qt-dev 2019-05-14 21:21:07 +00:00
Tracy Zhou 02877d0847 Remove setFullscreenProgress() call in TaskView#onRecycle
When onRecycle() is called, the current task view is detached from the
parent, causing getParent() to return null.

Test: manual
Fixes: 132269977
Change-Id: I80826c2348cb23363c0482d3fd12283a7c90a689
2019-05-14 14:07:26 -07:00
Winson Chung 19812f69b6 Merge "Preemptively clear the thumbnail cache as tasks are removed" into ub-launcher3-qt-dev
am: 3658d9fa0c

Change-Id: I414447a1265042bf01ed94d5a0ebf028ec88ab4b
2019-05-14 14:02:41 -07:00
Jon Miranda 04d29a61c9 Recycle FloatingIconView for swipe up to home animation.
Bug: 123900446
Change-Id: I63e900e86d921eddd3129ff68f895d6e8e7bff47
2019-05-14 13:59:22 -07:00
Jon Miranda d460d1a00b Merge "Center align foreground during app open, use springs during app close." into ub-launcher3-qt-dev
am: 348b0ad3cb

Change-Id: Id1aec00d18cc37c9608482c8723254a1ae91fa7d
2019-05-14 13:56:11 -07:00
vadimt 9d94871a23 Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev
am: 4fbfb4123a

Change-Id: I3010024e6c0855b331f3e1c87bfa994bf19802d8
2019-05-14 13:55:42 -07:00
Winson Chung 3658d9fa0c Merge "Preemptively clear the thumbnail cache as tasks are removed" into ub-launcher3-qt-dev 2019-05-14 20:48:47 +00:00
TreeHugger Robot 348b0ad3cb Merge "Center align foreground during app open, use springs during app close." into ub-launcher3-qt-dev 2019-05-14 20:38:03 +00:00
TreeHugger Robot 4fbfb4123a Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev 2019-05-14 20:34:15 +00:00
Jon Miranda 4b8b5fd4e4 Center align foreground during app open, use springs during app close.
Bug: 123900446
Change-Id: Ic4ffed28f6ba8782c3d8dfa031ebd70022c4c520
2019-05-14 12:57:05 -07:00
Govinda Wasserman 81b55d849b Merge "Add proactive hints container" into ub-launcher3-qt-dev
am: cf3584fdf4

Change-Id: If6eb62810f6dd8122a04e31ca52ffc1e4d809027
2019-05-14 12:28:03 -07:00
Govinda Wasserman cf3584fdf4 Merge "Add proactive hints container" into ub-launcher3-qt-dev 2019-05-14 19:19:21 +00:00
Jon Miranda 065afc7e23 Merge "Ensure app widget ids are restored after database is sanitized." into ub-launcher3-qt-dev
am: 0e78900d48

Change-Id: I31a829075b828e78ddb0992ee920dbdef7ee31ef
2019-05-14 10:49:39 -07:00
Hyunyoung Song 02bfb33425 Merge "Implement 3 shades of folder icon/container fill color Bug: 130451254" into ub-launcher3-qt-dev
am: 1e39f29435

Change-Id: I92a8e1735c19307fa99af4de04a56e551263ba9b
2019-05-14 10:46:41 -07:00
TreeHugger Robot 0e78900d48 Merge "Ensure app widget ids are restored after database is sanitized." into ub-launcher3-qt-dev 2019-05-14 17:45:38 +00:00
vadimt 3d13f303ee Using model-time scrolling in all apps
This should solve flakes when the test thread wakes up too rarely to
inject enough touch events.

Change-Id: I461583d35eb4bfe0192b81c242aacf8d20e353d1
2019-05-14 10:40:22 -07:00
Jon Miranda c7206caf6e Ensure app widget ids are restored after database is sanitized.
Previously, it was possible for AppWidgetsRestoredReceiver to
start the restore process before work profile has finished restoring which
resulted in the work profile items being removed from the workspace.

Bug: 131315856
Change-Id: I2f295a1ca91f1996522bcc8052aa139979526e3b
2019-05-14 17:30:04 +00:00
TreeHugger Robot 1e39f29435 Merge "Implement 3 shades of folder icon/container fill color Bug: 130451254" into ub-launcher3-qt-dev 2019-05-14 17:26:28 +00:00
Hyunyoung Song e751d90c44 Implement 3 shades of folder icon/container fill color
Bug: 130451254

Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
2019-05-14 10:15:11 -07:00
Vadim Tryshev 88521adfe2 Merge "Fixing flakiness of widget tests" into ub-launcher3-qt-dev
am: 2d49d1de5f

Change-Id: Iffc973929e09869652508d81f2d7e0e2d8e17b6e
2019-05-13 18:57:13 -07:00
Vadim Tryshev 2d49d1de5f Merge "Fixing flakiness of widget tests" into ub-launcher3-qt-dev 2019-05-14 01:47:31 +00:00
vadimt 0edb04ca24 Fixing flakiness of widget tests
Change-Id: I1af6a733a3a7a89899c83d6714117ff9a51528d2
2019-05-13 18:28:19 -07:00
Tony Wickham 18484d5166 Merge "Fix fullscreen and landscape task insets" into ub-launcher3-qt-dev
am: c857ad8049

Change-Id: I3069685d106245548d82b3edcae5c05cd9bea93f
2019-05-13 17:06:48 -07:00
Tony Wickham c857ad8049 Merge "Fix fullscreen and landscape task insets" into ub-launcher3-qt-dev 2019-05-13 23:43:48 +00:00
Winson Chung cb554473c7 Preemptively clear the thumbnail cache as tasks are removed
- Also reset the task thumbnail as the task views are recycled

Bug: 132309376

Change-Id: Ic2cc846e451b6b59ae76326930cb4b85627e95c4
2019-05-13 16:22:10 -07:00
Hyunyoung Song b2f933a990 Merge "HeadLine text font family should not be Medium type Bug: 128986173" into ub-launcher3-qt-dev
am: 5a30308d0b

Change-Id: I6b5fd9fa710fd0f4162d1266ff4bd0c6bfb1861c
2019-05-13 15:54:58 -07:00
TreeHugger Robot 5a30308d0b Merge "HeadLine text font family should not be Medium type Bug: 128986173" into ub-launcher3-qt-dev 2019-05-13 22:31:34 +00:00
Hyunyoung Song d78e47b8f8 HeadLine text font family should not be Medium type
Bug: 128986173

Change-Id: Icbc3292b636e8b664b68c62590e66d261843672f
2019-05-13 15:05:00 -07:00
Tony 52aada013d Fix fullscreen and landscape task insets
Previously, we were incorrectly using the thumbnail insets, which
were insufficient for fullscreen tasks, and ignoring rotated tasks
entirely. Now we check what part of the thumbnail is actually
clipped (e.g. based on the scale we apply to get it to fit in the
same width as all the other tasks), and fill that out when setting
the fullscreen progress on each task.

Test:
- Quick switch (from home and from apps) to:
  - "Normal" apps such as Calculator in portrait and landscape
  - Immersive portrait apps such as Elder Scrolls: Blades
  - Immersive landscape apps such as Stardew Valley
- Swipe up from an app with the above cases in the adjacent task,
  ensure the thumbnail gets clipped from fullscreen to its final
  position in recents
- Do the above tests from landscape launcher as well

Bug: 130020567
Change-Id: I6f6b7f0ee134d464b3704990db9e1d3a01e6de0b
2019-05-13 17:00:58 -05:00
Tony Wickham d317608996 Merge "Use device profile width instead of drag layer width for overview translation" into ub-launcher3-qt-dev
am: 5d5db96bb8

Change-Id: I8331fb620031910a8523dae7dcc409a9643e6f3e
2019-05-13 14:44:44 -07:00
Tony Wickham 5d5db96bb8 Merge "Use device profile width instead of drag layer width for overview translation" into ub-launcher3-qt-dev 2019-05-13 21:26:09 +00:00
Kevin b3369c9775 Merge "Fallback recents should wait for remote anim ready" into ub-launcher3-qt-dev
am: 512a3c59ea

Change-Id: Ie6efacda82906a4d69c37606aecab7f96edde0a9
2019-05-13 12:30:43 -07:00
TreeHugger Robot 512a3c59ea Merge "Fallback recents should wait for remote anim ready" into ub-launcher3-qt-dev 2019-05-13 19:21:04 +00:00
Tony 8312866779 Use device profile width instead of drag layer width for overview translation
This fixes the issue where overview doesn't come in from offscreen
the first time you enter overview from home.

Test:
- Force stop launcher, quick switch from home
- Force stop launcher, swipe up and hold

Change-Id: Ia4dbd36267008bc199cff088833979606238d3eb
2019-05-13 14:11:51 -05:00
Kevin 8bab8fa391 Fallback recents should wait for remote anim ready
Hook into the remote animation API on the recents view for the
fallback recents code path. This ensures the views are attached before
attempting the layout animation.

Bug: 132112131
Test: Set separate default launcher, go to recents from app, views
animate correctly
Change-Id: Id73f18e5f864e1970f954c7ec633e25e466d832e
2019-05-13 12:06:10 -07:00
Sunny Goyal e0d31d5f9a Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev
am: 0098e382fb

Change-Id: I9b5db9061a618b6dd13c6bd31a061defda037cd5
2019-05-13 11:49:33 -07:00
TreeHugger Robot 0098e382fb Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev 2019-05-13 18:31:22 +00:00
Jon Miranda 86730d09bc Merge "Swipe up to home animation changes." into ub-launcher3-qt-dev
am: 06892dcfab

Change-Id: I1d2fc6ce1d34b1983734f438c5601e6c085eedd0
2019-05-13 11:17:27 -07:00
Jon Miranda a9062a45ec Merge "Use LauncherApps#getAllPackageInstallerSessions to get all sessions." into ub-launcher3-qt-dev
am: ba39e91dfd

Change-Id: Ie3756efc803bff84a2d0707aac548ca239a82838
2019-05-13 11:13:25 -07:00
TreeHugger Robot 06892dcfab Merge "Swipe up to home animation changes." into ub-launcher3-qt-dev 2019-05-13 18:11:40 +00:00
George Hodulik 489e12a762 Merge "Use strings "home" and "overview" rather than GEL" into ub-launcher3-qt-dev
am: 88986b357d

Change-Id: I1925c0a07517c70e0f41d3530e2ea37589ec1801
2019-05-13 11:08:28 -07:00
TreeHugger Robot ba39e91dfd Merge "Use LauncherApps#getAllPackageInstallerSessions to get all sessions." into ub-launcher3-qt-dev 2019-05-13 18:07:48 +00:00
Jon Miranda a3c0b0aa68 Swipe up to home animation changes.
* Tracks either the top or bottom of the rect for the fling/spring in the
Y direction.
- This allows us to have the icon always animate downwards.

* Scales the spring velocity for the Y component.

Bug: 124510042
Change-Id: I47571f906c8aa1beca4dd703d67d013ab6a1161f
2019-05-13 10:58:54 -07:00
TreeHugger Robot 88986b357d Merge "Use strings "home" and "overview" rather than GEL" into ub-launcher3-qt-dev 2019-05-13 17:53:30 +00:00
Jon Miranda c2e54bc210 Use LauncherApps#getAllPackageInstallerSessions to get all sessions.
This new API allows us to get the package installer sessions for the main
user as well as the managed profile, which will allow us to restore
work profile items on the workspace.

Bug: 131315856
Change-Id: Id76e815a76d1c715bc160776fd87d75bba92ff93
2019-05-13 10:52:26 -07:00
Sunny Goyal 7a39b1bc5f Fixing insets mapping in 3-button and 2-button mode
Bug: 131360075
Change-Id: If6e3a4fbb011fc313efeb91686a9d787761862c5
2019-05-13 10:29:11 -07:00
Tony 92e6c93db7 Merge "Add some floating views that should hide back button" into ub-launcher3-qt-dev
am: 952fdb3e70

Change-Id: Ib2fd30c5751d5c57713be470f5a6d0cd9b0d2b88
2019-05-13 10:22:39 -07:00
Jon Miranda 615694e4c2 Merge "Force hide notification dot until fade animation is complete." into ub-launcher3-qt-dev
am: 009f0102b9

Change-Id: Ieb0f8a256a459e404f32bcf17ec0db9b2244391d
2019-05-13 10:22:13 -07:00