Commit Graph

26116 Commits

Author SHA1 Message Date
lumark bec41bc5b9 Trigger onTaskAppeared when a task started from recents becomes ready.
Launcher can now receive onTaskAppeared callback from
RecentsAnimationController to get remote animation target when in quick
switch mode.

Note: This CL just demonstrates how to receive callback and then
calling removeTask & finish recents animation,
in order to really improve quick switch flicking, launcher side needs
to implement the rest of logic to animate task's remote animation target
to make task switching more smoothly.

Bug: 152480470
Test: WIP
Change-Id: Id0371db7339cfe84942cc905a89b0a2c1fab62ec
2020-04-09 17:19:43 +08:00
Hyunyoung Song f24c614ad2 Fix NPE inside ItemInfo
Bug: 153423464
Test: builds
Change-Id: Ieca836d13ea6535a8016bec2c150c793a41db3ff
2020-04-07 13:43:31 -07:00
Matt Casey 884f8f217f Merging from ub-launcher3-master @ build 6369897
Test: manual, presubmit on the source branch
Bug:150504032

x20/teams/android-launcher/merge/ub-launcher3-master_6369897.html

Change-Id: Id94544cf790a7dcf0841f66648ac864bf2f530d4
2020-04-07 00:54:25 +00:00
TreeHugger Robot 839d0d712c Merge changes from topic "all-apps-arrow" into ub-launcher3-master
* changes:
  Add all apps education bounce animation
  Update vertical drag handle (all apps arrow)
2020-04-06 20:09:45 +00:00
Tony Wickham 490a8ab7c7 Add all apps education bounce animation
- Update existing arrow bounce animation to repeat 3 times,
  and play it when swiping up from nav bar on first home
  screen as well as when tapping the arrow.

Bug: 151768994
Change-Id: Ib120764fdeab6cd932018b6fed8b1093dda20641
2020-04-06 11:28:50 -07:00
Tony Wickham 5edf9e2923 Update vertical drag handle (all apps arrow)
- Change drawable to match specs, using ShadowDrawable to
  add shadow when necessary based on workspace theme.
- New drawable is 18dp by 6dp; add support for different
  width vs height, and decouple from workspace page
  indicator (which is still 24dp tall).

Bug: 151768994
Change-Id: Icfd0eac197ebc4d1f5bb799f8538c4bd99d800cd
2020-04-06 11:26:59 -07:00
thiruram 1de8b5cfe6 Fixes smart folder logging bug when creating new folder.
Bug: 153159419

Change-Id: I5d41bdf6d83b091ee641a8160b026c6bff919417
2020-04-06 01:49:19 +00:00
TreeHugger Robot 34a9d75238 Merge "Removing support for fake landscape" into ub-launcher3-master 2020-04-05 23:22:41 +00:00
TreeHugger Robot 8b5e943693 Merge "Removes WindowManager and DisplayManager from sandbox." into ub-launcher3-master 2020-04-04 09:35:24 +00:00
Andy Wickham 0fda3ba99c Removes WindowManager and DisplayManager from sandbox.
Adds the back gesture panel directly to the fragment
View hierarchy rather than a separate Window.

Bug: 148542211
Change-Id: I196a72d29217308a5bdb78fdcff1face5d475379
2020-04-04 00:32:06 +00:00
Sunny Goyal c4d3201538 Removing support for fake landscape
Bug: 111068105
Change-Id: If31d2f700ddee1d21541735de3a8006ee2a53c5c
2020-04-03 17:11:35 -07:00
Vinit Nayak 4c04982fd6 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev 2020-04-03 20:27:50 +00:00
vadimt c61664988c Tracing for widgets sheet
Bug: 152354290
Change-Id: I956e7aa0a93cf4d57409f68a34a184dfdec984ca
2020-04-03 13:14:27 -07:00
Adam Cohen df83c9026d Merging from ub-launcher3-master @ build 6356169
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_6356169.html

Change-Id: Ife6c578d9a1e212eccdf3cf9a0cd838132eb90f5
2020-04-03 18:34:45 +00:00
Sunny Goyal 8492edb131 Removing new object creating during scroll/draw
Change-Id: I627832c1659ac332d0ea3279dffba9d3c71ec2af
2020-04-03 01:18:40 -07:00
Sunny Goyal 9662eb8d3c Merge "Not controlling actions visibility during alpha" into ub-launcher3-master 2020-04-03 06:38:55 +00:00
vadimt 3d87a3397e More widgets tracing
Bug: 152354290
Change-Id: I16b35f080a989f810e6513342c016124d07a4d37
2020-04-02 18:35:37 -07:00
Sunny Goyal bebae01a94 Not controlling actions visibility during alpha
Bug: 153102687
Change-Id: Ib8f920d03a1123f08e76b0ca8b39784c073348c1
2020-04-02 18:06:38 -07:00
TreeHugger Robot 0ea0dab97e Merge "Fixing widget sheet not scrolled using external mouse" into ub-launcher3-master 2020-04-02 22:55:20 +00:00
TreeHugger Robot 402e7be703 Merge "Hybrid Hotseat a11y" into ub-launcher3-master 2020-04-02 22:27:32 +00:00
TreeHugger Robot 1e3854b376 Merge "More tracing for widgets scroll bug" into ub-launcher3-master 2020-04-02 21:19:32 +00:00
Samuel Fufa 6eaf989d98 Hybrid Hotseat a11y
- speak meaningful accessibility label for predicted items
- disable accessibility focus for on-boarding preview items
- add PIN as an accessibility action
- remove move and remove actions for prediction icons

Bug:152376193
Bug:152359303
Bug:152374583
Bug:152357657
Bug:152268303
Bug:152379490

Change-Id: I40fe0ef6329cd5b1d9215ac5fa1716f15db89ac8
2020-04-02 14:16:07 -07:00
vadimt 257589dd48 More tracing for widgets scroll bug
Bug: 152354290
Change-Id: I772d6faf4f96f423246b379169964de072174e50
2020-04-02 13:02:15 -07:00
Vinit Nayak b9cb1e3c8f Merge "Re-enable orientation sensor for Overview animation" into ub-launcher3-master 2020-04-02 19:02:30 +00:00
TreeHugger Robot 707fb5daf0 Merge "More diags for missing widgets" into ub-launcher3-master 2020-04-02 18:14:19 +00:00
Vinit Nayak 6b7cc3fdc2 Re-enable orientation sensor for Overview animation
Slight revert of ag/10668129 with adjustment
of disabling it for tests.

Fixes: 151456795
Test: Ran the labtest command for OOP
tests for crosshatch (where this issue
was first detected)

Change-Id: I315d138c2e4a6d4068304e9b5fb2e1b7feb34e63
2020-04-02 11:07:10 -07:00
TreeHugger Robot e124718af0 Merge "Allow delegate input consumer to clear consumer state" into ub-launcher3-master 2020-04-02 03:51:07 +00:00
vadimt 00a031fbab More diags for missing widgets
Bug: 152645831
Change-Id: Idf6584220328a0853cd8dd65ebb5c54bab9980fd
2020-04-01 15:33:35 -07:00
TreeHugger Robot 639aca6142 Merge "Catching StaleObjectException (and everything else) from get bounds" into ub-launcher3-master 2020-04-01 22:16:08 +00:00
TreeHugger Robot 6a2586db45 Merge "Remove accessibility long click option if no long click action occurs." into ub-launcher3-master 2020-04-01 19:42:23 +00:00
TreeHugger Robot 2d652c1d6b Merge "Show work switch tip" into ub-launcher3-master 2020-04-01 19:20:44 +00:00
Jon Miranda ff65674a10 Remove accessibility long click option if no long click action occurs.
Bug: 149370403
Change-Id: Ifdbd673a53229c76a99f7b8ef9569db7195481a2
2020-04-01 12:02:07 -07:00
TreeHugger Robot e3284434c5 Merge "Fixing Search box placement in Launcher3" into ub-launcher3-master 2020-04-01 18:52:28 +00:00
Samuel Fufa 9f7f9d9e34 Show work switch tip
This shows a tip view on the third visit to work tab

Bug: 151407879
Test: Manual
Change-Id: Ia28860e97113f8a9c246c3a82b0a1da4a53d8e07
2020-04-01 11:43:27 -07:00
TreeHugger Robot 7b4a1f5b3c Merge "Events checking for long press events" into ub-launcher3-master 2020-04-01 18:33:24 +00:00
TreeHugger Robot f1939f6f54 Merge "Including full diags from system alerts" into ub-launcher3-master 2020-04-01 18:20:32 +00:00
Hyunyoung Song 8a97f58214 Merge "ItemInfo supports lite proto builder (1/n)" into ub-launcher3-master 2020-04-01 06:27:47 +00: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
Jonathan Miranda 1c45e888e6 Merge "Remove accessibility long click option if no long click action occurs." into ub-launcher3-master 2020-04-01 02:21:20 +00:00
vadimt e277fec466 Events checking for long press events
Also fixing duplicate long press events resulting from both framework
and Launcher own detection reporting long presses.

Change-Id: Ib46de5bd60850f1c5578992c8c1172ddbc0961f3
2020-03-31 19:08:17 -07:00
vadimt 486744b173 Including full diags from system alerts
Change-Id: I779d3ccb683aea46e7e1b58ed088933d5685c183
2020-03-31 18:36:38 -07:00
TreeHugger Robot 29f241c698 Merge "Tracing widgets page events propagation to catch flake" into ub-launcher3-master 2020-03-31 22:38:22 +00:00
vadimt 8e981a74c3 Tracing widgets page events propagation to catch flake
Bug: 152354290
Change-Id: Ia2c9e0ade8f2777e085381d10e8461f97e76de7d
2020-03-31 14:50:45 -07:00
vadimt bb3f515690 Catching StaleObjectException (and everything else) from get bounds
This will improve diags because fail() adds useful info to the message

Change-Id: I0a27f80c71a900078c94d9dd44d431fc206a37a0
2020-03-31 14:03:00 -07:00
Sreyas cd866635d9 OverviewActions - update strings for OAV AOSP.
Finalize the strings in overview actions for translation.

Change-Id: I2237507ff33f8fcf04a78bd4e7826383386b01ad
2020-03-31 12:34:36 -07:00
Sunny Goyal 8b37c57804 Fixing widget sheet not scrolled using external mouse
> Fixing crash when some properties are not initialized if draw is not called
> Adding robolectic support for UI testing
> Adding robo tests to verify workspace, all-apps, widgets and folder scrolling

Bug: 147312357
Change-Id: Id7756e07f06396359e441cdff2e4f992bdcb97bb
2020-03-31 12:17:09 -07:00
TreeHugger Robot 5edc5caf96 Merge "Improving events checks diags" into ub-launcher3-master 2020-03-31 19:12:42 +00:00
Sunny Goyal 514dfa2deb Changing actions button visibility to match clear-all button
> Removing translation when animating actions button

Change-Id: I6875e03f9c55f00232c605743348175ea132cb15
2020-03-30 16:46:06 -07:00
Sunny Goyal b681ebe3d2 Fixing Search box placement in Launcher3
Bug: 152372445
Change-Id: Ifabcc73f33f18de48b737d3e325b14fba75d0d96
2020-03-30 15:25:29 -07:00
vadimt 5486970e31 Improving events checks diags
Printing matching sequences and making putput more readable.

Change-Id: I3325aa2a8291096017533372f9da0f7550f39313
2020-03-30 13:21:19 -07:00