Home
last modified time | relevance | path

Searched refs:thumbHeight (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java416 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);
DSwitch.java821 final int thumbHeight; in onMeasure() local
826 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
829 thumbHeight = 0; in onMeasure()
863 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java659 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailAspectScaleAnimationLocked() local
663 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() local
737 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 …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java536 final int thumbHeight; in onMeasure() local
541 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
544 thumbHeight = 0; in onMeasure()
578 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()