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.java481 int viewTypeCount; field in RemoteViewsAdapter.RemoteViewsMetaData
499 viewTypeCount = d.viewTypeCount; in set()
509 viewTypeCount = 1; in reset()
527 return (mappedType < viewTypeCount); in isViewTypeInRange()
953 int viewTypeCount = factory.getViewTypeCount(); in updateTemporaryMetaData() local
968 tmpMetaData.viewTypeCount = viewTypeCount + 1; in updateTemporaryMetaData()
1160 return metaData.viewTypeCount; in getViewTypeCount()
DRemoteViews.java707 public SetRemoteViewsAdapterList(int id, ArrayList<RemoteViews> list, int viewTypeCount) { in SetRemoteViewsAdapterList() argument
710 this.viewTypeCount = viewTypeCount; in SetRemoteViewsAdapterList()
715 viewTypeCount = parcel.readInt(); in SetRemoteViewsAdapterList()
721 dest.writeInt(viewTypeCount); in writeToParcel()
746 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
749 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
754 if (a instanceof RemoteViewsListAdapter && viewTypeCount <= a.getViewTypeCount()) { in apply()
757 v.setAdapter(new RemoteViewsListAdapter(v.getContext(), list, viewTypeCount)); in apply()
767 int viewTypeCount; field in RemoteViews.SetRemoteViewsAdapterList
3008 public void setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) {
[all …]
DAbsListView.java6788 public void setViewTypeCount(int viewTypeCount) { in setViewTypeCount() argument
6789 if (viewTypeCount < 1) { in setViewTypeCount()
6793 ArrayList<View>[] scrapViews = new ArrayList[viewTypeCount]; in setViewTypeCount()
6794 for (int i = 0; i < viewTypeCount; i++) { in setViewTypeCount()
6797 mViewTypeCount = viewTypeCount; in setViewTypeCount()
7127 final int viewTypeCount = mViewTypeCount; in fullyDetachScrapViews() local
7129 for (int i = 0; i < viewTypeCount; ++i) { in fullyDetachScrapViews()
7148 final int viewTypeCount = mViewTypeCount; in pruneScrapViews() local
7150 for (int i = 0; i < viewTypeCount; ++i) { in pruneScrapViews()
7190 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()