Commit Graph

33301 Commits

Author SHA1 Message Date
wilsonshih 8679320719 Fix SecondaryLauncher crash when started.
SecondaryLauncher crash after change material source.
From the error log the style of this component should be
Theme.MaterialComponents or as descendant.
Change theme parent to fix it.

Bug: 130151609
Bug: 130182878
Test: atest MultiDisplaySystemDecorationTests
Change-Id: Iad2817864326b04fac00bfc57b8ab6eaf2bd9c13
2019-04-09 05:47:46 +00:00
wilsonshih d716934266 Fix SecondaryLauncher crash when started.
SecondaryLauncher crash after change material source.
From the error log the style of this component should be
Theme.MaterialComponents or as descendant.
Change theme parent to fix it.

Bug: 130151609
Bug: 130182878
Test: atest MultiDisplaySystemDecorationTests
Change-Id: Iad2817864326b04fac00bfc57b8ab6eaf2bd9c13
2019-04-09 11:07:28 +08:00
Hyunyoung Song 2aec9c42f5 Change task view / all apps/ widgets / folder radius to dialogCornerRadius
Bug: 123985787
Change-Id: Iaa8088beb51d37dba90d57ad065f9eac0dd46270
2019-04-09 00:27:07 +00:00
Kevin bb956bd028 Add task layer drawable class for Recents Go.
Add a custom drawable class that provides a hook to the caller to
control a crossfade animation between two drawables. This will be
helpful going forward to sync up all the animations to the controller.

Note that this CL only adds the class and does not replace the current
implementation.

Bug: 114136250
Test: Builds
Change-Id: I3cc6be79cb2ca5d64c8cc2945ff7f2ebd49632b6
2019-04-08 16:44:19 -07:00
Tracy Zhou b091ed9098 Put pippable apps to pip mode upon swipe up to home gesture
Fixes: 122609330
Test: manual
Change-Id: I6cd0110b17fba9be6de1b3e6ba5750018d6f0514
2019-04-08 20:34:31 +00:00
TreeHugger Robot 2a059c7802 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-04-07 06:19:44 +00:00
android-build-team Robot 7f3333d1a5 Snap for 5443223 from 01aea983ef to qt-release
Change-Id: I2cb7d9f0d52f5ca9a438cccacdcc8eecf149debc
2019-04-06 23:22:48 +00:00
android-build-team Robot a54fd295c7 Snap for 5443283 from 41cacf6745 to rvc-release
Change-Id: I1dac85c50cca8fd4931e6cf9e4a3fc9aab980f1c
2019-04-06 23:10:44 +00:00
Bill Yi f5d15f5b6b Import translations. DO NOT MERGE
Change-Id: I0da7c7b04d6c1aaa419b07163f1f2b5b1cacaf03
Auto-generated-cl: translation import
2019-04-05 19:10:38 -07:00
Vadim Tryshev 32464d7de6 Merge "Not deleting assistant from sources" into ub-launcher3-master 2019-04-06 00:49:31 +00:00
vadimt e924eb93ae Not deleting assistant from sources
Now it's done via test config files

Change-Id: Ia31f6de8a44ce29b1ccc01fdb509b6d1e8f2d49d
2019-04-05 17:00:30 -07:00
Vadim Tryshev 9155ea4cf2 Merge "Changing how we inject drag gesture" into ub-launcher3-master 2019-04-05 23:51:01 +00:00
TreeHugger Robot 2945bc84b5 Merge "Removing unnecessary corner size caching in RecentsModel" into ub-launcher3-master 2019-04-05 23:32:17 +00:00
TreeHugger Robot 506c3e1df3 Merge "Don't put up loading UI if load isn't necessary." into ub-launcher3-master 2019-04-05 22:47:16 +00:00
Sunny Goyal c7cc3dc2c5 Removing unnecessary corner size caching in RecentsModel
Change-Id: I1be87dc15a3b9ec8225dccce701bff19785658d6
2019-04-05 15:11:42 -07:00
Kevin 2bd36dd326 Don't put up loading UI if load isn't necessary.
Do not put up the loading UI when we don't need to load (whether that's
because we're already up to date or there is already a load in progress)

Bug: 114136250
Test: Manual; go to recents and see that it doesn't load when updated
Change-Id: Idbcc3731e4ecab8f67b7b5b07a98cb112ed4e07a
2019-04-05 14:44:16 -07:00
Hyunyoung Song de0ed14610 Merge "Change the corner radius of ArrowPopup containers" into ub-launcher3-master 2019-04-05 21:10:46 +00:00
Hyunyoung Song ce37ee5c97 Change the corner radius of ArrowPopup containers
Bug: 123985787
Change-Id: Ibcdd25d2795743225579e8ebc48a4511472f87d8
2019-04-05 13:44:01 -07:00
vadimt a6700d04d8 Changing how we inject drag gesture
Since Launcher doesn't use event time to detect the long click that
start drag, it may not detect valid long clicks. Now waiting for the
context menu to appear.

Bug: 129434166
Change-Id: I7431d185016152fa63e75ea394dd8caf3365b21b
2019-04-05 13:31:36 -07:00
Vadim Tryshev 5a0f7b1c3b Merge "More diags for b/129434166" into ub-launcher3-master 2019-04-05 20:07:05 +00:00
vadimt 423bf62ea0 More diags for b/129434166
Bug: 129434166
Change-Id: Iab8a18ea0f1ef7f6d149dc46f1c8fefc5f463219
2019-04-05 12:41:34 -07:00
Kevin 3e98796189 Add layout animation for Recents Go
Add a layout animation where views fade in upward in a cascade and play
it every time the user goes to Recents.

Bug: 114136250
Test: Go to Recents and see cascade animation
Change-Id: Ia6fdd344f0bfb46c4d507e50f278a86a4432c2b6
2019-04-05 12:20:55 -07:00
Kevin fc6781992d Control logic for putting up loading UI
This CL introduces the logic to put up and bind loading task views while
the first phase of loading occurs (i.e. loading the number and order of
recents items).

Bug: 114136250
Test: Go to recents, see tasks loading
Change-Id: I59bdc0fccc7f309ea4cded175c04a464b5a3665e
2019-04-05 11:04:10 -07:00
Hyunyoung Song 41cacf6745 Merging ub-launcher3-master, build 5437471 am: 01aea983ef
am: 7059995361

Change-Id: Iff6af3991ed2894a9335203dabbaa7a8872500d9
2019-04-05 00:12:19 -07:00
Hyunyoung Song 7059995361 Merging ub-launcher3-master, build 5437471
am: 01aea983ef

Change-Id: I4648285b8687059b4d6570a6e2bc9903396bd113
2019-04-05 00:02:51 -07:00
Vadim Tryshev ad56fdf1e2 Merge "Not using Settings in TaplTestsLauncher3.testDragAppIcon" into ub-launcher3-master 2019-04-05 02:06:30 +00:00
vadimt fb0cb7a26c Not using Settings in TaplTestsLauncher3.testDragAppIcon
Settings frequently crashes

Bug: 126587956
Change-Id: Ied62d6f8783d8f0f9c434bdd8ee14c62d6cbc4c1
2019-04-04 18:45:49 -07:00
Vadim Tryshev 2c46fcfa3a Merge "Going home via swipe in supported cases" into ub-launcher3-master 2019-04-04 23:24:10 +00:00
vadimt 01e114bbf5 Going home via swipe in supported cases
Change-Id: I8a127e206374e6e4274ad970cfaf132c3089125b
2019-04-04 15:38:08 -07:00
Sunny Goyal 6ec196adc4 Merge "Using the extracted color for plaecholder loading icons" into ub-launcher3-master 2019-04-04 22:24:32 +00:00
Sunny Goyal 577bc6b660 Using the extracted color for plaecholder loading icons
Bug: 111142970
Change-Id: Id274ddcd20d8042a4cc24bff9d65bea79846e9af
2019-04-04 15:05:15 -07:00
vadimt 2a0670890a Not using system res ids in tests
Change-Id: I3aad2380dd6cd51ee23803cf5164f8b332a62e98
2019-04-04 14:36:53 -07:00
Hyunyoung Song 01aea983ef Merging ub-launcher3-master, build 5437471
Test: Manual

Bug:129423457 PluginCoreLib is not built from source code in master
Bug:129873705 Launcher crashes with Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

Change-Id: Ib95d4de181eb70a30171c6ef511e803816b88dbf
2019-04-04 21:27:09 +00:00
vadimt 24eb1c9c89 Not using magic constant for edge sensitivity
+Some cleanup in TAPL

Change-Id: I886a6c4abacf8b806ee5507e633ec21f2e7ad1d4
2019-04-04 13:20:34 -07:00
Vadim Tryshev 077df72acc Merge "Diagnosing phone locked state in TAPL" into ub-launcher3-master 2019-04-04 17:36:46 +00:00
TreeHugger Robot 8404669d6b Merge "Move PlubinLib to prebuilts/frameworks_intermediates" into ub-launcher3-master 2019-04-04 15:34:43 +00:00
Hyunyoung Song 3f8544af9a Move PlubinLib to prebuilts/frameworks_intermediates
Bug: 129423457
Change-Id: I7ed06609efa33ae98ffcd6f937a76a6b772c3fc1
2019-04-03 23:07:13 -07:00
android-build-team Robot 55cd5c89cf Snap for 5434517 from 36dcc7f53e to rvc-release
Change-Id: Ie4c12afd97c026c0bb5c5cea5a1f255ea53928b8
2019-04-04 03:29:30 +00:00
android-build-team Robot 070b9f0548 Snap for 5434517 from 36dcc7f53e to qt-release
Change-Id: I086ac1ffe505219ddf014985aed5b2dac63b616f
2019-04-04 03:12:13 +00:00
vadimt 471115589e Diagnosing phone locked state in TAPL
Change-Id: I4bc678b35ca373015eaf476901694aee4df348f3
2019-04-03 19:09:59 -07:00
Vadim Tryshev 293069f7ef Merge "Not using Play Store app in tests" into ub-launcher3-master 2019-04-04 01:52:50 +00:00
vadimt f185552108 Not using Play Store app in tests
As it magically misses from some devices

Change-Id: I7765d987ef996dc2f515b9a0023b6f545f9cb534
2019-04-03 18:31:43 -07:00
TreeHugger Robot a733fb11f8 Merge "Fix SwipeDetectorTest" into ub-launcher3-master 2019-04-04 01:26:53 +00:00
Tony Wickham 5b58d5f7b2 Fix SwipeDetectorTest
Change-Id: Ic2ef1f73b7381b31cf495ea505794c0689da9ac9
2019-04-03 18:10:54 -07:00
Bill Rassieur 68b2a985ac Merge master@5428150 into git_qt-dev-plus-aosp.
am: ef8a1156ec

Change-Id: I582ec30e275c4d390d6ba8a8d97c913dcdb790fe
2019-04-03 18:05:51 -07:00
Vadim Tryshev 7e4efe3f66 Merge "Exiting tests after a test fails to deinitialize" into ub-launcher3-master 2019-04-04 00:33:38 +00:00
vadimt 19f996d7d7 Exiting tests after a test fails to deinitialize
This avoid confusion when following tests get affected by failures in
earlier tests.

Change-Id: I44abcb38d5de222e48b0c33f062044280305750e
2019-04-03 17:16:27 -07:00
Sunny Goyal 9e84e0c1c1 Removing SWIPE_HOME flag and using sysUI mode instead
Bug: 129873705
Change-Id: Ieaa7d7928427daed98538c616bdf58b28d295829
2019-04-03 17:02:36 -07:00
Bill Rassieur 36dcc7f53e Merge master@5406228 into git_qt-dev-plus-aosp.
am: 1d4d86d942

Change-Id: Ic14dc666c6ed9d918f4ee47396c89ae802ab8153
2019-04-03 16:57:07 -07:00
Hyunyoung Song 7572a12c84 Merging ub-launcher3-master, build 5434161
Test: Manual

Bug:127840207 [logging] quickswitch usage
Bug:127848641 [logging] (left|right) back gesture / home gesture usage
Bug:128711026 [Gesture Nav] widgets and icons are clipped
Bug:129337684 Swipe up from home falses to Overview
Bug:129711952 Overview stays in view hierarchy while in all apps
Bug:129723135 Broken tests: swipe from killed launcher doesn't open overview
Bug:129867977 [gestural nav] Add assistant gesture logging

Change-Id: I5a47424b0eb6cadbb8e3ced037fe5913302e6afa
2019-04-03 23:26:22 +00:00