Searched defs:facing (Results 1 - 5 of 5) 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/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...]
/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 },
/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.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...]

Completed in 1240 milliseconds