Searched refs:scrap (Results 1 - 8 of 8) sorted by last modified time

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java589 // If there are scrap children that we did not layout, we need to find where they did go
604 RecyclerView.ViewHolder scrap = scrapList.get(i);
605 final int position = scrap.getLayoutPosition();
609 scrapExtraStart += mOrientationHelper.getDecoratedMeasurement(scrap.itemView);
611 scrapExtraEnd += mOrientationHelper.getDecoratedMeasurement(scrap.itemView);
616 Log.d(TAG, "for unused scrap, decided to add " + scrapExtraStart
1282 * * OR we are laying out scrap children
1316 // if we are laying out views in scrap, this may return null which means there is
1830 * Equal to {@link RecyclerView.State#isPreLayout()}. When consuming scrap, if this value
1894 Log.d(TAG, "layout from scrap
[all...]
H A DRecyclerView.java811 * Recycled view pools allow multiple RecyclerViews to share a common pool of scrap views.
2211 Log.e(TAG, "cannot find old changed holder in changed scrap :/" + oldHolder);
3348 final ViewHolder scrap = scrapHeap.get(index);
3350 return scrap;
3366 public void putRecycledView(ViewHolder scrap) { argument
3367 final int viewType = scrap.getItemViewType();
3372 scrap.resetInternal();
3373 scrapHeap.add(scrap);
3410 ArrayList<ViewHolder> scrap = mScrap.get(viewType);
3411 if (scrap
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java216 public void putRecycledView(RecyclerView.ViewHolder scrap) {
217 super.putRecycledView(scrap);
418 assertFalse("Invalid scrap should be no kept", viewHolder.isInvalid());
H A DLinearLayoutManagerTest.java392 public void putRecycledView(RecyclerView.ViewHolder scrap) {
393 super.putRecycledView(scrap);
396 Log.d(TAG, "CHILD_CNT(put):" + cnt + ", " + scrap);
H A DRecyclerViewAnimationsTest.java353 public void putRecycledView(RecyclerView.ViewHolder scrap) {
354 super.putRecycledView(scrap);
429 }, PositionConstraint.scrap(6, -1, 5), PositionConstraint.scrap(5, -1, 6),
430 PositionConstraint.scrap(7, -1, 7), PositionConstraint.scrap(8, -1, 8),
431 PositionConstraint.scrap(9, -1, 9));
767 }, PositionConstraint.scrap(2, 2, -1), PositionConstraint.scrap(1, 1, 1),
768 PositionConstraint.scrap(
1307 scrap, enum constant in enum:RecyclerViewAnimationsTest.PositionConstraint.Type
1322 public static PositionConstraint scrap(int oldPos, int preLayoutPos, int postLayoutPos) { method in class:RecyclerViewAnimationsTest.PositionConstraint
[all...]
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp221 char scrap[SIZE]; local
234 strncpy(scrap, name, index);
235 scrap[index] = 0;
236 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap);
237 //ALOGD_IF(f, "found <%s> instead", scrap);
244 snprintf(scrap, SIZE, "%sOES", name);
245 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap);
246 //ALOGD_IF(f, "found <%s> instead", scrap);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java1225 * @param optScrap Optional scrap view; will be reused if possible
1238 final View scrap = optType == positionViewType ?
1241 view = mAdapter.getView(position, scrap, this);
1243 if (view != scrap && scrap != null) {
1245 mRecycler.addScrap(scrap);
1515 ArrayList<View> scrap = mScrapViews[lp.viewType];
1516 if (scrap.size() < mMaxScrap) {
1517 scrap.add(v);
1534 ArrayList<View> scrap
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java2315 * the returned view was taken from the scrap heap, false if otherwise.
2334 // If we failed to re-bind the data, scrap the obtained view.
2350 // Failed to re-bind the data, return scrap to the heap.
2874 // Detach any view left in the scrap heap
6017 // Pretend they went through the scrap heap
6269 * scrap heap.
6299 * inside the RecycleBin's scrap heap. This listener is used to free resources
6307 * Indicates that the specified View was moved into the recycler's scrap heap.
6372 final ArrayList<View> scrap = mCurrentScrap;
6373 final int scrapCount = scrap
6536 addScrapView(View scrap, int position) argument
6796 clearScrap(final ArrayList<View> scrap) argument
[all...]

Completed in 146 milliseconds