diff options
author | Winson Chung <winsonc@google.com> | 2018-10-16 15:59:24 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-10-23 00:01:07 +0000 |
commit | cc8dbf31db320c6d9513516603c9dcb2c3d01aa5 (patch) | |
tree | 837900647d7cb97c9ddec5a6b16f888918026bfd /quickstep/res/values/config.xml | |
parent | b92656af196e0fa13791e15fa1dffc74a19e509d (diff) | |
download | android_packages_apps_Trebuchet-cc8dbf31db320c6d9513516603c9dcb2c3d01aa5.tar.gz android_packages_apps_Trebuchet-cc8dbf31db320c6d9513516603c9dcb2c3d01aa5.tar.bz2 android_packages_apps_Trebuchet-cc8dbf31db320c6d9513516603c9dcb2c3d01aa5.zip |
Caching clean up, remove dependency on old shared lib loading/caching logic
- Clarify caching policy, we only cache the last N task snapshots
- Pull out necessary logic from RecentsTaskLoadPlan (deprecated) into
launcher class RecentTasksList which also manages the invalidation of
the last loaded list
- Pull out logic from task loading logic in the shared lib into separate
classes TaskThumbnailCache and TaskIconCache, and have each task view
manage the load request for data
Bug: 117603579
Test: Thumbnails still load
Change-Id: I938e4dea19e7f5d24724c32194d254ca003e89aa
Diffstat (limited to 'quickstep/res/values/config.xml')
-rw-r--r-- | quickstep/res/values/config.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quickstep/res/values/config.xml b/quickstep/res/values/config.xml index c29437634..d8ca1c47c 100644 --- a/quickstep/res/values/config.xml +++ b/quickstep/res/values/config.xml @@ -19,4 +19,9 @@ <string name="overview_callbacks_class" translatable="false"></string> <string name="user_event_dispatcher_class" translatable="false">com.android.quickstep.logging.UserEventDispatcherExtension</string> + + <!-- The number of thumbnails and icons to keep in the cache. The thumbnail cache size also + determines how many thumbnails will be fetched in the background. --> + <integer name="recentsThumbnailCacheSize">3</integer> + <integer name="recentsIconCacheSize">12</integer> </resources> |