| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This can happen on small devices or on devices where Font/Display size
is enlarged and when Developer Options is turned on when all three
options {Uninstall, Delete, App Info} are shown at once.
Bug: 64391860
Change-Id: If355d28087d53148114eb586efb3c26f158b3713
|
|
|
|
|
|
|
|
| |
> Fixing DrapTargetBar set to visible (with alpha = 0) in the start
causing unnecessary draw
Bug: 37616877
Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
|
|
|
|
|
|
|
|
|
|
| |
> Moving all fling related logic to FlingToDeleteHelper from DragController
> Removing fling related methods from DragSource and DropTarget
> Moving fling animation logic from DeleteDropTarget to FlingAnimation
> Simplifying DropTargetBar to directly look for all valid drop targets.
This makes it easier to add new DropTarget in xml.
Change-Id: I7214d2d30c907ab93c80d92d9f9be6dda2d63354
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
instead of chaning the layouts in DeviceProfile
Bug: 27721989
Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
|
|
|
|
|
|
|
|
| |
breakage"
This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658.
Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
|
|
|
|
| |
Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
|
|
|
|
|
|
|
| |
-> 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| |
| |
| |
| | |
accessible DnD" into ub-launcher3-burnaby-polish
* commit '9ccacb544bfcb6b444edf09b1b37f955ae57168c':
Fixing 'Item removed' announced twice when using accessible DnD
|
| |
| |
| |
| | |
Change-Id: I2d8781155619d22a41c3f363be7909d411c62fa9
|
|\|
| |
| |
| | |
Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '2949fb5b16a07259e221c5c04470e90c8afb4ea8':
Fixing talk-back folder icon removal regression.
|
| |
| |
| |
| | |
Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43
|
|\|
| |
| |
| |
| |
| |
| | |
workspace" into ub-launcher3-burnaby-polish
* commit 'a3c9fb125c7449df5add990e91e0e3471e3cc776':
Requiring key chord to delete icons and folders on the workspace
|
| |
| |
| |
| |
| |
| |
| | |
- Also fixing case where the all apps button to search for more apps
was not focusable
Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92
|
| |
| |
| |
| |
| |
| |
| | |
This mode has the remove icon on the left side, so flinging to the
left makes more sense. But flinging up still works in either case.
Change-Id: I7ab40776b67659026f03f81efd43fae3375b5ba0
|
|\|
| |
| |
| |
| | |
* commit 'c0b52fefbc11531d560359c093484099f9d1298e':
Refactoring to ensure item deletion always removes from the DB.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Routing the various places where we call through to delete from
LauncherModel through Launcher, which will delegate the removal
of the icon from the workspace, and properly handle the removal
of all items and their contents from the db.
Bug: 23944119
Change-Id: I022fe2b3e79da16b5af87505c4362490b8422686
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I160feaee81b262be02446885fae643c0be71b7af
|
|/
|
|
|
|
|
|
| |
> Changing dragObject to ItemInfo
> Removing dropPos which is always null
> Removing requiresDbUpdate which is only used in CellLayout
Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
|
|
|
|
|
| |
Bug: 21304080
Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
|
|
|
|
|
|
|
| |
> No more flickering when crossfading between two bitmaps in small duration
> Allows us to control the color directly without depending on the assets
Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
|
|
|
|
| |
Change-Id: I1c63e88b3e605113ea66afca9dcfbc30de1d4c8e
|
|
|
|
|
|
|
|
| |
> Enabling top bar buttons in accessibility drag-drop
> Unifying logic to show delete/uninstall/app-info targets
> Announcing cell loction as 1-index instead of 0-index
Change-Id: Ibc7801f77e938b2646f0655462cbe9b7f781818b
|
|
|
|
|
|
|
|
| |
> Splitting DeleteDropTarget into delete and uninstall
> Showing UninstallDropTarget for app shortcuts on workspace
> Showing InfoDropTarget only when developer options is enabled
Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type
For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.
b/19897708
Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
|
|
|
|
|
|
|
|
|
|
|
| |
Elimates 304 methods based on dex analysis
The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.
Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
|
|
|
|
| |
Change-Id: I50ba511b8493bca2506ab6010f141c093bfa7499
|
|
|
|
|
|
|
|
|
|
|
| |
> Adding 'Remove' option to workspace items
> Adding 'Add to workspace' to all apps and widget list items, which
adds the item to the first available space, giving preference to
the current workspace screen
> Adding 'App info' and 'Uninstall' options to appropriate items
Bug: 18482913
Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
|
|
|
|
|
|
|
| |
-> This change provides integration for widgets provided by
the launcher package which can run arbitrary code.
Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
|
|
|
|
|
| |
Bug: 17460202
Change-Id: Id67a9637324abceb5b446fff5999db2a0910401b
|
|
|
|
|
|
|
|
| |
Also switch call to getUserRestrictions to support back to JBMR2
with one call.
Bug: 17300500
Change-Id: I1205730e517c6670f6359a0d448458cae6e8a8d4
|
|
|
|
| |
Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
|
|
|
|
|
|
|
| |
When the user can't uninstall apps from settings, also don't show
the icon to let them do it from here.
Change-Id: I3b203711630a4ff0ba4a5928667c9f09f9479aeb
|
|
|
|
|
|
|
|
|
|
|
| |
When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.
issue: 10779035
Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
|
|
|
|
|
|
|
|
| |
Add support for uninstalling apps from other profiles.
Bug: 14127299
Change-Id: I1a3724a45c95cf93b958d23a57829efcedfc4291
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use LauncherApps API and badging APIs instead of PackageManager.
With compatability layer that uses PackageManager pre L.
Adds support to show apps from current user and any managed profiles.
Background: Managed profiles are user sandboxes that are visible from
the primary user and can be launched as if they are a part of this user.
A launcher should now be capable of listing apps from this user as well
as related profiles of this user.
Launching of activities is now via the LauncherApps interface, to allow
for cross-profile app launching. Only activities with category LAUNCHER
can be added as a shortcut on the workspace for a managed profile.
Widgets and non-application shortcuts are only supported for the
current profile. Widgets from the managed profile are not available.
Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
|
|
|
|
|
|
|
|
|
| |
- Moving the property to LauncherAppState
- The property is only read on dogfood builds.
The property can be set using setprop or /data/local.prop
Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
|
|
|
|
|
|
|
|
| |
When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest.
We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER.
Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent.
Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b
|
|\
| |
| |
| |
| |
| |
| | |
jb-ub-now-jolly-elf
* commit '10a8935ef1fc8f073e276fddc85bf66513050c81':
Use AsyncTasks instead of creating new threads
|
| |
| |
| | |
Change-Id: If166869dfbeb84d4dee2203f5b98a22b9d20719d
|
|/
|
|
|
|
|
| |
This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.
Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
|
|
|
|
| |
Bug: 10909250
|
|
|
|
| |
Change-Id: I8bb4e94b34a627fc32f42cd9c22480b8fa45a651
|
|\ |
|
| |
| |
| |
| |
| | |
Delete target didn't hide after a fling because
onDragEnd was being called twice
|
|/
|
|
|
|
|
|
| |
Also, don't show remove target for system apps
when dragging from All Apps
Bug: 10414133
Bug: 10635796
|