Searched refs:trackHeight (Results 1 – 2 of 2) sorted by relevance
677 final int trackHeight = Math.min(mMaxHeight, paddedHeight);683 if (thumbHeight > trackHeight) {685 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;688 final int offsetHeight = (paddedHeight - trackHeight) / 2;690 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;695 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
1017 final int trackHeight; in onMeasure() local1020 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()1023 trackHeight = 0; in onMeasure()1038 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()