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.java365 final int targetTop = (parentHeight - targetHeight) / 2; in layout() local
366 final int targetBottom = targetTop + targetHeight; in layout()
373 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); in layout()
378 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); in layout()
/frameworks/base/core/java/android/widget/
DAbsListView.java7586 final int targetTop = getChildAt(mTargetPos - firstPos).getTop(); in startWithOffset() local
7587 smoothScrollBy(targetTop - offset, duration, true, false); in startWithOffset()
7621 final int targetTop = targetChild.getTop();
7628 if (targetTop < paddedTop) {
7629 scrollBy = targetTop - paddedTop;
7848 final int targetTop = getChildAt(position - firstPos).getTop(); in run() local
7849 final int distance = targetTop - mOffsetFromTop; in run()