Home
last modified time | relevance | path

Searched refs:rot90 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp65 int cropRight, int cropBottom, int rot90);
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()
[all …]
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp63 int cropRight, int cropBottom, int rot90);
298 int cropBottom, int rot90) { in forCropFollowedByRotation() argument
309 rot90 %= 4; in forCropFollowedByRotation()
310 if (rot90 == 0) { in forCropFollowedByRotation()
312 } else if (rot90 == 1) { in forCropFollowedByRotation()
314 } else if (rot90 == 2) { in forCropFollowedByRotation()
316 } else if (rot90 == 3) { in forCropFollowedByRotation()
523 int rot90) { in compress() argument
529 rot90 %= 4; in compress()
531 if (rot90 == 1) { in compress()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DInsetUtilsTest.java55 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()
/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java182 MotionEvent rot90 = MotionEvent.obtain(event); in testEventRotation() local
183 rot90.transform(MotionEvent.createRotateMatrix(Surface.ROTATION_90, height, width)); in testEventRotation()
184 assertEquals(50, (int) rot90.getX()); in testEventRotation()
185 assertEquals(570, (int) rot90.getY()); in testEventRotation()
186 assertEquals(Surface.ROTATION_90, rot90.getSurfaceRotation()); in testEventRotation()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DJpegEncoder.java98 int rot90); in compressJpegFromYUV420pNative() argument
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp42 const mat4 rot90(0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation() local
46 tr = tr * rot90; in inverseOrientation()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java194 int rot90); in compressJpegFromYUV420pNative() argument