summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/UninstallDropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Show progress dialog when uninstalling an app in Launcher3Go.Jon Miranda2017-08-231-11/+19
| | | | | | | | | | | This ensures that the uninstall activity will finish only after the task is completed. We initially assumed that this was always the case, but in Android Go the uninstall activity finishes before the uninstall is completed. Bug: 64033585 Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a
* Simpifying uninstall drop target to check item type instead of class instanceSunny Goyal2017-08-151-14/+6
| | | | | Bug: 64719848 Change-Id: I34c13b461e204fbdc2c5b4ed6fa92564ebd5439a
* Creating a custom drawable to customize shadow.Sunny Goyal2017-04-271-2/+5
| | | | | | | | > Fixing DrapTargetBar set to visible (with alpha = 0) in the start causing unnecessary draw Bug: 37616877 Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
* Fixing wrong check being used for application statusSunny Goyal2017-03-011-3/+5
| | | | | | | | | | Earlier we were relying on activity list to check is an app is installed or not. It fails if the app only exposes widgets and no visible activity. Hence dragging an icon to AppInfo sometimes causes the icon to get disappear. Bug: 33241335 Change-Id: Ieb71e298a0930dd0a831cf09bd1e998514a427fd
* No more LauncherActivityInfoCompatSunny Goyal2017-01-111-2/+2
| | | | | Bug: 32745285 Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
* Removing all compatibility code below LollipopSunny Goyal2016-12-161-10/+5
| | | | | Bug: 32745285 Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
* No more UserHandleCompatSunny Goyal2016-12-151-5/+4
| | | | | Bug: 32745285 Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
* Refactoring FlingToDeleteSunny Goyal2016-12-131-1/+1
| | | | | | | | | | > 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
* Moving come helper methods to corresponding classesSunny Goyal2016-10-101-14/+26
| | | | | | | | > Moving isPackageEnabled to InstallShortcutReceiver > Moving the deep shortcut map to the data model > Removing appInfo.flags. Instead fetching the flags when needed Change-Id: I654dd8acefa7b7d183b0419afbe112bef001d536
* Adding support for result callback when starting uninstall-application activitySunny Goyal2016-03-221-37/+65
| | | | Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
* Show App Info when dragging widgets from the workspace.Tony Wickham2015-09-181-3/+6
| | | | | Bug: 24190195 Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
* Dragging app from workspace to App Info doesn't consume the app.Tony Wickham2015-09-161-2/+6
| | | | | | In other words, the app stays on the workspace after showing the info. Change-Id: Ibcf925c2c4c083b16ce0510a9fcedbe3fcef5b9d
* resolved conflicts for merge of 9fc953b9 to ub-launcher3-masterSunny Goyal2015-08-171-1/+1
|\ | | | | | | Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
| * Version code cleanupSunny Goyal2015-08-171-1/+1
| | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | Refactoring ItemInfoSunny Goyal2015-06-301-5/+5
|/ | | | | | | | > Changing dragObject to ItemInfo > Removing dropPos which is always null > Removing requiresDbUpdate which is only used in CellLayout Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
* 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
* Various lint error fixes.Sunny Goyal2015-05-141-1/+2
| | | | | | | | > 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
* Updating drop target assetsSunny Goyal2015-04-281-1/+1
| | | | Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733
* Accessibility fixesSunny Goyal2015-04-241-4/+13
| | | | | | | | > 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-0/+122
> Splitting DeleteDropTarget into delete and uninstall > Showing UninstallDropTarget for app shortcuts on workspace > Showing InfoDropTarget only when developer options is enabled Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d