summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/model/CacheDataUpdatedTask.java
AgeCommit message (Collapse)Author
2020-07-10Creating a common method to iterate over all model items.Sunny Goyal
This would allow adding different source for model items without modifying every model task Bug: 160748731 Change-Id: I5a14dd761e2b8696c58dc8fec7b14077da0aced3
2020-04-09Moving model data structures to a separate fileSunny Goyal
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2019-07-25Separating apps list callback from model callback and simplifying various eventsSunny Goyal
Bug: 137568159 Change-Id: I4d8bb5c01cabe642731ebd3f57fe15bdc5a569b7
2019-04-16ShortcutInfo renamed to WorkspaceItemInfoSunny Goyal
Will get rid of ShortcutInfoCompat in a follow up cl Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
2018-09-21Removing additional rpc due to icon cache updateSunny Goyal
When launcher loads, it fetches the list of apps twice, once for loading all-apps and again for updating icons. Instead reusing the previously fetched apps list. Also moving the icon loading in a separate package for further generalization Change-Id: Ibd2dae56e6027a31b633da030bc6b43a90b27e1b
2018-08-27Using a placeholder icon shape instead of low-res/blurry iconSunny Goyal
Bug: 111142970 Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
2017-08-28Adding support for badging instant app icons.Sunny Goyal
Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
2017-08-17Fixing duplicate/inconsistent definitions for model and callbacksSunny Goyal
> 2 implementations for filtering workspace items > 2 implementations for binding widgets > duplicate logic for add and update appInfo Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
2017-06-08Adding support for loading workspace in the absence of Launcher.Sunny Goyal
> LoadWorkspace can be called with a LoaderResult which does not bind anything. > Synchronous bind does not look for a valid page id, and will fallback to the current pageId similar to full load flow Bug: 37616877 Change-Id: If14491dc79c5b85ae1019cc93e4e08759df3387d
2017-03-28Minor Refactoring only: no functional changeMario Bertschler
- organizing imports - remove redundant modifiers on LauncherCallback interface - fix typos Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
2017-01-03Simplifying IconCache access codeSunny Goyal
Providing a way to access icon cache without LauncherAcitivtiyInfo. This allows fetching LauncherActivityInfo only when required, thus avoiding system RPC when the icon is already in cache. Change-Id: I92918c7a0d0d0796e5f7b70d4ecb6787c52c6600
2016-12-15No more UserHandleCompatSunny Goyal
Bug: 32745285 Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
2016-12-13Ensuring that ShortcutInfo always has an iconSunny Goyal
> Making iconBitmap public instead of a getter (similar to AppInfo) > Removing getIcon() which can lead to IO on UI thread > Removing updateIcon and handling the update at the caller Bug: 21325319 Change-Id: I6a49b9043f974e9629ea25e77012d97cc04c0594
2016-11-09Moving various runnables in LauncherModel to individual tasksSunny Goyal
> Adding tests for some of the runnable Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a