Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java315 int currentTop = child.getTop(); in onNestedPreScroll() local
316 int newTop = currentTop - dy; in onNestedPreScroll()
319 consumed[1] = currentTop - mMinOffset; in onNestedPreScroll()
334 consumed[1] = currentTop - mMaxOffset; in onNestedPreScroll()
363 int currentTop = child.getTop(); in onStopNestedScroll() local
364 if (Math.abs(currentTop - mMinOffset) < Math.abs(currentTop - mMaxOffset)) { in onStopNestedScroll()
610 int currentTop = releasedChild.getTop();
611 if (Math.abs(currentTop - mMinOffset) < Math.abs(currentTop - mMaxOffset)) {
/frameworks/support/v4/donut/android/support/v4/view/
DViewCompatBase.java114 final int currentTop = view.getTop(); in offsetTopAndBottom() local
124 currentTop - absOffset, in offsetTopAndBottom()
126 currentTop + view.getHeight() + absOffset); in offsetTopAndBottom()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java795 int currentTop = view.getTop(); in animateGroupListItemsInternal() local
797 : (currentTop + mVolumeGroupListItemHeight * groupSizeDelta); in animateGroupListItemsInternal()
800 previousTop = currentTop; in animateGroupListItemsInternal()
805 Animation translationAnim = new TranslateAnimation(0, 0, previousTop - currentTop, 0); in animateGroupListItemsInternal()