Searched defs:facing (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/include/camera/
H A DCameraBase.h32 int facing; member in struct:android::CameraInfo
40 * back-facing camera sensor is mounted in landscape. You are looking at
43 * 90. If the top side of a front-facing camera sensor is aligned with the
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java137 * @param facing direction the camera is facing.
140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { argument
141 mTextureRenderer = new SurfaceTextureRenderer(facing);
H A DLegacyCameraDevice.java629 static void setSurfaceOrientation(Surface surface, int facing, int sensorOrientation) argument
632 LegacyExceptionUtils.throwOnError(nativeSetSurfaceOrientation(surface, facing,
670 private static native int nativeSetSurfaceOrientation(Surface surface, int facing, argument
H A DSurfaceTextureRenderer.java177 public SurfaceTextureRenderer(int facing) { argument
178 mFacing = facing;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp638 jobject surface, jint facing, jint orientation) {
650 uint8_t facingVal = static_cast<uint8_t>(facing);
637 LegacyCameraDevice_nativeSetSurfaceOrientation(JNIEnv* env, jobject thiz, jobject surface, jint facing, jint orientation) argument
H A Dandroid_hardware_Camera.cpp46 jfieldID facing; member in struct:fields_t
505 env->SetIntField(info_obj, fields.facing, cameraInfo.facing);
1061 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing },
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp240 cameraInfo->facing = info.facing;
259 uint8_t facing = (info.facing == CAMERA_FACING_FRONT) ? local
261 if ((ret = shimInfo.update(ANDROID_LENS_FACING, &facing, 1)) != OK) {
348 int facing; local
351 getDeviceVersion(cameraId, &facing) <= CAMERA_DEVICE_API_VERSION_2_1 ) {
388 int CameraService::getDeviceVersion(int cameraId, int* facing) { argument
401 if (facing) {
402 *facing
674 int facing = -1; local
898 int facing = -1; local
971 int facing = -1; local
1111 int facing = -1; local
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java60 /** Camera Facing: Front: Use the front facing camera. */
62 /** Camera Facing: Back: Use the rear facing camera. */
791 /** The requested facing */
794 /** The actual facing */
797 /** Whether to horizontally flip the front facing camera */
1038 public synchronized void setFacing(int facing) { argument
1039 if (facing != mRequestedFacing) {
1040 switch (facing) {
1044 mRequestedFacing = facing;
1047 throw new IllegalArgumentException("Unknown facing valu
1609 setFacing(int facing) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java261 * The facing of the camera is opposite to that of the screen.
266 * The facing of the camera is the same as that of the screen.
274 public int facing; field in class:Camera.CameraInfo
282 * back-facing camera sensor is mounted in landscape. You are looking at
285 * 90. If the top side of a front-facing camera sensor is aligned with
346 * Creates a new Camera object to access the first back-facing camera on the
347 * device. If the device does not have a back-facing camera, this returns
356 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
1476 * front-facing cameras is flipped horizontally before the rotation, that
1503 * if (info.facing
[all...]

Completed in 1033 milliseconds