Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DLoader.cpp325 char scrap[SIZE]; in init_api() local
347 strncpy(scrap, name, index); in init_api()
348 scrap[index] = 0; in init_api()
349 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
357 snprintf(scrap, SIZE, "%sOES", name); in init_api()
358 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
/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/base/core/java/android/widget/
DAbsListView.java6892 final ArrayList<View> scrap = mCurrentScrap; in markChildrenDirty() local
6893 final int scrapCount = scrap.size(); in markChildrenDirty()
6895 scrap.get(i).forceLayout(); in markChildrenDirty()
6900 final ArrayList<View> scrap = mScrapViews[i]; in markChildrenDirty() local
6901 final int scrapCount = scrap.size(); in markChildrenDirty()
6903 scrap.get(j).forceLayout(); in markChildrenDirty()
6931 final ArrayList<View> scrap = mCurrentScrap; in clear() local
6932 clearScrap(scrap); in clear()
6936 final ArrayList<View> scrap = mScrapViews[i]; in clear() local
6937 clearScrap(scrap); in clear()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java1289 public int[] extractThemeAttrs(@Nullable int[] scrap) { in extractThemeAttrs() argument
1316 if (scrap != null && scrap.length == N) { in extractThemeAttrs()
1317 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.java5133 public void putRecycledView(ViewHolder scrap) { in putRecycledView() argument
5134 final int viewType = scrap.getItemViewType(); in putRecycledView()
5139 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
5142 scrap.resetInternal(); in putRecycledView()
5143 scrapHeap.add(scrap); in putRecycledView()
8452 final View scrap = recycler.getScrapViewAt(i); in removeAndRecycleScrapInt() local
8453 final ViewHolder vh = getChildViewHolderInt(scrap); in removeAndRecycleScrapInt()
8464 mRecyclerView.removeDetachedView(scrap, false); in removeAndRecycleScrapInt()
8470 recycler.quickRecycleScrapView(scrap); in removeAndRecycleScrapInt()