/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | ChildHelperTest.java | 43 ChildHelper mChildHelper; field in class:ChildHelperTest 50 mChildHelper = new ChildHelper(mLoggingCallback); 66 mChildHelper.addView(vh.itemView, false); 68 assertFalse(mChildHelper.isHidden(vh.itemView)); 75 mChildHelper.addView(vh.itemView, true); 77 assertTrue(mChildHelper.isHidden(vh.itemView)); 84 mChildHelper.addView(vh.itemView, false); 85 mChildHelper.hide(vh.itemView); 86 assertTrue(mChildHelper.isHidden(vh.itemView)); 87 mChildHelper [all...] |
H A D | RecyclerViewCacheTest.java | 695 mRecyclerView.mChildHelper.findHiddenNonRemovedView(2)); 709 mRecyclerView.mChildHelper.findHiddenNonRemovedView(2)); 1021 ChildHelper childHelper = recyclerView.mChildHelper; 1073 assertEquals(2, mRecyclerView.mChildHelper.getUnfilteredChildCount()); 1080 assertEquals(2, mRecyclerView.mChildHelper.getUnfilteredChildCount()); 1252 assertEquals(0, holder.mNestedRecyclerView.get().mChildHelper.getUnfilteredChildCount()); 1289 assertEquals(0, innerRecyclerView.mChildHelper.getUnfilteredChildCount()); 1304 assertEquals(0, innerRecyclerView.mChildHelper.getUnfilteredChildCount());
|
H A D | BaseRecyclerViewAnimationsTest.java | 402 .append(mChildHelper.mHiddenViews.contains(vh.itemView)) 416 } else if (!mChildHelper.mHiddenViews.contains(vh.itemView)) {
|
H A D | RecyclerViewAnimationsTest.java | 483 assertTrue(mRecyclerView.mChildHelper.isHidden(target.itemView)); 521 assertTrue("test sanity", mRecyclerView.mChildHelper.isHidden(target.itemView)); 546 assertEquals("no views should be hidden", 0, rv.mChildHelper.mHiddenViews.size());
|
H A D | RecyclerViewLayoutTest.java | 2474 if (mRecyclerView.mChildHelper.isHidden(view)) { 2541 boolean v1Hidden = recyclerView.mChildHelper.isHidden(v1); 2542 boolean v2Hidden = recyclerView.mChildHelper.isHidden(v2); 2545 mRecyclerView.mChildHelper.unhide(v1); 2548 mRecyclerView.mChildHelper.unhide(v2); 2556 mRecyclerView.mChildHelper.hide(v1); 2559 mRecyclerView.mChildHelper.hide(v2);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 290 ChildHelper mChildHelper; field in class:RecyclerView 678 mChildHelper = new ChildHelper(new ChildHelper.Callback() { 787 if (mChildHelper.isHidden(vh.itemView)) { 1145 mChildHelper.removeAllViewsUnfiltered(); 1241 mChildHelper.attachViewToParent(view, -1, view.getLayoutParams(), true); 1243 mChildHelper.addView(view, true); 1245 mChildHelper.hide(view); 1257 final boolean removed = mChildHelper.removeViewIfHidden(view); 1624 final int childCount = mChildHelper.getChildCount(); 1626 final ViewHolder holder = getChildViewHolderInt(mChildHelper 6809 ChildHelper mChildHelper; field in class:RecyclerView.LayoutManager [all...] |
H A D | GapWorker.java | 251 final int childCount = view.mChildHelper.getUnfilteredChildCount(); 253 View attachedView = view.mChildHelper.getUnfilteredChildAt(i); 297 && innerView.mChildHelper.getUnfilteredChildCount() != 0) {
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 326 ChildHelper mChildHelper; field in class:RecyclerView 794 mChildHelper = new ChildHelper(new ChildHelper.Callback() { 926 if (mChildHelper.isHidden(vh.itemView)) { 1288 mChildHelper.removeAllViewsUnfiltered(); 1385 mChildHelper.attachViewToParent(view, -1, view.getLayoutParams(), true); 1387 mChildHelper.addView(view, true); 1389 mChildHelper.hide(view); 1401 final boolean removed = mChildHelper.removeViewIfHidden(view); 1851 final int childCount = mChildHelper.getChildCount(); 1853 final ViewHolder holder = getChildViewHolderInt(mChildHelper 7251 ChildHelper mChildHelper; field in class:RecyclerView.LayoutManager [all...] |
H A D | GapWorker.java | 263 final int childCount = view.mChildHelper.getUnfilteredChildCount(); 265 View attachedView = view.mChildHelper.getUnfilteredChildAt(i); 315 && innerView.mChildHelper.getUnfilteredChildCount() != 0) {
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | NestedScrollView.java | 182 private final NestedScrollingChildHelper mChildHelper; field in class:NestedScrollView 209 mChildHelper = new NestedScrollingChildHelper(this); 221 return mChildHelper.startNestedScroll(axes, type); 226 mChildHelper.stopNestedScroll(type); 231 return mChildHelper.hasNestedScrollingParent(type); 237 return mChildHelper.dispatchNestedScroll(dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed, 244 return mChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow, type); 251 mChildHelper.setNestedScrollingEnabled(enabled); 256 return mChildHelper.isNestedScrollingEnabled(); 288 return mChildHelper [all...] |