Commit Graph

20478 Commits

Author SHA1 Message Date
Winson Chung 8032b0e0b7 Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-dev am: b703f91f83
am: 862712f585

Change-Id: Ib65a33b0816da57cff25f790dd3df16af356ee6d
2019-06-19 15:37:46 -07:00
Sunny Goyal 676a795ebd Merge "Some improvements to home to overview transition for 0 button mode" into ub-launcher3-qt-dev 2019-06-19 22:20:05 +00:00
Winson Chung b703f91f83 Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-dev 2019-06-19 22:09:44 +00:00
Tony Wickham 59c6901823 Some improvements to home to overview transition for 0 button mode
- Peek in overview further, and with more overshoot
- Fade out and scale down workspace faster while swiping up
- Scale and translate workspace slower when letting go to enter
  overview (so it doesn't zoom out at warp speed)
- Fade in all apps shelf sooner

Bug: 132455160
Change-Id: Ieafad0ccf9bb587889bc35d536627661db10e358
2019-06-19 14:48:57 -07:00
Miranda Kephart eaf6bd6c20 Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ub-launcher3-qt-dev am: 035770e421
am: 92af1789f9

Change-Id: I868650d78a2b1b3eb88f58931e96cb9ab99ab2f5
2019-06-19 14:35:56 -07:00
Miranda Kephart 035770e421 Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ub-launcher3-qt-dev 2019-06-19 19:25:23 +00:00
Miranda Kephart 7d2aed0cb5 Allow shallow-angle flings in AssistantTouchConsumer
While any angle above 22 degrees from horizontal is permitted for
drag invocations, the SwipeDetector used to detect flings only
allowed angles within 45 degrees of vertical. This changes to using
GestureListener and permits flings in the 22-45 degree region (as
well as up to vertical).

Test: manual
Bug: 135011207
Change-Id: I8e08650395917341869b27ff381f32268fadcb3c
2019-06-19 15:13:03 -04:00
Winson Chung e069291ecd Trigger heap dump when heap exceeds a limit
Bug: 135150619
Change-Id: I2b207bed1f66407f573abeae879aae34e98741bd
2019-06-19 11:58:30 -07:00
Jon Miranda 3597ef5cf3 Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-dev am: a9a0dd7f3f
am: 6043773950

Change-Id: I7056eac5b349828e7a03144895c2a5b24d531058
2019-06-19 08:54:10 -07:00
TreeHugger Robot a9a0dd7f3f Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-dev 2019-06-19 15:37:21 +00:00
Tony Wickham 9cef31c266 Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-dev am: 01a4c80c40
am: 6ffcc53354

Change-Id: I4bd85f0cdef7153083451cd7a84123795cb32ecb
2019-06-18 15:30:51 -07:00
Tony Wickham 01a4c80c40 Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-dev 2019-06-18 21:51:54 +00:00
Tony 32cb616fab Fix bugs with hotseat in overview
- Allow touches to go through recents to the hotseat.
- Translate the hotseat with the all apps shelf when swiping
  up in background app state.

Bug: 135222111
Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
2019-06-18 13:41:08 -07:00
Rajeev Kumar 27266ecf8c Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev am: 873759a316
am: 9488c780b6

Change-Id: Ieffd9096b2adf6d9125c74a47b72375a47a15c65
2019-06-18 05:44:05 -07:00
Rajeev Kumar 873759a316 Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev 2019-06-18 12:09:55 +00:00
Winson Chung f8c996afcf Adding check for no default home before registering new receiver am: 398184c104
am: 784ffa0a40

Change-Id: Ibaad0cdf815f3d67cc60fd6e25ab61b5b6f493d4
2019-06-17 21:44:37 -07:00
Winson Chung 398184c104 Adding check for no default home before registering new receiver
Bug: 135473571
Test: Manual, try restarting with no default launcher set?
Change-Id: Ibb68070ee95ca856b38a74823bcbfbc7890f329e
2019-06-18 01:21:44 +00:00
Kevin 71f06807a4 Add QuickstepProcessInitializer back to common src
While removing unused files in Go version of quickstep, I removed
QuickstepProcessInitializer which seemed unused but is actually
initialized as a resource based ovverride. This CL puts it back as
common src so that both Launcher3GoIconRecents and the rest of the
variants all use this class.

Bug: 135472635
Test: Run Launcher3GoIconRecents => no exception
Test: Run Launcher3 => no exception
Change-Id: I56f319bac536ec4da96285fab932fe574afa4520
2019-06-17 17:22:56 -07:00
Winson Chung 5ce8c9f73b Adding check for no default home before registering new receiver
Bug: 135473571
Test: Manual, try restarting with no default launcher set?
Change-Id: Ibb68070ee95ca856b38a74823bcbfbc7890f329e
2019-06-17 17:07:44 -07:00
Zak Cohen 6e944de2ef Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev am: e1abaa64c2
am: 214ce9fc1b

Change-Id: Ib5757fa3c25d2741e76de37d32cabd513722f046
2019-06-17 16:33:57 -07:00
Vadim Tryshev 17ac366b1c Merge "Enabling tests in landscape mode" into ub-launcher3-qt-dev am: 074b1434ae
am: e9a50be448

Change-Id: I2f0113b38e7f90befac0e8cfda2569ab86156a69
2019-06-17 16:33:13 -07:00
TreeHugger Robot e1abaa64c2 Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev 2019-06-17 23:02:18 +00:00
Zak Cohen 5095684e22 TaskThumbnailView - post updates to overlays.
Post the update of the overlay to handler.
No way of knowing if an overlay will add / remove views during the update
so assume its not safe to do in layout.

Bug: 135287203
Test: manual
Change-Id: I7bd0c86da096e7108b71b2d0530e99ee950d6f2e
2019-06-17 15:27:28 -07:00
vadimt 06d30e54d5 Enabling tests in landscape mode
Bug: 121280703
Change-Id: I3245ca8d0b0496035658ce2a602882a62942f3f1
2019-06-17 15:13:25 -07:00
Sunny Goyal 1461f48ef2 Merging ub-launcher3-qt-dev, build 5662436
Test: Manual

Bug:109954539 P4 Clock widget is not adaptively changing color based on wallpaper
Bug:122345781 P1 Inflation happens and a binder call during swipe up gesture, that may cause jank
Bug:130687624 P1 [B1C1][B4S4][QT][CTS-Verifier]OTHER-Screen Pinning Test
Bug:131698448 P2 Launcher makes a binder call to check Keygaurd.isDeviceLocked
Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress
Bug:132906035 P1 [Metrics] add Home / Back button events even when Launcher is in the background
Bug:132915522 P1 Snap the window to the bottom if touch Y is below a threshold
Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end
Bug:134172603 P1 Tracing for lab-only flakes
Bug:135130011 P1 16ms delay when opening app due to dynamic icon loading
Bug:135214165 P1 Quickstep slop do not respect density changes
Bug:135257548 P1 Adding shortcut can crash Launcher
Bug:64712476 P3 Import translations for dev branches
Change-Id: I9af1d8260b45fba32841877d88bad5a53f2e5746
2019-06-17 07:51:19 -07:00
Sunny Goyal 27d1448aab Snap window in Y direction when using quickswitch if the y threshold is not crossed am: 0868f0d3a8
am: bfe4fe5948

Change-Id: I5cf5582608e867d1ebb26f392b172f68603acc8b
2019-06-14 12:04:09 -07:00
Sunny Goyal 0868f0d3a8 Snap window in Y direction when using quickswitch
if the y threshold is not crossed

Also updating various touch thresholds to properly respect density
changes

Bug: 135214165
Bug: 132915522
Change-Id: Ifba371afd0c20790390a3bd37065cd7162d128df
2019-06-14 11:28:39 -07:00
Winson Chung 5fd6f88b1b Merge "Always use the locked input consumer when showing activity over lockscreen" into ub-launcher3-qt-dev am: dfbb964dcc
am: 3271616ce9

Change-Id: Ia23148377374fcc2d655a7e4d0259e9db195dc50
2019-06-14 10:54:22 -07:00
Winson Chung dfbb964dcc Merge "Always use the locked input consumer when showing activity over lockscreen" into ub-launcher3-qt-dev 2019-06-14 17:18:07 +00:00
Winson Chung 4c59ddae35 Always use the locked input consumer when showing activity over lockscreen
- When there is no activity over the lockscreen, the validSysuiFlags
  check already prevents falling into the base input consumer creation logic.

Bug: 131698448

Change-Id: I7154bc08db819574b78d375e3f9a36e610466dbc
2019-06-13 22:33:29 -07:00
Vadim Tryshev 548db7ed52 Merge "After switching nav mode, wait for the sysui mode to sync" into ub-launcher3-qt-dev am: 0d5bd65e6e
am: 5cb4990ffe

Change-Id: Idfaaef95e97ad9cf8b133782a66f7dda5bee908a
2019-06-13 21:14:11 -07:00
Vadim Tryshev 0d5bd65e6e Merge "After switching nav mode, wait for the sysui mode to sync" into ub-launcher3-qt-dev 2019-06-14 01:53:26 +00:00
vadimt 5ad52ec092 After switching nav mode, wait for the sysui mode to sync
Bug: 133867119
Change-Id: I0290753aa295bc3167e1d396cedd410c77413579
2019-06-13 18:42:25 -07:00
TreeHugger Robot 4f2b62e6fa Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-06-14 00:33:46 +00:00
TreeHugger Robot 924a96651d Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-dev 2019-06-14 00:33:36 +00:00
Jonathan Miranda d0078f98f3 Merge "Preloads the icon drawable for app open to reduce latency b/w swapping views." into ub-launcher3-qt-dev am: 8f3f2f33d3
am: 8107a50a6e

Change-Id: Icff90b41e444a3fe0f3f88d6240e8bea5e5f5d78
2019-06-13 14:00:59 -07:00
Jonathan Miranda 8f3f2f33d3 Merge "Preloads the icon drawable for app open to reduce latency b/w swapping views." into ub-launcher3-qt-dev 2019-06-13 20:41:16 +00:00
Jon Miranda 6dfa312896 Preloads the icon drawable for app open to reduce latency b/w swapping views.
For app close, we already load the icon as soon as we can.

Bug: 135130011
Change-Id: Ia2c45737cf24d1ab5911b222ae097d7a1f9d6a31
2019-06-13 13:17:25 -07:00
Sunny Goyal 7897aea5bc Merge "Optimizing some layouts in taskview" into ub-launcher3-qt-dev am: 552b3fe811
am: a97bbe2b96

Change-Id: If1bf77a7b56c96f6e6a8116fc97e911e8f7612ca
2019-06-13 12:25:45 -07:00
Winson Chung b33bd1e0ff Fix issue with screen pinning check not apply in 2 button am: 6e25a9d831
am: a1a171633f

Change-Id: Ia89fcb61ef8185bda6debc04b3e33e94120d60ae
2019-06-13 12:18:44 -07:00
TreeHugger Robot 552b3fe811 Merge "Optimizing some layouts in taskview" into ub-launcher3-qt-dev 2019-06-13 19:09:00 +00:00
Winson Chung 6e25a9d831 Fix issue with screen pinning check not apply in 2 button
Bug: 130687624
Test: Ensure you can't swipe up with screen pinning enabled in 2 button
Change-Id: I6635a9639262a4e96a104960eb5fbb3acaba8af7
2019-06-13 11:44:44 -07:00
Sunny Goyal 5b636ebfd4 Optimizing some layouts in taskview
> Recycling DigitalWellBeingToast so that the view is not inflated everytime
> Simplifying DigitalWellBeingToast to use a single text view
> Adding support for footers in taskView without creating additional layout

Bug: 122345781
Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
2019-06-13 10:39:46 -07:00
Bill Yi 94c22cb4d6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0d9465551d819e650a05175aea087bb9e3423c96
2019-06-13 08:55:36 -07:00
Bill Yi 1b2ee2d0d1 Import translations. DO NOT MERGE
Change-Id: I0fcbea69df4f883935af66d655e0e4109cf875de
Auto-generated-cl: translation import
2019-06-13 08:51:29 -07:00
Sunny Goyal 0e57817adc Merging ub-launcher3-qt-dev, build 5656472
Test: Manual
Bug:125844074 P2 Final UX and animations for Launcher DWB integration
Bug:129985827 P1 [Fully Gestural Navigation] Delay Recents animation when swiping up
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress
Bug:133009122 P2 Rare flake: dragged launchable to workspace, but the current state is not WORKSPACE; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/apps_view\E']
Bug:133443741 P2 Provide a ImageApi.cropBitmap API between Launcher/UI library
Bug:133765434 P1 [Flaky test] Launching task didn't open a new window
Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end
Bug:134091263 P1 Can't swipe up
Bug:134164918 P1 STOPSHIP: Disable chips hard-coded value in qt_dev Launcher
Bug:134309036 P1 Immediately dragging up after opening recents causes a flicker with fully gestural navigation enabled
Bug:134309189 P1 Immediately dragging up from recents doesn't open all apps with fully gestural navigation enabled
Bug:134406364 P2 [Multiuser] Pixel launcher crashed after switching to secondary user.
Bug:134559760 P2 Launcher crashed when keeping phone in face enroll page for 2~3 minutes. (fail rate: 3 of 10 trials)
Bug:134707989 P1 List widgets are reinitialized on rotation
Bug:134725160 P2 Swiping up on two-button nav does not hide icons with 3p launcher
Bug:134919468 P2 [Q-Preview4] Quickstep crash on app remaining time tap on Essential phone
Bug:134963243 P4 In multiwindow mode, seeing a shade on scrolling all apps screen.
Bug:134964922 P1 Wrap createLegacyIconExtras in a target sdk check
Bug:134969824 P4 Pixel launcher crashed while resuming chrome video in PIP mode
Bug:134971634 P1 onSystemUiStateChanged and some other binder calls can crash Launcher
Bug:135008910 P1 Launcher with black status bar/nav bar icons
Bug:135038270 P1 Apps getting stuck while switching in the overiew screen.
Bug:135050372 P1 Regression: Can no longer double swipe nav bar from an app to go to all apps in 2-button mode
Bug:135114549 P1 TaskView becomes visible at the end to swipe-down
Bug:issue priority summary

Change-Id: Ief4ecb36f17e168cdeb7aef930bcb051e29dbc02
2019-06-13 15:36:46 +00:00
Sunny Goyal ec22f7e05a Merge "Adding support for custom callback when starting ProxyActivity" into ub-launcher3-qt-dev am: 3d6e96d526
am: a9c0d66d6c

Change-Id: I192af95e65de6310010e16ef0a545c70f62e27a2
2019-06-12 16:40:28 -07:00
Tony Wickham 61ed418856 Merge "Gracefully handle failed task launches during quick switch" into ub-launcher3-qt-dev am: 964d164709
am: aee5b0d936

Change-Id: Ie8d940f23845152f055594e77344194b1813af58
2019-06-12 16:17:22 -07:00
TreeHugger Robot 3d6e96d526 Merge "Adding support for custom callback when starting ProxyActivity" into ub-launcher3-qt-dev 2019-06-12 23:16:59 +00:00
Zak Cohen bb84184b7d Merge "Expose getTaskView to Overlays." into ub-launcher3-qt-dev am: f97355a145
am: 37eb41edd1

Change-Id: I868e05d27de451b0a4eec0f49e7461811660dfb1
2019-06-12 16:08:19 -07:00