Commit Graph

16456 Commits

Author SHA1 Message Date
TreeHugger Robot 671173ef2e Merge "Add tooltip when long pressing system shortcut icon" into ub-launcher3-rvc-dev 2020-04-10 21:22:37 +00:00
TreeHugger Robot 9398772fb8 Merge "Removing tracing for fixed bug" into ub-launcher3-rvc-dev 2020-04-10 20:48:57 +00:00
Tony Wickham cf7552af3f Add tooltip when long pressing system shortcut icon
If we only show the icon view (rather than icon + label),
show the label on long press.

Bug: 148707493
Change-Id: I14ab45b43203375b573e5e5d937ad5ebfb016d83
2020-04-10 13:28:53 -07:00
Tony Wickham 646e4486be Dump notification dot counts
This could help us determine whether our data model or
UI is wrong if dots aren't appearing.

Bug: 152435463
Change-Id: I46065b130b6b1cbb3b2d1db471654b3959332ff5
2020-04-10 01:10:13 +00:00
Tony Wickham c101e1c5de Fix curve properties not applying when dismissing task
- ag/10936255 replaced getViewCenterPosition() with getChildStart(),
  meaning getTranslationX() was no longer included.
- This change goes back to using getViewCenterPosition() and renames
  it to getChildStartWithTranslation().
- Update typo with parameter in getCurveProperties being mInsets
  instead of insets.

Bug: 153574162
Change-Id: I9b46daecf3ee6dbefe0270e70fdc5e6d9d0b0c00
2020-04-10 00:44:28 +00:00
vadimt e206b031a6 Removing tracing for fixed bug
Bug: 152658211
Change-Id: Idc1643a879fca47a50bd58090bbb72a284fd8d59
2020-04-09 16:41:01 -07:00
Sunny Goyal e396abf502 Moving model data structures to a separate file
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
TreeHugger Robot 94c627cf5c Merge "Fix drag and drop regression when dragging a scaled widget" into ub-launcher3-rvc-dev 2020-04-09 19:06:10 +00:00
TreeHugger Robot 2637ec6d8b Merge "More tracking for get-widgets flake" into ub-launcher3-rvc-dev 2020-04-09 19:03:13 +00:00
TreeHugger Robot 2c243ad37d Merge "Fix the issue "Turn on work profile?" dialog not displayed for work profile deep shortcuts when disabled." into ub-launcher3-rvc-dev 2020-04-09 18:48:19 +00:00
vadimt 38a6404a8f More tracking for get-widgets flake
Bug: 152354290
Change-Id: I2883d04c3db0cba6323b125d6c15ffc7aeb1e5b4
2020-04-09 11:06:28 -07:00
Sunny Goyal 3d0d2292fe Merge "Adding All Apps action even when launcher is not in foreground" into ub-launcher3-rvc-dev 2020-04-09 18:01:09 +00:00
Pinyao Ting 8e5db81c3b Fix the issue "Turn on work profile?" dialog not displayed for
work profile deep shortcuts when disabled.

When work profile is locked, the state change doesn't propagated
into UserManagerService immediately. This CL remove that dependency,
rather than having Launcher calls UserManager#isUserUnlocked, the state
is passed into UserLockStateChangedTask by extracting user state from
broadcasted intent at the call-site.

Bug: 147210578
Test: manual
Change-Id: I87f3d0478df44df60e273189f77b61bc40dd2630
2020-04-09 18:00:37 +00:00
Sunny Goyal 512a2c1dbe Adding All Apps action even when launcher is not in foreground
> Also avoids additional binder call on resume/pause
> Removes a system API which needs to be mocked for robo tests

Change-Id: I23d0cba62c17f7659121c53d1804df40f5069005
2020-04-09 02:48:40 -07:00
vadimt 9915a7c60f TAPL waits for widgets recycler to become scrollable
On the Launcher side, moving setLayoutFrozen from the posted action to
avoid a possible short scrollable period just after the view is shown.

Bug: 152354290
Change-Id: I7319236d8a6e49a7e017fd54d593ee131dff10a9
2020-04-08 18:56:52 -07:00
Adam Cohen 370164c4f7 Fix drag and drop regression when dragging a scaled widget
Missed this case in ag/10736229; the symptom was that if you picked up a widget when it was scaled due to split-screen, the widget would disappear

Test: manual

Change-Id: I26810fcf820f7053b6445989dce6598e1df55a8e
2020-04-08 18:00:35 -07:00
TreeHugger Robot 59431db564 Merge "Add new FolderLabelStates to better understand smart folder acceptance rate based on primary suggestion." into ub-launcher3-master 2020-04-07 17:16:04 +00:00
TreeHugger Robot badd58ce06 Merge "Removing some new object creation during touch handling" into ub-launcher3-master 2020-04-07 08:10:21 +00:00
Sunny Goyal acd17dfc18 Removing some new object creation during touch handling
> Motion various transformation methods to Orientation Handler
> Moving orientation handler to quickstep package

Bug: 150300347
Bug: 151269990
Bug: 149610456
Change-Id: I28434c1d1f62a3b85f3583740f0a8f827513fab3
2020-04-07 00:27:16 -07:00
Sunny Goyal 5626583228 Fixing insets not getting applied to workspace
Change-Id: I7512849efd91d4aa2b9da6aba0602c65422c606d
2020-04-06 18:21:02 -07:00
Tracy Zhou 5d35b86558 Merge "Switch to public API for surface view when rendering preview" into ub-launcher3-master 2020-04-06 22:51:49 +00:00
Zak Cohen 071af14ff6 Merge "Overview actions - rename chips flag and make it a device flag." into ub-launcher3-master 2020-04-06 21:58:11 +00:00
Tracy Zhou bb353d3741 Switch to public API for surface view when rendering preview
Bug: 152003916
Test: Manual
Change-Id: I539ed2876d869366fa7635f4467d19e8488b7a1a
2020-04-06 14:39:52 -07: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
thiruram 73d0bb99fd Add new FolderLabelStates to better understand smart folder acceptance rate based on primary suggestion.
Bug: 153358870

Change-Id: I863536f0f2563aab33484d45e9bb518e08a9ebe5
2020-04-06 19:15:13 +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
Sunny Goyal c4d3201538 Removing support for fake landscape
Bug: 111068105
Change-Id: If31d2f700ddee1d21541735de3a8006ee2a53c5c
2020-04-03 17:11:35 -07:00
Zak Cohen 512da48db8 Overview actions - rename chips flag and make it a device flag.
We want to be able to control this value with deviceconfig.

Test: local

Change-Id: I05de087afcf2f558424706a59de2521bb6fddc4e
2020-04-03 15:09:50 -07:00
vadimt c61664988c Tracing for widgets sheet
Bug: 152354290
Change-Id: I956e7aa0a93cf4d57409f68a34a184dfdec984ca
2020-04-03 13:14:27 -07:00
Sunny Goyal 8492edb131 Removing new object creating during scroll/draw
Change-Id: I627832c1659ac332d0ea3279dffba9d3c71ec2af
2020-04-03 01:18:40 -07:00
vadimt 3d87a3397e More widgets tracing
Bug: 152354290
Change-Id: I16b35f080a989f810e6513342c016124d07a4d37
2020-04-02 18:35:37 -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
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 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
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