Home
last modified time | relevance | path

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

/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java1238 final View scrap = optType == positionViewType ? in obtainView() local
1241 view = mAdapter.getView(position, scrap, this); in obtainView()
1243 if (view != scrap && scrap != null) { in obtainView()
1245 mRecycler.addScrap(scrap); in obtainView()
1515 ArrayList<View> scrap = mScrapViews[lp.viewType]; in addScrap() local
1516 if (scrap.size() < mMaxScrap) { in addScrap()
1517 scrap.add(v); in addScrap()
1534 ArrayList<View> scrap = mScrapViews[type]; in getScrapView() local
1535 if (scrap.isEmpty()) { in getScrapView()
1539 final int index = scrap.size() - 1; in getScrapView()
[all …]
/frameworks/native/opengl/libs/EGL/
DLoader.cpp374 char scrap[SIZE]; in init_api() local
396 strncpy(scrap, name, index); in init_api()
397 scrap[index] = 0; in init_api()
398 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
406 snprintf(scrap, SIZE, "%sOES", name); in init_api()
407 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
/frameworks/base/core/java/android/widget/
DAbsListView.java6822 final ArrayList<View> scrap = mCurrentScrap; in markChildrenDirty() local
6823 final int scrapCount = scrap.size(); in markChildrenDirty()
6825 scrap.get(i).forceLayout(); in markChildrenDirty()
6830 final ArrayList<View> scrap = mScrapViews[i]; in markChildrenDirty() local
6831 final int scrapCount = scrap.size(); in markChildrenDirty()
6833 scrap.get(j).forceLayout(); in markChildrenDirty()
6861 final ArrayList<View> scrap = mCurrentScrap; in clear() local
6862 clearScrap(scrap); in clear()
6866 final ArrayList<View> scrap = mScrapViews[i]; in clear() local
6867 clearScrap(scrap); in clear()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java1277 public int[] extractThemeAttrs(@Nullable int[] scrap) { in extractThemeAttrs() argument
1304 if (scrap != null && scrap.length == N) { in extractThemeAttrs()
1305 attrs = scrap; in extractThemeAttrs()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java682 RecyclerView.ViewHolder scrap = scrapList.get(i); in layoutForPredictiveAnimations() local
683 if (scrap.isRemoved()) { in layoutForPredictiveAnimations()
686 final int position = scrap.getLayoutPosition(); in layoutForPredictiveAnimations()
690 scrapExtraStart += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
692 scrapExtraEnd += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
DRecyclerView.java5012 public void putRecycledView(ViewHolder scrap) { in putRecycledView() argument
5013 final int viewType = scrap.getItemViewType(); in putRecycledView()
5018 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
5021 scrap.resetInternal(); in putRecycledView()
5022 scrapHeap.add(scrap); in putRecycledView()
8331 final View scrap = recycler.getScrapViewAt(i); in removeAndRecycleScrapInt() local
8332 final ViewHolder vh = getChildViewHolderInt(scrap); in removeAndRecycleScrapInt()
8343 mRecyclerView.removeDetachedView(scrap, false); in removeAndRecycleScrapInt()
8349 recycler.quickRecycleScrapView(scrap); in removeAndRecycleScrapInt()