Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRemoteViewsListAdapter.java36 int viewTypeCount) { in RemoteViewsListAdapter() argument
39 mViewTypeCount = viewTypeCount; in RemoteViewsListAdapter()
DRemoteViewsAdapter.java394 int viewTypeCount; field in RemoteViewsAdapter.RemoteViewsMetaData
414 viewTypeCount = d.viewTypeCount; in set()
424 viewTypeCount = 1; in reset()
453 if (mappedType >= viewTypeCount) { in isViewTypeInRange()
990 int viewTypeCount = factory.getViewTypeCount(); in updateTemporaryMetaData() local
1001 tmpMetaData.viewTypeCount = viewTypeCount + 1; in updateTemporaryMetaData()
1240 return metaData.viewTypeCount; in getViewTypeCount()
DRemoteViews.java518 public SetRemoteViewsAdapterList(int id, ArrayList<RemoteViews> list, int viewTypeCount) { in SetRemoteViewsAdapterList() argument
521 this.viewTypeCount = viewTypeCount; in SetRemoteViewsAdapterList()
526 viewTypeCount = parcel.readInt(); in SetRemoteViewsAdapterList()
539 dest.writeInt(viewTypeCount); in writeToParcel()
574 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
577 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
582 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
585 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
594 int viewTypeCount; field in RemoteViews.SetRemoteViewsAdapterList
2451 public void setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) { in setRemoteAdapter() argument
[all …]
DAbsListView.java6405 public void setViewTypeCount(int viewTypeCount) { in setViewTypeCount() argument
6406 if (viewTypeCount < 1) { in setViewTypeCount()
6410 ArrayList<View>[] scrapViews = new ArrayList[viewTypeCount]; in setViewTypeCount()
6411 for (int i = 0; i < viewTypeCount; i++) { in setViewTypeCount()
6414 mViewTypeCount = viewTypeCount; in setViewTypeCount()
6744 final int viewTypeCount = mViewTypeCount; in pruneScrapViews() local
6746 for (int i = 0; i < viewTypeCount; ++i) { in pruneScrapViews()
6788 final int viewTypeCount = mViewTypeCount; in reclaimScrapViews() local
6790 for (int i = 0; i < viewTypeCount; ++i) { in reclaimScrapViews()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java1467 public void setViewTypeCount(int viewTypeCount) { in setViewTypeCount() argument
1468 if (viewTypeCount < 1) { in setViewTypeCount()
1470 viewTypeCount + " types reported)"); in setViewTypeCount()
1472 if (viewTypeCount == mViewTypeCount) { in setViewTypeCount()
1476 ArrayList<View>[] scrapViews = new ArrayList[viewTypeCount]; in setViewTypeCount()
1477 for (int i = 0; i < viewTypeCount; i++) { in setViewTypeCount()
1480 mViewTypeCount = viewTypeCount; in setViewTypeCount()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1317 final int viewTypeCount = 2; in createOverflowListView() local
1324 return viewTypeCount; in createOverflowListView()