Commit Graph
47938 Commits
Author SHA1 Message Date
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 959d54d82d Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4 am: 0d2d1e453f am: bf37bf9133 am: c8a287b717
Change-Id: I3831f57a9271793e39583148413cb9c6f383388c
2020-04-17 07:26:35 +00:00
Vinit Nayak 1197b6949d Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: b67ebcae6e am: f092e5ffde am: 9693936b9d
Change-Id: I01900f8c1ce9ab1e90c5c2589a98419cd9686c3a
2020-04-17 07:26:12 +00:00
Vinit Nayak c8a287b717 Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4 am: 0d2d1e453f am: bf37bf9133
Change-Id: I00dc048041816b6ab58495b2f33f7b850a9c8492
2020-04-17 07:25:50 +00:00
Vinit Nayak 57451976d8 Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4 am: 20161f464d am: d160e5518a
Change-Id: I28578659ad58cd1237379d205628b71c5da836d3
2020-04-17 07:25:45 +00:00
Vinit Nayak 9693936b9d Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: b67ebcae6e am: f092e5ffde
Change-Id: I3f376b4198deaf9b289ae7407d8f6b0bd2f71a51
2020-04-17 07:13:43 +00: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
Vinit Nayak d160e5518a Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4 am: 20161f464d
Change-Id: Ie43450ec93e95bfdf97b10e2bf4070b97051ba7f
2020-04-17 07:13:17 +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 f092e5ffde Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: b67ebcae6e
Change-Id: Ifb2cd58913e4edb126c05ba07d12d4d43ed57c3b
2020-04-17 06:53:39 +00:00
Vinit Nayak 20161f464d Merge "Disabling flaky test until fix is found" into rvc-dev am: b20995ba8e am: 9b89554da4
Change-Id: If8a04ba38ae3dc8f6b3cdc9ba88f5e145daa7a69
2020-04-17 06:53:30 +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
android-build-team Robot e440de3d7f Snap for 6402594 from 7738f96afe to sc-release
Change-Id: I4f77bb1f4843a6e38d6ff7341e5bd697e1f1505c
2020-04-17 02:02:00 +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
Hyunyoung Song 7738f96afe Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40 am: a629f7adb5 am: ea883c2f5e am: 385b379756
Change-Id: I9bc275d066109c0505b15c72fd96179a4e4d1dda
2020-04-16 22:04:26 +00:00
Automerger Merge Worker 52dab466be Merge "Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 49661f2a96" into rvc-d1-dev-plus-aosp am: 40329ec69b am: eed4e89481
Change-Id: I04edd567279bdf666e2f3b0399fc981fd51e750e
2020-04-16 22:04:16 +00:00
Hyunyoung Song 88121f0d1f Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40 am: f100a96813 am: 326667e069
Change-Id: I6404160b5243848ab73a93ecc3e84d549f0385a1
2020-04-16 22:04:04 +00:00
Hyunyoung Song 385b379756 Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40 am: a629f7adb5 am: ea883c2f5e
Change-Id: I3de08be8745d63b0efcbc08775647cfcd318470e
2020-04-16 22:03:51 +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