Searched refs:trackHeight (Results 1 – 2 of 2) sorted by relevance
671 final int trackHeight = Math.min(mMaxHeight, paddedHeight);677 if (thumbHeight > trackHeight) {679 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;682 final int offsetHeight = (paddedHeight - trackHeight) / 2;684 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;689 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
934 final int trackHeight; in onMeasure() local937 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()940 trackHeight = 0; in onMeasure()955 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()