Searched refs:DEFAULT_CACHE_SIZE (Results 1 - 6 of 6) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java47 private static final int DEFAULT_CACHE_SIZE = 5; field in class:BaseFragmentPagerAdapter
55 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewBasicTest.java423 assertEquals(RecyclerView.Recycler.DEFAULT_CACHE_SIZE, recycler.mViewCacheMax);
425 assertEquals(RecyclerView.Recycler.DEFAULT_CACHE_SIZE, recycler.mViewCacheMax);
435 assertEquals(RecyclerView.Recycler.DEFAULT_CACHE_SIZE + 3, recycler.mViewCacheMax);
439 assertEquals(RecyclerView.Recycler.DEFAULT_CACHE_SIZE, recycler.mViewCacheMax);
443 assertEquals(RecyclerView.Recycler.DEFAULT_CACHE_SIZE + 3, recycler.mViewCacheMax);
H A DRecyclerViewCacheTest.java1092 final int DEFAULT_CACHE_SIZE = RecyclerView.Recycler.DEFAULT_CACHE_SIZE;
1108 assertEquals(2 + DEFAULT_CACHE_SIZE, innerView.mRecycler.mViewCacheMax);
1123 assertEquals(DEFAULT_CACHE_SIZE, innerView.mRecycler.mViewCacheMax);
1130 assertEquals(1 + DEFAULT_CACHE_SIZE, innerView.mRecycler.mViewCacheMax);
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java72 private static final int DEFAULT_CACHE_SIZE = 40; field in class:RemoteViewsAdapter
854 mCache = new FixedSizeRemoteViewsCache(DEFAULT_CACHE_SIZE);
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java5176 private int mRequestedCacheMax = DEFAULT_CACHE_SIZE;
5177 int mViewCacheMax = DEFAULT_CACHE_SIZE;
5183 static final int DEFAULT_CACHE_SIZE = 2; field in class:RecyclerView.Recycler
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java5600 private int mRequestedCacheMax = DEFAULT_CACHE_SIZE;
5601 int mViewCacheMax = DEFAULT_CACHE_SIZE;
5607 static final int DEFAULT_CACHE_SIZE = 2; field in class:RecyclerView.Recycler

Completed in 70 milliseconds