Commit Graph

34630 Commits

Author SHA1 Message Date
Hyunyoung Song c5b44fab87 Change default icons for launcher [2/3]
am: 7924a3c97a

Change-Id: Ib99b3564ea95e20c62d29708cb84cf0eec31786b
2019-04-12 17:06:44 -07:00
Hyunyoung Song 7924a3c97a Change default icons for launcher [2/3]
Bug: 126738409
Bug: 129955150
Change-Id: Ia140c5d16b74e4719131aa5035313b7b27028ad1
2019-04-12 16:19:53 -07:00
Hyunyoung Song 091a4d3c9d Merge "Change default icons for launcher [1/3]" into ub-launcher3-qt-dev
am: eba17ec2ac

Change-Id: I2dbd72c570c964f225a709f7254b24b8a0017f84
2019-04-12 16:02:10 -07:00
Kevin f1a47a0fe6 Update Go recents visibility based off adapter
View visibility should be based off adapter since that's what the layout
items are based off of.

Bug: 130440957
Test: Loading UI is shown when going to recents Go
Change-Id: I1f167553b6fdce757865c739b9793b63a20e7f57
2019-04-12 15:41:51 -07:00
TreeHugger Robot eba17ec2ac Merge "Change default icons for launcher [1/3]" into ub-launcher3-qt-dev 2019-04-12 22:28:04 +00:00
Hyunyoung Song fa058473d2 Change default icons for launcher [1/3]
Bug: 126738409
Bug: 129955150
Change-Id: Id6ecf50b83a6b4dfea6615fba37698468cafc0d2
2019-04-12 22:20:32 +00:00
vadimt 72bd5a046f Unlock the phone before each test
am: c255c8b357

Change-Id: I62baf00e218206488b5c1568d8c643ea787f98b0
2019-04-12 14:35:24 -07:00
vadimt c255c8b357 Unlock the phone before each test
We were trying to do so from the test config, but this didn't work

Change-Id: I098eb392c76572bc43443adac130fa8700b49bde
2019-04-12 14:00:40 -07:00
Kevin 987799dfa1 Animate content fill animation to Recents Go
This CL adds the animation that occurs when transitioning from a set of
empty views to the actual task list after it is loaded. This is done by
setting a one-shot item animator that animates changes, for item views
that fade from empty to filled, and removes, for when we have too many
empty views.

Bug: 114136250
Test: Artificially increase task list load time and see animation fill
Change-Id: Ibbc09db702e591063ceea61df2359f18a3fcf8f9
2019-04-12 13:13:46 -07:00
vadimt c1639e4276 Removing hourglass_bottom
am: c6d9ddfddb

Change-Id: Ia3d08b7dd14728fc5d4008e3dc62e3a4637961e0
2019-04-12 12:51:20 -07:00
vadimt 8f277b3428 Simplifying and removing unnecessary checks from app-drag tests
am: ab472e8c06

Change-Id: I084294421d3493f39bf6360a77bc3f3be800073e
2019-04-12 12:51:00 -07:00
vadimt 9760f88ba1 Tapl: also logging contexts
am: 6938276da1

Change-Id: Icd3dfd36d6141f1565cfa25a27d9edd8db3227ec
2019-04-12 12:50:38 -07:00
vadimt 257cbfd967 Use correct indicator of a long-press success in tests
am: 6903c0ac65

Change-Id: Id93a7d20f88d81efbce734517a7183732179ec07
2019-04-12 12:50:18 -07:00
vadimt 6a37db8cbe [automerger skipped] Not using Settings app as a source of shortcuts
am: b96898a025 -s ours
am skip reason: SHA1 b96898a025 skipped by user vadimt

Change-Id: I9e1db9877a98b3a45c5304958fcf95c327f2f76c
2019-04-12 12:49:55 -07:00
vadimt c6d9ddfddb Removing hourglass_bottom
Now that we don't show DWB toast for negative remaining time

Bug: 127689526
Change-Id: I3ced3ec0da9bd7b09df9b66b4ef608e87339573f
(cherry picked from commit e921bacfb8)
2019-04-12 19:27:17 +00:00
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