Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java587 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
592 if (thumbHeight > trackHeight) {
593 final int offsetHeight = (paddedHeight - thumbHeight) / 2;
594 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;
599 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;
631 final int thumbHeight = thumb.getIntrinsicHeight();
646 bottom = offset + thumbHeight;
747 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
753 dh = Math.max(thumbHeight, dh);
DSwitch.java829 final int thumbHeight; in onMeasure() local
834 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
837 thumbHeight = 0; in onMeasure()
871 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp458 int32_t thumbHeight = videoFrame->mHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
460 int64_t thumbPixels = thumbWidth * thumbHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
465 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
474 dst_height = thumbHeight /downscale; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSwitchCompat.java806 final int thumbHeight; in onMeasure() local
811 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()
814 thumbHeight = 0; in onMeasure()
848 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1175 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local
1210 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()
1373 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailScaleAnimationLocked() local
1378 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1395 float scaleH = appHeight / thumbHeight; in createThumbnailScaleAnimationLocked()
1418 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailEnterExitAnimationLocked() local
1424 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()
1452 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLocked()