summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/InfoDropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into ↵Tony Wickham2017-05-031-2/+8
|\ | | | | | | | | | | | | | | | | am-58d0617b-47f2-44b7-ac1f-c278ee055d1e * commit 'e3c59256794448c67e01333a9f5036559b1bd502': Use source bounds/activity options for App Info System Shortcut Change-Id: Ic7e89e1f2de44198ab95308095b17447d27f0c0d
| * Use source bounds/activity options for App Info System ShortcutTony2017-05-021-1/+8
| | | | | | | | | | Bug: 37923215 Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
* | Creating a custom drawable to customize shadow.Sunny Goyal2017-04-271-4/+2
| | | | | | | | | | | | | | | | > Fixing DrapTargetBar set to visible (with alpha = 0) in the start causing unnecessary draw Bug: 37616877 Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
* | Show promise app icon progress in All Apps and setup market intentMario Bertschler2017-03-201-0/+6
|/ | | | | | | | | | | on clicking promise app icon in All Apps. Only the progress will be changed with animation on progress update, no relayout is performed. If the icon is newly bound, the progress will not be animated. Bug: 23952570 Change-Id: I98d3f945f08a2abadf53f20e6007c15e56d5d410
* Simplifying some launcher themesSunny Goyal2017-02-161-1/+2
| | | | | | | > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
* Removing promiseIntent property from ShortuctInfoSunny Goyal2017-01-121-4/+9
| | | | | | | | > Instead of checking promiseIntent != null, using isPromise() for consistency > Fixing bug where clicking a pending icon does not launch anything > Fixing bug where draging an icon on Info target, permanently hides the icon Change-Id: Ic8f6b56042dba42d5ed9aedb0f5947186e1a4208
* Removing static access to Context through LauncherAppStateSunny Goyal2016-12-291-5/+3
| | | | | Bug: 33032833 Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
* 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
* Don't show app info for ITEM_TYPE_SHORTCUT.Tony Wickham2016-09-081-1/+2
| | | | | Bug: 30440566 Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* Only show App Info drag target if developer settings are enabled.Tony Wickham2016-05-171-2/+9
| | | | | Bug: 28794577 Change-Id: Ia515a627a4f94121c47386829c6772bea42e70f1
* Adding support for result callback when starting uninstall-application activitySunny Goyal2016-03-221-10/+31
| | | | Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
* Show App Info when dragging widgets from the workspace.Tony Wickham2015-09-181-1/+3
| | | | | Bug: 24190195 Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
* Dragging app from workspace to App Info doesn't consume the app.Tony Wickham2015-09-161-7/+12
| | | | | | In other words, the app stays on the workspace after showing the info. Change-Id: Ibcf925c2c4c083b16ce0510a9fcedbe3fcef5b9d
* Added AppInfoDropTargetBar to spring loaded workspace.Tony Wickham2015-09-151-1/+2
| | | | Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
* Refactoring ItemInfoSunny Goyal2015-06-301-13/+4
| | | | | | | | > Changing dragObject to ItemInfo > Removing dropPos which is always null > Removing requiresDbUpdate which is only used in CellLayout Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
* Removing developer options check for app info targetSunny Goyal2015-06-121-14/+1
| | | | | Bug: 21626561 Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d
* 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-3/+13
| | | | | | | | > 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
* Accessibility fixesSunny Goyal2015-04-241-4/+7
| | | | | | | | > 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-75/+10
| | | | | | | | > Splitting DeleteDropTarget into delete and uninstall > Showing UninstallDropTarget for app shortcuts on workspace > Showing InfoDropTarget only when developer options is enabled Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
* Adding accessibility controlsSunny Goyal2015-01-161-13/+17
| | | | | | | | | | | > 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
* Launch app details for correct profile.Kenny Guy2014-08-041-1/+10
| | | | | | | | | Support showing app details for apps in other profiles. Bug: 16371359 Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
* Add required castAdam Cohen2014-06-031-1/+1
| | | | Change-Id: I6ff78f583777ec71d414d2fa66cce3390fd97d0e
* Adding workaround for issue with null drawableAdam Cohen2014-06-041-0/+7
| | | | | | | A drawable is null which ought not be null, since it should have been set during inflation. Seems like a platform issue on one device. Adding a workaround to manually set it in code after inflation if necessary. issue 15334203 Change-Id: Ideb80c231300e61f6dfe5336d6d647a3e1b51817
* Revert "Adding debugging and naive fix for issue 15334203"Adam Cohen2014-06-041-24/+2
| | | | | | This reverts commit ed11c14003ca4ae5f702b6eb3f6b5dd8f4e7d4a4. Change-Id: Ifc46769477e590512cc5ab79a69063c0341f52b2
* Adding debugging and naive fix for issue 15334203Adam Cohen2014-06-031-2/+24
| | | | | | -> To be reverted, just need signed build. Change-Id: I6a83e55067d8d2564bb3c4f0c314befbb2793f09
* Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2013-11-281-5/+1
| | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Move wallpapers to external activityMichael Jurka2013-09-041-2/+2
| | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* 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
* 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
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+129
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b