Searched refs:thumbWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 69 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/ |
D | android_media_MediaMetadataRetriever.cpp | 457 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/ |
D | AppTransition.java | 1009 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/ |
D | AbsSeekBar.java | 630 final int thumbWidth = thumb.getIntrinsicWidth(); 632 available -= thumbWidth; 650 final int right = left + thumbWidth;
|
D | Switch.java | 828 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/ |
D | SwitchCompat.java | 805 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/ |
D | android_hardware_camera2_DngCreator.cpp | 2239 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()
|