History log of /packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ff9e1d6790d64eb5f8ad9e9721e607978b50583 09-Aug-2017 Mario Bertschler <bmario@google.com> Integrating suggested app by handling new status flags for shortcut items.

Guarded via feature flag SUGGESTED_APP.

Bug: 62483883

Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
debc046b898c4a3e62e3eddd26c89a732dd99b8b 03-May-2017 Tony Wickham <twickham@google.com> Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into am-58d0617b-47f2-44b7-ac1f-c278ee055d1e

* commit 'e3c59256794448c67e01333a9f5036559b1bd502':
Use source bounds/activity options for App Info System Shortcut

Change-Id: Ic7e89e1f2de44198ab95308095b17447d27f0c0d
e3c59256794448c67e01333a9f5036559b1bd502 03-May-2017 Tony <twickham@google.com> Use source bounds/activity options for App Info System Shortcut

Bug: 37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
da1dfa32d0dd56c8c9b4667ebd75d847329285b6 27-Apr-2017 Sunny Goyal <sunnygoyal@google.com> Creating a custom drawable to customize shadow.

> Fixing DrapTargetBar set to visible (with alpha = 0) in the start
causing unnecessary draw

Bug: 37616877
Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
08ffaae3b627a124eaaf8610f5ea8f1898700d45 20-Mar-2017 Mario Bertschler <bmario@google.com> Show promise app icon progress in All Apps and setup market intent
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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
1f3f07d47c29cba3b70bcd15ebb65a077f55a558 11-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Simplifying some launcher themes

> Replacing some colors with theme attributes
> Simplifying styles definition by removing unnecessary inheritance and inlining some definitions

Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
e6e7200791c28472c9335a187a85dbeda1a77d24 13-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Removing promiseIntent property from ShortuctInfo

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
8ad02b8f3f3512cdb8eafba6da4483641bf24efc 29-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing static access to Context through LauncherAppState

Bug: 33032833
Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
0f76b56865bd7b63bd21d53aaac47300396aa38f 14-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring FlingToDelete

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
252f0a3321fd9eb86a8ab29addf652bcdc308500 09-Sep-2016 Tony Wickham <twickham@google.com> Don't show app info for ITEM_TYPE_SHORTCUT.

Bug: 30440566
Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
abef55a1c1f1fda4f42e4b4223534dd21f3dc19f 19-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Update Launcher to use theme colors.

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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
df23837d99c68a0035bd1fdfbf0e2a0888d7519e 17-May-2016 Tony Wickham <twickham@google.com> Only show App Info drag target if developer settings are enabled.

Bug: 28794577
Change-Id: Ia515a627a4f94121c47386829c6772bea42e70f1
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
d5bd67dfa9ee5fda2384a75231b7a68ceb8e9bd5 11-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for result callback when starting uninstall-application activity

Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
ce86e194c41d37b40bd4423bd1954d05bde24840 19-Sep-2015 Tony Wickham <twickham@google.com> Show App Info when dragging widgets from the workspace.

Bug: 24190195
Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
734dfbe2726c748b70eca6a2e3742a7443757bbe 17-Sep-2015 Tony Wickham <twickham@google.com> Dragging app from workspace to App Info doesn't consume the app.

In other words, the app stays on the workspace after showing the info.

Change-Id: Ibcf925c2c4c083b16ce0510a9fcedbe3fcef5b9d
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
34d2c915c4762a073b60bb676a9e905392e9679c 11-Sep-2015 Tony Wickham <twickham@google.com> Added AppInfoDropTargetBar to spring loaded workspace.

Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
aa8ef119f18864f4ab41c12f9c2ad6d7f643a0a9 13-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Refactoring ItemInfo

> Changing dragObject to ItemInfo
> Removing dropPos which is always null
> Removing requiresDbUpdate which is only used in CellLayout

Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
d7da55fc3230df43b3b0090960b3184e88309ff5 12-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Removing developer options check for app info target

Bug: 21626561
Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
40b626b930a1cf51f422fc3c41661fed14fedb84 05-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Updating assets

Bug: 21304080
Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
3a644ed1ce12554fcdf5c499e959bda986d10551 21-May-2015 Sunny Goyal <sunnygoyal@google.com> Using color filter when animating the drop target instead to TransitionDrawable

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
7066003b2032a49ae5e59dab9b706259bdeb7e6e 14-May-2015 Sunny Goyal <sunnygoyal@google.com> Various lint error fixes.

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
1a70cef9884270f2f0a760f079a10fdfb1544c98 22-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Accessibility fixes

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
fa401a10e7e9341daf6f3c5949bf9331902c26d0 10-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Updating drop button targets

> Splitting DeleteDropTarget into delete and uninstall
> Showing UninstallDropTarget for app shortcuts on workspace
> Showing InfoDropTarget only when developer options is enabled

Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
71b5c0b988a64b3a0613ded5403749bc537ee8a5 09-Jan-2015 Sunny Goyal <sunnygoyal@google.com> Adding accessibility controls

> 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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
f07af7b77de0319355e228e8630824d924522d78 31-Jul-2014 Kenny Guy <kennyguy@google.com> Launch app details for correct profile.

Support showing app details for apps in other
profiles.

Bug: 16371359

Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
179370154f5c5d63f683d44428bdbd1144d0102b 04-Jun-2014 Adam Cohen <adamcohen@google.com> Add required cast

Change-Id: I6ff78f583777ec71d414d2fa66cce3390fd97d0e
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
18bbc6a013e10b1fe384b7d3798622e087c813d2 04-Jun-2014 Adam Cohen <adamcohen@google.com> Adding workaround for issue with null drawable

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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
e9a5119836e5e3310c474cb4bb5b7a727bc2415f 04-Jun-2014 Adam Cohen <adamcohen@google.com> Revert "Adding debugging and naive fix for issue 15334203"

This reverts commit ed11c14003ca4ae5f702b6eb3f6b5dd8f4e7d4a4.

Change-Id: Ifc46769477e590512cc5ab79a69063c0341f52b2
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
ed11c14003ca4ae5f702b6eb3f6b5dd8f4e7d4a4 04-Jun-2014 Adam Cohen <adamcohen@google.com> Adding debugging and naive fix for issue 15334203

-> To be reverted, just need signed build.

Change-Id: I6a83e55067d8d2564bb3c4f0c314befbb2793f09
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
1eeb3fc9d874d98dfb43883d17efb4202d83d88a 25-Nov-2013 Mathew Inwood <mathewi@google.com> Generalize support for 'App Info', 'Uninstall' and 'Delete'

This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.

Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
eadbfc564d84aaf1d800da3d0d6edf6312f89648 04-Sep-2013 Michael Jurka <mikejurka@google.com> Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
e4f9891f01bdc10d8f96e4e2429e2f4d0558238b 25-Jun-2013 Daniel Sandler <dsandler@android.com> Lazily instantiate LauncherAppState.

The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
cc8befac3550c81d04ea206c170adae36c9a6c93 11-Jun-2013 Daniel Sandler <dsandler@android.com> Move LauncherApplication's state and code to LauncherAppState.

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
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java