Commit Graph

33301 Commits

Author SHA1 Message Date
Hyunyoung Song c46923ccda Merge "TaskCornerRadius should not use dialogCornerRadius on devices not supporting rounded corners Bug: 123985787" into ub-launcher3-qt-dev
am: aa0f3b7843

Change-Id: Ia0b85399e9920cf866f07ac4f372f0e5f8758dfd
2019-04-11 23:52:07 -07:00
TreeHugger Robot 9beda35dc9 Merge "Popup container color changes for Dark Theme Bug: 111411630" into ub-launcher3-qt-dev 2019-04-12 06:42:17 +00:00
TreeHugger Robot bb0c8204f5 Merge ""No recent items" font should use themed font Bug: 126822309" into ub-launcher3-qt-dev 2019-04-12 06:40:47 +00:00
Hyunyoung Song aa0f3b7843 Merge "TaskCornerRadius should not use dialogCornerRadius on devices not supporting rounded corners Bug: 123985787" into ub-launcher3-qt-dev 2019-04-12 06:34:59 +00:00
Hyunyoung Song baa1a62af7 Popup container color changes for Dark Theme
Bug: 111411630

Change-Id: I7692fb6c6d9bd7b4500def8291ff2f6d77639a77
2019-04-11 23:31:51 -07:00
Winson Chung 6dfe2e2d15 Check sysui state before swiping up am: f0625fd93a
am: 309981159b

Change-Id: Ia3cddd31c8964208fd4f53e426d7695f70a92daa
2019-04-11 20:03:02 -07:00
Winson Chung 309981159b Check sysui state before swiping up
am: f0625fd93a

Change-Id: Ia277bf4ca41939d001100dfa9a7ff481fc1362de
2019-04-11 17:46:32 -07:00
Winson Chung e2bde750b0 Check sysui state before swiping up
am: a876fe7846

Change-Id: I143e363cba7d11d3db004c666185f008e9e6d0df
2019-04-11 17:28:25 -07:00
TreeHugger Robot 1891092993 Merge "Differentiate empty UI from default in recents Go" into ub-launcher3-master 2019-04-12 00:10:03 +00:00
Hyunyoung Song f952095a2e "No recent items" font should use themed font
Bug: 126822309

Change-Id: I0311b0b002fa1dcda88b87da31019f4ecbb94f62
2019-04-11 17:01:51 -07:00
Winson Chung a876fe7846 Check sysui state before swiping up
Bug: 129785904
Test: Try to swipe up with various sysui states enabled
Change-Id: I654e0efd1f29ee6b4123e7f8aa717f62a55fdb50
(cherry picked from commit f0625fd93a)
2019-04-11 23:56:18 +00:00
Hyunyoung Song cb061a3c74 Merge "Popups (shortcut, system, scroller) / Drop Targets / Widgets (bottom/full) should follow themed font Bug: 126229665" into ub-launcher3-qt-dev
am: 54e7ba1b95

Change-Id: I8ce0cae768fb82d55d7bf0b4d321f107b316e31d
2019-04-11 16:28:56 -07:00
TreeHugger Robot 54e7ba1b95 Merge "Popups (shortcut, system, scroller) / Drop Targets / Widgets (bottom/full) should follow themed font Bug: 126229665" into ub-launcher3-qt-dev 2019-04-11 23:17:20 +00:00
Hyunyoung Song df4bf92412 Popups (shortcut, system, scroller) / Drop Targets / Widgets (bottom/full) should follow themed font
Bug: 126229665

Change-Id: I429da6b9bc5f99d42be0f2498cbdecb059f127f4
2019-04-11 22:56:54 +00:00
Kevin a2c4200cde Differentiate empty UI from default in recents Go
Use the "empty" drawable as the initial UI until the recents task list
and order is loaded, then switch to default/filled UI.

Bug: 114136250
Test: Manual test; see empty UI when loading takes time
Change-Id: I85b72e6d40d7224b28217cbf4e05515ec1e9451b
2019-04-11 15:22:12 -07:00
TreeHugger Robot 3cd0001631 Merge "Add task content animation property" into ub-launcher3-master 2019-04-11 22:21:35 +00:00
Kevin a3d80d102e Add task content animation property
Add API to animate task item content transition from one set of task
content (icon, thumbnail) to another. To do this, we provide two things
to the caller: startContentAnimation which allows the caller to set the
icon, thumbnail, and label to animate to and the
CONTENT_TRANSITION_PROGRESS property which the caller can use to control
the transition progress.

We will eventually hook this up to onBindViewHolder for the task adapter
when there is a data change event to prepare to animate content in.
Currently it still changes immediately.

Bug: 114136250
Test: Builds
Change-Id: I16e9b757ee91be54fe8cba6780b399e3cc313e3e
2019-04-11 15:08:52 -07:00
TreeHugger Robot c58abe78ee Merge "Fix transition progress not applying to drawables" into ub-launcher3-master 2019-04-11 22:08:11 +00:00
TreeHugger Robot 0427d88fc4 Merge "Change layout anim from Animation => Animator" into ub-launcher3-master 2019-04-11 22:08:03 +00:00
Kevin 26ad999b10 Change layout anim from Animation => Animator
Change the layout animation to use animators instead of the built-in
animation-based layout animation. Animator-based animations are more
flexible and can act on the view properties themselves, making it
easier to deal with if we need to cancel the animation later from a
conflicting animation (i.e. we find out we need to animate a view
out).

Bug: 114136250
Test: Go to recents, see items animate in
Change-Id: Id8227cd50e81999cac98912ac58cd2d6864c40af
2019-04-11 14:20:51 -07:00
vadimt 8dc1dbe814 Simplifying and removing unnecessary checks from app-drag tests
Change-Id: Iab6603f62b8e3c95b2c3351bfe41f35f15f59246
2019-04-11 13:50:14 -07:00
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