Commit Graph

10334 Commits

Author SHA1 Message Date
vadimt f528fa6518 Removing tracing for a fixed bug
Bug: 138251824
Change-Id: Icd0d5001bfce0b1dabc102a2bbb0212a57d5839a
2020-04-15 13:51:47 -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 ce2d7134f6 Merge "Manually marking widgets recycler as non-scrollable of frozen" into ub-launcher3-rvc-dev 2020-04-15 18:12:13 +00: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
vadimt 31fa653ef3 Manually marking widgets recycler as non-scrollable of frozen
There was hope that freezing automatically marks it as non-scrollable,
but this happened to be not true.

Sending accessibility event per pweaver@'s instructions.

Bug: 152354290
Change-Id: Idd04c69cef9e8e621775ef86112f35e3d9d9d2da
2020-04-15 10:21:14 -07: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
Sunny Goyal ae190ff807 Revert "Have consistent All Apps UI between grid size changes."
Revert submission 557031-1571265377317-631e3e5

Reason for revert: Breaks multiwindow and secondary display layout
Reverted Changes:
Idee087e31:Remove numAllAppsColumns, allAppsIconSize, allApps...
I6235862c9:Have consistent All Apps UI between grid size chan...

Change-Id: I64156123a8fbaba1a7d2b64cddd5376671123aa2
2020-04-14 17:19:47 -07:00
TreeHugger Robot 2fc1c88448 Merge "Revert "Show all apps app names in multi window landscape"" into ub-launcher3-rvc-dev 2020-04-15 00:12:21 +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
Sunny Goyal 604e7bd667 Revert "Show all apps app names in multi window landscape"
This reverts commit 1c3c3b1d6f.

Reason for revert: Broke multi-window rotation and secondary display

Change-Id: I907b21ca82cf2e25f8abe7a09eafd6dec817f81b
(cherry picked from commit 157e666058)
2020-04-14 23:24:02 +00:00
Jon Miranda f8df99fd0a Fix bug where view stays invisible due to view recycling before it gets reset.
Repo steps:
* Drag item out of folder into a space where it won't fit (ie. full workspace)
* Drop item before folder finishes closing

The issue is that the drop completes and we unbind the folder contents
before the postDelayed callback runs to set the view back to visible.

Bug: 153267452
Change-Id: I0bd4e41cc6dda8b908eed3c8789ced54da4ac38a
2020-04-14 14:39:08 -07: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
TreeHugger Robot eb916b560b Merge "Remove swipe support on WorkModeSwitch" into ub-launcher3-rvc-dev 2020-04-14 09:04:29 +00:00
TreeHugger Robot dafb4d10ae Merge "Resolve RTL Work tab highlight" into ub-launcher3-rvc-dev 2020-04-14 05:57:22 +00:00
Samuel Fufa b2b1a0b351 Remove swipe support on WorkModeSwitch
Bug: 153063698
Test: Manual
Change-Id: I0c59617772e1cedff364fd18413dcaec8031cd06
2020-04-13 21:54:58 -07:00
Samuel Fufa 73911d6545 Resolve RTL Work tab highlight
Bug: 153682566
Test: Manual
Change-Id: Ibe2160f10233bae3aa5e86942ac69a9a40fc13e3
2020-04-13 13:45:27 -07:00
Tony Wickham 047a54a21f Merge changes I01790ce5,I938e23af into ub-launcher3-rvc-dev
* changes:
  Remove all apps arrow after getting to all apps 5 times
  Refactor some onboarding-related shared prefs into a class
2020-04-13 18:59:57 +00:00
TreeHugger Robot 8f40d00a5d Merge "Resolve work switch drawable RTL issue" into ub-launcher3-rvc-dev 2020-04-13 18:03:12 +00:00
TreeHugger Robot 411a08665f Merge "Define a11y content description for work paused list" into ub-launcher3-rvc-dev 2020-04-13 01:28:34 +00:00
Samuel Fufa 6c00f16d67 Define a11y content description for work paused list
Bug: 151803591
Test: Manual
Change-Id: I2b592189d784010f09fcd54378f2b34bd2d6c6e3
2020-04-12 17:38:14 -07:00
Samuel Fufa 22557d7a8b Resolve work switch drawable RTL issue
Bug: 153680914
Test: Manual
Change-Id: I54f0240b8845c89f96bf61705fea0dff74c68668
2020-04-12 17:23:51 -07:00
Jon Miranda 57dab6fa29 Let spring take over the overscroll amount when swiping to first/last page.
Bug: 153747836
Change-Id: I8a883f648587b0cb4008df3b8176c9341162b8d1
2020-04-11 10:25:28 -07:00
Tony Wickham 6322000721 Remove all apps arrow after getting to all apps 5 times
- Instead of ScrimView implementing StateListener, added
  mAccessibilityLauncherStateListener.
- Added allAppsStateListener to determine whether we
  reached all apps 5 times.

Bug: 151768994
Change-Id: I01790ce577879eab2e4568fcda19d0245b256d13
2020-04-10 21:14:30 -07:00
Tony Wickham 133cd54474 Refactor some onboarding-related shared prefs into a class
Bug: 151768994
Change-Id: I938e23af8c1874714e02fe34d0f9f82bb21d00a2
2020-04-10 21:06:08 -07:00
TreeHugger Robot 0c0a9ae366 Merge "Fix bug where it is hard to swipe to work profile tab." into ub-launcher3-rvc-dev 2020-04-11 01:32:41 +00:00
Jon Miranda f52af437b2 Fix bug where it is hard to swipe to work profile tab.
Bug: 151739025
Change-Id: I1ba731b4c5ce3a8d88fb14cc4dea2e2410538e6f
2020-04-10 17:25:57 -07:00
TreeHugger Robot f84b31aaab Merge "Fix curve properties not applying when dismissing task" into ub-launcher3-rvc-dev 2020-04-11 00:13:15 +00:00
Tony Wickham a4734cb755 Merge "Dump notification dot counts" into ub-launcher3-rvc-dev 2020-04-10 21:55:27 +00:00
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