Searched refs:sourceWidth (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
H A D | MtpDatabaseTest.java | 176 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 D | InsetsState.java | 342 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 D | AppTransition.java | 693 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 D | TransitionAnimation.java | 1049 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 D | ResolverDrawerLayout.java | 971 final int sourceWidth = MeasureSpec.getSize(widthMeasureSpec); 972 int widthSize = sourceWidth; 1040 setMeasuredDimension(sourceWidth, heightSize);
|