Commit Graph

28165 Commits

Author SHA1 Message Date
Bill Yi d6a3d42a42 [automerger skipped] Import translations. DO NOT MERGE am: 9b06717b11 -s ours am: 3eac3e9daa -s ours
am skip reason: subject contains skip directive

Change-Id: I81142de25eeb0c6d8059f07ba478116d2f213c49
2020-04-18 07:38:17 +00:00
Bill Yi 3eac3e9daa [automerger skipped] Import translations. DO NOT MERGE am: 9b06717b11 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie18db4fee97b2913399da94ef43014753773a750
2020-04-18 07:16:25 +00:00
Bill Yi fc531359eb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I967868ab6790858f32cdb27434e805a7273bacb6
2020-04-17 23:52:53 -07:00
Bill Yi 9b06717b11 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4950659d6efd0d46bfc52d845f1fe29808f34d52
2020-04-17 23:49:46 -07:00
Vinit Nayak f489540430 Merge "Re-enable home screen rotation" into ub-launcher3-rvc-dev am: 8699bf5626
Change-Id: I5ca06b548dc137b14371deb8c8596938bf16596b
2020-04-18 05:48:19 +00:00
Vinit Nayak 8699bf5626 Merge "Re-enable home screen rotation" into ub-launcher3-rvc-dev 2020-04-18 05:22:26 +00:00
TreeHugger Robot d4313e1a7d Merge "Remove tracing for widgets scroll bug" into ub-launcher3-rvc-dev am: 3e54ddc010
Change-Id: I634bc88016c3170b8da8a07661789e7f2b64310f
2020-04-18 03:29:23 +00:00
TreeHugger Robot 3e54ddc010 Merge "Remove tracing for widgets scroll bug" into ub-launcher3-rvc-dev 2020-04-18 03:14:44 +00:00
vadimt 822efc9e82 Remove tracing for widgets scroll bug
Bug: 152354290
Change-Id: Iff56460f3f673f7089d647d08bb621c3965c7444
2020-04-17 19:04:41 -07:00
android-build-team Robot 37152b8a0f Snap for 6406367 from b20995ba8e to rvc-release
Change-Id: Ib7159b0d35f5e2c55d6fcfafabe49b02b414c78e
2020-04-18 01:06:21 +00:00
Adam Cohen d827abe83c Merge "Decouple the scaling / translation of widget views necessary in split-screen" into ub-launcher3-rvc-dev am: b212e28c62
Change-Id: Ic68b1ed0d8053968622af9eb3084b06a455a035b
2020-04-18 00:00:16 +00:00
Adam Cohen b212e28c62 Merge "Decouple the scaling / translation of widget views necessary in split-screen" into ub-launcher3-rvc-dev 2020-04-17 23:35:19 +00:00
Winson Chung 20aeddd853 Dedupe non-perceptable depth updates
Bug: 154304487
Change-Id: I6d96aca555932f4a51aed576d25f7150952bb562
2020-04-17 16:16:44 -07:00
Winson Chung e9edbabbe2 Dump nav mode with TIS
- Also skip logging touches when not handling gestures

Change-Id: Ie25f28fe62594f22ebe73f276ccef628b7f8e734
2020-04-17 16:16:14 -07:00
Jon Miranda ae3efb2232 Fix NPE when closing folder. am: a28e0f474a
Change-Id: I9361391fab78e10e727635c7b27aca97b5698038
2020-04-17 23:15:20 +00:00
Adam Cohen d916206271 Decouple the scaling / translation of widget views necessary in split-screen
=> We pull apart the scale and translation that are set in a fairly
   static way due to split-screen vs. the general translation and scale
   properties that might be used more dynamically, in this case
   for re-order animations
=> This allows removal of some code that breaks reorder animations
   due to the accrual of translations / scales in certain edge cases.
=> TODO in future CL: address other translation cases and make the throw
   case for calling base setTranslationX/Y for Workspace Items unconditional

issue 149438360

test: manual
Change-Id: Ic3fde172f669e215cd25db0fcd4e1c3c873d314f
2020-04-17 15:36:44 -07:00
Hyunyoung Song 14a3ace27e add FeatureFlag type to the dump / also sort them
Bug: 152660449

$ adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
SERVICE com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService d4107aa pid=27740
  Client:
    DeviceFlags:
      APP_SEARCH_IMPROVEMENTS, defaultValue=true, mCurrentValue=true, mDefaultValueInCode=true
      ENABLE_HYBRID_HOTSEAT, defaultValue=false, mCurrentValue=false, mDefaultValueInCode=false
      ENABLE_SUGGESTED_ACTIONS_OVERVIEW, defaultValue=false, mCurrentValue=false, mDefaultValueInCode=false
      FOLDER_NAME_SUGGEST, defaultValue=true, mCurrentValue=true, mDefaultValueInCode=true
      HOTSEAT_MIGRATE_TO_FOLDER, defaultValue=false, mCurrentValue=false, mDefaultValueInCode=false
    DebugFlags:
      ADAPTIVE_ICON_WINDOW_ANIM, defaultValue=true, mCurrentValue=true
      ALWAYS_USE_HARDWARE_OPTIMIZATION_FOR_FOLDER_ANIMATIONS, defaultValue=false, mCurrentValue=false
      APPLY_CONFIG_AT_RUNTIME, defaultValue=true, mCurrentValue=true
      ASSISTANT_GIVES_LAUNCHER_FOCUS, defaultValue=false, mCurrentValue=false
      ENABLE_DATABASE_RESTORE, defaultValue=true, mCurrentValue=true
      ENABLE_DEEP_SHORTCUT_ICON_CACHE, defaultValue=true, mCurrentValue=true
      ENABLE_FIXED_ROTATION_TRANSFORM, defaultValue=true, mCurrentValue=true
      ENABLE_LAUNCHER_PREVIEW_IN_GRID_PICKER, defaultValue=true, mCurrentValue=true
      ENABLE_LSQ_VELOCITY_PROVIDER, defaultValue=true, mCurrentValue=true
      ENABLE_OVERVIEW_ACTIONS, defaultValue=true, mCurrentValue=false
      ENABLE_PREDICTION_DISMISS, defaultValue=false, mCurrentValue=false
      ENABLE_QUICK_CAPTURE_GESTURE, defaultValue=true, mCurrentValue=true
      ENABLE_QUICKSTEP_LIVE_TILE, defaultValue=false, mCurrentValue=false
      ENABLE_SELECT_MODE, defaultValue=true, mCurrentValue=true
      ENABLE_UNIVERSAL_SMARTSPACE, defaultValue=false, mCurrentValue=false
      FORCE_LOCAL_OVERSCROLL_PLUGIN, defaultValue=false, mCurrentValue=false
      KEYGUARD_ANIMATION, defaultValue=false, mCurrentValue=false
      MULTI_DB_GRID_MIRATION_ALGO, defaultValue=false, mCurrentValue=false
      PROMISE_APPS_IN_ALL_APPS, defaultValue=false, mCurrentValue=false
      PROMISE_APPS_NEW_INSTALLS, defaultValue=true, mCurrentValue=true
      QUICKSTEP_SPRINGS, defaultValue=true, mCurrentValue=true
      UNSTABLE_SPRINGS, defaultValue=false, mCurrentValue=false
      USE_SURFACE_VIEW_FOR_GRID_PREVIEW, defaultValue=true, mCurrentValue=true
    PluginManager:
      numEnabledPlugins=1
      numDisabledPlugins=0
      enabledPlugins=[ComponentInfo{com.android.launcher.plugins.AllAppsSearchPlugin/com.android.launcher.plugins.AllAppsSearch}]
      disabledPlugins=[]



Change-Id: Ifefc02683834e52e3b78f93861a90f97a72c01d8
2020-04-17 15:08:52 -07:00
Jon Miranda a28e0f474a Fix NPE when closing folder.
There is a race condition where Folder is closing, it unbinds, and then
another call to AbstractFloatingView.closeAllOpenViews tries to close the
Folder again. But since the contents are unbound and removed from the folder,
it produces a NPE.

Bug: 153625271
Change-Id: Ia6c55f15cf7517e26af8f499bc0c1a4828737480
2020-04-17 15:03:33 -07:00
Vinit Nayak 326d93bd56 Re-enable home screen rotation
Launcher home screen rotation now works with fixed
transform. When using Quickstep while holding
the phone from an orientation different than
the orientation of the touch, the overview
shown will be that of the phone orientation,
not the touch orientation.
Easier to see this be quickswitching from
portrait to landscape app, turning phone, then
going to overview from the original region you
swiped.

Fixes: 150214193
Test: Created test apps and fixed them
to various rotations to test.

Change-Id: Ic6565cd0ed33c951f45ccb97278045c6070e438e
2020-04-17 14:38:12 -07:00
Tony Wickham c6b6432f92 Merge "Remove mPendingCallback from ActivityTracker" into ub-launcher3-rvc-dev am: c09e8fbe9d
Change-Id: Ib2cdfc1fa20b7e71fcacbd6afb655ba76717b52c
2020-04-17 19:55:49 +00:00
Tony Wickham c09e8fbe9d Merge "Remove mPendingCallback from ActivityTracker" into ub-launcher3-rvc-dev 2020-04-17 19:35:49 +00:00
TreeHugger Robot 307d37c0d9 Merge "When dragging down on task, base end displacement on thumbnail" into ub-launcher3-rvc-dev am: e0f58a0f79
Change-Id: I1b79ae998ec8be9005a3af97820d354f434f90a7
2020-04-17 16:49:08 +00:00
TreeHugger Robot e0f58a0f79 Merge "When dragging down on task, base end displacement on thumbnail" into ub-launcher3-rvc-dev 2020-04-17 16:30:32 +00:00
Tony Wickham 0bbdf3a9fd When dragging down on task, base end displacement on thumbnail
TaskView height has a lot of other factors such as icon margin
and actions. Since the thumbnail is what we are dragging to fill
the screen, use its height to determine the progress factor.

Test: swipe down on a task in portrait, landscape, and seascape,
and verify that it follows your finger to the bottom of the
screen. Swiping up also follows your finger for dimiss.

Bug: 151770407
Change-Id: I114a261a06b11f550822178945266cc4a6fd54fe
2020-04-17 10:27:40 -05:00
Vinit Nayak bf37bf9133 Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4 am: 0d2d1e453f
Change-Id: I4cb519e0e9f998844e8d5227c4535810f4e55d6c
2020-04-17 07:13:28 +00:00
android-build-team Robot 5f8d98bdd8 Snap for 6403403 from ea883c2f5e to mainline-release
Change-Id: I90afaadd1c8cca05436a7847397c969eb90e9454
2020-04-17 07:09:48 +00:00
Vinit Nayak 0d2d1e453f Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4
Change-Id: I1d65127136a6499943db47356f54ed00ddd2969c
2020-04-17 06:53:40 +00:00
Vinit Nayak b67ebcae6e Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e
Change-Id: Ifa66e2fb2a08b7fefa3c2fa944ba6fa4c953ed82
2020-04-17 06:36:17 +00:00
Vinit Nayak 9b89554da4 Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e
Change-Id: Ied174eb2f5aca5f694daf6c1c13b273f0ead6b9a
2020-04-17 06:36:04 +00:00
Vinit Nayak b20995ba8e Merge "Disabling flaky test until fix is found" into rvc-dev 2020-04-17 06:24:44 +00:00
Vinit Nayak fdaa12d028 Disabling flaky test until fix is found
TaplTestsQuickstep.testAllAppsFromHome

Bug: 150958400
Change-Id: I333a5f21652a5a8fc7bb90387b6bd0c81ac56330
2020-04-16 18:24:49 -07:00
android-build-team Robot 62032bb2db Snap for 6402531 from ce6f43f0df to rvc-release
Change-Id: I9f3b51e79e63eedda39627ee303bbbd7fea49d9c
2020-04-17 01:09:17 +00:00
TreeHugger Robot 88ab1fd87d Merge "Use 87% black instead of 54% for widget text" into ub-launcher3-rvc-dev am: c9fa578444
Change-Id: If5861b21b1ddde7723bdbfda064bd15c6721ee08
2020-04-17 01:08:34 +00:00
Sunny Goyal fd04f702d9 Fixing crash when emptyView gets added twice
Bug: 152129003
Change-Id: Id86279ace164453d0126773af89e3c9309d40202
2020-04-16 18:06:50 -07:00
TreeHugger Robot c9fa578444 Merge "Use 87% black instead of 54% for widget text" into ub-launcher3-rvc-dev 2020-04-17 00:31:01 +00:00
TreeHugger Robot 83b56aa34b Merge "Simplifies Tutorial fragment layout." into ub-launcher3-rvc-dev am: 71c63c6fda
Change-Id: I0c38ee9db747451b06cf5eedfcf762d917c8a3bb
2020-04-16 23:57:07 +00:00
TreeHugger Robot 71c63c6fda Merge "Simplifies Tutorial fragment layout." into ub-launcher3-rvc-dev 2020-04-16 23:46:25 +00:00
Tony Wickham ab86ab2869 Use 87% black instead of 54% for widget text
This gives sufficient contrast with slightly grey background

Bug: 147275180
Change-Id: I28b25b74c0101665ada14efdd5355c31b0f1b480
2020-04-16 18:32:07 -05:00
TreeHugger Robot a96a0c0978 Merge "Prevent two overlapping long press actions." into ub-launcher3-rvc-dev am: 2a14c83515
Change-Id: Ic94efa35896914bb9f546458ae276d7214df1f24
2020-04-16 22:38:56 +00:00
TreeHugger Robot 2a14c83515 Merge "Prevent two overlapping long press actions." into ub-launcher3-rvc-dev 2020-04-16 22:25:34 +00:00
TreeHugger Robot b16c4ba797 Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev am: 11e36db88a
Change-Id: I52eb69f1bc54d9896e0470e54e0de541e5731475
2020-04-16 22:11:21 +00:00
TreeHugger Robot 11e36db88a Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev 2020-04-16 22:04:45 +00:00
TreeHugger Robot 6190a15e61 Merge "Choosing better points to output "start" events for TAPL" into ub-launcher3-rvc-dev am: 64abef8ca1
Change-Id: Ic2cad33d921c71a61d4c00b2a10941760f88864b
2020-04-16 22:03:47 +00:00
TreeHugger Robot 11ac5dc1cf Merge "Removes more Back references for generic tutorial styles." into ub-launcher3-rvc-dev am: 08c6c94398
Change-Id: Ib20d3338544084f92efe766339adc8538c31237c
2020-04-16 22:03:41 +00:00
TreeHugger Robot 920b04bdd2 Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev am: 74974e802e
Change-Id: I36f309cf90de5d537698d4219be48bc348dca3ee
2020-04-16 22:03:30 +00:00
TreeHugger Robot 64abef8ca1 Merge "Choosing better points to output "start" events for TAPL" into ub-launcher3-rvc-dev 2020-04-16 21:58:47 +00:00
TreeHugger Robot 08c6c94398 Merge "Removes more Back references for generic tutorial styles." into ub-launcher3-rvc-dev 2020-04-16 21:54:18 +00:00
Hyunyoung Song ea883c2f5e Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40 am: a629f7adb5
Change-Id: I0cdc0d6a6e063611c9f745f26a74e01c7cecb218
2020-04-16 21:48:02 +00:00
TreeHugger Robot 74974e802e Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev 2020-04-16 21:47:38 +00:00
Hyunyoung Song a629f7adb5 Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40
Change-Id: I343468871612f89bd82a55c7e830264a274a503d
2020-04-16 21:32:59 +00:00