Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java676 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
681 if (thumbHeight > trackHeight) {
682 final int offsetHeight = (paddedHeight - thumbHeight) / 2;
683 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;
688 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;
720 final int thumbHeight = thumb.getIntrinsicHeight();
735 bottom = offset + thumbHeight;
876 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
882 dh = Math.max(thumbHeight, dh);
DSwitch.java913 final int thumbHeight; in onMeasure() local
918 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
921 thumbHeight = 0; in onMeasure()
955 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp459 int32_t thumbHeight = videoFrame->mHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
461 int64_t thumbPixels = thumbWidth * thumbHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
466 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
475 dst_height = thumbHeight /downscale; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1236 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local
1271 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()
1435 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailScaleAnimationLocked() local
1440 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1457 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1480 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailEnterExitAnimationLocked() local
1486 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()
1514 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()