Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAnimationsTest.java1063 public void putRecycledView(RecyclerView.ViewHolder scrap) { in recycleDuringAnimations()
1064 super.putRecycledView(scrap); in recycleDuringAnimations()
1141 }, PositionConstraint.scrap(6, -1, 5), PositionConstraint.scrap(5, -1, 6), in stableIdNotifyDataSetChanged()
1142 PositionConstraint.scrap(7, -1, 7), PositionConstraint.scrap(8, -1, 8), in stableIdNotifyDataSetChanged()
1143 PositionConstraint.scrap(9, -1, 9)); in stableIdNotifyDataSetChanged()
1575 }, PositionConstraint.scrap(2, 2, -1), PositionConstraint.scrap(1, 1, 1), in addDelete2()
1576 PositionConstraint.scrap(3, 3, 3) in addDelete2()
1595 }, PositionConstraint.scrap(0, 0, -1), PositionConstraint.scrap(1, 1, -1), in addDelete1()
1596 PositionConstraint.scrap(2, 2, 2), PositionConstraint.scrap(3, 3, -1), in addDelete1()
1597 PositionConstraint.scrap(4, 4, 4), PositionConstraint.adapter(0), in addDelete1()
[all …]
DBaseRecyclerViewAnimationsTest.java530 scrap, enumConstant
545 public static PositionConstraint scrap(int oldPos, int preLayoutPos, int postLayoutPos) { in scrap() method in BaseRecyclerViewAnimationsTest.PositionConstraint
547 constraint.mType = Type.scrap; in scrap()
597 if (mType == Type.scrap || (mType == Type.adapterScrap && !state.isPreLayout())) { in validate()
613 if (mType == Type.scrap) { in validate()
DLinearLayoutManagerTest.java381 public void putRecycledView(RecyclerView.ViewHolder scrap) { in recycleDuringAnimations()
382 super.putRecycledView(scrap); in recycleDuringAnimations()
385 Log.d(TAG, "CHILD_CNT(put):" + cnt + ", " + scrap); in recycleDuringAnimations()
DBaseRecyclerViewInstrumentationTest.java355 public void putRecycledView(RecyclerView.ViewHolder scrap) { in setRecyclerView()
356 assertNull(scrap.mOwnerRecyclerView); in setRecyclerView()
357 super.putRecycledView(scrap); in setRecyclerView()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp257 char scrap[SIZE]; in init_api() local
270 strncpy(scrap, name, index); in init_api()
271 scrap[index] = 0; in init_api()
272 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap); in init_api()
280 snprintf(scrap, SIZE, "%sOES", name); in init_api()
281 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.java6603 final ArrayList<View> scrap = mCurrentScrap; in markChildrenDirty() local
6604 final int scrapCount = scrap.size(); in markChildrenDirty()
6606 scrap.get(i).forceLayout(); in markChildrenDirty()
6611 final ArrayList<View> scrap = mScrapViews[i]; in markChildrenDirty() local
6612 final int scrapCount = scrap.size(); in markChildrenDirty()
6614 scrap.get(j).forceLayout(); in markChildrenDirty()
6641 final ArrayList<View> scrap = mCurrentScrap; in clear() local
6642 clearScrap(scrap); in clear()
6646 final ArrayList<View> scrap = mScrapViews[i]; in clear() local
6647 clearScrap(scrap); in clear()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java1119 public int[] extractThemeAttrs(@Nullable int[] scrap) { in extractThemeAttrs() argument
1146 if (scrap != null && scrap.length == N) { in extractThemeAttrs()
1147 attrs = scrap; in extractThemeAttrs()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java677 RecyclerView.ViewHolder scrap = scrapList.get(i); in layoutForPredictiveAnimations() local
678 if (scrap.isRemoved()) { in layoutForPredictiveAnimations()
681 final int position = scrap.getLayoutPosition(); in layoutForPredictiveAnimations()
685 scrapExtraStart += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
687 scrapExtraEnd += mOrientationHelper.getDecoratedMeasurement(scrap.itemView); in layoutForPredictiveAnimations()
DRecyclerView.java4734 final ViewHolder scrap = scrapHeap.get(index); in getRecycledView() local
4736 return scrap; in getRecycledView()
4752 public void putRecycledView(ViewHolder scrap) { in putRecycledView() argument
4753 final int viewType = scrap.getItemViewType(); in putRecycledView()
4758 if (DEBUG && scrapHeap.contains(scrap)) { in putRecycledView()
4761 scrap.resetInternal(); in putRecycledView()
4762 scrapHeap.add(scrap); in putRecycledView()
4799 ArrayList<ViewHolder> scrap = mScrap.get(viewType); in getScrapHeapForType() local
4800 if (scrap == null) { in getScrapHeapForType()
4801 scrap = new ArrayList<>(); in getScrapHeapForType()
[all …]