Home
last modified time | relevance | path

Searched defs:child (Results 1 – 25 of 41) sorted by relevance

12

/recyclerview/recyclerview/src/main/java/androidx/recyclerview/widget/
DChildHelper.java83 private void hideViewInternal(View child) { in hideViewInternal()
93 private boolean unhideViewInternal(View child) { in unhideViewInternal()
108 void addView(View child, boolean hidden) { in addView()
120 void addView(View child, int index, boolean hidden) { in addView()
275 void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, in attachViewToParent()
344 int indexOfChild(View child) { in indexOfChild()
581 void addView(View child, int index); in addView()
593 void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams); in attachViewToParent()
597 void onEnteredHiddenState(View child); in onEnteredHiddenState()
599 void onLeftHiddenState(View child); in onLeftHiddenState()
DLinearLayoutManager.java494 final View child = getChildAt(viewPosition); in findViewByPosition() local
995 View child = findViewByPosition(mPendingScrollPosition); in updateAnchorFromPendingData() local
1338 final View child = getChildClosestToEnd(); in updateLayoutState() local
1349 final View child = getChildClosestToStart(); in updateLayoutState() local
1561 View child = getChildAt(i); in recycleViewsFromStart() local
1571 View child = getChildAt(i); in recycleViewsFromStart() local
1609 View child = getChildAt(i); in recycleViewsFromEnd() local
1619 View child = getChildAt(i); in recycleViewsFromEnd() local
2042 final View child = findOneVisibleChild(0, getChildCount(), false, true); in findFirstVisibleItemPosition() local
2059 final View child = findOneVisibleChild(0, getChildCount(), true, false); in findFirstCompletelyVisibleItemPosition() local
[all …]
DRecyclerView.java3483 public void requestChildFocus(View child, View focused) { in requestChildFocus()
3500 private void requestChildOnScreen(@NonNull View child, @Nullable View focused) { in requestChildOnScreen()
3529 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { in requestChildRectangleOnScreen()
4563 View child = null; in saveFocusInfo() local
4671 View child = viewToFocus.findViewById(mState.mFocusedSubChildId); in recoverFocusFromState() local
4767 final View child = mChildHelper.getChildAt(i); in dispatchLayoutStep1() local
5015 protected void removeDetachedView(View child, boolean animate) { in removeDetachedView()
5108 final View child = mChildHelper.getUnfilteredChildAt(i); in markItemDecorInsetsDirty() local
5343 final View child = mChildHelper.getUnfilteredChildAt(i); in viewRangeUpdate() local
5454 public ViewHolder getChildViewHolder(@NonNull View child) { in getChildViewHolder()
[all …]
DDividerItemDecoration.java142 final View child = parent.getChildAt(i); in drawVertical() local
169 final View child = parent.getChildAt(i); in drawHorizontal() local
DLinearSnapHelper.java190 final View child = layoutManager.getChildAt(i); in findCenterView() local
229 View child = layoutManager.getChildAt(i); in computeDistancePerChild() local
DViewBoundsCheck.java218 final View child = mCallback.getChildAt(i); in findOneViewWithinBoundFlags() local
247 boolean isViewWithinBoundFlags(View child, @ViewBounds int boundsFlags) { in isViewWithinBoundFlags()
DItemTouchUIUtilImpl.java65 final View child = recyclerView.getChildAt(i); in findMaxElevation() local
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DChildHelperTest.java120 public void addView(View child, int index) { in addView()
159 public void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) { in attachViewToParent()
170 public void onEnteredHiddenState(View child) { in onEnteredHiddenState()
175 public void onLeftHiddenState(View child) { in onLeftHiddenState()
DLinearLayoutManagerBaseConfigSetTest.java94 final View child = mLayoutManager.getChildAt(mLayoutManager.getChildCount() / 2); in scrollToPositionWithOffsetTest() local
129 final View child = mLayoutManager.findViewByPosition(target.mPosition); in scrollToPositionWithOffsetTest() local
304 View child = mLayoutManager.getChildAt(i); in findInvisibleTarget() local
DRecyclerViewNestedScrolling3RequestDisallowInterceptTouchTest.java203 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
209 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
244 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) { in onStartNestedScroll()
249 public void onNestedScrollAccepted(View child, View target, int axes) { in onNestedScrollAccepted()
254 public void onStopNestedScroll(View child) { in onStopNestedScroll()
DGridLayoutManagerNoOpUpdateTest.java102 View child = mGlm.getChildAt(i); in takeSnapshot() local
112 private Rect getChildBounds(RecyclerView recyclerView, View child, boolean offset) { in getChildBounds()
DTestedFrameLayout.java176 public boolean onStartNestedScroll( in onStartNestedScroll()
182 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
211 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, in onStartNestedScroll()
218 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, in onNestedScrollAccepted()
DRecyclerViewNestedScrollingScrollByTest.java223 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
229 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
304 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
309 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DRecyclerViewNestedScrollingMouseScrollTest.java186 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
192 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
267 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
272 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DRecyclerViewNestedScrollingSmoothScrollByTest.java261 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
267 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
342 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
347 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DRecyclerViewNestedScrollingA11yScrollTest.java275 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
281 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
358 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
363 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DGridLayoutManagerCachedBordersTest.java66 View child = recyclerView.getChildAt(i * mConfig.mSpanCount + j); in gridCachedBorderstTest() local
DStaggeredGridLayoutManagerBaseConfigSetTest.java500 final View child = mLayoutManager.getChildAt(mLayoutManager.getChildCount() / 2); in scrollToPositionWithOffsetTest() local
531 final View child = mLayoutManager.findViewByPosition(target.mPosition); in scrollToPositionWithOffsetTest() local
638 final View child = mLayoutManager.findViewByPosition(target.mPosition); in scrollToPositionTest() local
DGridLayoutManagerCustomSizeInScrollDirectionTest.java119 View child = mRecyclerView.getChildAt(i); in customSizeInScrollDirectionTest() local
DRecyclerViewNestedScrollingTest.java311 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
317 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
427 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
432 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DWrapContentBasicTest.java219 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, in shouldReMeasureChild()
225 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, in shouldMeasureChild()
DRecyclerViewNestedScrollingChildTest.java450 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
456 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
573 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
578 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
DBaseRecyclerViewInstrumentationTest.java791 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, in shouldReMeasureChild()
797 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, in shouldMeasureChild()
1310 View child = parent.getChildAt(i); in findFirstFullyVisibleChild() local
1320 View child = parent.getChildAt(i); in findLastFullyVisibleChild() local
1335 public static boolean isViewPartiallyInBound(RecyclerView parent, View child) { in isViewPartiallyInBound()
1363 public static boolean isViewFullyInBound(RecyclerView parent, View child) { in isViewFullyInBound()
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/test/
DNestedScrollingParent2Adapter.java29 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, in onStartNestedScroll()
35 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, in onNestedScrollAccepted()
54 public boolean onStartNestedScroll( in onStartNestedScroll()
60 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
/recyclerview/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
DDefaultBandHost.java107 final View child = mRecyclerView.getChildAt(index); in getAbsoluteRectForChildViewAt() local

12