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()
7586 final int targetTop = getChildAt(mTargetPos - firstPos).getTop(); in startWithOffset() local7587 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() local7849 final int distance = targetTop - mOffsetFromTop; in run()