Searched refs:facing (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/
H A DCameraInfo.java39 out.writeInt(info.facing);
44 info.facing = in.readInt();
H A DCamera.java228 * The facing of the camera is opposite to that of the screen.
233 * The facing of the camera is the same as that of the screen.
241 public int facing; field in class:Camera.CameraInfo
249 * back-facing camera sensor is mounted in landscape. You are looking at
252 * 90. If the top side of a front-facing camera sensor is aligned with
313 * Creates a new Camera object to access the first back-facing camera on the
314 * device. If the device does not have a back-facing camera, this returns
323 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
1284 * front-facing cameras is flipped horizontally before the rotation, that
1311 * if (info.facing
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp224 cameraInfo->facing = info.facing;
252 int facing; local
253 if (getDeviceVersion(cameraId, &facing) == CAMERA_DEVICE_API_VERSION_1_0) {
259 if (getDeviceVersion(cameraId, &facing) <= CAMERA_DEVICE_API_VERSION_2_1) {
272 int CameraService::getDeviceVersion(int cameraId, int* facing) { argument
285 if (facing) {
286 *facing = info.facing;
293 int facing; local
438 int facing = -1; local
532 int facing = -1; local
603 int facing = -1; local
[all...]
H A DCameraService.h121 int getDeviceVersion(int cameraId, int* facing = NULL);
/frameworks/base/media/java/android/media/
H A DCamcorderProfile.java206 * Returns the camcorder profile for the first back-facing camera on the
207 * device at the given quality level. If the device has no back-facing
217 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
275 * Returns true if camcorder profile exists for the first back-facing
284 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
H A DCameraProfile.java52 * 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 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java81 info.info.facing = -1;
88 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1);
92 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing
/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/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextureViewActivity.java122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break;
/frameworks/av/camera/
H A DICameraService.cpp117 cameraInfo->facing = reply.readInt32();
262 reply->writeInt32(cameraInfo.facing);
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp40 jfieldID facing; member in struct:fields_t
456 env->SetIntField(info_obj, fields.facing, cameraInfo.facing);
1003 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing },

Completed in 350 milliseconds