Commit Graph

34630 Commits

Author SHA1 Message Date
Kevin 1531982d1e Fix transition progress not applying to drawables
TaskLayerDrawable should reapply UI changes from the transition progress
when there is a new drawable. In addition, the transition should check
if the drawable in the front and back are the same (i.e. on
initialization when both are showing the empty drawable) so that it only
applies the front-drawable alpha.

Bug: 114136250
Test: Builds
Change-Id: I74836b5043da555358742ba0a3f46f170f590904
2019-04-11 13:38:00 -07:00
Vadim Tryshev 0a05118384 Merge "Tapl: also logging contexts" into ub-launcher3-master 2019-04-11 19:49:24 +00:00
Winson Chung a851c9f310 Add state callback in launcher
am: 4060a75d8f

Change-Id: Ib2b6336f788c14e9ee21323dedcf10f872f9e0fe
2019-04-11 12:39:21 -07:00
Vadim Tryshev 92530bd6ab Merge "Use correct indicator of a long-press success in tests" into ub-launcher3-master 2019-04-11 19:28:30 +00:00
vadimt 77ca70fea6 Tapl: also logging contexts
Contexts were added for better diags when an assert happens, but they
are also useful for tracing the test execution.

Change-Id: I1512f3f7e02a373096bab4f0b390b1febfc96334
2019-04-11 12:26:58 -07:00
vadimt e77fc83222 Use correct indicator of a long-press success in tests
It's the presence of the context menu if we long-press a shortcut, and
the drop target bar if we press a menu item.

Change-Id: Ic02462fa766e23b74f41b8a73fefd519aea08407
2019-04-11 12:09:44 -07:00
Winson Chung 4060a75d8f Add state callback in launcher
Bug: 129785904
Test: Manual, change states and verify state is sent
Change-Id: Ia1f69494a6cbae68085fb09670ffa309ce147430
(cherry picked from commit c4b88c3dfb)
2019-04-11 18:11:51 +00:00
vadimt 476a511ca5 Not using Settings app as a source of shortcuts
Bug: 126587956
Change-Id: I13ef4298a8133ff5773eef8658a04094d5d154da
2019-04-11 10:58:03 -07:00
Winson Chung f0625fd93a Check sysui state before swiping up
Bug: 129785904
Test: Try to swipe up with various sysui states enabled
Change-Id: I654e0efd1f29ee6b4123e7f8aa717f62a55fdb50
2019-04-11 10:46:13 -07:00
Winson Chung f558e875f1 Merge "Add state callback in launcher" into qt-dev am: 85011bdc21
am: 5e95b62f90

Change-Id: Id542f047afb95cf28b7cad26e3d1ceda3fa72222
2019-04-11 08:51:12 -07:00
Winson Chung 5e95b62f90 Merge "Add state callback in launcher" into qt-dev
am: 85011bdc21

Change-Id: Id1dbca91f244d5f6c28efb730c30a0f76eee308a
2019-04-11 08:41:21 -07:00
Winson Chung 85011bdc21 Merge "Add state callback in launcher" into qt-dev 2019-04-11 15:22:36 +00:00
Hyunyoung Song 52e19b150b Merging ub-launcher3-qt-dev, build 5456758 am: cec2df62b2
am: 7f4cd5de5c

Change-Id: I0957c82f86483312b3ff22544171890de35b9f38
2019-04-11 05:23:40 -07:00
Hyunyoung Song 7f4cd5de5c Merging ub-launcher3-qt-dev, build 5456758
am: cec2df62b2

Change-Id: I349da99bbd5daef75c84c81b635c837d2fef346f
2019-04-11 01:15:31 -07:00
Winson Chung d42dc7889b Check before the user is unlocked before handling proxied events am: fd378d79e5
am: 3202c71778

Change-Id: If1789afa6a21cadbc5e92809674edc2bd14f46e8
2019-04-11 00:28:30 -07:00
Winson Chung c4b88c3dfb Add state callback in launcher
Bug: 129785904
Test: Manual, change states and verify state is sent
Change-Id: Ia1f69494a6cbae68085fb09670ffa309ce147430
2019-04-10 21:59:25 -07:00
android-build-team Robot 76f077f391 Snap for 5457103 from 2d615a4cee to rvc-release
Change-Id: I9877afce96b0e41027358913e4be5553588d337a
2019-04-11 03:07:01 +00:00
android-build-team Robot c53ea481c5 Snap for 5457264 from fd378d79e5 to qt-release
Change-Id: I92540b489d2eb3610508ddff9917ab53f3c361f2
2019-04-11 03:01:20 +00:00
Winson Chung 3202c71778 Check before the user is unlocked before handling proxied events
am: fd378d79e5

Change-Id: I1256df25f5f34cf89b1ec5707f79ee14c0184268
2019-04-10 19:00:59 -07:00
Winson Chung 81e12089f6 Merge "Check before the user is unlocked before handling proxied events" into ub-launcher3-qt-dev
am: 5d7694c237

Change-Id: I11b921bf216be43c4634e11eecf9ad9cee296fe8
2019-04-10 17:28:37 -07:00
Hyunyoung Song cec2df62b2 Merging ub-launcher3-qt-dev, build 5456758
Test: Manual

Bug:111142970 Icon display blur in all apps page
Bug:114136250 Have a more spartan RecentsActivity on android go
Bug:122609330 Update PIP animation for swiping up to home
Bug:123985787 Respect dialogCornerRadius for all apps / widgets / settings / shortcut menu / dwb / task / overview (everything)
Bug:126587956 Create an app to use with Launcher testing
Bug:126606858 In multiwindow mode, not able to switch between recent apps.
Bug:127766994 Gray app icons disappeared after completing cable transfer for a while
Bug:127987071 Create a proper contract for specifying default Launcher Layout
Bug:129033091 [Q-Preview] I would like the ability to swipe up anywhere on my screen to open up the app li.
Bug:129297464 [Gesture Nav] Exclude edges from most Launcher / Overview states.
Bug:129434166 Lab-only flake: drag to workspace doesn't happen
Bug:129746879 [Q-Preview] Quick search bar overlaying other app
Bug:129874298 Show different string (Wallpaper vs Style & Wallpaper) on Settings depending on device type
Bug:129947426 nexus launcher crash observed randomly during device boot up(NPE:Attempt to invoke virtual method 'android.app.ActivityManager$RunningTaskInfo com.android.systemui.shared.system.ActivityManagerWrapper.getRunningTask(int)' on a null object reference)
Bug:129976669 Implement returning to home from Widgets in 0-button mode Bug:130027168 Can't tap in nav region on home screen
Bug:130151609 Some tests in MultiDisplaySystemDecorationTests.java failing in pre-submit
Bug:130182878 Pixel launcher crashes on secondary display
Bug:130225926 Cannot unpin app while in gesture nav
Bug:130245920 Icons disappear from launcher when selected
Bug:130272454 [C1/B1] Message app crash when opening a video MMS.
Change-Id: I18aa35d2c75deaf5149358d96d4e1d7f26de2f02
2019-04-10 23:51:57 +00:00
Tony Wickham e7ca9c02c0 Merge "Track window for 2 button nav as well as 0 button" into ub-launcher3-qt-dev
am: d807724de2

Change-Id: Ieb4b6a6afdbf308e521480ad1bf72c30da19e2f3
2019-04-10 16:16:52 -07:00
Winson Chung 5d7694c237 Merge "Check before the user is unlocked before handling proxied events" into ub-launcher3-qt-dev 2019-04-10 23:15:00 +00:00
Tony Wickham d807724de2 Merge "Track window for 2 button nav as well as 0 button" into ub-launcher3-qt-dev 2019-04-10 23:06:51 +00:00
android-build-team Robot 7f9b166700 Merge cherrypicks of [7003810, 7004390, 7003811] into qt-release
Change-Id: Ie97446b64f694f9abb2092ab8c98f6f41b38b9a4
2019-04-10 22:49:11 +00:00
Winson Chung 1b942698c2 Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
(cherry picked from commit fd378d79e5)
2019-04-10 22:48:57 +00:00
Jon Miranda 6f78aeecbb Merge "Fix bug where app icons stay invisible after app open animation." into ub-launcher3-qt-dev
am: 2513835484

Change-Id: I2a08c626597e6e90f586e463c9257d9701197275
2019-04-10 15:45:27 -07:00
Tony Wickham 8e5c13f360 Track window for 2 button nav as well as 0 button
This allows us to revert the change that fades in the shelf during swipe
up in 2 button mode, since the shelf doesn't show up until the window is
out of the way anyway.

Bug: 129746879
Change-Id: I929d8095989f9eae32d71b5bc3f67997e9df4ba0
2019-04-10 15:36:07 -07:00
TreeHugger Robot 2513835484 Merge "Fix bug where app icons stay invisible after app open animation." into ub-launcher3-qt-dev 2019-04-10 22:34:09 +00:00
Winson Chung cf0b0c809a Temporarily disable screen pinning UI in gesture nav
am: e9c4c50168

Change-Id: Ieb956224e41b7ae43dc4efa2efe196c594f41c52
2019-04-10 15:31:17 -07:00
Winson Chung 43b758c454 Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 15:30:01 -07:00
Tracy Zhou db9f4a1f3c Merge "Put pippable apps to pip mode upon swipe up to home gesture" into ub-launcher3-qt-dev
am: 731242ee66

Change-Id: I2b3c8374a46cc491b692359108e95ddc524c4e3a
2019-04-10 15:23:18 -07:00
Jon Miranda d53a9bf8a0 Fix bug where app icons stay invisible after app open animation.
For the app open animation, we load the adaptive icon on the bg thread.
When the icon is done loading, we swap the og view with the FloatingIconView.
If the icon loads after the animation is done, we still set the og view
to INVISIBLE and it never gets restored since the animation is already done.
To fix this, we do not swap the views if the animation has already ended.

Bug: 130245920
Change-Id: I5cf85de4e2c533da8c395a23899980d27a941e1b
2019-04-10 15:21:47 -07:00
Winson Chung e9c4c50168 Temporarily disable screen pinning UI in gesture nav
Bug: 130225926
Change-Id: I782a5c6cdf00dfb8e501185f58defed4bfee3ac1
(cherry picked from commit e041ba0d61)
2019-04-10 22:11:19 +00:00
Hyunyoung Song 052624d897 TaskCornerRadius should not use dialogCornerRadius on devices not supporting rounded corners
Bug: 123985787

Change-Id: I4ffe06362256d4cc83bbe34c139d71ea1f6ca92e
2019-04-10 14:29:36 -07:00
TreeHugger Robot 731242ee66 Merge "Put pippable apps to pip mode upon swipe up to home gesture" into ub-launcher3-qt-dev 2019-04-10 21:26:47 +00:00
Tony Wickham f4e8474dd0 Use DeviceLockedInputConsumer if !mIsUserUnlocked
am: 9bbbe9cc14

Change-Id: I54f72f969479bd387c9ad24ddd6e627abba02427
2019-04-10 14:15:43 -07:00
Tony Wickham 7f78e23ccc Don't scale/translate hotseat icons if they are visible in overview
Bug: 129145824
Change-Id: I02af7ad21b6dbc46041e774dfc6f5d3efb0ab8a9
2019-04-10 14:02:38 -07:00
Sunny Goyal 5e9fa344e7 Adding support for loading the default layout from a content provider
am: c0f03d9665

Change-Id: Ifadd6d9997a355cfcbe99b78c34ffcbd6e0051fd
2019-04-10 12:59:28 -07:00
Tony Wickham 9bbbe9cc14 Use DeviceLockedInputConsumer if !mIsUserUnlocked
There's an edge case where user isn't unlocked even if device is. In
that case, we still need to use DeviceLockedInputConsumer because
variables needed for any other input consumer aren't initialized until
the user is unlocked.

Bug: 129947426
Change-Id: I33a5e9a8d5c4266d45bd0d5a16657fa3c9644a1f
2019-04-10 12:54:54 -07:00
Winson Chung 5a5ad401fb Merge "Check before the user is unlocked before handling proxied events" into ub-launcher3-master 2019-04-10 19:38:05 +00:00
Sunny Goyal c0f03d9665 Adding support for loading the default layout from a content provider
The autority of the provider should be set in secure settings:
  launcher3.layout.provider

Bug: 127987071
Change-Id: Iccf2960aa6c0a5a8ff9621b13d8963d9daecb993
2019-04-10 12:06:17 -07:00
Winson Chung 29a33386ad Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 10:59:53 -07:00
Tony Wickham 6c09d4e8b3 Merge "Add some egregious back exclusion rects" into ub-launcher3-qt-dev
am: e09e1f2253

Change-Id: I3535aa17d3f2317301a530c7e655ed0017cc7f06
2019-04-10 10:25:39 -07:00
Winson Chung fd378d79e5 Check before the user is unlocked before handling proxied events
Bug: 130272454
Test: None, just checking for null state
Change-Id: I6b5a5c0dc7a0dbd8d2d75decd4e7d7ddf6cc3e3d
2019-04-10 09:51:38 -07:00
Tony Wickham e09e1f2253 Merge "Add some egregious back exclusion rects" into ub-launcher3-qt-dev 2019-04-10 16:49:26 +00:00
TreeHugger Robot d1c0643745 Merge "Add drawable for default thumbnail for Recents Go" into ub-launcher3-master 2019-04-10 10:44:52 +00:00
Winson Chung 9582f61b74 Merge "Temporarily disable screen pinning UI in gesture nav" into ub-launcher3-master 2019-04-10 04:01:48 +00:00
android-build-team Robot f478aeb601 Snap for 5452753 from 668524aff3 to rvc-release
Change-Id: I3a73e4ea4e7ff83c84bbe6d896c57dcc06fd84f6
2019-04-10 03:17:12 +00:00
Tracy Zhou 2d615a4cee Merge "Put pippable apps to pip mode upon swipe up to home gesture" into qt-dev am: 36555473c9
am: 77a0f79adb

Change-Id: I9be51345b68d3cbeb98b73be0e71e51990d461a2
2019-04-09 20:14:44 -07:00