Commit Graph

28165 Commits

Author SHA1 Message Date
Jon Spivack a944e11103 Merge "Re-enable app long-press menu on Go devices" into ub-launcher3-master 2020-05-19 00:49:02 +00:00
thiruram 6bf6848951 Introduces CONTAINER_WIDGETS_TRAY to LauncherSettings.Favorites.
This would log LAUNCHER_ITEM_DRAG_STARTED event when an item is dragged from widgets tray. This also fixes empty component with widget logs.

Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.bk5w3n8uwhcl

Bug: 152978018
Change-Id: I51d16edae13973d5e62adda0e4efa861fa10dc1b
2020-05-18 16:44:46 -07:00
Vinit Nayak 97a479a80e Merge "Override Rect#contains() to include bottom right" into ub-launcher3-rvc-dev am: 4ae95beb9b
Change-Id: If518db06e4049fb9487cf6a68875eed1618ccbbe
2020-05-18 22:31:50 +00:00
Vinit Nayak 4ae95beb9b Merge "Override Rect#contains() to include bottom right" into ub-launcher3-rvc-dev 2020-05-18 22:21:55 +00:00
TreeHugger Robot 720b2045e5 Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev am: 7cdb4cfecc
Change-Id: Ie3982d5b38f3a2610f2ecd3c9f05443c31b03391
2020-05-18 21:36:01 +00:00
TreeHugger Robot 7cdb4cfecc Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev 2020-05-18 21:21:14 +00:00
Jon Spivack 07a46d04ff Re-enable app long-press menu on Go devices
Deep shortcuts and the home-screen Widgets menu were removed from Go in b/112904271. Subsequently removing the entire app long-press menu, however, may have been unintended behavior. This re-enables that menu, which currently houses the App Info system shortcut.

Bug: 156120551
Test: Manual
Change-Id: Ifa0befe1896315b5ed905271c2cf4805f70c39c0
2020-05-18 13:15:57 -07:00
TreeHugger Robot 42ff4eded9 Merge "Using taskView simulator for animation a task to recentsView" into ub-launcher3-rvc-dev am: d5315f8c29
Change-Id: Ifacdfd10534e09a27599dd2ffb9e87c57f28c3c2
2020-05-18 19:17:47 +00:00
TreeHugger Robot d5315f8c29 Merge "Using taskView simulator for animation a task to recentsView" into ub-launcher3-rvc-dev 2020-05-18 19:02:30 +00:00
TreeHugger Robot ccc092a657 Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev am: e5a83db490
Change-Id: I7cbb7fc45d3394c2ddd65b92efb158e35696b354
2020-05-18 17:37:33 +00:00
TreeHugger Robot e5a83db490 Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev 2020-05-18 17:21:41 +00:00
vadimt 2bba25a08d Remove tracing for a fixed flake
Bug: 155926212
Change-Id: Ia847d735d58154bc768b69d3ae3dc0af7fcdbf11
2020-05-18 16:34:57 +00:00
Vinit Nayak 0b94c2736c Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev am: 08619f8600
Change-Id: I9a23f52c7e61dbd930b4143bf0de3de274bd2b21
2020-05-17 23:45:45 +00:00
Vinit Nayak 08619f8600 Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev 2020-05-17 23:32:00 +00:00
Vinit Nayak 23681083b2 Hide shelf in 2-Button Landscape
Disable overview rotation in 2-Button.

Fixes: 154181816
Test: Tested no button and 2 button,
overview actions worked as before.

Change-Id: Ic22c791c7a93460840d54aaf0bf32884cc110e19
2020-05-17 15:17:11 -07:00
android-build-team Robot 1ae100c92b Snap for 6502793 from 23f0734eec to mainline-release
Change-Id: Ib0d2ced4421e2fa2704c8134a3478c35faf19200
2020-05-17 07:05:42 +00:00
android-build-team Robot 26a58cac01 Snap for 6502385 from 6e0d05fc41 to rvc-release
Change-Id: I88d41b9391fa27e37a74ea801e8e11c70085ffd4
2020-05-16 23:16:56 +00:00
Winson Chung 23f0734eec Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41
Change-Id: Ic4f78c6be4ef986a9d2739a765167b6595a64b04
2020-05-16 02:53:38 +00:00
Winson Chung a668e4b4e3 Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41
Change-Id: I716c478823391f08a39f5cf011250fe81bc449cd
2020-05-16 02:53:33 +00:00
Adam Cohen b66675a36d Delegate horizontal scrolls from the Hotseat to the Workspace
=> Before this change, scrolling horizontally on the the hotseat area was a no-op
=> This is a mild usability issue (or arguably WAI) for the default grid, but for larger grids it feels really broken as you have to reach very high just to scroll to another page.

issue 156507399

Test: manual. Also verified that swipe up still works and goes through the same code path.

Change-Id: I760aca473dd36bc8cfb906cb58e897e2ab7fd1d9
2020-05-15 16:57:37 -07:00
TreeHugger Robot bc5919ee3b Merge "Log last appeared task id instead of target" into ub-launcher3-rvc-dev am: 04f476dcb0
Change-Id: Ia01dbdc7014c5d5e61e2dd9a89a112d40751c70c
2020-05-15 22:36:52 +00:00
thiruram 85c31e2e29 Rename @LauncherUiEvent to @UiEvent to be consistent with other UiEvents. am: 2e7f24c118
Change-Id: I087039bf286e3d5ffd07894c38e21cdfff4e9948
2020-05-15 22:36:42 +00:00
TreeHugger Robot 04f476dcb0 Merge "Log last appeared task id instead of target" into ub-launcher3-rvc-dev 2020-05-15 22:22:43 +00:00
thiruram 2e7f24c118 Rename @LauncherUiEvent to @UiEvent to be consistent with other UiEvents.
Change-Id: I049a238f717cc2a6b0bbb4755794bc4de2935b97
2020-05-15 21:42:46 +00:00
Tony Wickham 39f2f1029b Log last appeared task id instead of target
Might be slightly more useful (e.g. if we
need to compare against last started task id)

Change-Id: I3617be270bec6841fbd943e681de78ada549ff84
2020-05-15 16:32:04 -05:00
TreeHugger Robot 4a4152253f Merge "Add dumpsys input where it was missing" into ub-launcher3-rvc-dev am: ce8c2306a3
Change-Id: I3fa4f760117f8c72a8c811a18a34024d509f6f6e
2020-05-15 21:14:04 +00:00
Sunny Goyal b9abae9f0f Using taskView simulator for animation a task to recentsView
Also applying transform params in DeviceLockedInputConsumer directly
instead of going through AppWindowAnimationHelper

Bug: 156398988
Bug: 155816922
Change-Id: I791e1a9feb07c4fb787130f8d040a4f404faf734
2020-05-15 14:07:29 -07:00
TreeHugger Robot ce8c2306a3 Merge "Add dumpsys input where it was missing" into ub-launcher3-rvc-dev 2020-05-15 21:00:02 +00:00
TreeHugger Robot bb907f7ced Merge "Deference mAppPredictor on destroy" into ub-launcher3-rvc-dev am: 9027a04514
Change-Id: I058c51bd5972b84ee9864c4befffd8c3f093aa87
2020-05-15 20:32:37 +00:00
TreeHugger Robot 9027a04514 Merge "Deference mAppPredictor on destroy" into ub-launcher3-rvc-dev 2020-05-15 20:17:42 +00:00
vadimt bb6f5f5242 Add dumpsys input where it was missing
Bug: 156287114
Change-Id: Ie0a71e8dc261abfde4eec3ce882786d77a870c32
2020-05-15 13:12:37 -07:00
TreeHugger Robot b9c9aab27f Merge "Remove debug logs, root cause found." into ub-launcher3-rvc-dev am: 2d78b783cc
Change-Id: I524101aecd8e15eed8b0f296fa0c6cdcd1f9e9e3
2020-05-15 19:18:07 +00:00
TreeHugger Robot 2d78b783cc Merge "Remove debug logs, root cause found." into ub-launcher3-rvc-dev 2020-05-15 19:03:06 +00:00
Samuel Fufa 4dd6ab3ca1 Deference mAppPredictor on destroy
+ Also remove PredictionModel.mCachedComponentKeys

Bug: 156747920
Bug: 156041043
Test: Manual

Change-Id: I56dac1c6ac0a1bb93363342006232fc1ba42a3b4
2020-05-15 11:33:27 -07:00
Vinit Nayak 9c62e18660 Remove debug logs, root cause found.
Bug: 146964271
Change-Id: I38ed3b4b1a90fa1ff9a3aa4bb5547300ddd92358
2020-05-15 10:04:51 -07:00
TreeHugger Robot 987e375312 Merge "Prevent all apps prediction update while visible" into ub-launcher3-rvc-dev am: e241f6c243
Change-Id: I46f4afd992fd15c4c9b82a8bc4b85ba923598024
2020-05-15 10:43:06 +00:00
TreeHugger Robot e241f6c243 Merge "Prevent all apps prediction update while visible" into ub-launcher3-rvc-dev 2020-05-15 10:31:56 +00:00
TreeHugger Robot 0239366456 Merge "Switch to new protocol for hybrid hotseat" into ub-launcher3-rvc-dev am: 63cbfc6118
Change-Id: I6a5a9b07c2cc7b0d350da559bf56986d4e8a3ab8
2020-05-15 08:35:24 +00:00
TreeHugger Robot 63cbfc6118 Merge "Switch to new protocol for hybrid hotseat" into ub-launcher3-rvc-dev 2020-05-15 08:25:50 +00:00
Samuel Fufa 6793dae692 Prevent all apps prediction update while visible
Test: Manual
Bug: 156418702
Change-Id: Iaa5468d7c600e6568ac1e35108c586752d6658b6
2020-05-14 23:13:19 -07:00
vadimt 7e4d19f842 Rename closeEvents to reduce confusion
Change-Id: I73f083c568846ec8f96b4b403afdaf10d75a106e
2020-05-14 19:52:01 -07:00
TreeHugger Robot 90b22110d8 Merge "Prevent AllApps scroller activation in NORMAL state" into ub-launcher3-rvc-dev am: 9de282c862
Change-Id: I3f5aef42242543bba6bc7743c635d08eee649e81
2020-05-15 01:10:14 +00:00
TreeHugger Robot 9de282c862 Merge "Prevent AllApps scroller activation in NORMAL state" into ub-launcher3-rvc-dev 2020-05-15 00:52:32 +00:00
Samuel Fufa d12d6ab98a Switch to new protocol for hybrid hotseat
- create predictor from items in bgModel instead of scanning views
- Launcher no longer checks for duplicates before sending pin/unpin events
- sending cached items from last prediction to reduce UI shuffle
- Switch to using UserCache to persist and read ComponentKey

Bug: 148814143
Bug: 156413231
Bug: 156200931
Change-Id: Ide6330bed8eb7f0c6fbec1d1ac21e7f67a9b2be2
2020-05-14 17:27:34 -07:00
Vinit Nayak c40352ef8c Override Rect#contains() to include bottom right
In landscape, the lowest coordinate touch registered
is the actual lowest pixel possible by the screen.
For portrait/seascape the lowest coordinate
is (lowest pixel possible - 1). The difference of the
one pixel makes Rect#contains() return false since
only top left Rect points are inclusive and bottom
right points are exclusive.

Fixes: 156333291
Test: Always able to smoothly go to overview from
landscape.

Change-Id: I6beddad99ae076a167d2a5f5e5acc6e466bff544
2020-05-14 17:26:15 -07:00
vadimt 4507024997 Avoid truncation of input trace am: 5670d462de
Change-Id: Ib65add6a36d0985dbffdb3fee4f72ebffd7e8f4e
2020-05-15 00:03:33 +00:00
vadimt 5670d462de Avoid truncation of input trace
Bug: 156287114
Change-Id: Iac0f93d4e8082907210bd6312d1c046ff1f49dba
2020-05-14 14:25:38 -07:00
James O'Leary 3ed973c034 Merge "Compose gesture integrated fully into Launcher" into ub-launcher3-rvc-dev am: 4cb77a60aa
Change-Id: Ib138be3ddb8a1740d9ade68fa460be5bc50980c0
2020-05-14 20:26:00 +00:00
Adam Cohen ced96bbc6c Merge "Don't require the center task id to adjust status bar when swiping up" into ub-launcher3-rvc-dev am: 1682d0d71b
Change-Id: I2b6958b751180a7f176386ff28a25650c8f5f46a
2020-05-14 20:25:45 +00:00
James O'Leary 4cb77a60aa Merge "Compose gesture integrated fully into Launcher" into ub-launcher3-rvc-dev 2020-05-14 20:20:13 +00:00