Home
last modified time | relevance | path

Searched refs:viewTypeCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/widget/
DCompositeListAdapter.java89 int viewTypeCount = adapter.getViewTypeCount(); in addAdapter() local
95 mViewTypeCounts[mSize] = viewTypeCount; in addAdapter()
96 mViewTypeCount += viewTypeCount; in addAdapter()
124 int viewTypeCount = mAdapters[i].getViewTypeCount(); in ensureCacheValid() local
128 mViewTypeCount += viewTypeCount; in ensureCacheValid()
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java42 int viewTypeCount = 1; field in CompositeListAdapterTest.MockAdapter
69 return viewTypeCount; in getViewTypeCount()
176 mAdapter1.viewTypeCount = 2; in testGetViewTypeCount()
177 mAdapter2.viewTypeCount = 3; in testGetViewTypeCount()
188 mAdapter1.viewTypeCount = 2; in testGetItemViewType()
192 mAdapter3.viewTypeCount = 3; in testGetItemViewType()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java781 public void setViewTypeCount(int viewTypeCount) { in setViewTypeCount() argument
782 if (viewTypeCount < 1) { in setViewTypeCount()
784 viewTypeCount + " types reported)"); in setViewTypeCount()
786 if (viewTypeCount == mViewTypeCount) { in setViewTypeCount()
790 ArrayList<View>[] scrapViews = new ArrayList[viewTypeCount]; in setViewTypeCount()
791 for (int i = 0; i < viewTypeCount; i++) { in setViewTypeCount()
794 mViewTypeCount = viewTypeCount; in setViewTypeCount()