Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DFastScroller.java760 final int trackWidth = track.getMeasuredWidth(); in layoutTrack() local
762 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
763 final int right = left + trackWidth; in layoutTrack()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java2148 int trackWidth = pageWidth - mScrollIndicatorPaddingLeft - mScrollIndicatorPaddingRight; in updateScrollingIndicatorPosition() local
2153 int indicatorSpace = trackWidth / numPages; in updateScrollingIndicatorPosition()
2154 … int indicatorPos = (int) (offset * (trackWidth - indicatorSpace)) + mScrollIndicatorPaddingLeft; in updateScrollingIndicatorPosition()