History log of /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4efffc5ba69fdf44be1bf2b540e24cd2bd85d18c 05-Aug-2016 Tony Wickham <twickham@google.com> Use shortcut disabled message if available.

Bug: 30681210
Change-Id: Ibb5fd58e5fc9557b63730bc1e3c3977133769466
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
66d17ca32db7114e7bff1811d3e5c6669eb49c71 30-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Badging shortcuts with app icons" into ub-launcher3-calgary
79cf718fcdf39d0e60743b32c6611fbb971ff38c 28-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Badging shortcuts with app icons

Change-Id: I3fa005ece20a54b31f823acb28c384ecdf1eafb1
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
ca258b36be07f4835c9cc5fbc3e84e9851647dce 28-Jul-2016 Tony Wickham <twickham@google.com> Only add shortcuts to the deep shortcut map if they are dynamic/manifest.

Bug: 30475465
Change-Id: I93aff6330b86a3bfa3e6b5741ab759d835618f0b
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
70a7c9b70003ae87e2b2968bc6ceded0fe0f0e8b 28-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Showing the shortcuts in the disabled state and removing ti from the menu
when its disabled

Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
2c99d2ceebd1a6b6fed2b71105b8fdf88ef26a33 14-Jul-2016 Tony Wickham <twickham@google.com> Implement ranking for shortcuts.

- Manifest shortcuts are closest to the original icon, in rank order,
followed by dynamic shortcuts in rank order.
- Also prevent pinned shortcuts from showing in container if they
aren't also dynamic (only manifest and dynamic show in container).

Bug: 29822383
Bug: 29946657
Change-Id: I5cdb2ef3700daedca01987f64c245beb3f4aa5ee
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java
bfbf7f9f4a0b300613f0ff27a4eb592d88c08325 19-May-2016 Tony Wickham <twickham@google.com> Add support for launcher shortcuts.

- This CL has no UI but provides the necessary backing for one.
- Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from
ITEM_TYPE_SHORTCUT. We can reconsider these names.
- Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts
(pinned shortcuts are always cached in a HashMap).
- DeepShortcutManager queries for shortcuts and other things like
pin them. In a future CL it will use the cache, but for now it
simply makes an RPC for all queries.
- LauncherModel maintains counts for pinned shortcuts, pinning and
unpinning when counts reach 1 or 0, respectively.
- LauncherModel maintains a map of components to lists of shortcut ids,
which Launcher gets a copy of after it is changed in the background.
This will allow us to know how many shortcuts an app has immediately,
and query for details as the UI is animating.

Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java