Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRemoteViewsListAdapter.java36 int viewTypeCount) { in RemoteViewsListAdapter() argument
39 mViewTypeCount = viewTypeCount; in RemoteViewsListAdapter()
DRemoteViewsAdapter.java401 int viewTypeCount; field in RemoteViewsAdapter.RemoteViewsMetaData
421 viewTypeCount = d.viewTypeCount; in set()
431 viewTypeCount = 1; in reset()
459 return (mappedType < viewTypeCount); in isViewTypeInRange()
944 int viewTypeCount = factory.getViewTypeCount(); in updateTemporaryMetaData() local
955 tmpMetaData.viewTypeCount = viewTypeCount + 1; in updateTemporaryMetaData()
1128 return metaData.viewTypeCount; in getViewTypeCount()
DRemoteViews.java595 public SetRemoteViewsAdapterList(int id, ArrayList<RemoteViews> list, int viewTypeCount) { in SetRemoteViewsAdapterList() argument
598 this.viewTypeCount = viewTypeCount; in SetRemoteViewsAdapterList()
603 viewTypeCount = parcel.readInt(); in SetRemoteViewsAdapterList()
616 dest.writeInt(viewTypeCount); in writeToParcel()
651 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
654 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
659 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
662 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
671 int viewTypeCount; field in RemoteViews.SetRemoteViewsAdapterList
2839 public void setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) {
[all …]
DAbsListView.java6587 public void setViewTypeCount(int viewTypeCount) { in setViewTypeCount() argument
6588 if (viewTypeCount < 1) { in setViewTypeCount()
6592 ArrayList<View>[] scrapViews = new ArrayList[viewTypeCount]; in setViewTypeCount()
6593 for (int i = 0; i < viewTypeCount; i++) { in setViewTypeCount()
6596 mViewTypeCount = viewTypeCount; in setViewTypeCount()
6923 final int viewTypeCount = mViewTypeCount; in fullyDetachScrapViews() local
6925 for (int i = 0; i < viewTypeCount; ++i) { in fullyDetachScrapViews()
6944 final int viewTypeCount = mViewTypeCount; in pruneScrapViews() local
6946 for (int i = 0; i < viewTypeCount; ++i) { in pruneScrapViews()
6986 final int viewTypeCount = mViewTypeCount; in reclaimScrapViews() local
[all …]
/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()