Commit Graph

34630 Commits

Author SHA1 Message Date
Sunny Goyal 17ccea1ec9 Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev
am: 4ab6254bdc

Change-Id: I6a4e56565114a30b9b98c640b54fb55c6ea10e15
2019-06-05 14:49:45 -07:00
TreeHugger Robot 4ab6254bdc Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev 2019-06-05 21:40:38 +00:00
Sunny Goyal b88d4a64fd Allowing tracing to be enabled using command line on all
build flavors

Change-Id: I5f8ee996bdcede2393eeb4aaa1b45fec7619d405
2019-06-05 14:09:51 -07:00
Zak Cohen 45f0678125 Remove unused hints code. am: 8d19146b7b
am: 55dfef4aa2

Change-Id: If41ccd6a666ee097c9a1b40edea933aa7a502920
2019-06-05 12:45:04 -07:00
Zak Cohen 55dfef4aa2 Remove unused hints code.
am: 8d19146b7b

Change-Id: Ib2d24730a4e11cb376851056324380d6f173b43d
2019-06-05 12:39:04 -07:00
Sunny Goyal bda6b45341 Fixing wrong origin when launching new task from overview
> Also removing some unnecessary layout passes during launch animation

Bug: 133226418
Change-Id: I36fe69827853366deb7c56ca25f39e20c1a0b825
2019-06-05 12:25:28 -07:00
Winson Chung 53da83749b Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev am: ff9fe09b3f
am: 4934b6f89f

Change-Id: I76721194f421843c6b9d2f124b59e1d56c37c1f0
2019-06-05 11:38:54 -07:00
Winson Chung 4934b6f89f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev
am: ff9fe09b3f

Change-Id: Ife915a7d822a865da477979bb3ca290949843c69
2019-06-05 11:32:52 -07:00
Sunny Goyal 2fb6ae9d0c resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
am: 87c8a511cd

Change-Id: Ie63fe8078b1b9d29d76e1e6e9626fe0be914c100
2019-06-05 11:32:51 -07:00
Zak Cohen 8d19146b7b Remove unused hints code.
This layout is handled by the provider of the hints now.

Bug: 132886768
Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
(cherry picked from commit f3231f417d)
2019-06-05 11:18:09 -07:00
Jon Miranda 88dd84254c Reduce alpha delay 25ms to reduce flashy feeling of appearing large.
Bug: 123900446
Change-Id: Ia8ff74eb6b65affbf5c6c1599f4d168b459f324e
2019-06-05 11:07:17 -07:00
Sunny Goyal 87c8a511cd resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4e177dfb7ba3bde6eb53f63c2f2df273feef90ee
2019-06-05 10:44:02 -07:00
Winson Chung 7922012811 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566 am: 83070095a5
am: 6a6238e30a

Change-Id: I028cc49f3a866c124c63ad8a8158256cc0c91839
2019-06-05 09:20:44 -07:00
Winson Chung 951efc1649 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566 am: a97ce0ce9c
am: d426b0c8c7

Change-Id: I4cbf6c66a461830182e01766782dcdf7feb27f3b
2019-06-05 09:19:15 -07:00
Winson Chung 6a6238e30a Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566
am: 83070095a5

Change-Id: I48e388a9e44115000556d107b04a35810cbae7a5
2019-06-05 09:17:53 -07:00
Winson Chung d426b0c8c7 Merging ub-launcher3-qt-dev, build 5633311 am: a3ed49d566
am: a97ce0ce9c

Change-Id: I29556c4112c3c324b3996f5e36786cdbf78fd203
2019-06-05 09:14:55 -07:00
Winson Chung 83070095a5 Merging ub-launcher3-qt-dev, build 5633311
am: a3ed49d566

Change-Id: I502b6cfa5e9eb405cda4d51173bab3b3e3d7220c
2019-06-05 09:10:02 -07:00
Winson Chung a97ce0ce9c Merging ub-launcher3-qt-dev, build 5633311
am: a3ed49d566

Change-Id: I643bded8983912cc3a468b7cc5328c991be74faa
2019-06-05 09:09:58 -07:00
Tony ae087dc9b8 Fade out scrim when swiping to home
Bug: 134517106
Change-Id: Ica725e3a327c1c069e3859732ea6a878d361a3d8
2019-06-04 19:25:03 -07:00
vadimt cbbc48b894 Merge "Fixing All Apps's getting stuck in a non-updating state" into ub-launcher3-qt-dev am: 8789aa05a1
am: 8474ab2b9d

Change-Id: If1274e88a7cac6c097c8c34bef5e73b2676dcac7
2019-06-04 17:54:10 -07:00
Perumaal Shanmugam 05bfac35af Merge "Re-enable chips in qt-r1-dev" into ub-launcher3-qt-r1-dev
am: 067bce7d8a

Change-Id: I40b4ff9ab22af909d0a1cc32cca2f9dbc7528700
2019-06-04 17:53:25 -07:00
vadimt 8474ab2b9d Merge "Fixing All Apps's getting stuck in a non-updating state" into ub-launcher3-qt-dev
am: 8789aa05a1

Change-Id: I583ea8c9e6920aa072fa29087c51ce817e6b9d63
2019-06-04 17:51:24 -07:00
Winson Chung ff9fe09b3f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev 2019-06-04 21:42:44 +00:00
TreeHugger Robot f17eb616a8 Merge "Some RecentsView layout fixes" into ub-launcher3-qt-dev 2019-06-04 21:34:19 +00:00
Sunny Goyal 1b52c7e5de Some RecentsView layout fixes
> Only creating task overlay for one view at a time
> Fixing setOverviewStateEnabled called twice when going
  between OVERVIEW and BACKGROUND state

Bug: 132815672
Bug: 122345781
Change-Id: I51ac5b0744af87194eca08e07fd2c75b8fa0d3e0
2019-06-04 14:17:30 -07:00
Winson Chung a3ed49d566 Merging ub-launcher3-qt-dev, build 5633311
Test: Manual

Bug:119330044 P1 [STOPSHIP] Add back shape detection in Launcher icons
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:132298752 P1 Adding widget locks home screen page
Bug:132757019 P1 Swipe up twice quickly from app in 2 button mode; can't access all apps
Bug:133518678 P1 In 2 button mode, flinging up strongly favours quickswitch
Bug:133806285 P1 All apps causes overview to peek in
Bug:133844237 P1 Respect limited width Exclusion Rects in bottom area?
Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end
Bug:134062513 P1 Quickswitch sends lifecycle events to -1
Bug:134094839 P1 Launcher kept crashing on OTA update
Bug:134096917 P1 Launcher animation component gets stuck during swipe up
Bug:134164918 P1 STOPSHIP: Disable chips hard-coded value in qt_dev Launcher
Bug:134172603 P1 Tracing for lab-only flakes
Bug:134442147 P1 Sometimes All Apps won't update on app install/uninstall/update
Change-Id: Ia530fbf9bb5fa67b602ce44aef0cc4a1d1494e13
2019-06-04 12:20:05 -07:00
Winson Chung ed6a3eada7 Use device locked input consumer when an activity is showing when locked
Bug: 133871965
Change-Id: I51a32a99990813e510c757e5e295a09f041c0514
2019-06-04 10:40:31 -07:00
Perumaal Shanmugam 067bce7d8a Merge "Re-enable chips in qt-r1-dev" into ub-launcher3-qt-r1-dev 2019-06-04 17:29:10 +00:00
TreeHugger Robot 8789aa05a1 Merge "Fixing All Apps's getting stuck in a non-updating state" into ub-launcher3-qt-dev 2019-06-04 16:37:58 +00:00
vadimt 3ca5280186 Fixing All Apps's getting stuck in a non-updating state
Normally, if all apps is open, and an app installs/uninstalls/updates,
All Apps will immediately reflect this.

However, depending on something subtle in the intensity of the swipe
gesture that brought All Apps, all apps will freeze, and won't update.

This frozen state will go away after scrolling in all apps, iteration
with an icon and, generally, any tap interaction with All Apps.
Otherwise, it will stay until it's closed and opened again via a gesture
with a different pattern.

The reason is in the code that freezes All Apps updates during user
interactions with all apps.

For example, during scrolls. Or while the user holds an icon, expecting
to see a context menu; in this case an update would cause the menu to
not appear, which is somewhat annoying.

The motivation to add this code was to solve a category of lab-only
flakes when a context menu couldn't open because the lab device was busy
with post-flash activities.

The code incorrectly assumed that after ACTION_DOWN, we are guaranteed
to get either UP or CANCEL, which is wrong.

It's after *consumed* ACTION_DOWN that we'll get these events.

The fix still solves the user's and tests' problems that the code was
supposed to solve.

Bug: 134442147
Change-Id: I9db74a33ecf93b1dc6bc69df301f7f542dea2a40
2019-06-03 18:35:52 -07:00
Sunny Goyal 7486f1c93f Merge "Removing user locked change in LauncherAppState" into ub-launcher3-qt-dev am: ce0c093133
am: 7241d7cfe5

Change-Id: I673d348e511fca5c1798d2c2a26800f6eb5f2a19
2019-06-03 17:06:41 -07:00
Sunny Goyal 7241d7cfe5 Merge "Removing user locked change in LauncherAppState" into ub-launcher3-qt-dev
am: ce0c093133

Change-Id: Ib85ff9f162f4511726d270e9d1ab94734c04e054
2019-06-03 16:55:12 -07:00
TreeHugger Robot ce0c093133 Merge "Removing user locked change in LauncherAppState" into ub-launcher3-qt-dev 2019-06-03 23:44:58 +00:00
Sunny Goyal d17a951df8 Removing user locked change in LauncherAppState
The process will crash anyway when loading sharedPreference. So
we do not need any extra check to cause the same crash.

Bug: 134094839
Change-Id: Icfd4406ff601d6b9a75bd95ddcecb9869f7e7fa2
2019-06-03 23:19:02 +00:00
Zak Cohen 70ec2a4213 Merge "Remove unused hints code." into ub-launcher3-qt-r1-dev
am: 0f405d78d7

Change-Id: I88b0186a60948e6bed8c4db4a9b186a1e71bdf2f
2019-06-03 16:17:00 -07:00
TreeHugger Robot 0f405d78d7 Merge "Remove unused hints code." into ub-launcher3-qt-r1-dev 2019-06-03 23:02:01 +00:00
Sunny Goyal 9d8b1376e8 Adding some state for fallback recents View
Maintaining a boolean corresponding to overview or QuickSwitch which
updates the visuals for RecentsView accordingly

Bug: 134166337
Change-Id: If1aec99257de4db1796335f2cf39d2d35789915b
2019-06-03 16:00:06 -07:00
Hyunyoung Song becaf37421 Merge "Add shape detection logic only for circle icons" into ub-launcher3-qt-dev am: ed45267bf9
am: 355a04ed39

Change-Id: I6989dcacffcc58e4d50a8fd8f210c0ea51e921af
2019-06-03 15:53:48 -07:00
Hyunyoung Song 355a04ed39 Merge "Add shape detection logic only for circle icons" into ub-launcher3-qt-dev
am: ed45267bf9

Change-Id: I73fb9cfb2ed66bf88baa62f53714c028ea47b648
2019-06-03 15:46:47 -07:00
Hyunyoung Song ed45267bf9 Merge "Add shape detection logic only for circle icons" into ub-launcher3-qt-dev 2019-06-03 22:34:02 +00:00
Zak Cohen f3231f417d Remove unused hints code.
This layout is handled by the provider of the hints now.

Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
2019-06-03 14:58:18 -07:00
Hyunyoung Song f69426c484 Add shape detection logic only for circle icons
b/119330044

Change-Id: I93042effa8417167d844f073275e8b941e861e60
2019-06-03 14:05:20 -07:00
Adam Cohen 79c905d18a Fix issue where Workspace scrolling doesn't work am: acdde3d750
am: 80ed6012dd

Change-Id: I8816a17d486ba69ed372310a6e1fac0ecddddaf4
2019-06-03 12:39:34 -07:00
Adam Cohen 80ed6012dd Fix issue where Workspace scrolling doesn't work
am: acdde3d750

Change-Id: If949e3368d383b8a7ba1c6c7608af46011f36f73
2019-06-03 12:34:31 -07:00
Perumaal S 2461d61e14 Re-enable chips in qt-r1-dev
Fixes: 134164918
Change-Id: Ib5441a40ad8043afbe32d6c4c40808676cdcdb20
2019-06-03 10:21:47 -07:00
android-build-team Robot cf28741fa5 Snap for 5626839 from 077965d075 to qt-qpr1-release
Change-Id: Ibf7ecd4db17248e811da0f440bfbc8a82f6f17a4
2019-06-01 23:20:44 +00:00
Adam Cohen acdde3d750 Fix issue where Workspace scrolling doesn't work
=> The WorkspaceTouchListener was relying on receiving TOUCH_DOWN in order to
   clear its state. This is not guaranteed; ie. when touches begin above
   children of the workspace (icons or widgets)

=> Any invocation of the Workspace long press menu would trigger this issue
   and it would persist until a touch went directly onto the Workspace in a
   location without any children.

Bug 132298752

Change-Id: Id8617baaa1ce59dc84758a7c82049329323b04cc
2019-06-01 17:16:59 -06:00
android-build-team Robot ee747317dd Snap for 5626731 from 0ef6fe00b0 to qt-release
Change-Id: Ib6392982767c5546f7f70bd80406ac8cbc3de67f
2019-06-01 23:07:00 +00:00
android-build-team Robot b8ea3af73c Snap for 5626642 from 077965d075 to qt-c2f2-release
Change-Id: I114e8e05005b3a0eaaf1e7c85509c7e6e6ca6372
2019-06-01 23:02:49 +00:00
android-build-team Robot ccf02c1607 Snap for 5624916 from f70c0a09e9 to rvc-release
Change-Id: I89348c96435ced01bb855ee09ff69eede1b4c173
2019-06-01 03:17:21 +00:00