Searched refs:trackHeight (Results 1 – 3 of 3) sorted by relevance
415 final int trackHeight = Math.min(mMaxHeight, paddedHeight);421 if (thumbHeight > trackHeight) {423 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;426 final int offsetHeight = (paddedHeight - trackHeight) / 2;428 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;433 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
842 final int trackHeight; in onMeasure() local845 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()848 trackHeight = 0; in onMeasure()863 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
557 final int trackHeight; in onMeasure() local560 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()563 trackHeight = 0; in onMeasure()578 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()