Commit Graph
49925 Commits
Author SHA1 Message Date
Hyunyoung Song 0b51b916b0 Merging from ub-launcher3-rvc-dev @ build 6617269
Bug: 150504032
Test: manual, presubmit on the source branch
https: //android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_master_6617269.html
Change-Id: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-22 18:53:39 -07:00
TreeHugger Robot 5f057a99d6 Merge "Store newGestureState before onConsumerAboutToBeSwitched clears it" into ub-launcher3-rvc-dev am: 7551b6191f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11963700

Change-Id: If316db050aa0794fb43b892b424598c1ff4e7bbc
2020-06-23 01:50:05 +00:00
TreeHugger Robot 7551b6191f Merge "Store newGestureState before onConsumerAboutToBeSwitched clears it" into ub-launcher3-rvc-dev 2020-06-23 01:33:55 +00:00
thiruram dbd61d4026 Log query_length & parent_container for actions on search results.
Bug: 154717227
Change-Id: I8e7d725014f60a2fd9a7fe13fce705acbc7623ad
2020-06-22 18:14:12 -07:00
android-build-team Robot e31e336fc4 Snap for 6617762 from e941d72380 to rvc-release
Change-Id: I5f67435f6fbe2a6eafdf50c4172e6104040a5fbb
2020-06-23 01:12:24 +00:00
Tony Wickham efb7e60edc Store newGestureState before onConsumerAboutToBeSwitched clears it
Bug: 159659393
Change-Id: If98d54b7ca397ef56a5c6d50c0fd92f25a9494b4
2020-06-22 17:37:07 -07:00
Rajeev Kumar 28feeb6cde Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e am: 2f269fa9a9 am: 51c0d78225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: Ie45b174522849737915a58bdccde8dd6c6133b9d
2020-06-22 23:38:14 +00:00
Rajeev Kumar 4dac8ff2f0 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: adcd80a944 am: a2ff194216 am: df1c8f4206
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I3f7e0175af1db99fe61bd79e3cf41f2b12fd6a25
2020-06-22 23:37:49 +00:00
Rajeev Kumar 5f67e6835f Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e am: aa84899a34 am: 154c2b9a8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I01918210e88397be9d26ddd4971859e12b562b6e
2020-06-22 23:37:28 +00:00
Rajeev Kumar 51c0d78225 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e am: 2f269fa9a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: Ic1afed3a04eaf63df1385d2ee797a1bb4dba8a88
2020-06-22 23:23:11 +00:00
Rajeev Kumar df1c8f4206 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: adcd80a944 am: a2ff194216
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I3b57d3e9ad947bf7c08aa480d738a61ac5464abe
2020-06-22 23:23:06 +00:00
Rajeev Kumar 154c2b9a8a Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e am: aa84899a34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I6ada5d4bdfd80b7678a9389d81354410302df8d1
2020-06-22 23:23:01 +00:00
Rajeev Kumar a2ff194216 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: adcd80a944
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: Ia4b386a81bcb8c7e5bf585701ecf525c5715607b
2020-06-22 23:10:55 +00:00
Rajeev Kumar aa84899a34 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I9614da9bfba6be05ca35770a3b7f3c342a5bc7a2
2020-06-22 23:10:38 +00:00
Rajeev Kumar 2f269fa9a9 Get rid of unused notification_badging_enabled configuration. am: e941d72380 am: 4a24d3635e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: Id5aabe030df612275a7462da5df71233fc04ffbc
2020-06-22 23:10:37 +00:00
Rajeev Kumar ef4a2a1845 Get rid of unused notification_badging_enabled configuration. am: e941d72380
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: Iade4e784dc349ec2a03317dafadcad6efe5e9582
2020-06-22 22:53:17 +00:00
Rajeev Kumar adcd80a944 Get rid of unused notification_badging_enabled configuration. am: e941d72380
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I46372db345342d84017296a41829ac542e92e43b
2020-06-22 22:52:50 +00:00
Rajeev Kumar 4a24d3635e Get rid of unused notification_badging_enabled configuration. am: e941d72380
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I47aa235aae179f63519ede9f741f0560913ca378
2020-06-22 22:52:47 +00:00
vadimt 839fb7b3ae Eliminating messages that launcher activity is frozen
They were ultimately caused by killing Launcher process from tests.

Now having a test info handler request to clear db.

Bug: 152629799
Change-Id: Ia81ddc3e338718c4cff08c7396b9fda1b7091024
2020-06-22 15:39:19 -07:00
Thiru Ramasamy 7273d3c346 Merge "Adds additional folder label states (UNLABELED & EMPTY_LABEL)" into ub-launcher3-rvc-dev am: 51ece1847c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11931814

Change-Id: I2054b8bf93c12ba6bb14b49fd668050bba213068
2020-06-22 21:12:33 +00:00
TreeHugger Robot 71c030a864 Merge "Fixing rotation watcher not enabled in landscape" into ub-launcher3-rvc-dev am: ceaad08f06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959138

Change-Id: Ida6defb23bd6d816332441266ecfc78e715f740f
2020-06-22 21:12:25 +00:00
Thiru Ramasamy 51ece1847c Merge "Adds additional folder label states (UNLABELED & EMPTY_LABEL)" into ub-launcher3-rvc-dev 2020-06-22 21:04:12 +00:00
TreeHugger Robot ceaad08f06 Merge "Fixing rotation watcher not enabled in landscape" into ub-launcher3-rvc-dev 2020-06-22 21:00:07 +00:00
Vadim Tryshev 8187209e5b Merge "Changing event check implementation from logcat to TestProtocol" into ub-launcher3-rvc-dev am: 21cea8e55c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11936814

Change-Id: Ic9e849a7bac6f432ead756c49c8648177f33a934
2020-06-22 20:53:19 +00:00
Vadim Tryshev 21cea8e55c Merge "Changing event check implementation from logcat to TestProtocol" into ub-launcher3-rvc-dev 2020-06-22 20:42:23 +00:00
Hyunyoung Song 17544e8e73 Merge "Log Launcher transitions to WW" into ub-launcher3-rvc-dev am: 5c9a1ef5cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11862643

Change-Id: Id063bb45ce1322e9207b85a4d74048d2229761fc
2020-06-22 20:36:20 +00:00
thiruram ec75cbd85a Adds additional folder label states (UNLABELED & EMPTY_LABEL)
UNLABELED -> title==null and EMPTY_LABEL -> title=="". When adding new items for the folder if the folder is in UNLABELED state, auto-labeling will be enabled.
This change also addresses auto-labeling issue due to false edit from UNLABELED to EMPTY.

Bug: 159164315

Change-Id: Ia17cd27b4afb60420dc15c544f544061fc46ad33
2020-06-22 13:24:07 -07:00
Hyunyoung Song 5c9a1ef5cd Merge "Log Launcher transitions to WW" into ub-launcher3-rvc-dev 2020-06-22 20:21:10 +00:00
Rajeev Kumar e941d72380 Get rid of unused notification_badging_enabled configuration.
Bug: 159637333
Test: Manual tests by building system image and testing launcher app.
Change-Id: I0a7a3048ae6b4ffa52497748f45a6cf366fe0433
2020-06-22 20:16:49 +00:00
Sunny Goyal f67deb8e06 Fixing rotation watcher not enabled in landscape
Bug: 159636793
Change-Id: Ia7e5d90e9d441dfbe9877293957eff1ae7f69877
2020-06-22 13:02:53 -07:00
Hyunyoung Song 801f81fba5 Log Launcher transitions to WW
- ONRESUME / ONSTOP
- HOME_GESTURE
- OVERVIEW_GESTURE
- QUICKSWITCH
- SWIPELEFT/SWIPERIGHT

Bug: 156875719
Bug: 148822714
Bug: 137777105

Debug log: go/launcher-log-parity

Change-Id: I64a0deab4996b5be36320fbe0339f320891c53e0
2020-06-22 12:09:06 -07:00
TreeHugger Robot 91c225097e Merge "Handling Launcher configuration change between touchDown and Launcher.onStart" into ub-launcher3-rvc-dev am: ce629ff837
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11936457

Change-Id: Ibf42ba10d2d60ce1ed6f9ca732228e7f3b0b81e7
2020-06-22 18:20:38 +00:00
TreeHugger Robot ce629ff837 Merge "Handling Launcher configuration change between touchDown and Launcher.onStart" into ub-launcher3-rvc-dev 2020-06-22 18:04:14 +00:00
vadimt a17a10cddd Changing event check implementation from logcat to TestProtocol
Bug: 153670015
Change-Id: Id9fc759bd5be68758ef9cf0abbba3cd6fa452796
2020-06-22 11:04:03 -07:00
Samuel Fufa ec57343c7c Merge "Send app launch events from TaskSwitcher" into ub-launcher3-rvc-dev am: 6dac493218
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11920024

Change-Id: I3f8cfa2e41e16b0fad447cd4d7df1334327b4527
2020-06-22 17:59:31 +00:00
TreeHugger Robot 33b6fb6e3c Merge "Add depth animation when multiwindow mode changes." into ub-launcher3-rvc-dev am: 845f135d17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11936455

Change-Id: Id84ffe545468b06aecdaae0c15d888ca1d6d8673
2020-06-22 17:59:23 +00:00
Samuel Fufa 6dac493218 Merge "Send app launch events from TaskSwitcher" into ub-launcher3-rvc-dev 2020-06-22 17:36:12 +00:00
TreeHugger Robot 845f135d17 Merge "Add depth animation when multiwindow mode changes." into ub-launcher3-rvc-dev 2020-06-22 17:31:35 +00:00
Sunny Goyal 6fe83da57c Handling Launcher configuration change between touchDown and Launcher.onStart
If activity rotation is allowed, Launcher/recents can rotate while swipe animation
is running leading to inconsistencies between deviceProfile and rotation
> Using activity configuration to determine the rotation instead of using display rotation
> Removing rotation watcher when rotation is enabled as it is not used anymore

Bug: 158781568
Change-Id: I107d856cae80af111c0514656fac7ab1fa0c21cb
2020-06-22 10:04:35 -07:00
Tony Wickham eb296923c1 Merge "Don't reset GestureState when touching outside of swipe region" into ub-launcher3-rvc-dev am: 698dfc03cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11944579

Change-Id: I1dff771a82a76f5ab8d1f3a579ef6f943c28d6f9
2020-06-22 16:52:14 +00:00
Tony Wickham 698dfc03cb Merge "Don't reset GestureState when touching outside of swipe region" into ub-launcher3-rvc-dev 2020-06-22 16:20:22 +00:00
TreeHugger Robot 8309936272 Merge "Revert "Allow shortcut predictions in hybrid hotseat"" into ub-launcher3-rvc-dev am: b22655f8e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11944578

Change-Id: I052a8bb9024eec4084b0a77c488fcc220f14d3f0
2020-06-21 07:44:04 +00:00
TreeHugger Robot b22655f8e1 Merge "Revert "Allow shortcut predictions in hybrid hotseat"" into ub-launcher3-rvc-dev 2020-06-21 07:24:25 +00:00
Winson Chung f1535b13f3 Merge "Tweak quickswitch thresholds" into ub-launcher3-rvc-dev am: c46daa9572
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917532

Change-Id: I5fec4454c7d13e447a2ef9670fc8b429e13fc29c
2020-06-21 04:18:29 +00:00
Winson Chung c46daa9572 Merge "Tweak quickswitch thresholds" into ub-launcher3-rvc-dev 2020-06-21 04:08:09 +00:00
Winson Chung 4941f65d52 Tweak quickswitch thresholds
- Reduce slop for gestural mode (and apply multiplier to slop
  at checktime)
- When quickswitch threshold is passed, reduce the total movement
  check and reduce the velocity needed to fling to the next page
  to accommodate short swipes
- Use touch slop to determine scrolling in paged view, and only
  use paging slop to determine flinging to the next page (when
  easy flings are disabled (which is the default))

Bug: 157165240
Test: Ensure the flings in normal overview/paged views don't change,
      check short flings from quickswitching
Change-Id: Idd04ce23f53c06759e84ac8ad73cf2cc6dff6975
2020-06-20 19:41:32 -07:00
TreeHugger Robot 7f8a892300 Merge "Deleting old cache images before saving new ones." into ub-launcher3-rvc-dev am: 5ec76de182
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11934850

Change-Id: I422c02a268a274b5f5035492d93aa4319c2b4d0a
2020-06-20 20:29:33 +00:00
TreeHugger Robot 5ec76de182 Merge "Deleting old cache images before saving new ones." into ub-launcher3-rvc-dev 2020-06-20 20:19:01 +00:00
Tony Wickham 61fa23ab3a Don't reset GestureState when touching outside of swipe region
We were setting mGestureState = DEFAULT_STATE when touching outside
of the swipe region. Instead, we should only set mGestureState when
starting a new gesture, and only set it to DEFAULT_STATE on reset.

This also makes it clearer that mGestureState always refers to the
current gesture state, rather than sometimes being the current
gesture and sometimes being the previous gesture depending on
where it was used. Now previousGestureState is passed when needed.

Bug: 159494933
Change-Id: Ib62278b7c591ca4c6b99b26e058a34772e6cec2a
2020-06-20 12:04:12 -05:00
Samuel Fufa 857c512987 Revert "Allow shortcut predictions in hybrid hotseat"
This reverts commit 2d8e882d2e.

Reason for revert: Moving this to master. 

Change-Id: I46cfbda92d74a1f9fa9f0c091811941fe74ce76b
2020-06-20 16:53:51 +00:00