TreeHugger Robot
aaac3f1519
Merge "Fixing incorrect taskView size in multiwindow-landscape" into ub-launcher3-rvc-dev
2020-05-29 20:00:31 +00:00
Sunny Goyal
b46703d538
Fixing incorrect taskView size in multiwindow-landscape
...
RecentsView uses deviceProfile to calculate the padding.
Device profile had incorrect sizes in multiwindow mode as it
was not considering the insets.
Bug: 155816922
Change-Id: Iaa5b939624b4128ed634e6de1abf8453e2ae852b
2020-05-28 11:49:31 -07:00
thiruram
c85095b0e9
Fixes missing WW logs for drag and drop events.
...
Change-Id: I31f8aa132d70b42c3b8213daf0bbd5c555cf3895
2020-05-27 16:35:14 -07:00
Hyunyoung Song
7f7894e3b7
Hookup statsd for workspace layout logging
...
Bug: 144953948
Change-Id: I81bd42929b2d65a63c610e95e5e01179a3971493
2020-05-10 01:37:42 -07:00
thiruram
f81e8b002a
Implement LAUNCHER_ITEM_DRAG_STARTED event.
...
* Fixes null component issue when ItemInfo object copiedFrom.
* Fixes missing container when item is dragged from hybrid hotseat.
Sample Logs:
2020-04-30 14:09:45.499 30472-30472/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@260f31f8
application {
component_name: "com.android.chrome/com.google.android.apps.chrome.Main"
package_name: "com.android.chrome"
}
container_info {
workspace {
grid_x: 2
grid_y: 2
page_index: 2
}
}
is_work: false
2020-04-30 14:23:15.230 31320-31320/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@608f101
application {
component_name: "com.google.android.gm/.ConversationListActivityGmail"
package_name: "com.google.android.gm"
}
container_info {
hotseat {
index: 1
}
}
is_work: false
Bug: 152978018
Change-Id: I3d3ce213fd2fc6eb5ffb239e048ceb7c0fa88b53
2020-04-30 15:03:43 -07:00
Sunny Goyal
0addbf0512
Various multi-window fixes
...
> Fixing scale up calculator for swipe-down
> Offsetting pivot so that the preview is aligned to bottom-right
> Allowing insets to be available in multi-window mode as well
> Offsetting taskViewSimulator appropriately in multi-window mode
Change-Id: I7da4c145efca72ef219a5ffcaf23d726812df270
2020-04-29 11:50:33 -07:00
TreeHugger Robot
7ccd2daa62
Merge "ItemInfo null check inside BaseDraggingActivity" into ub-launcher3-rvc-dev
2020-04-21 02:07:12 +00:00
Hyunyoung Song
103e8e36aa
ItemInfo null check inside BaseDraggingActivity
...
Bug: 153611516
Change-Id: I0b9fed9134a103e3f7162756fd91ea4ad89e09bb
2020-04-20 16:29:04 -07:00
vadimt
cf275c1bd7
Choosing better points to output "start" events for TAPL
...
Now doing this before branching points, thus avoiding flakes when the
execution can go to an unexpected branch and not produce an event.
Bug: 153824894
Change-Id: If117da0498eaf2d94c9610552724981be34c6569
2020-04-15 12:45:11 -07:00
TreeHugger Robot
c730304898
Merge "Revert "Use UiEvent for constants inside StatsLogManager"" into ub-launcher3-rvc-dev
2020-04-15 17:32:22 +00:00
Hyunyoung Song
1505d2f2e6
Revert "Use UiEvent for constants inside StatsLogManager"
...
This reverts commit 6b99a7d397 .
Reason for revert: Launcher3 AOSP cannot link to uieventloggerlib because it's private API
Change-Id: Id652b8a4cba54b97d1d8b8644c2939903cc0e88a
2020-04-15 16:52:19 +00:00
Hyunyoung Song
a613217bd0
Merge "Use UiEvent for constants inside StatsLogManager" into ub-launcher3-rvc-dev
2020-04-15 00:09:13 +00:00
Hyunyoung Song
6b99a7d397
Use UiEvent for constants inside StatsLogManager
...
Bug: 137777105
Bug: 148533500
Change-Id: I8ebf1110e8d25ab28f7496add9734bd7386b272f
2020-04-14 13:59:31 -07:00
Sunny Goyal
e396abf502
Moving model data structures to a separate file
...
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
Hyunyoung Song
7ac0ef1cb1
ItemInfo supports lite proto builder (1/n)
...
Bug: 144953948
Bug: 137777105
The new lite proto builder is used to send two types of logging to statsd
1) Snapshot logging
2) App launch, task launch, task dismiss
Statsd will be connected once platform CL is submitted
Change-Id: If606cee5288fe4bd6c522605ae84eb0f24174f5b
2020-03-31 20:52:36 -07:00
Vadim Tryshev
47a73672db
Merge "Verifying events from TouchInteractionService" into ub-launcher3-master
2020-02-11 01:46:53 +00:00
Sunny Goyal
9f56a2f55a
Using Display listener for landscape/seascape changes
...
Bug: 146150882
Change-Id: Idd2ef053bd10d9add93a1366e49c0e231f2c391b
2020-02-10 16:57:55 -08:00
vadimt
d633c9c7da
Verifying events from TouchInteractionService
...
There is a guaranteed order in which TIS events will be registered
relative to other TIS events. However, relative to the touch events
arriving to the activity, TIS events can come in any order.
Now the event checker verifies 2 independent ordered event sequences:
from TIS, and “the rest” (Main).
Change-Id: I5872e0e3b0b498050a91c67105fbe4a29411375a
2020-02-07 11:46:03 -08:00
Sunny Goyal
9c2b96090b
Adding SecondaryDisplayLauncher in Launcher using common listener
...
Bug: 141596722
Change-Id: I480bfadf592f7d0309f17c33a3fe14bb77fb5586
2020-01-30 08:27:27 +00:00
vadimt
6098a8c8c0
Adding events checking for Launcher starting apps
...
Change-Id: Id651397f643280a9f99a470df029479bd1b41e5c
2020-01-23 19:12:19 -08:00
TreeHugger Robot
f10903e601
Merge "Removing static reference of deep shortcut manager" into ub-launcher3-master
2020-01-02 20:54:05 +00:00
Sunny Goyal
fa39536570
Removing static reference of deep shortcut manager
...
Bug: 141376165
Change-Id: Ie60b82be63a8926825598c681d8b2a1b2ace6413
2020-01-02 20:13:12 +00:00
TreeHugger Robot
bdfa251d67
Merge "Add boolean to differentiate icons from workprofile" into ub-launcher3-master
2019-12-16 20:31:33 +00:00
Sunny Goyal
73b5a27b14
Updating some non-final static objects
...
Updating various static objects to use a standard pattern so that
it is easier to track and cleanup those objects
Bug: 141376165
Change-Id: Ia539cbfa338d544dddad771c5027b6748762768b
2019-12-11 13:22:58 -08:00
Samuel Fufa
78e7e5fcaa
Add boolean to differentiate icons from workprofile
...
Bug:145825382
Test:Manual
Change-Id: I95e0cfe48b4a397eb54455374f11c7ea14c028f6
2019-12-10 13:33:37 -08:00
Winson Chung
a19a2b755f
14/ Bake the running task info into the gesture state
...
- This removes a bunch of places where we pass it through the gesture flow
Bug: 141886704
Change-Id: I28d2c53b0300c614ed074746b06f2d548b5e8cc7
2019-10-25 15:47:19 -07:00
Sunny Goyal
17c72fbb60
Unifying various tracing calls
...
Change-Id: Iedf6662ad1d7281b850bdc43b3a1e373ce535ac6
2019-10-14 14:23:19 -07:00
Sunny Goyal
e7b00128c7
Removing static instance of LauncherAppsCompat and unnecessary wrapper classes
...
Bug: 141376165
Change-Id: I8c1f1ab7d83ec50fe9c7bf39960ef9c360025ec7
2019-10-02 16:20:22 -07:00
Winson Chung
a879f9c481
Adding binder tracking support in tests
...
- Whitelist specific binder calls when handling touch during swipe up
gestures
- Only track binding for touch handling and certain launcher lifecycle
changes for now
Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Winson Chung
13c1c2cd65
Migrate to using DefaultDisplay
...
- Remove extra binder calls to get the default display
Bug: 140633033
Change-Id: I532645deac101a6065d90484b87a67b67aa717f5
2019-09-09 10:21:28 -07:00
Jon Miranda
3edba34cb2
Fix launcher crash when trying to open work profile promise icon. am: 0121d466ec
...
am: ccf108c5f3
Change-Id: I95441f44090f04f391ad436f9177f8cceb496d15
2019-08-05 15:02:12 -07:00
Jon Miranda
0121d466ec
Fix launcher crash when trying to open work profile promise icon.
...
Bug: 138609751
Change-Id: Ifb1c4628ce6307a19a2bb696e4771d5cd5810a90
2019-08-05 14:36:04 -07:00
Vinit Nayak
f9b585b507
Don't specify 1P Launcher3 type if 3P Launcher is active
...
Instead of referencing Launcher directly (which may not be
present when there's a 3P launcher), reference the lowest
common ancestor of Launcher and RecentActivity to avoid
ClassCastExceptions.
Test: Visually inspected that Pixel Launcher crash dialog
no longer pops up.
* Install 3P launcher
* In developer options enable "enable freeform windows"
* Restart phone for settings to take effect
* Try to use it on any app you have in recent tasks
Fixes: 135419782
Change-Id: Ie1f54880ab46956b23e253850ca7f79b161da9bd
2019-07-19 11:11:35 -07:00
Sunny Goyal
9dbb27c09c
Moving some utilities methods to separate class
...
Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
2019-07-17 15:15:07 -07:00
vadimt
1fd52d9024
Remove tracing for a fixed bug
...
Bug: 132900132
Change-Id: Ic4ce3669f88c932e392b7517ec9fda11384dc334
2019-07-11 16:00:12 -07:00
Sunny Goyal
ab3963ddcf
Moving TestInformationProvider to Launcher3 so that it can be used for
...
testing Launcher3 without quickstep
Also keeping the provider as disabled until needed
Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
2019-05-23 14:02:33 -07:00
vadimt
3ab80bb734
Enable debug tracing for a lab-only non-starting app from all apps
...
Bug: 132900132
Change-Id: I9c5bb51e49f865ea1e1d3d2209a8dfb149f66e87
2019-05-22 12:58:35 -07:00
Hyunyoung Song
fcd090da35
Move theme res logic to Themes static class.
...
Bug: 131310726
Change-Id: Ib46c26c2b44165a4441e109eed6d3ae7e19bcf02
2019-05-01 14:11:50 -07:00
Sunny Goyal
9589916418
ShortcutInfo renamed to WorkspaceItemInfo
...
Will get rid of ShortcutInfoCompat in a follow up cl
Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
2019-04-16 00:08:24 -07:00
Sunny Goyal
369212aed9
Adding a utility class to listen for app launches
...
Change-Id: I62e82a6e04b7101773d98c6e7aec574facd053fe
2019-03-26 16:38:58 -07:00
Sunny Goyal
9018627d05
Removing disable launch animation flag
...
The flag is no longer enforced as it applied to legacy shourtcuts only
and was meant for jelly bean devices
Change-Id: I4b143c42fc7d64584421b35457e02059b0022802
2019-01-31 13:19:49 -08:00
Sunny Goyal
8c48d8bea6
Changing min sdk to 25
...
Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
2019-01-29 11:29:52 -08:00
Tony Wickham
f34bee819c
Rename "badges" to "dots" where appropriate
...
This will reduce confusion with the other "badging" concept we use for,
e.g. work profiles. It is also consistent with the external name
"notification dots".
Change-Id: I2a2c9d96dc0d6284eb0c48adc78a856271caad4d
2018-12-04 10:46:40 -08:00
Sunny Goyal
fe8e4a90be
Moving some methods from various activities to the base interface
...
This allows creating some custom views in the absence of
activity context
Bug: 118758696
Change-Id: I23999290e972a2a8cbd725a521a4e0c7c2e5023e
2018-11-19 13:04:35 -08:00
Hyunyoung Song
fc00747909
Add StatsLog*Manager for logging.
...
Bug: 113043444
Verification: (19) is our event classifier number
11-05 11:24:28.188 932 994 I statsd : { 1541445868000000000 766293363001 (19)0x10000->1[I] 0x20000->0[I] 0x30000->0[I] 0x40000->[S] 0x50000->1[I] }
Change-Id: I75403837f9fa8e51efa012fb708bce7efc9c4488
2018-11-05 11:41:38 -08:00
Lucas Dupin
eca08a10bd
Respect night mode flag on Q and beyond
...
Test: manual
Change-Id: I01c51d02e787557717c12567adc8276943dbd1bc
Fixes: 110758454
2018-08-14 11:18:42 -07:00
Sunny Goyal
87b5eb689b
Exposing some private methods to easily customize arrow popup
...
Change-Id: I6f6dc0604a616f26c0879732a0237767ddbfdccc
2018-07-11 14:35:51 -07:00
Sunny Goyal
bd88f396dc
Defining a base theme, which can be overriden by derivative projects without
...
affecting launcher theme
Bug: 70220582
Change-Id: Ie3069686be5e6a42910e90541db2d6b5b79e25c1
2018-06-08 11:20:01 -07:00
Sunny Goyal
a6afdffbbd
Adding support for dark text on dark theme
...
Bug: 80253867
Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
2018-05-24 13:50:27 -07:00
Jon Miranda
73c27ec176
Enable new open app transitions when in multiwindow mode.
...
Bug: 79118278
Change-Id: Iba79948256d70c913af0a9a584eb040f3a8b4151
2018-05-22 17:25:11 -07:00