/frameworks/base/core/java/android/hardware/ |
H A D | CameraInfo.java | 39 out.writeInt(info.facing); 44 info.facing = in.readInt();
|
H A D | Camera.java | 260 * The facing of the camera is opposite to that of the screen. 265 * The facing of the camera is the same as that of the screen. 273 public int facing; field in class:Camera.CameraInfo 281 * back-facing camera sensor is mounted in landscape. You are looking at 284 * 90. If the top side of a front-facing camera sensor is aligned with 345 * Creates a new Camera object to access the first back-facing camera on the 346 * device. If the device does not have a back-facing camera, this returns 355 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { 1474 * front-facing cameras is flipped horizontally before the rotation, that 1501 * if (info.facing [all...] |
/frameworks/base/media/java/android/media/ |
H A D | CamcorderProfile.java | 319 * Returns the camcorder profile for the first back-facing camera on the 320 * device at the given quality level. If the device has no back-facing 330 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { 402 * Returns true if camcorder profile exists for the first back-facing 429 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
|
H A D | CameraProfile.java | 52 * the first back-facing camera on the device. If the device has no 53 * back-facing camera, this returns 0. 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
|
/frameworks/av/include/camera/ |
H A D | CameraBase.h | 32 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 D | GLThreadManager.java | 137 * @param facing direction the camera is facing. 140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { argument 141 mTextureRenderer = new SurfaceTextureRenderer(facing);
|
H A D | LegacyCameraDevice.java | 682 static void setSurfaceOrientation(Surface surface, int facing, int sensorOrientation) argument 685 LegacyExceptionUtils.throwOnError(nativeSetSurfaceOrientation(surface, facing, 732 private static native int nativeSetSurfaceOrientation(Surface surface, int facing, argument
|
H A D | SurfaceTextureRenderer.java | 177 public SurfaceTextureRenderer(int facing) { argument 178 mFacing = facing;
|
H A D | RequestThreadManager.java | 376 int facing = mCharacteristics.get(CameraCharacteristics.LENS_FACING); 384 LegacyCameraDevice.setSurfaceOrientation(s, facing, orientation); 485 mGLThreadManager = new GLThreadManager(mCameraId, facing, mDeviceState);
|
H A D | LegacyMetadataMapper.java | 113 * @param info Camera info with camera facing direction and angle of orientation 136 * @param info Camera info with camera facing direction and angle of orientation 166 m.set(LENS_FACING, i.facing == CameraInfo.CAMERA_FACING_BACK ?
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraBinderTest.java | 88 info.info.facing = -1; 95 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1); 99 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.h | 169 int getDeviceVersion(int cameraId, int* facing = NULL); 725 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, 846 int facing = -1; local 847 int deviceVersion = getDeviceVersion(id, /*out*/&facing); 849 if((ret = makeClient(this, cameraCb, clientPackageName, cameraId, facing, clientPid,
|
H A D | CameraService.cpp | 430 cameraInfo->facing = info.facing; 458 uint8_t facing = (info.facing == CAMERA_FACING_FRONT) ? local 460 if ((ret = shimInfo.update(ANDROID_LENS_FACING, &facing, 1)) != OK) { 547 int facing; local 550 getDeviceVersion(cameraId, &facing) <= CAMERA_DEVICE_API_VERSION_2_1 ) { 613 int CameraService::getDeviceVersion(int cameraId, int* facing) { argument 626 if (facing) { 627 *facing 682 makeClient(const sp<CameraService>& cameraService, const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, int halVersion, int deviceVersion, apiLevel effectiveApiLevel, sp<BasicClient>* client) argument 1429 int facing = -1; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CameraStreamer.java | 60 /** 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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextureViewActivity.java | 122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break;
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 46 jfieldID facing; member in struct:fields_t 511 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); 1058 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing },
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 654 jobject surface, jint facing, jint orientation) { 666 uint8_t facingVal = static_cast<uint8_t>(facing); 653 LegacyCameraDevice_nativeSetSurfaceOrientation(JNIEnv* env, jobject thiz, jobject surface, jint facing, jint orientation) argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCameraAgentImpl.java | 162 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { 165 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { 208 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK; 213 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT;
|
/frameworks/av/camera/ |
H A D | ICameraService.cpp | 126 cameraInfo->facing = reply.readInt32(); 360 reply->writeInt32(cameraInfo.facing);
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 108 // Find first back-facing camera that has necessary capability 112 int facing = info.get(CameraCharacteristics.LENS_FACING); 152 if (facing == CameraCharacteristics.LENS_FACING_BACK &&
|