Searched refs:trackHeight (Results 1 – 3 of 3) sorted by relevance
586 final int trackHeight = Math.min(mMaxHeight, paddedHeight);592 if (thumbHeight > trackHeight) {594 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;597 final int offsetHeight = (paddedHeight - trackHeight) / 2;599 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;604 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
846 final int trackHeight; in onMeasure() local849 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()852 trackHeight = 0; in onMeasure()867 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
828 final int trackHeight; in onMeasure() local831 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()834 trackHeight = 0; in onMeasure()849 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()