Commit Graph
22209 Commits
Author SHA1 Message Date
Hai Zhang a34c8b8a0c Align badging logic with platform IconDrawableFactory. am: b0be237b3f am: d0993b2b6c
am: 5745ff4754

Change-Id: I96723522febf68029efdf099269c0e4b7d7c149e
2019-05-21 05:59:25 -07:00
Hai Zhang 5745ff4754 Align badging logic with platform IconDrawableFactory. am: b0be237b3f
am: d0993b2b6c

Change-Id: I2b7aad098061976ff512d32d30051cb298011a34
2019-05-21 01:22:17 -07:00
Hai Zhang d0993b2b6c Align badging logic with platform IconDrawableFactory.
am: b0be237b3f

Change-Id: I4cb15de478dd232e3f16c00b379b89a921b6d4a4
2019-05-21 01:17:10 -07:00
Hai Zhang b0be237b3f Align badging logic with platform IconDrawableFactory.
The current logic in BaseIconFactory is only trying to add the user
badge if the user passed in isn't null and isn't the current user,
then if no such attempt is made, try to add an instant app badge. This
is causing user badge to disappear if the current user is a work
profile. Meanwhile, the badging logic in IconDrawableFactory is to try
to add the instant app badge first, and then always try to add the
user badge.

Bug: 132625654
Test: manually test as in b/128625591
Change-Id: Ia5b456f1f27095d546504266a1a90034105c9ae9
2019-05-20 13:11:12 -07:00
Winson Chung ce5941b690 Merge "Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 8e0fa1ebbb" into qt-r1-dev-plus-aosp
am: 954fcae2da

Change-Id: I15718869f17435f5ec0b47f7f21035eea71fe28b
2019-05-19 12:35:36 -07:00
Winson Chung 4297333b45 Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 1a01d4fe94
am: d7944745a6

Change-Id: Icf84ac47bc29a0d0d00dd93e6e65aeb26957e7dd
2019-05-19 12:34:24 -07:00
Android Build Merger (Role) 954fcae2da Merge "Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838 am: 8e0fa1ebbb" into qt-r1-dev-plus-aosp 2019-05-19 19:29:52 +00:00
Winson Chung d7944745a6 Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838
am: 1a01d4fe94

Change-Id: I85360ac3905277ff12fad31447a0833f9bc6d5da
2019-05-19 12:29:19 -07:00
Winson Chung 3ee99d915f Merging ub-launcher3-qt-dev, build 5582981 am: 90eb08d838
am: 8e0fa1ebbb

Change-Id: I6235d87bade78728e4820c390d83a3818950355f
2019-05-19 12:29:19 -07:00
Winson Chung 1a01d4fe94 Merging ub-launcher3-qt-dev, build 5582981
am: 90eb08d838

Change-Id: I3e277511d94b6a121119c838bb7d3046e42c8d23
2019-05-19 12:24:16 -07:00
Winson Chung 8e0fa1ebbb Merging ub-launcher3-qt-dev, build 5582981
am: 90eb08d838

Change-Id: Ifba958b43b6c4c13559d2ee0b0cb25f16b700d08
2019-05-19 12:24:15 -07:00
Winson Chung 90eb08d838 Merging ub-launcher3-qt-dev, build 5582981
Test: Manual

Bug:118758696 Define grid display options
Bug:123900446 App to home animation should zoom into the app icon
Bug:124510042 [Gesture Nav] Home animation polish
Bug:129985827 [Fully Gestural Navigation] Delay Recents animation when swiping up
Bug:130020567 Handle fullscreen correctly for quick switch
Bug:130193889 Half screenshot in the app switcher
Bug:130292844 App close animation is slightly off for Squircle adaptive icons
Bug:130451254 QSB/Folder icon color depends on three variants of wallpaper shade on light/dark theme
Bug:130521490 Dock bar is too close to the edge when in landscape home screen
Bug:130689544 Unable to quickswitch apps under landscape mode
Bug:131231579 Long-swipe up to app drawer goes to overview
Bug:131360075 [Gesture Nav] Polish/finish landscape
Bug:132269977 Pixel launcher crashed while swiping up home button after disabling an app
Bug:132309376 Launcher held ION buffers after clearing all apps in Recent Apps
Bug:132458092 Recents Go: Transparent apps have double vision for apps to recents
Bug:132584688 Disallowed association between launcher and aiai
Bug:132816938 [Please fix ASAP] Failed test: sometimes home screen doesn't have all_apps
Bug:132892578 Split screen option missing for recent apps after restarting / upgrading the device.
Bug:132898688 NPE in 'com.android.quickstep.views.TaskThumbnailView com.android.quickstep.views.TaskView.getThumbnail()'
Bug:132908798 Gesture haptic double triggers
Bug:132916535 Handle multi-touch
Bug:74500048 Fix launcher transition while in startActivityForResult

Change-Id: I68d6af2ec47f2b379f5607685b2257029ab07a91
2019-05-19 05:03:33 +00:00
Winson Chung 0de5939638 Disable system ui auto scrimming now that we target Q.
Change-Id: Iff9706d078515a280ae7cf9d8c9dae8d269e1939
2019-05-18 21:19:32 -07:00
TreeHugger Robot 136805abdc Merge "Changing target sdk to Q" into ub-launcher3-qt-dev 2019-05-18 06:59:43 +00:00
Sunny Goyal f5577b1117 Changing target sdk to Q
Change-Id: I9c2ac12d81d3b04e1a29f6c2a1f2e32fff76de7f
2019-05-17 23:19:58 -07:00
Vadim Tryshev ef80b4b491 Merge "Make every UI test generate screenshots for local test runs" into ub-launcher3-qt-dev 2019-05-18 01:40:38 +00:00
vadimt c328ac56cf Make every UI test generate screenshots for local test runs
Change-Id: Idb7962e62c0c95f8a50792e9342562c6d8b6ba42
2019-05-17 18:19:13 -07:00
Sunny Goyal 0334047553 Updating SDK check now that the version code is finalized
Change-Id: I2b8d65885f83154f7500adb520b1eed1da5c4a4e
2019-05-17 16:57:23 -07:00
TreeHugger Robot 7c278b62f9 Merge "Continue using window's sysui flags if task thumbnail unavailable" into ub-launcher3-qt-dev 2019-05-17 22:25:42 +00:00
TreeHugger Robot 24200e2757 Merge "Reapply recents attached state in createActivityController()" into ub-launcher3-qt-dev 2019-05-17 22:21:03 +00:00
TreeHugger Robot 95b81c3e55 Merge "Cancelling touch interaction on multi-touch event" into ub-launcher3-qt-dev 2019-05-17 22:21:01 +00:00
TreeHugger Robot 57ffdc4ec7 Merge "Fix issue with restored task display ids" into ub-launcher3-qt-dev 2019-05-17 22:10:02 +00:00
Tony 921da74c64 Continue using window's sysui flags if task thumbnail unavailable
If the centermost task is null or doesn't yet have thumbnail data,
don't use its sysui flags - continue using the window we're swiping
from instead.

Bug: 132898688
Change-Id: I202937d8aa01ee24ef01693d9594c4929e6bd314
2019-05-17 18:04:53 -04:00
Sunny Goyal 78c1a42331 Cancelling touch interaction on multi-touch event
If the second touch happens outside the swipe region, for eg when the user
is using a different gesture like pinch-to-zoom, do not capture the
input events

Bug: 132916535
Change-Id: I59df3831b96689586a2a684bf11805d42f1cb1d9
2019-05-17 14:55:09 -07:00
Winson Chung 5aec768ff4 Fix issue with restored task display ids
- When tasks are restored, they don't have a valid display id yet,
  but they will still be started on the default display and should
  have the same options until proven otherwise.

Bug: 132892578
Change-Id: I8ba0a976bd5682fbcda72ca1a98bf2517eb31312
2019-05-17 14:45:34 -07:00
TreeHugger Robot d3b0e8ed61 Merge "Add more logging and commands to service dump" into ub-launcher3-qt-dev 2019-05-17 21:34:21 +00:00
Winson Chung 9fe9a155ca Add more logging and commands to service dump
Change-Id: I03d5ea5aac618eba7e0e5a1555e45a165918bb60
2019-05-17 14:23:09 -07:00
Tony Wickham c9986f59ac Merge "Remove TaskViewDrawable, scale RecentsView instead" into ub-launcher3-qt-dev 2019-05-17 20:41:55 +00:00
TreeHugger Robot b05fbb8915 Merge "Add getOverviewFullscreenProgress() to LauncherState" into ub-launcher3-qt-dev 2019-05-17 20:39:42 +00:00
Tony 1eb65b8a5b Remove TaskViewDrawable, scale RecentsView instead
Instead of faking recents scaling up when swiping down on a task,
actually scale it up. This is more consistent with what we do
for scaling to/from fullscreen elsewhere, and cleans up some code.

Bug: 130020567
Change-Id: I1a07813468d9a66f8f4e7b5d3d9a191b565f165c
2019-05-17 16:23:07 -04:00
Tony 5406817028 Add getOverviewFullscreenProgress() to LauncherState
- BackgroundAppState sets this to 1, all other states set it to 0
- QuickSwitchState extends BackgroundAppState, and calculations for
  fullscreen scale/translation are moved to BackgroundAppState
- Move fullscreen progress logic out of WindowTransformSwipeHandler
  and into the launcher activity controller, which uses the new
  RecentsView.FULLSCREEN_PROGRESS property to animate it

Bug: 130020567
Change-Id: If6265fcce3749050be354742e7d2c418d11ee9bb
2019-05-17 16:21:02 -04:00
TreeHugger Robot 098febafaa Merge "Make folder backgrounds opaque" into ub-launcher3-qt-dev 2019-05-17 20:13:12 +00:00
TreeHugger Robot a03bec439e Merge "Add padding between nav bar and hotseat in vertical bar layout." into ub-launcher3-qt-dev 2019-05-17 00:29:04 +00:00
Jon Miranda 3f411e7ae4 Add padding between nav bar and hotseat in vertical bar layout.
- Set to match the workspace padding on the opposite side of the
  screen.

Bug: 130521490
Change-Id: I26fd71bb146c56a647397a040dbbac9d1556c3fe
2019-05-16 17:16:21 -07:00
TreeHugger Robot fcfac8156d Merge "Avoid double triggering assistant gesture haptic" into ub-launcher3-qt-dev 2019-05-17 00:03:46 +00:00
Vadim Tryshev 3c7f48116c Merge "Fix pinning tests on android virtual device" into ub-launcher3-qt-dev 2019-05-16 23:51:28 +00:00
vadimt c7bb8479e9 Fix pinning tests on android virtual device
Change-Id: I90a8753975538ab9864591a37a7d366e1222f2d8
2019-05-16 16:32:25 -07:00
Hyunyoung Song 0d51988d6e Merge "Add developer options for grid change for Styles Bug: 118758696" into ub-launcher3-qt-dev 2019-05-16 22:08:43 +00:00
Miranda Kephart 6366d377af Avoid double triggering assistant gesture haptic
If the user drags almost all the way to gesture completion and
then flings, the haptic got triggered twice: first for the drag,
and then once the fling was registered. This checks whether the
assistant was already invoked before triggering the fling
invocation.

Bug: 132908798
Test: manual
Change-Id: Ibeed7279b8db32527490a0e11b8e5f0761187bbf
2019-05-16 18:00:14 -04:00
Jon Miranda c2968da372 Fix bug where FloatingIconView did not use IconShape normalization scale.
This fix allows for a clean tradeoff between the FIV and the original icon
in all icon shapes.

Bug: 130292844
Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
2019-05-16 14:21:28 -07:00
Hyunyoung Song 58de5de42a Add developer options for grid change for Styles
Bug: 118758696

Change-Id: I66cd36cda495d339e0c2550f0957e3fbcddca477
2019-05-16 13:38:38 -07:00
Vadim Tryshev 5338e0540b Merge "Revert "Capture screenshot when animating to home"" into ub-launcher3-qt-dev 2019-05-16 19:10:13 +00:00
Vadim Tryshev fd11390a65 Revert "Capture screenshot when animating to home"
This reverts commit 170a067f27.

Reason for revert: b/132816938

Bug: 132816938
Change-Id: Ia03e30f892b2515e498fa20402a9e497340361eb
2019-05-16 18:26:48 +00:00
Jon Miranda 9ff943d6a5 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62 am: 907b521695
am: 1555c5af87

Change-Id: Ic2791f52ab68644753dc7cbaf303a4c34ae1e4b4
2019-05-15 20:05:11 -07:00
Hyunyoung Song d8c71598ee Make folder backgrounds opaque
Bug: 130451254
Change-Id: I3b15d97e44e4ccc2968cfb4402d2479cca958afe
2019-05-15 17:12:39 -07:00
Jon Miranda 1555c5af87 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62
am: 907b521695

Change-Id: I8ce3a6d23ba9eea17592aea40c21ae926cb65d02
2019-05-15 16:49:49 -07:00
Sunny Goyal dedda05568 Using a proxy activity for startActivityForResult
This ensures that the home task is never blocked by a different task

Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
2019-05-15 16:33:06 -07:00
Jon Miranda f524462537 Merging ub-launcher3-qt-dev, build 5565340 am: 662f12fe62
am: cd5b03f67b

Change-Id: Iccae997fc2c7e41685f7b45ec0938a044d599c27
2019-05-15 16:14:42 -07:00
Zak Cohen 7daf892f66 Merge "Moves proactive hints and wellness toast into a linear layout." into ub-launcher3-qt-dev 2019-05-15 23:03:42 +00:00
Zak Cohen 1159c9c18a Moves proactive hints and wellness toast into a linear layout.
This ensures that they do not fight for the space. This is intended to
be iterated upon as we find solutions to some of the technical
challenges in the current POR.

Change-Id: I831e8797b16f28fe2cd742c96e9b7c916abf77a5
2019-05-15 15:47:58 -07:00