Searched refs:thumbHeight (Results 1 – 5 of 5) sorted by relevance
678 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();683 if (thumbHeight > trackHeight) {684 final int offsetHeight = (paddedHeight - thumbHeight) / 2;685 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;690 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;722 final int thumbHeight = thumb.getIntrinsicHeight();737 bottom = offset + thumbHeight;884 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();890 dh = Math.max(thumbHeight, dh);
996 final int thumbHeight; in onMeasure() local1001 thumbHeight = mThumbDrawable.getIntrinsicHeight(); in onMeasure()1004 thumbHeight = 0; in onMeasure()1038 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
461 int32_t thumbHeight = videoFrame->mHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local463 int64_t thumbPixels = thumbWidth * thumbHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()468 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()483 dst_height = thumbHeight /downscale; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
260 int32_t thumbHeight, thumbWidth; in getImageInternal() local262 && trackMeta->findInt32(kKeyThumbnailHeight, &thumbHeight) in getImageInternal()264 format->setInt32("height", thumbHeight); in getImageInternal()
665 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createThumbnailEnterExitAnimationLockedCompat() local672 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLockedCompat()700 float scaleH = thumbHeight / appHeight; in createThumbnailEnterExitAnimationLockedCompat()736 final float thumbHeight = thumbHeightI > 0 ? thumbHeightI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local769 int unscaledThumbHeight = (int) (thumbHeight / scale); in createAspectScaledThumbnailEnterExitAnimationLocked()