Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot cbff8e9a8f Merge "Fixing actions view getting visible sometimes" into ub-launcher3-rvc-dev am: f01f25b579
Change-Id: I5867555fb6a17d7f52cccbcef730a321e9dc86f3
2020-04-20 18:11:53 +00:00
TreeHugger Robot f01f25b579 Merge "Fixing actions view getting visible sometimes" into ub-launcher3-rvc-dev 2020-04-20 17:52:03 +00:00
Sunny Goyal 01d8541f14 Fixing actions view getting visible sometimes
> Linking actions view to state flags
> Creating multiple visibility channels that can be controlled separately

Bug: 153906903
Change-Id: I33d20f5fdc8bcdf0520dae3aac986548eb7e0058
2020-04-20 09:59:13 -07:00
jayaprakashs d53007a9d1 Add getScore() method to FolderNameInfo class. am: 12cf1e5440
Change-Id: Ie8bb736752776c33951432f5059818d5f18f054a
2020-04-20 03:29:45 +00:00
jayaprakashs 12cf1e5440 Add getScore() method to FolderNameInfo class.
getScore() is not used in launcher3 but exposed for testing purpose.

Change-Id: I22e674dabc3c24879c1c1b5881f9fc6005404998
2020-04-19 18:30:26 -07:00
android-build-team Robot ce3a723627 Snap for 6408566 from bf37bf9133 to mainline-release
Change-Id: I3e3b8984b0e944f7a3e0474b5d0c17af700b637b
2020-04-19 07:09:41 +00:00
TreeHugger Robot bc1e56a972 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev am: 12d5e0ad92 -s ours
am skip reason: subject contains skip directive

Change-Id: Icbf0a51607c6ed44a4d3a6ded8f445ec509b41cf
2020-04-18 18:02:51 +00:00
TreeHugger Robot 12d5e0ad92 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2020-04-18 17:49:43 +00:00
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 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
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