Commit Graph

33301 Commits

Author SHA1 Message Date
TreeHugger Robot 0a07dfa25d Merge "resolve merge conflicts of 1bd96b1e96 to ub-launcher3-qt-future-dev" into ub-launcher3-qt-future-dev 2019-09-09 20:47:27 +00:00
Sunny Goyal ba02fa4585 Lazily binding folder pages and icons
am: ac6f69f78d

Change-Id: Id85dad476f49244c711c687d5a95d36197034946
2019-09-09 12:42:30 -07:00
Samuel Fufa 6d86a14d81 Merge "Add nullcheck for VelocityTracker" into ub-launcher3-master 2019-09-09 17:49:35 +00:00
Winson Chung ef52876739 Defer listening on widget host until after the state transition ends
Bug: 140246642
Change-Id: I4532e4298f04ff5c6dea04ccda89320995cadb80
2019-09-09 10:24:53 -07:00
Winson Chung 13c1c2cd65 Migrate to using DefaultDisplay
- Remove extra binder calls to get the default display

Bug: 140633033
Change-Id: I532645deac101a6065d90484b87a67b67aa717f5
2019-09-09 10:21:28 -07:00
TreeHugger Robot 01f8fb9132 Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev 2019-09-09 17:02:15 +00:00
Xin Li 923156a720 Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
Bug: 135460123
Change-Id: Ib65b2e0e55cd046797bf3d60ddcc2a7558553e3a
Merged-In: I157ff596deb419a57eca32a9b8d954d76294f627
2019-09-08 22:08:32 -07:00
android-build-team Robot e35963f3ac Snap for 5860386 from b6544e6ea2 to rvc-release
Change-Id: I1cf8249e92f481bc69aabf0bc70c75f55417575b
2019-09-07 23:08:11 +00:00
vadimt f083b7741a Add one null check to tests
Change-Id: Ib4b50ac06d44b1811e0388bc373fe420fa5570fd
2019-09-06 18:08:22 -07:00
vadimt 2bad570b40 Support for getting Launcher Pss by tests
Bug: 139137636
Change-Id: I8cad7dec07ce400cf927e3fc2ba9904fef942d9a
2019-09-06 16:50:51 -07:00
Samuel Fufa 6ef5b8abf4 Add nullcheck for VelocityTracker
Bug:134712476
Change-Id:I7834507a4e9aadf4d89c0ed6f3eba812df7425cd
2019-09-06 15:02:03 -07:00
Jon Miranda 4b9edfbbe5 Add tests for play promise icons.
Bug: 139021165
Change-Id: Ie1a049b283b70f6bd22b43c09aef263282cb0f56
Merged-In: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-06 21:57:04 +00:00
Samuel Fufa d3720c210b App title in Widget list shouldn't be actionable by a11y methods
Bug:139913027
Test:Manual
Change-Id: I2a5d5551d09ee2bc96444164ed77225a3b4a829a
2019-09-06 13:21:56 -07:00
Jon Miranda a7eea562fb Fix test bug where launcher throws NPE because it isnt loaded yet.
Bug: 140635319
Change-Id: Iea90c6816c670d58acf79114fc725602ddc9d0b1
2019-09-06 12:55:43 -07:00
Jon Miranda a87abbad31 resolve merge conflicts of 1bd96b1e96 to ub-launcher3-qt-future-dev
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Ide6c914d4e69eb4fa70d6634780324cd45a21610
2019-09-06 11:35:34 -07:00
Winson Chung 11ae8642dc Adding flickerlib test
Bug: 140244969
Change-Id: I45edfbbfb85fa371435ad0940cd939ed3d28c374
2019-09-05 17:14:09 -07:00
Jon Miranda f5197fce3d Add tests for play promise icons.
Bug: 139021165
Change-Id: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-05 15:45:51 -07:00
Xin Li b6544e6ea2 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: 636e58424b -s ours am: 2fe921d058 am: 957b8a1d35
am: 74406e6df6 -s ours
am skip reason: subject contains skip directive

Change-Id: If5e595fe9a575fcac38021ec146bbddbc223967d
2019-09-05 15:01:33 -07:00
TreeHugger Robot 243dd30da3 Merge "Add tracing for non-dragging icon" into ub-launcher3-qt-qpr1-dev 2019-09-05 21:57:01 +00:00
Tony Wickham d785fc289c Merge "Properly prevent All Apps relayouts by avoiding scrollToPosition" into ub-launcher3-qt-qpr1-dev 2019-09-05 21:27:41 +00:00
Xin Li 74406e6df6 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: 636e58424b -s ours am: 2fe921d058
am: 957b8a1d35

Change-Id: Ib035785fc518dc3d10bc584f512762b0a8193f7b
2019-09-05 14:27:26 -07:00
vadimt 30618db33f Add tracing for non-dragging icon
Bug: 138729456
Change-Id: Ib18f1544f2520509bd982f032bf3ed0c72ca9529
2019-09-05 14:08:39 -07:00
Xin Li 957b8a1d35 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: 636e58424b -s ours
am: 2fe921d058

Change-Id: I94497696c7574e83ae627113c19ba69c816c1e70
2019-09-05 14:03:34 -07:00
Xin Li 2fe921d058 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"
am: 636e58424b -s ours
am skip reason: subject contains skip directive

Change-Id: Ifbfc28597fdaf9beac8eed04800ae575530667f7
2019-09-05 13:30:14 -07:00
Vadim Tryshev b34f951e7e Merge "Adding a test method to get a Launcher object when it becomes non-null" into ub-launcher3-qt-qpr1-dev 2019-09-05 18:49:10 +00:00
Sunny Goyal ac6f69f78d Lazily binding folder pages and icons
Folders are bound before they are opened and unbound on close. This
allows us to recycle the views in folders

Bug: 139051851
Change-Id: Ic1ed3265c0f583af54d73dab6f2751bc95266ea9
2019-09-05 17:17:11 +00:00
Xin Li 636e58424b Merge "DO NOT MERGE - Merge Android 10 into master" 2019-09-05 16:53:27 +00:00
vadimt cf61e16a2c Adding a test method to get a Launcher object when it becomes non-null
Change-Id: I1c56777c87827b5edf1c7f55ad9639321e598311
2019-09-04 19:02:54 -07:00
vadimt 8c2efd0de0 Enabling some tests in landscape mode
Bug: 121280703
Change-Id: I285638d832594d5fed26ee812737a4356b110899
2019-09-04 17:33:52 -07:00
TreeHugger Robot e1335c2359 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev 2019-09-05 00:13:30 +00:00
vadimt 758a1d983d Removing flinging via UI Automator
UI Automator loses events. Switching to the homemade scrolling.

Bug: 138729157
Change-Id: Ib09bd5714e83eadfc65b54202867bf375e6b47c5
2019-09-04 16:35:19 -07:00
TreeHugger Robot 1bd96b1e96 Merge "Update app open/close animations." into ub-launcher3-qt-qpr1-dev 2019-09-04 22:33:33 +00:00
Jon Miranda 9b78e190fa Update app open/close animations.
- For app open, the icon text remains where it is and only the icon moves.
- Similarly for app close, the icon text remains where it is and fades in
  with the rest of the other icons text.

- With this change, the original view is always "VISIBLE"
  (if BubbleTextView/FolderIcon) but we hide certain elements.

Added video to bug.

Bug: 137200188
Bug: 139885365
Change-Id: I3d20c5f05bc7c0b9d052d8074ac3bfc21531c83d
Merged-In: I3d20c5f05bc7c0b9d052d8074ac3bfc21531c83d
2019-09-04 21:45:05 +00:00
TreeHugger Robot 18c691404f Merge "Update app open/close animations." into ub-launcher3-master 2019-09-04 21:37:26 +00:00
Samuel Fufa c04780c13f Merge "Don't persist invalid previews to cache" into ub-launcher3-master 2019-09-04 20:53:29 +00:00
Xin Li ecb37ee845 DO NOT MERGE - Merge Android 10 into master
Bug: 139893257
Change-Id: I157ff596deb419a57eca32a9b8d954d76294f627
2019-09-04 13:34:30 -07:00
Jon Miranda dff0de4730 Update app open/close animations.
- For app open, the icon text remains where it is and only the icon moves.
- Similarly for app close, the icon text remains where it is and fades in
  with the rest of the other icons text.

- With this change, the original view is always "VISIBLE"
  (if BubbleTextView/FolderIcon) but we hide certain elements.

Added video to bug.

Bug: 137200188
Bug: 139885365
Change-Id: I3d20c5f05bc7c0b9d052d8074ac3bfc21531c83d
2019-09-04 13:03:18 -07:00
Vadim Tryshev 3651a3dfbe Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev am: 846656f138
am: 72fddba837

Change-Id: I0040d45b55f87df8b11c1e1b872530b03f81513a
2019-09-04 12:47:41 -07:00
Vadim Tryshev 72fddba837 Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev
am: 846656f138

Change-Id: Ie40cc1d55d40ffefe6c1b2d3588b03ff92d2cb38
2019-09-04 12:37:40 -07:00
Vadim Tryshev 846656f138 Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev 2019-09-04 17:52:11 +00:00
Samuel Fufa 15357968db Don't persist invalid previews to cache
Test: Manual
Bug:137404499
Change-Id: I04a3a0e081fcb8de45601f028398670e7542ed22
2019-09-04 10:01:52 -07:00
Vadim Tryshev efef50cc34 Merge "Removing numbers from error message" into ub-launcher3-qt-qpr1-dev am: 5e893727f8
am: c6c63706fa

Change-Id: Ib257e80620657a5e3d34f2eb2931ac9e09637a1b
2019-09-03 18:18:30 -07:00
Vadim Tryshev c6c63706fa Merge "Removing numbers from error message" into ub-launcher3-qt-qpr1-dev
am: 5e893727f8

Change-Id: Ie5bfb48d233abc7c21c8ff6df97affb4c9339f8e
2019-09-03 18:11:10 -07:00
Vadim Tryshev 5e893727f8 Merge "Removing numbers from error message" into ub-launcher3-qt-qpr1-dev 2019-09-04 00:54:21 +00:00
Andy Wickham 897ff12466 Reduces padding of the Overview shelf in no button mode. am: 90c16ace8a
am: 44e1e4959c

Change-Id: Ia726a9ae9d0079c4517269d58f5132eb629b9afe
2019-09-03 17:36:18 -07:00
Andy Wickham 44e1e4959c Reduces padding of the Overview shelf in no button mode.
am: 90c16ace8a

Change-Id: I244c2bd957d0ec6cbae9ae72d0a305a5023c2509
2019-09-03 17:29:08 -07:00
vadimt 0ce38af957 Enabling debug tracing for all UI tests
Change-Id: I434ee378baf35de955c8a589b8380e1751e4107a
2019-09-03 17:16:34 -07:00
vadimt 849cdc803d Removing numbers from error message
They interfere with flake clustering

Change-Id: I845b6e080824e00b9442070d53a0a3b448670d67
2019-09-03 17:01:27 -07:00
Tony Wickham bfdeda96e6 Properly prevent All Apps relayouts by avoiding scrollToPosition
Calling scrollToPosition on RecyclerView internally calls
requestLayout() (to cacluate where to scroll and then go there).
Therefore, we should avoid calling that whenever possible, especially
during transitions. In particular, we can optimize scrollToTop() to not
scrollToPosition() if we are already at the top.

This makes some other workarounds unnecessary, namely setting All Apps
to GONE during system gestures.

Test: Open an app, swipe up, ensure AllAppsRecyclerView doesn't get
onLayout().  If we had scrolled to an app first, we get one layout
in prepareRecentsUi(), but not during the transition.

Bug: 140308849
Change-Id: I62ee341bf5893c121cfc013cc6542559f79d2a42
2019-09-03 16:16:54 -07:00
Andy Wickham 1f3b82ba6e Marks ScrimView unimportant for accessibility when Widgets screen is opened. am: c40872b913
am: 42cbb23d0d

Change-Id: I3f52c9905e73547fa885de33159f75d5fa4e5cb7
2019-09-03 15:35:26 -07:00