summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* Minor Refactoring only: no functional changeMario Bertschler2017-03-284-5/+3
| | | | | | | | - organizing imports - remove redundant modifiers on LauncherCallback interface - fix typos Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
* Separating methods for updating the model to a sepatate class.Sunny Goyal2017-02-162-4/+4
| | | | | | | Removing static access to model update methods, to allow for better access control and testing Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
* Refactor DeepShortcutsContainer to PopupContainerWithArrowTony Wickham2017-01-251-2/+2
| | | | | | | | | | | - 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
* Removing static access to Context through LauncherAppStateSunny Goyal2016-12-291-1/+1
| | | | | Bug: 33032833 Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
* Removing all compatibility code below LollipopSunny Goyal2016-12-162-10/+3
| | | | | Bug: 32745285 Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
* Defining various modes for CellLayout: Workspace, Hotseat & FolderSunny Goyal2016-11-211-6/+2
| | | | | | | > Moving the definition of modes to xml > Defining attributes in xml Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
* resolve merge conflicts of 2fd0208 to ub-launcher3-masterTony Wickham2016-10-122-2/+2
|\ | | | | | | Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
| * Use Launcher.getLauncher(Context) instead of type-casting.Tony2016-10-072-2/+2
| | | | | | | | | | Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
* | Announcing the final action when the drag-drop completesSunny Goyal2016-10-111-0/+8
|\ \ | | | | | | | | | | | | | | | am: 3f8864069b Change-Id: Iba49c7ba1d1c2d1f4c279970bbcc3ff96af5ccc0
| * | Announcing the final action when the drag-drop completesSunny Goyal2016-10-111-0/+8
| |/ | | | | | | | | Bug:31926812 Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
* | Refactoring floating view opening/closing logicSunny Goyal2016-10-102-8/+7
| | | | | | | | | | | | | | | | | | > 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
* | Code sanitizationHyunyoung Song2016-10-062-3/+3
| | | | | | | | | | | | - Removed bad method/class name typos Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
* | Exposing custom actions using keyboard shortcutSunny Goyal2016-09-232-8/+14
|/ | | | | | | | | | | | | 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
* Some drag and drop code refactor:Sunny Goyal2016-09-012-23/+79
| | | | | | | | | 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
* Moving the shortcut application logic to the DeepShortcutView.Sunny Goyal2016-08-121-1/+5
| | | | | | | | This makes the logic for accessing various properties consistant and and ties it to the UI of the DeepShortcutView. Bug: 30817556 Change-Id: I09536b9f91b2a9969fcc286f83dd2b17e16cd9ce
* Added custom actions for showing the shortcuts menu and adding a quick actionSunny Goyal2016-07-252-9/+99
| | | | | | | on the home screen Bug: 30374655 Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
* Fixing Virtual nodes getting wrong screen bounds, when dragging in springSunny Goyal2016-07-131-0/+26
| | | | | | | loaded mode Bug: 29582251 Change-Id: I614d387a9b12d812ebb84c7739e8d9ae1bc057b2
* Accessibility fixes and updatesSunny Goyal2016-06-222-1/+76
| | | | | | | | > Adding custom actions on the page indicator to go to overview mode > Disabling custom actions on the first page > Disabling 'move page left' on the second page Change-Id: Ib8154f70cb3f93e663a881357c6c46c33253887f
* Moving LauncherAccessibilityDelegate to Launcher to associate it withSunny Goyal2016-06-171-2/+2
| | | | | | activity lifecycle. Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
* Ensure that custom actions are available to all apps itemsAdam Cohen2016-06-071-1/+3
| | | | | | | | | | -> 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
* Fixing folder icon not getting redrawn when the contents changeSunny Goyal2016-04-061-1/+1
| | | | | | | | | | | | > 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
* Adding support for result callback when starting uninstall-application activitySunny Goyal2016-03-221-2/+2
| | | | Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
* Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies ↵Sunny Goyal2016-02-231-1/+1
| | | | | | | | breakage" This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658. Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
* Reverting refactoring of Folder and FolderIcon to avoid dependencies breakageSunny Goyal2016-02-171-1/+1
| | | | Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
* Refactor FolderIcon to separate the preview effect into it's own classAdam Cohen2016-02-122-2/+2
| | | | | | | -> 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
* Do not animate folder when it is closed while changing activity stateSunny Goyal2015-10-211-1/+1
|\ | | | | | | | | | | | | am: 935fca1857 * commit '935fca185741e51ab634e5df63c6369d2d55dba5': Do not animate folder when it is closed while changing activity state
| * Do not animate folder when it is closed while changing activity stateSunny Goyal2015-10-211-1/+1
| | | | | | | | | | Bug: 21733536 Change-Id: I36aa3041b9300c917e320b511e00a1721e44f854
* | Added 'Cancel' drop target from all apps and widget picker.Tony Wickham2015-10-051-4/+4
| | | | | | | | | | | | | | | | | | | | - 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
* | am d21301e6: Cancelling the stateannouncer when entering button drop targetSunny Goyal2015-09-251-0/+4
|\| | | | | | | | | * commit 'd21301e674377ecd72bd14f32b52c68fabcfd3be': Cancelling the stateannouncer when entering button drop target
| * Cancelling the stateannouncer when entering button drop targetSunny Goyal2015-09-251-0/+4
| | | | | | | | Change-Id: Ia10298e1d4862fc5f46894fa6d934207d6e9c117
* | resolved conflicts for e78e3d73 to ub-launcher3-masterSunny Goyal2015-09-253-21/+80
|\| | | | | | | Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
| * Accessibility fixesSunny Goyal2015-09-253-21/+80
| | | | | | | | | | | | | | | | | | | | | | 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
* | Moving drag-drop related code into a separate package.Vadim Tryshev2015-08-201-1/+1
| | | | | | | | | | | | | | | | | | 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
* | Refactoring ItemInfoSunny Goyal2015-06-301-1/+1
|/ | | | | | | | > Changing dragObject to ItemInfo > Removing dropPos which is always null > Removing requiresDbUpdate which is only used in CellLayout Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
* Tying accessibility drag lifecycle to that of dragControllerSunny Goyal2015-06-081-12/+12
| | | | | Bug: 20865291 Change-Id: I1e0aceb20efcf4c32d76a656c499a1a4a5a32a65
* Removing some synthetic method creationSunny Goyal2015-06-021-1/+1
| | | | | | > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
* Null check in accessibility delegateSunny Goyal2015-06-011-1/+5
| | | | | bug: 21338696 Change-Id: I00d67e53e03e33b26a8eadb669b60fec47553f26
* Moving LauncherAccessibilityDelegate to accessibility packageSunny Goyal2015-05-193-3/+431
| | | | Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
* Various lint error fixes.Sunny Goyal2015-05-141-2/+5
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Merge "Trim all whitespace from titles and labels." into ub-launcher3-burnabyWinson Chung2015-05-111-1/+1
|\
| * Trim all whitespace from titles and labels.Winson Chung2015-05-081-1/+1
| | | | | | | | | | | | Bug: 20953160 Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
* | Merge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnabySunny Goyal2015-05-111-5/+11
|\ \ | |/ |/|
| * Accessibility: Folder drag and drop fixesSunny Goyal2015-05-051-5/+11
| | | | | | | | | | | | | | | | > Do not allow empty cells on the last page to be click targets > Make drop targets accessible > Do not close folder on tap outside Change-Id: I7cae20e45097092f41408b888e20b6c40c17d981
* | Accessibility: Page re-ordering in overview modeSunny Goyal2015-05-061-0/+92
|/ | | | Change-Id: I5fc0ad326a63b6768cb1fae55ee6e05a9fc2b659
* Enabling accessibility drag and drop in folderSunny Goyal2015-04-283-0/+354
> Moving DragAndDropAccessibilityDelegate to a separate class > Using getFocusedVirtualView() instead of using DownX and downY > Updating various accessibility strings Bug: 19776741 Change-Id: I85c2551d4d6172c30702e68f41b114bb999655b6