Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java569 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
574 if (thumbHeight > trackHeight) {
575 final int offsetHeight = (paddedHeight - thumbHeight) / 2;
576 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;
581 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;
611 final int thumbHeight = thumb.getIntrinsicHeight();
626 bottom = offset + thumbHeight;
728 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
734 dh = Math.max(thumbHeight, dh);
DSwitch.java822 final int thumbHeight; in onMeasure() local
827 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
830 thumbHeight = 0; in onMeasure()
864 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1059 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local
1093 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()
1248 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailScaleAnimationLocked() local
1253 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1270 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1293 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailEnterExitAnimationLocked() local
1299 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()
1327 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java796 final int thumbHeight; in onMeasure() local
801 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
804 thumbHeight = 0; in onMeasure()
838 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()