summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DeleteDropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Updating assetsSunny Goyal2015-06-051-1/+1
| | | | | Bug: 21304080 Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
* Using color filter when animating the drop target instead to TransitionDrawableSunny Goyal2015-05-211-1/+1
| | | | | | | > 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
* Updating fling to delete animSunny Goyal2015-04-301-162/+13
| | | | Change-Id: I1c63e88b3e605113ea66afca9dcfbc30de1d4c8e
* Accessibility fixesSunny Goyal2015-04-241-4/+10
| | | | | | | | > 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
* Updating drop button targetsSunny Goyal2015-04-161-266/+12
| | | | | | | | > Splitting DeleteDropTarget into delete and uninstall > Showing UninstallDropTarget for app shortcuts on workspace > Showing InfoDropTarget only when developer options is enabled Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
* WidgetTray revamp workHyunyoung Song2015-04-081-6/+9
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-2/+3
| | | | | | | | | | | 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
* Removed disableAllApps flagSunny Goyal2015-02-261-18/+4
| | | | Change-Id: I50ba511b8493bca2506ab6010f141c093bfa7499
* Adding accessibility controlsSunny Goyal2015-01-161-35/+48
| | | | | | | | | | | > 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
* Supporting custom widgets provided by launcherAdam Cohen2014-12-051-1/+5
| | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* Not opening all apps again when AppInfo or Uninstall is selectedSunny Goyal2014-10-161-7/+1
| | | | | Bug: 17460202 Change-Id: Id67a9637324abceb5b446fff5999db2a0910401b
* Add sdk version guard to UserManager useJason Monk2014-09-021-5/+10
| | | | | | | | Also switch call to getUserRestrictions to support back to JBMR2 with one call. Bug: 17300500 Change-Id: I1205730e517c6670f6359a0d448458cae6e8a8d4
* Fix for issue 16736964Adam Cohen2014-08-081-4/+14
| | | | Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
* Don't show uninstall icon when user restrictedJason Monk2014-07-251-0/+9
| | | | | | | 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
* Adding app widget restore support in Launcher3 for android LSunny Goyal2014-07-211-1/+1
| | | | | | | | | | | 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
* Include user handle for uninstall intents.Kenny Guy2014-07-161-15/+7
| | | | | | | | Add support for uninstalling apps from other profiles. Bug: 14127299 Change-Id: I1a3724a45c95cf93b958d23a57829efcedfc4291
* Launcher3 multi-profile supportKenny Guy2014-04-301-8/+18
| | | | | | | | | | | | | | | | | | | | | 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
* Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-01-091-5/+5
| | | | | | | | | - 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
* Do not allow duplicate shortcuts when ALL_APPS is disabled.Nilesh Agrawal2013-12-171-13/+2
| | | | | | | | 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
* am 10a8935e: Merge "Use AsyncTasks instead of creating new threads" into ↵Michael Jurka2013-12-031-3/+5
|\ | | | | | | | | | | | | jb-ub-now-jolly-elf * commit '10a8935ef1fc8f073e276fddc85bf66513050c81': Use AsyncTasks instead of creating new threads
| * Use AsyncTasks instead of creating new threadsMichael Jurka2013-11-141-3/+5
| | | | | | Change-Id: If166869dfbeb84d4dee2203f5b98a22b9d20719d
* | Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2013-11-281-3/+6
|/ | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Change drop target to "uninstall" when in All AppsMichael Jurka2013-10-091-3/+4
| | | | Bug: 10909250
* Hiding delete for AppsCustomize widgets. (Bug 10884035)Winson Chung2013-09-261-9/+3
| | | | Change-Id: I8bb4e94b34a627fc32f42cd9c22480b8fa45a651
* Merge "Solve fling-to-delete bug" into jb-ub-now-indigo-roseMichael Jurka2013-09-161-2/+0
|\
| * Solve fling-to-delete bugMichael Jurka2013-09-141-2/+0
| | | | | | | | | | Delete target didn't hide after a fling because onDragEnd was being called twice
* | Fix issue with deleting in-app shortcutsMichael Jurka2013-09-141-9/+30
|/ | | | | | | | Also, don't show remove target for system apps when dragging from All Apps Bug: 10414133 Bug: 10635796
* Allow deleting folders and from all appsMichael Jurka2013-09-121-0/+7
| | | Bug: 10635796
* If All Apps is reinstated, allowing removing items from WorkspaceMichael Jurka2013-09-051-4/+7
|
* Move wallpapers to external activityMichael Jurka2013-09-041-4/+4
| | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* Add logging for Folder drag issuesMichael Jurka2013-08-211-26/+23
| | | | | | | | | Drags out of Folders are getting lost, adding debug code to see if the uninstall logic is causing that Also, fixing one potential cause of the issue Change-Id: I0b6a91268571c2a9394e0d6f19fb9d324b427b51
* Small code formatting changesMichael Jurka2013-07-291-1/+2
|
* Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-8/+84
| | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-3/+1
| | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* HACK: Fixing major persistence regression associated with extra screen to ↵Adam Cohen2013-06-141-9/+12
| | | | | | | | the left -> Also adding ability to delete shortcuts. Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-1/+1
| | | | | | | | This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
* HACK: Getting rid of all apps button / all apps from AppsCustomizePagedViewAdam Cohen2013-06-061-8/+12
| | | | Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+437
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b