Searched refs:abl (Results 1 – 1 of 1) sorted by relevance
834 public void onStopNestedScroll(CoordinatorLayout coordinatorLayout, AppBarLayout abl, in onStopNestedScroll() argument838 snapToChildIfNeeded(coordinatorLayout, abl); in onStopNestedScroll()941 private int getChildIndexOnOffset(AppBarLayout abl, final int offset) { in getChildIndexOnOffset() argument942 for (int i = 0, count = abl.getChildCount(); i < count; i++) { in getChildIndexOnOffset()943 View child = abl.getChildAt(i); in getChildIndexOnOffset()951 private void snapToChildIfNeeded(CoordinatorLayout coordinatorLayout, AppBarLayout abl) { in snapToChildIfNeeded() argument953 final int offsetChildIndex = getChildIndexOnOffset(abl, offset); in snapToChildIfNeeded()955 final View offsetChild = abl.getChildAt(offsetChildIndex); in snapToChildIfNeeded()964 if (offsetChildIndex == abl.getChildCount() - 1) { in snapToChildIfNeeded()966 snapBottom += abl.getTopInset(); in snapToChildIfNeeded()[all …]