Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DAppBarLayout.java834 public void onStopNestedScroll(CoordinatorLayout coordinatorLayout, AppBarLayout abl, in onStopNestedScroll() argument
838 snapToChildIfNeeded(coordinatorLayout, abl); in onStopNestedScroll()
941 private int getChildIndexOnOffset(AppBarLayout abl, final int offset) { in getChildIndexOnOffset() argument
942 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() argument
953 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 …]