History log of /packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b23980cc0e56b5d3f5ac0ca7714eca6479e502ae 17-Aug-2017 Sunny Goyal <sunnygoyal@google.com> Fixing duplicate/inconsistent definitions for model and callbacks

> 2 implementations for filtering workspace items
> 2 implementations for binding widgets
> duplicate logic for add and update appInfo

Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
8701cd58cf3b32c9d2b9269e3956b32f4726a81a 13-Jul-2017 Jonathan Miranda <jonmiranda@google.com> Revert "Match items in icon preview with items in Folder using permutations."

This reverts commit 69c340a05e846b4b1b2d457164fd313e249df353.

Change-Id: I4178b58e847a87e5cd7e5fa4b6886f0d72ba387b
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
69c340a05e846b4b1b2d457164fd313e249df353 26-Jun-2017 Jon Miranda <jonmiranda@google.com> Match items in icon preview with items in Folder using permutations.

Before, with the FolderIconPreviewVerifier, we would
adjust which items are displayed in the FolderIcon.
This caused some issues where the apps in the folder
icon would jump to whatever was in the upper left quadrant.

Now, we always display the 4 first items in the icon by
modifying the XY positions of the items within the Folder.

Bug: 27944225
Bug: 35064148
Change-Id: I46c0fbb064d4da4da155e29963bfb92b14e40f07
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
3720c69322210e2e196ad93bf856eadc3a956177 19-May-2017 Tony Wickham <twickham@google.com> resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8 11-May-2017 Tony <twickham@google.com> Update accessibility for popup

- Content description includes count of notifications.
- Notifications have a dismiss action.
- All icons that support shortcuts will have action to show
shortcut menu, since there will be system shortcuts even if
there are no deep shortcuts.

Bug: 36564782
Change-Id: I51b085fa26754f2dcd93c7db6548f2edf054f494
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
c06af333cbcebb183d13d004cccf5c9d69a70af0 28-Mar-2017 Mario Bertschler <bmario@google.com> Minor Refactoring only: no functional change

- organizing imports
- remove redundant modifiers on LauncherCallback interface
- fix typos

Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
43bf11d9c95f76c2dfeb625b23cb458df81252b3 02-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Separating methods for updating the model to a sepatate class.

Removing static access to model update methods, to allow for better
access control and testing

Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
540913eadf39f1e8632d2b6f0bc33aa635214198 23-Jan-2017 Tony Wickham <twickham@google.com> Refactor DeepShortcutsContainer to PopupContainerWithArrow

- Also added PopupItemView, which takes animation logic from
DeepShortcutView, and which DeepShortcutView now extends.
- Renamed ShortcutFilter to PopupPopulator, which has support
for new item types (not yet used). Also moved populating
logic (e.g. UpdateShortcutChild Runnable) to PopupPopulator.

Bug: 32410600
Change-Id: Ib6e444ac7ca99c80ba438801c26e62d9542e0ad9
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
8ad02b8f3f3512cdb8eafba6da4483641bf24efc 29-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing static access to Context through LauncherAppState

Bug: 33032833
Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
a52ecb0390c85afb385371bb844bb496c59ddf87 17-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing all compatibility code below Lollipop

Bug: 32745285
Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
740ac7f00e0b847b8e392800f7948d93493e11d6 29-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring floating view opening/closing logic

> Creating a base view for floating panels with some common methods
> Moving the getOpen method to individual classes
> Moving the folder icon animation logic to folder icon
> Moving all the logic related for opening folder to Folder class

Change-Id: I898dfb6870b857cb921d2729b89618bc43ff2e88
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
66b24572e41a13ba5b85b37cf7be64804299c8f6 22-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Exposing custom actions using keyboard shortcut

Keyboard shortcuts:
ctrl+A => Open all apps
ctrl+S => shows deep shortcuts
ctrl+O => shows custom actions popup

This also removes the direct delete/uninstall key shortcuts, making
actidental icon removal less likely

Bug: 24065447
Change-Id: Iae63370c0f33620628567cffd4df024064d4d02e
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
94b510cc683a6436ae82c6d323cbd8b429561b06 17-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Some drag and drop code refactor:

1) Adding DragOptions to easily extend drap functionality
2) Changing onDragStarted signature to send more information
3) Updating states for dropTargetButton based on drag event directly
4) Removing folder item based on onDragStarted and not startDrag

Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
3ffa64df36221a7ae3946f11ced4dcfc487e18dc 25-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Added custom actions for showing the shortcuts menu and adding a quick action
on the home screen

Bug: 30374655
Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
6e92f05314ae240dccd11347ea86529066b528b3 07-Jun-2016 Adam Cohen <adamcohen@google.com> Ensure that custom actions are available to all apps items

-> When BubbleTextViews were being recycled, the RecyclerView was clearing the
AccessibilityDelegate. Ensure that this is reset by the adapter when a
BubbleTextView is reused.

issue 25948877

Change-Id: I95dd21bfdcd602a67925d1b8f06e6ca92d1d7203
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
c52ba710053e4c6927937dd1a26d1abe06b6fa99 06-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Fixing folder icon not getting redrawn when the contents change

> Removing parent from ItemOperator as inconsistant values were
being passed in workspace and folderPagedView
> Fixing itemChanged causing multiple redraws, by passing a
'animate' parameter to explicitely request animation

Bug:27740161
Bug:28015426

Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
d5bd67dfa9ee5fda2384a75231b7a68ceb8e9bd5 11-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for result callback when starting uninstall-application activity

Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
261194387beebaa7927ec4e310274218b651494d 18-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"

This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658.

Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
fc956e5a2a818c06ed3424e15b0aa20a3f604658 17-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage

Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
f9c184a619e4e4b82cf9e0bf318ca6d8deaaaee7 16-Jan-2016 Adam Cohen <adamcohen@google.com> Refactor FolderIcon to separate the preview effect into it's own class

-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
6f0f35806f860b9e4a4513ac219e2c5cd1ee56cd 21-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Do not animate folder when it is closed while changing activity state
am: 935fca1857

* commit '935fca185741e51ab634e5df63c6369d2d55dba5':
Do not animate folder when it is closed while changing activity state
935fca185741e51ab634e5df63c6369d2d55dba5 13-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Do not animate folder when it is closed while changing activity state

Bug: 21733536
Change-Id: I36aa3041b9300c917e320b511e00a1721e44f854
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
9aae47f8a6e23f1805ee3d44512fc1f80286e6dd 01-Oct-2015 Tony Wickham <twickham@google.com> Added 'Cancel' drop target from all apps and widget picker.

- Reuse DeleteDropTarget since it's the same effect, but with "Cancel"
instead of "Remove" if supportsDeleteDropTarget() returns false.
- Rename related strings (but not their values)

Bug: 24104015
Bug: 24099531
Change-Id: Ia9fbcaa17bb17f7aa31df1f830298da01544c178
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
9d4380856ff41ecb26c0d5aee1747b6060d2ef0e 25-Sep-2015 Sunny Goyal <sunnygoyal@google.com> resolved conflicts for e78e3d73 to ub-launcher3-master

Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
e78e3d734b577c1ab6dc0738a83600374908ea52 24-Sep-2015 Sunny Goyal <sunnygoyal@google.com> Accessibility fixes

1) Use a different content description for temporary new page
2) Use different accessibility description for add widget toast
3) Announce when an item is deleted
4) Announce when hovering over a drop target
5) Announce state during drag-n-drop and widget resize (similar to seekbar)

Bug: 23573321, 24057944
Change-Id: Icabb317625e70c78e11c0b4f99b9339172d93594
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834 20-Aug-2015 Vadim Tryshev <vadimt@google.com> Moving drag-drop related code into a separate package.

This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".

I'm not moving DragSource because it's referred from gsa code.

Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
aa8ef119f18864f4ab41c12f9c2ad6d7f643a0a9 13-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Refactoring ItemInfo

> Changing dragObject to ItemInfo
> Removing dropPos which is always null
> Removing requiresDbUpdate which is only used in CellLayout

Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
45478022977de9025dfc887cc1507d90d15febf8 09-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Tying accessibility drag lifecycle to that of dragController

Bug: 20865291
Change-Id: I1e0aceb20efcf4c32d76a656c499a1a4a5a32a65
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
316490e636aad788fcfbfc2e04dd4f0e145bdd00 02-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Removing some synthetic method creation

> Make package-private and @Thunk all private methods and constructors accessed from inner classes.

Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
d3d8c958a28aee7815fa2bc81b5c0b79903d51ad 01-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Null check in accessibility delegate

bug: 21338696
Change-Id: I00d67e53e03e33b26a8eadb669b60fec47553f26
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java
83a8f042adda926489494dff217c15ab696139b4 19-May-2015 Sunny Goyal <sunnygoyal@google.com> Moving LauncherAccessibilityDelegate to accessibility package

Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java