Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAnimationsTest.java613 public void putRecycledView(RecyclerView.ViewHolder scrap) { in testRecycleDuringAnimations()
614 super.putRecycledView(scrap); in testRecycleDuringAnimations()
689 }, PositionConstraint.scrap(6, -1, 5), PositionConstraint.scrap(5, -1, 6), in testStableIdNotifyDataSetChanged()
690 PositionConstraint.scrap(7, -1, 7), PositionConstraint.scrap(8, -1, 8), in testStableIdNotifyDataSetChanged()
691 PositionConstraint.scrap(9, -1, 9)); in testStableIdNotifyDataSetChanged()
1104 }, PositionConstraint.scrap(2, 2, -1), PositionConstraint.scrap(1, 1, 1), in testAddDelete2()
1105 PositionConstraint.scrap(3, 3, 3) in testAddDelete2()
1123 }, PositionConstraint.scrap(0, 0, -1), PositionConstraint.scrap(1, 1, -1), in testAddDelete1()
1124 PositionConstraint.scrap(2, 2, 2), PositionConstraint.scrap(3, 3, -1), in testAddDelete1()
1125 PositionConstraint.scrap(4, 4, 4), PositionConstraint.adapter(0), in testAddDelete1()
[all …]
DBaseRecyclerViewInstrumentationTest.java258 public void putRecycledView(RecyclerView.ViewHolder scrap) { in setRecyclerView()
259 assertNull(scrap.mOwnerRecyclerView); in setRecyclerView()
260 super.putRecycledView(scrap); in setRecyclerView()
DLinearLayoutManagerTest.java661 public void putRecycledView(RecyclerView.ViewHolder scrap) { in testRecycleDuringAnimations()
662 super.putRecycledView(scrap); in testRecycleDuringAnimations()
665 Log.d(TAG, "CHILD_CNT(put):" + cnt + ", " + scrap); in testRecycleDuringAnimations()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp221 char scrap[SIZE]; in init_api() local
234 strncpy(scrap, name, index); in init_api()
235 scrap[index] = 0; in init_api()
236 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
244 snprintf(scrap, SIZE, "%sOES", name); in init_api()
245 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.java6421 final ArrayList<View> scrap = mCurrentScrap; in markChildrenDirty() local
6422 final int scrapCount = scrap.size(); in markChildrenDirty()
6424 scrap.get(i).forceLayout(); in markChildrenDirty()
6429 final ArrayList<View> scrap = mScrapViews[i]; in markChildrenDirty() local
6430 final int scrapCount = scrap.size(); in markChildrenDirty()
6432 scrap.get(j).forceLayout(); in markChildrenDirty()
6459 final ArrayList<View> scrap = mCurrentScrap; in clear() local
6460 clearScrap(scrap); in clear()
6464 final ArrayList<View> scrap = mScrapViews[i]; in clear() local
6465 clearScrap(scrap); in clear()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java1060 public int[] extractThemeAttrs(@Nullable int[] scrap) { in extractThemeAttrs() argument
1087 if (scrap != null && scrap.length == N) { in extractThemeAttrs()
1088 attrs = scrap; in extractThemeAttrs()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java653 RecyclerView.ViewHolder scrap = scrapList.get(i); in layoutForPredictiveAnimations() local
654 if (scrap.isRemoved()) { in layoutForPredictiveAnimations()
657 final int position = scrap.getLayoutPosition(); in layoutForPredictiveAnimations()
661 scrapExtraStart += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
663 scrapExtraEnd += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
DRecyclerView.java4196 final ViewHolder scrap = scrapHeap.get(index); in getRecycledView() local
4198 return scrap; in getRecycledView()
4214 public void putRecycledView(ViewHolder scrap) { in putRecycledView() argument
4215 final int viewType = scrap.getItemViewType(); in putRecycledView()
4220 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
4223 scrap.resetInternal(); in putRecycledView()
4224 scrapHeap.add(scrap); in putRecycledView()
4261 ArrayList<ViewHolder> scrap = mScrap.get(viewType); in getScrapHeapForType() local
4262 if (scrap == null) { in getScrapHeapForType()
4263 scrap = new ArrayList<ViewHolder>(); in getScrapHeapForType()
[all …]