Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java351 final int targetTop = (parentHeight - targetHeight) / 2; in layout() local
352 final int targetBottom = targetTop + targetHeight; in layout()
359 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); in layout()
364 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); in layout()
/frameworks/base/core/java/android/widget/
DAbsListView.java4020 final int targetTop = getChildAt(position - firstPos).getTop(); in startWithOffset() local
4021 smoothScrollBy(targetTop - offset, duration); in startWithOffset()
4199 final int targetTop = getChildAt(position - firstPos).getTop();
4200 final int distance = targetTop - mOffsetFromTop;