Searched refs:trackHeight (Results 1 – 3 of 3) sorted by relevance
568 final int trackHeight = Math.min(mMaxHeight, paddedHeight);574 if (thumbHeight > trackHeight) {576 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;579 final int offsetHeight = (paddedHeight - trackHeight) / 2;581 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;586 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
843 final int trackHeight; in onMeasure() local846 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()849 trackHeight = 0; in onMeasure()864 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
817 final int trackHeight; in onMeasure() local820 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()823 trackHeight = 0; in onMeasure()838 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()