Searched refs:targetTop (Results 1 – 2 of 2) sorted by relevance
365 final int targetTop = (parentHeight - targetHeight) / 2; in layout() local366 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()
7568 final int targetTop = getChildAt(mTargetPos - firstPos).getTop(); in startWithOffset() local7569 smoothScrollBy(targetTop - offset, duration, true, false); in startWithOffset()7603 final int targetTop = targetChild.getTop();7610 if (targetTop < paddedTop) {7611 scrollBy = targetTop - paddedTop;7830 final int targetTop = getChildAt(position - firstPos).getTop(); in run() local7831 final int distance = targetTop - mOffsetFromTop; in run()