Searched refs:thumbHeight (Results 1 – 4 of 4) sorted by relevance
416 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();421 if (thumbHeight > trackHeight) {422 final int offsetHeight = (paddedHeight - thumbHeight) / 2;423 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;428 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;458 final int thumbHeight = thumb.getIntrinsicHeight();473 bottom = offset + thumbHeight;548 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();554 dh = Math.max(thumbHeight, dh);
821 final int thumbHeight; in onMeasure() local826 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()829 thumbHeight = 0; in onMeasure()863 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
659 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailAspectScaleAnimationLocked() local663 float unscaledHeight = thumbHeight * scaleW; in createThumbnailAspectScaleAnimationLocked()664 float unscaledStartY = mNextAppTransitionStartY - (unscaledHeight - thumbHeight) / 2f; in createThumbnailAspectScaleAnimationLocked()669 mNextAppTransitionStartY + (thumbHeight / 2f)); in createThumbnailAspectScaleAnimationLocked()690 mNextAppTransitionStartY + (thumbHeight / 2f)); in createThumbnailAspectScaleAnimationLocked()724 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local737 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()743 scale = thumbHeight / (appHeight - contentInsets.top); in createAspectScaledThumbnailEnterExitAnimationLocked()796 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()802 scale = thumbHeight / (appHeight - contentInsets.top); in createAspectScaledThumbnailEnterExitAnimationLocked()[all …]
536 final int thumbHeight; in onMeasure() local541 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()544 thumbHeight = 0; in onMeasure()578 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()