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.java32 private FastScrollingIndexCache mCache;
56 mCache = FastScrollingIndexCache.getInstanceForTest(mPrefs); in setUp()
73 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
74 FastScrollingIndexCache.buildCacheValue(TITLES_0, COUNTS_0))); in testBuildCacheValue()
76 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
77 FastScrollingIndexCache.buildCacheValue(TITLES_1, COUNTS_1))); in testBuildCacheValue()
79 FastScrollingIndexCache.buildExtraBundleFromValue( in testBuildCacheValue()
80 FastScrollingIndexCache.buildCacheValue(TITLES_2, COUNTS_2))); in testBuildCacheValue()
83 private static final Bundle putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri, in putAndGetBundle()
86 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.java2790 FastScrollingIndexCache.getInstance(mContext).invalidate(); in rebuildLocaleData()
3410 FastScrollingIndexCache.getInstance(mContext).invalidate(); in upgradeToVersion1111()
DContactsProvider2.java1528 private FastScrollingIndexCache mFastScrollingIndexCache;
1615 mFastScrollingIndexCache = FastScrollingIndexCache.getInstance(getContext()); in initialize()
8136 return FastScrollingIndexCache.buildExtraBundle(labels, counts); in getFastScrollingIndexExtras()