Home
last modified time | relevance | path

Searched refs:thumbWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java119 float thumbWidth = dpToPx(THUMB_WIDTH_DP); in drawRoundScrollbars() local
120 mThumbPaint.setStrokeWidth(thumbWidth); in drawRoundScrollbars()
121 mTrackPaint.setStrokeWidth(thumbWidth); in drawRoundScrollbars()
136 float inset = thumbWidth / 2 + mMaskThickness; in drawRoundScrollbars()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp460 int32_t thumbWidth = videoFrame->mWidth; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
463 int64_t thumbPixels = thumbWidth * thumbHeight; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
468 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
482 dst_width = thumbWidth / downscale; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java663 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createThumbnailEnterExitAnimationLockedCompat() local
671 float scaleW = thumbWidth / appWidth; in createThumbnailEnterExitAnimationLockedCompat()
699 float scaleW = thumbWidth / appWidth; in createThumbnailEnterExitAnimationLockedCompat()
734 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local
768 thumbWidth / (appWidth - contentInsets.left - contentInsets.right); in createAspectScaledThumbnailEnterExitAnimationLocked()
864 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createThumbnailAspectScaleAnimationLocked() local
868 float scaleW = appWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp260 int32_t thumbHeight, thumbWidth; in getImageInternal() local
263 && trackMeta->findInt32(kKeyThumbnailWidth, &thumbWidth)) { in getImageInternal()
265 format->setInt32("width", thumbWidth); in getImageInternal()
/frameworks/base/core/java/android/widget/
DSwitch.java995 final int thumbWidth; in onMeasure() local
1000 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
1003 thumbWidth = 0; in onMeasure()
1015 mThumbWidth = Math.max(maxTextWidth, thumbWidth); in onMeasure()
DAbsSeekBar.java721 final int thumbWidth = thumb.getIntrinsicWidth();
723 available -= thumbWidth;
741 final int right = left + thumbWidth;
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp2500 uint32_t thumbWidth = context->getThumbnailWidth(); in DngCreator_nativeWriteImage() local
2502 thumbWidth, context->getThumbnailHeight(), bytesPerPixel, in DngCreator_nativeWriteImage()
2503 bytesPerPixel * thumbWidth, /*offset*/0, BYTES_PER_RGB_SAMPLE, in DngCreator_nativeWriteImage()