Commit Graph
28165 Commits
Author SHA1 Message Date
vadimt ab472e8c06 Simplifying and removing unnecessary checks from app-drag tests
Change-Id: Iab6603f62b8e3c95b2c3351bfe41f35f15f59246
(cherry picked from commit 8dc1dbe814)
2019-04-12 19:26:01 +00:00
vadimt 6938276da1 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
(cherry picked from commit 77ca70fea6)
2019-04-12 19:25:01 +00:00
vadimt 6903c0ac65 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
(cherry picked from commit e77fc83222)
2019-04-12 19:23:40 +00:00
vadimt b96898a025 Not using Settings app as a source of shortcuts
Bug: 126587956
Change-Id: I13ef4298a8133ff5773eef8658a04094d5d154da
(cherry picked from commit 476a511ca5)
2019-04-12 19:22:09 +00:00
Beth Thibodeau 56f9c49ffd Merge "Add extra for starting wallpaper from launcher" into ub-launcher3-qt-dev
am: 2a0bb40a76

Change-Id: I0fbab63dcc041aa96de71f71b9e0613b5151201f
2019-04-12 11:54:54 -07:00
TreeHugger Robot 20adbf09d1 Merge "Animate to bottom view in app => overview" into ub-launcher3-master 2019-04-12 18:51:19 +00:00
Beth Thibodeau 2a0bb40a76 Merge "Add extra for starting wallpaper from launcher" into ub-launcher3-qt-dev 2019-04-12 18:43:53 +00:00
TreeHugger Robot f2b7736cb7 Merge "Removing hourglass_bottom" into ub-launcher3-master 2019-04-12 18:34:48 +00:00
vadimt e921bacfb8 Removing hourglass_bottom
Now that we don't show DWB toast for negative remaining time

Bug: 127689526
Change-Id: I3ced3ec0da9bd7b09df9b66b4ef608e87339573f
2019-04-12 11:10:20 -07:00
Beth Thibodeau 14e3368340 Add extra for starting wallpaper from launcher
Bug: 126450861
Change-Id: I14c11f25f47ce2b78faa61b4fcf784839de6a0f6
2019-04-12 13:47:41 -04:00
Kevin 86957f28ff Animate to bottom view in app => overview
We always want to animate to the bottom so we should just do that if we
have the view laid out even if at the time the app task doesn't actually
match the view.

Bug: 114136250
Test: Go to recents, press overview twice quickly, see it animate
correctly
Change-Id: I0516ef127ff6ef0f865c85314c9ffe4a7c6ef9e3
2019-04-12 10:14:52 -07:00
Miranda Kephart 73a4740f7f Don't shrink overview bitmap for chips
Chips in overview will be shown on top of the bitmap, not in
between the bitmap and the QSB, so we no longer need to shrink
the bitmap to make room for chips. This means that the appearance
of the recents view will be consistent between chips being
enabled/disabled.

Change-Id: I1856ccb8babd388ef6c8e6a1a5defcbdd0278a60
2019-04-12 11:09:59 -04:00
Hyunyoung Song bf6fcf22ae Merge "Popup container color changes for Dark Theme Bug: 111411630" into ub-launcher3-qt-dev
am: 9beda35dc9

Change-Id: I5db7c0edfae12d4ed3ac2a9d6a333b51f1922032
2019-04-11 23:53:05 -07:00
Hyunyoung Song ef01685392 Merge ""No recent items" font should use themed font Bug: 126822309" into ub-launcher3-qt-dev
am: bb0c8204f5

Change-Id: Ie36a9dfe4e27663ebf00a7ab0a43f13d71606805
2019-04-11 23:52:40 -07:00
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