/packages/apps/Camera2/src/com/android/camera/one/ |
OneCameraManager.java | 20 import com.android.camera.one.OneCamera.Facing; 35 * Returns whether the device has a camera facing the given direction. 37 public boolean hasCameraFacing(Facing facing); 46 * Get a platform specific device key for a camera facing a particular 49 public CameraId findFirstCameraFacing(Facing facing); 52 * Retrieve the characteristics for the camera facing at the given 57 * there is no camera facing the given direction.
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
MockCameraFactory.java | 33 public static Camera createCamera(int facing) { 36 cameraInfo.facing = facing; 43 outCameraInfo.facing = cameraInfo.facing;
|
CameraManagerTest.java | 61 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); 63 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); 73 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); 75 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); 86 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); 88 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); 97 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); 99 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing);
|
/frameworks/base/core/java/android/hardware/ |
CameraInfo.java | 39 out.writeInt(info.facing); 44 info.facing = in.readInt();
|
/device/generic/goldfish/camera/ |
EmulatedFakeCamera.cpp | 55 const char* facing = mFacingBack ? EmulatedCamera::FACING_BACK : local 58 mParameters.set(EmulatedCamera::FACING_KEY, facing); 59 ALOGD("%s: Fake camera is facing %s", __FUNCTION__, facing);
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
LegacyOneCameraManagerImpl.java | 24 import com.android.camera.one.OneCamera.Facing; 73 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { 76 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { 110 public boolean hasCameraFacing(@Nonnull Facing facing) { 111 return findFirstCameraFacing(facing) != null; 120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { 121 if (facing == Facing.BACK && mFirstBackCameraId != null) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
Camera2OneCameraManagerImpl.java | 29 import com.android.camera.one.OneCamera.Facing; 82 public boolean hasCameraFacing(@Nonnull Facing direction) { 101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { 102 String cameraId = findCameraId(facing); 123 /** Returns the ID of the first camera facing the given direction. */ 124 private String findCameraId(Facing facing) { 125 if (facing == Facing.FRONT) [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad.h | 66 unsigned facing:1; /**< Front (0) or back (1) facing? */ member in struct:quad_header_input
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_tritmp.h | 121 GLuint facing = 0; local 140 facing = AREA_IS_CCW( cc ) ^ ctx->Polygon._FrontBit; 143 if (facing) { 158 if (DO_TWOSIDE && facing == 1) { 266 SETUP_STENCIL(facing); 268 UNSET_STENCIL(facing); 279 SETUP_STENCIL(facing); 281 UNSET_STENCIL(facing); 295 SETUP_STENCIL(facing); 297 UNSET_STENCIL(facing); 347 GLuint facing = 0; local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/config/ |
OneCameraFeatureConfigCreator.java | 97 // Although front-facing cameras on the N6 (and N5) are not advertised as 133 Integer facing = cameraCharacteristics.get(CameraCharacteristics.LENS_FACING); 134 if (facing == null) { 135 Log.e(TAG, "Camera not facing anywhere."); 139 switch (facing) { 149 Log.e(TAG, "Not sure where camera is facing to.");
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_bld_depth.h | 67 LLVMValueRef facing,
|
lp_jit.h | 150 uint32_t facing,
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
CameraEnumerationAndroid.java | 140 String facing = local 141 (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) ? "front" : "back"; 142 return "Camera " + index + ", Facing " + facing 146 // Returns the name of the front facing camera. Returns null if the 152 // Returns the name of the back facing camera. Returns null if the 213 private static String getNameOfDevice(int facing) { 218 if (info.facing == facing) {
|
/external/mesa3d/src/mesa/swrast_setup/ |
ss_tritmp.h | 31 * facing, compute polygon offset and handle glPolygonMode(). 42 GLuint facing = 0; local 61 facing = (cc < 0.0) ^ ctx->Polygon._FrontBit; 64 mode = facing ? ctx->Polygon.BackMode : ctx->Polygon.FrontMode; 66 if (facing == 1) { 162 _swsetup_render_tri(ctx, e0, e1, e2, facing, _swsetup_edge_render_point_tri); 169 _swsetup_render_tri(ctx, e0, e1, e2, facing, _swsetup_edge_render_line_tri); 189 if (facing == 1) {
|
ss_triangle.c | 112 GLuint facing, 125 if (facing == 1 && ctx->Polygon.CullFaceMode != GL_FRONT) 127 if (facing == 0 && ctx->Polygon.CullFaceMode != GL_BACK) 131 _swrast_SetFacing(ctx, facing);
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
test_sensor_fusion.py | 74 # lens facing 127 cam_rots = get_cam_rotations(frames, events["facing"]) 273 def get_cam_rotations(frames, facing): 307 if facing == FACING_BACK: 309 elif facing == FACING_FRONT: 312 print "Unknown lens facing", facing 374 props['android.lens.facing'] != FACING_EXTERNAL) 383 facing = props['android.lens.facing'] [all...] |
/test/vts/drivers/hal/libdatatype/ |
hal_camera.cpp | 103 caminfo->facing = RandomBool() ? CAMERA_FACING_BACK : CAMERA_FACING_FRONT; 189 caminfo->facing = RandomBool() ? CAMERA_FACING_BACK : CAMERA_FACING_FRONT; 219 sub_msg->mutable_scalar_value()->set_int32_t(raw->facing);
|
/external/mesa3d/src/mesa/swrast/ |
s_span.h | 126 /** 0 = front-facing span, 1 = back-facing span (for two-sided stencil) */ 127 GLuint facing; member in struct:sw_span 181 (S).facing = 0; \
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCamera.java | 105 cameraInfo.facing = foundCam.facing;
|
/frameworks/base/media/java/android/media/ |
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) {
|
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) {
|
/hardware/interfaces/camera/device/1.0/ |
types.hal | 20 /** The facing of the camera is opposite to that of the screen. */ 22 /** The facing of the camera is the same as that of the screen. */ 25 * The facing of the camera is not fixed relative to the screen. 26 * The cameras with this facing are external cameras, e.g. USB cameras. 39 CameraFacing facing; 47 * back-facing camera sensor is mounted in landscape. You are looking at the 50 * top side of a front-facing camera sensor is aligned with the right of the
|
/hardware/libhardware/include/hardware/ |
camera_common.h | 164 * for camera facing definitions. 177 int facing; member in struct:camera_info 185 * back-facing camera sensor is mounted in landscape. You are looking at the 188 * top side of a front-facing camera sensor is aligned with the right of the 199 * Valid if camera facing is CAMERA_FACING_BACK or CAMERA_FACING_FRONT, 200 * not valid if camera facing is CAMERA_FACING_EXTERNAL. 695 * which have CAMERA_FACING_BACK or CAMERA_FACING_FRONT camera facing values 696 * (camera_info.facing). The HAL must not include the external cameras 697 * (camera_info.facing == CAMERA_FACING_EXTERNAL) into the return value [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
DisableCameraReceiver.java | 67 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
|
/packages/apps/Gallery2/src/com/android/camera/ |
DisableCameraReceiver.java | 66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
|