Home
last modified time | relevance | path

Searched refs:FastScrollingIndexCache (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DFastScrollingIndexCacheTest.java31 private FastScrollingIndexCache mCache;
55 mCache = FastScrollingIndexCache.getInstanceForTest(mPrefs); in setUp()
72 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
73 FastScrollingIndexCache.buildCacheValue(TITLES_0, COUNTS_0))); in testBuildCacheValue()
75 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
76 FastScrollingIndexCache.buildCacheValue(TITLES_1, COUNTS_1))); in testBuildCacheValue()
78 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
79 FastScrollingIndexCache.buildCacheValue(TITLES_2, COUNTS_2))); in testBuildCacheValue()
82 private static final Bundle putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri, in putAndGetBundle()
85 Bundle bundle = FastScrollingIndexCache.buildExtraBundle(titles, counts); in putAndGetBundle()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DFastScrollingIndexCache.java52 public class FastScrollingIndexCache { class
89 private static FastScrollingIndexCache sSingleton;
91 public static FastScrollingIndexCache getInstance(Context context) { in getInstance()
96 sSingleton = new FastScrollingIndexCache(prefs); in getInstance()
105 static synchronized FastScrollingIndexCache getInstanceForTest( in getInstanceForTest()
107 sSingleton = new FastScrollingIndexCache(prefs); in getInstanceForTest()
111 private FastScrollingIndexCache(SharedPreferences prefs) { in FastScrollingIndexCache() method in FastScrollingIndexCache
DContactsDatabaseHelper.java2770 FastScrollingIndexCache.getInstance(mContext).invalidate(); in rebuildLocaleData()
3401 FastScrollingIndexCache.getInstance(mContext).invalidate(); in upgradeToVersion1111()
DContactsProvider2.java1464 private FastScrollingIndexCache mFastScrollingIndexCache;
1515 mFastScrollingIndexCache = FastScrollingIndexCache.getInstance(getContext()); in initialize()
7563 return FastScrollingIndexCache.buildExtraBundle(labels, counts); in getFastScrollingIndexExtras()