Searched refs:sensorOrientation (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 386 public void virtualCamera_hasCorrectOrientation(int sensorOrientation) throws Exception { in virtualCamera_hasCorrectOrientation() argument 388 VirtualCamera virtualCamera = createVirtualCameraWithSensorOrientation(sensorOrientation); in virtualCamera_hasCorrectOrientation() 390 verifyCameraSensorOrientation(virtualCamera.getId(), sensorOrientation); in virtualCamera_hasCorrectOrientation() local 397 public void vdContext_virtualCamera_hasCorrectOrientation(int sensorOrientation) in vdContext_virtualCamera_hasCorrectOrientation() argument 400 createVirtualCameraWithSensorOrientation(sensorOrientation); in vdContext_virtualCamera_hasCorrectOrientation() 402 verifyCameraSensorOrientation(FRONT_CAMERA_ID, sensorOrientation); in vdContext_virtualCamera_hasCorrectOrientation() 796 private VirtualCamera createVirtualCameraWithSensorOrientation(int sensorOrientation) { in createVirtualCameraWithSensorOrientation() argument 797 return createVirtualCamera(LENS_FACING_FRONT, sensorOrientation); in createVirtualCameraWithSensorOrientation() 800 private VirtualCamera createVirtualCamera(int lensFacing, int sensorOrientation) { in createVirtualCamera() argument 802 CAMERA_FORMAT, CAMERA_MAX_FPS, sensorOrientation, lensFacing, in createVirtualCamera() [all …]
|
D | VirtualCameraUtils.java | 100 int width, int height, int format, int maximumFramesPerSecond, int sensorOrientation, in createVirtualCameraConfig() argument 105 .setSensorOrientation(sensorOrientation) in createVirtualCameraConfig() 111 int format, int maximumFramesPerSecond, int sensorOrientation, int lensFacing, in assertVirtualCameraConfig() argument 121 assertThat(config.getSensorOrientation()).isEqualTo(sensorOrientation); in assertVirtualCameraConfig()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | PreviewRecorder.java | 155 PreviewRecorder(int cameraId, Size previewSize, int maxFps, int sensorOrientation, in PreviewRecorder() argument 174 mTexRotMatrix = getRotationMatrix(sensorOrientation); in PreviewRecorder()
|
D | ItsService.java | 2993 int sensorOrientation = Objects.requireNonNull( 3003 sensorOrientation, outputFilePath, mCameraHandler, hlg10Enabled, this); 3209 int sensorOrientation = mCameraCharacteristics.get( 3223 sensorOrientation, outputFilePath, mCameraHandler, /*hlg10Enabled*/false, this)) {
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 3349 int sensorOrientation = c.get(CameraCharacteristics.SENSOR_ORIENTATION); in testCameraOrientationAlignedWithDevice() 3363 if (sensorOrientation == 90 || sensorOrientation == 270) { in testCameraOrientationAlignedWithDevice() 4132 int sensorOrientation = characteristics.get( 4137 if (sensorOrientation == 0 || sensorOrientation == 180) { 4142 (360 + sensorOrientation - 90) % 360, sensorOrientationOverride); 4146 (360 + sensorOrientation + 90) % 360, sensorOrientationOverride); 4149 sensorOrientation, sensorOrientationOverride); 4153 + "sensors.", sensorOrientation, sensorOrientationOverride); 4220 int sensorOrientation = c.get(CameraCharacteristics.SENSOR_ORIENTATION); 4227 if (sensorOrientation == 90 || sensorOrientation == 270) {
|
D | ImageReaderTest.java | 1359 int sensorOrientation = c.get(CameraCharacteristics.SENSOR_ORIENTATION); in testLandscapeToPortraitOverride() local 1360 if (sensorOrientation != 0 && sensorOrientation != 180) { in testLandscapeToPortraitOverride() 1370 sensorOrientation = c.get(CameraCharacteristics.SENSOR_ORIENTATION); in testLandscapeToPortraitOverride() 1372 sensorOrientation == 90 || sensorOrientation == 270); in testLandscapeToPortraitOverride()
|