Searched refs:rot90 (Results 1 – 4 of 4) sorted by relevance
/aosp14/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 …]
|
/aosp14/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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MotionEventTest.java | 187 MotionEvent rot90 = MotionEvent.obtain(event); in testEventRotation() local 188 rot90.transform(MotionEvent.createRotateMatrix(Surface.ROTATION_90, height, width)); in testEventRotation() 189 assertEquals(50, (int) rot90.getX()); in testEventRotation() 190 assertEquals(570, (int) rot90.getY()); in testEventRotation() 191 assertEquals(Surface.ROTATION_90, rot90.getSurfaceRotation()); in testEventRotation()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraExtensionJpegProcessor.java | 190 int rot90); in compressJpegFromYUV420pNative() argument
|