Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpDatabaseTest.java176 private byte[] createJpegRawData(int sourceWidth, int sourceHeight) throws IOException { in createJpegRawData() argument
177 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight); in createJpegRawData()
180 private byte[] createPngRawData(int sourceWidth, int sourceHeight) throws IOException { in createPngRawData() argument
181 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight); in createPngRawData()
184 private byte[] createRawData(Bitmap.CompressFormat format, int sourceWidth, int sourceHeight) in createRawData() argument
187 Bitmap b = Bitmap.createBitmap(sourceWidth, sourceHeight, Bitmap.Config.ARGB_8888); in createRawData()
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsState.java342 final int sourceWidth = sourceFrame.width(); in canControlSource() local
344 return insets.left == sourceWidth || insets.right == sourceWidth in canControlSource()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java693 final float sourceWidth = sourceFrame.width(); in createAspectScaledThumbnailFreeformAnimationLocked() local
697 final float scaleH = enter ? sourceWidth / destWidth : destWidth / sourceWidth; in createAspectScaledThumbnailFreeformAnimationLocked()
706 final float scaleHCenter = ((enter ? destWidth : sourceWidth) + surfaceInsetsH) / 2; in createAspectScaledThumbnailFreeformAnimationLocked()
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DTransitionAnimation.java1049 final float sourceWidth = sourceFrame.width(); in createAspectScaledThumbnailFreeformAnimationLocked() local
1053 final float scaleH = enter ? sourceWidth / destWidth : destWidth / sourceWidth; in createAspectScaledThumbnailFreeformAnimationLocked()
1062 final float scaleHCenter = ((enter ? destWidth : sourceWidth) + surfaceInsetsH) / 2; in createAspectScaledThumbnailFreeformAnimationLocked()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java971 final int sourceWidth = MeasureSpec.getSize(widthMeasureSpec);
972 int widthSize = sourceWidth;
1040 setMeasuredDimension(sourceWidth, heightSize);