Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java69 float thumbWidth = mParent.getWidth() * WIDTH_PERCENTAGE; in drawRoundScrollbars() local
70 mThumbPaint.setStrokeWidth(thumbWidth); in drawRoundScrollbars()
71 mTrackPaint.setStrokeWidth(thumbWidth); in drawRoundScrollbars()
87 bounds.left - thumbWidth / 2, in drawRoundScrollbars()
89 bounds.right - thumbWidth / 2, in drawRoundScrollbars()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp457 int32_t thumbWidth = videoFrame->mWidth; 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()
473 dst_width = thumbWidth / downscale; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1009 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createThumbnailAspectScaleAnimationLocked() local
1013 float scaleW = appWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked()
1173 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createAspectScaledThumbnailEnterExitAnimationLocked() local
1207 float scale = thumbWidth / in createAspectScaledThumbnailEnterExitAnimationLocked()
1371 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createThumbnailScaleAnimationLocked() local
1377 float scaleW = appWidth / thumbWidth; in createThumbnailScaleAnimationLocked()
1394 float scaleW = appWidth / thumbWidth; in createThumbnailScaleAnimationLocked()
1416 final float thumbWidth = thumbWidthI > 0 ? thumbWidthI : 1; in createThumbnailEnterExitAnimationLocked() local
1423 float scaleW = thumbWidth / appWidth; in createThumbnailEnterExitAnimationLocked()
1451 float scaleW = thumbWidth / appWidth; in createThumbnailEnterExitAnimationLocked()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java630 final int thumbWidth = thumb.getIntrinsicWidth();
632 available -= thumbWidth;
650 final int right = left + thumbWidth;
DSwitch.java828 final int thumbWidth; in onMeasure() local
833 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
836 thumbWidth = 0; in onMeasure()
848 mThumbWidth = Math.max(maxTextWidth, thumbWidth); in onMeasure()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSwitchCompat.java805 final int thumbWidth; in onMeasure() local
810 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
813 thumbWidth = 0; in onMeasure()
825 mThumbWidth = Math.max(maxTextWidth, thumbWidth); in onMeasure()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp2239 uint32_t thumbWidth = context->getThumbnailWidth(); in DngCreator_nativeWriteImage() local
2241 thumbWidth, context->getThumbnailHeight(), bytesPerPixel, in DngCreator_nativeWriteImage()
2242 bytesPerPixel * thumbWidth, /*offset*/0, BYTES_PER_RGB_SAMPLE, in DngCreator_nativeWriteImage()