/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | JpegUtilNative.java | 103 int rot90); in compressJpegFromYUV420pNative() argument 120 int pStride, int rStride, Object outBitmap, int rot90); in copyImagePlaneToBitmap() argument 122 public static void copyImagePlaneToBitmap(ImageProxy.Plane plane, Bitmap bitmap, int rot90) { in copyImagePlaneToBitmap() argument 131 plane.getRowStride(), bitmap, rot90); in copyImagePlaneToBitmap() 145 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in compressJpegFromYUV420p() argument 157 cropLeft, cropTop, cropRight, cropBottom, rot90)); in compressJpegFromYUV420p() 160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); in compressJpegFromYUV420p() 261 int rot90 = (360 - degrees) / 90; in compressJpegFromYUV420Image() 269 rot90); in compressJpegFromYUV420Image()
|
/aosp12/packages/apps/Camera2/jni/ |
H A D | jpegutilnative.cpp | 87 jint rot90) { in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument 100 rot90); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() 120 jint pStride, jint rStride, jobject outBitmap, jint rot90) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() argument 126 if (rot90 == 0) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 137 } else if (rot90 == 1) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 146 } else if (rot90 == 2) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 155 } else if (rot90 == 3) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
|
H A D | jpegutil.cpp | 95 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in ForCropFollowedByRotation() argument 106 rot90 %= 4; in ForCropFollowedByRotation() 107 if (rot90 == 0) { in ForCropFollowedByRotation() 109 } else if (rot90 == 1) { in ForCropFollowedByRotation() 111 } else if (rot90 == 2) { in ForCropFollowedByRotation() 113 } else if (rot90 == 3) { in ForCropFollowedByRotation() 322 int rot90) { in Compress() argument 328 rot90 %= 4; in Compress() 330 if (rot90 == 1) { in Compress() 333 } else if (rot90 == 3) { in Compress() [all …]
|
H A D | jpegutil.h | 53 int rot90); 169 int rot90);
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp | 300 int cropBottom, int rot90) { in forCropFollowedByRotation() argument 311 rot90 %= 4; in forCropFollowedByRotation() 312 if (rot90 == 0) { in forCropFollowedByRotation() 314 } else if (rot90 == 1) { in forCropFollowedByRotation() 316 } else if (rot90 == 2) { in forCropFollowedByRotation() 318 } else if (rot90 == 3) { in forCropFollowedByRotation() 525 int rot90) { in compress() argument 531 rot90 %= 4; in compress() 533 if (rot90 == 1) { in compress() 536 } else if (rot90 == 3) { in compress() [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | InsetUtilsTest.java | 55 final Rect rot90 = rotateCopy(original, ROTATION_90); in rotate() local 56 assertEquals("rot90", new Rect(2, 3, 4, 1), rot90); in rotate() 60 assertEquals("rot90(rot90)=rot180", rotateCopy(rot90, ROTATION_90), rot180); in rotate()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MotionEventTest.java | 178 MotionEvent rot90 = MotionEvent.obtain(event); in testEventRotation() local 179 rot90.transform(MotionEvent.createRotateMatrix(/* 90 deg */1, 1000, 600)); in testEventRotation() 180 assertEquals(50, (int) rot90.getX()); in testEventRotation() 181 assertEquals(570, (int) rot90.getY()); in testEventRotation()
|
/aosp12/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraExtensionJpegProcessor.java | 184 int rot90); in compressJpegFromYUV420pNative() argument
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayer.cpp | 130 const mat4 rot90(0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation() local 134 tr = tr * rot90; in inverseOrientation()
|