Commit Graph

33301 Commits

Author SHA1 Message Date
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
Jayaprakash Sundararaj 80fdde5137 Merge "Refactor FolderNameInfos." into ub-launcher3-rvc-dev am: d2260a07b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11931809

Change-Id: I5a499ade1258dc07784af7eb2f29f18b026395bb
2020-06-20 07:10:41 +00:00
Jayaprakash Sundararaj d2260a07b8 Merge "Refactor FolderNameInfos." into ub-launcher3-rvc-dev 2020-06-20 06:59:45 +00:00
Hyunyoung Song 33b5ea1555 Merge "Remove ConcurrentModificationException for snapshot logging Bug: 159282737" into ub-launcher3-rvc-dev am: ac3f71269e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11929252

Change-Id: Id2f4416a7bddb16abace23be506ba50e9c7ab85c
2020-06-20 06:29:06 +00:00
TreeHugger Robot 048740e492 Merge "Workaround for activity manager crashing when trying to start an app It flakes when one of the tests starts calculator while there zero activities in the system." into ub-launcher3-rvc-dev am: d4b946dbe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11940019

Change-Id: I7a217db5fb87d8099cdb9c21d4fab5d5e3dc26e7
2020-06-20 06:28:59 +00:00
Hyunyoung Song ac3f71269e Merge "Remove ConcurrentModificationException for snapshot logging Bug: 159282737" into ub-launcher3-rvc-dev 2020-06-20 06:27:01 +00:00
TreeHugger Robot d4b946dbe3 Merge "Workaround for activity manager crashing when trying to start an app It flakes when one of the tests starts calculator while there zero activities in the system." into ub-launcher3-rvc-dev 2020-06-20 06:13:48 +00:00
Jayaprakash Sundararaj 1d96ba03ab Refactor FolderNameInfos.
Bug: 159508969

Change-Id: I984e7a4fc321392d06157c705392c1ba5672f348
2020-06-19 23:12:22 -07:00
Samuel Fufa d5ffdd057c Merge "Allow shortcut predictions in hybrid hotseat" into ub-launcher3-rvc-dev am: 9024c85742
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11940156

Change-Id: I9257b6aca9b1b496bb074c0cf8398087c24abdbb
2020-06-20 05:07:54 +00:00
Samuel Fufa 9024c85742 Merge "Allow shortcut predictions in hybrid hotseat" into ub-launcher3-rvc-dev 2020-06-20 04:57:02 +00:00
TreeHugger Robot efedd5f6ab Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev am: 08e1cde5e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11923400

Change-Id: Ie850cf4e3d9e2bc746bcc5715445e5ebce73a88a
2020-06-20 04:20:20 +00:00
thiruram b6e9a13d0d Log LAUNCHER_FOLDER_AUTO_LABELING_SKIPPED events. am: 8bcb48cc1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11938960

Change-Id: I3edbb34c3162e452ef002c2495d4aeebc1201ac3
2020-06-20 04:20:09 +00:00
TreeHugger Robot 08e1cde5e1 Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev 2020-06-20 04:12:57 +00:00
android-build-team Robot f5732b7417 Snap for 6611069 from 630098b8e6 to mainline-release
Change-Id: I9c4dccae0527f0a85412ce4e309c16ed1da73d71
2020-06-20 03:10:47 +00:00
Samuel Fufa 2d8e882d2e Allow shortcut predictions in hybrid hotseat
Screenshot: https://screenshot.googleplex.com/TckWKGYWwHW

Note: Shortcut predictions will not be cached.

Bug: 159500320
Test: Manual
Change-Id: Id8ec81544bddb8be87a5e748fd9f9e93aaaf8fea
2020-06-19 18:50:22 -07:00
vadimt 8914c51660 Workaround for activity manager crashing when trying to start an app
It flakes when one of the tests starts calculator while there zero
activities in the system.

Bug: 143488140
Change-Id: Id9d350f0de8a83eb50e35e9efa4226b8d45ca641
2020-06-20 01:12:50 +00:00
android-build-team Robot e5586ca0ad Snap for 6610691 from c3f13e01a3 to rvc-release
Change-Id: I05973e9a6e46f9807ca838ea2f2bc126f6aa9df9
2020-06-20 01:06:06 +00:00
thiruram 8bcb48cc1b Log LAUNCHER_FOLDER_AUTO_LABELING_SKIPPED events.
These events will help to understanding recall reduction is due to data coverage vs label coverage.

Bug: 159495871
Change-Id: Ia5e2cbab86f5f2072f9674fbd6abcdbc049929ee
2020-06-19 17:58:55 -07:00
thiruram 7fa1c8a25d Fixes folder logging. am: b53764bd4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902346

Change-Id: Ib9b34794311a41e0b54c19d1c0097f6d36680917
2020-06-20 00:56:17 +00:00
Sreyas ae74a618bd Deleting old cache images before saving new ones.
Change-Id: I5947fe43b0e1bfac35247bf64f08e49560d58cac
2020-06-19 17:28:19 -07:00
thiruram b53764bd4b Fixes folder logging.
Only LAUNCHER_FOLDER_LABEL_UPDATED events will have FromState, ToState
and FolderLabelInfo. Other folder events such as OPEN, DRAG etc will have
basic fields only populated.

Sample Log: https://paste.googleplex.com/5468394805526528
Screencast: http://rcll/hSUQjtQXfQM5i9DjjAQTf2/Zn5FeiVDONaQj0mK1JNjg

Bug: 159164315
Change-Id: I903fc7b62bcee748aa3ef695453be3e14d388712
2020-06-19 17:06:46 -07:00
TreeHugger Robot 38126202d8 Merge "Fix RecentsView scroll linking" into ub-launcher3-rvc-dev am: 72ac78189f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11936452

Change-Id: I5f9e7ef48d82c8ecd4f496e8b7c960b7dd232f56
2020-06-19 23:37:45 +00:00
TreeHugger Robot 108c7b65ed Merge "Fixing fallback recents not getting proper insets on configuration change" into ub-launcher3-rvc-dev am: f9ae1a838a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11934077

Change-Id: I11c0b6c85c66551b9a425eb0d9ce232e6a720392
2020-06-19 23:37:39 +00:00
Jon Miranda 36d1015997 Add depth animation when multiwindow mode changes.
This is a workaround until we can support app transitions when starting
an activity in mw mode.

Bug: 158613217
Change-Id: I843d6669722c543728ab532e1c4fbd4643f6f135
2020-06-19 16:36:57 -07:00