HomeSort by relevance Sort by last modified time
    Searched refs:facing (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /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.
  /frameworks/av/camera/aidl/android/hardware/
ICameraServiceProxy.aidl 42 * Values for notifyCameraState facing
51 oneway void notifyCameraState(String cameraId, int facing, int newCameraState,
  /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 68 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...]
  /developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/extensions/
CameraExts.kt 38 return when (facing) {
  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/extensions/
CameraExts.kt 38 return when (facing) {
  /hardware/libhardware/modules/camera/3_4/
static_properties.h 62 int facing() const { return facing_; }; function in class:default_camera_hal::StaticProperties
85 int facing,
  /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.");
  /hardware/libhardware/modules/camera/3_4/metadata/
metadata_reader.cpp 34 int MetadataReader::Facing(int* facing) const {
39 ALOGE("%s: Failed to get facing from static metadata.", __func__);
45 *facing = CAMERA_FACING_FRONT;
48 *facing = CAMERA_FACING_BACK;
51 *facing = CAMERA_FACING_EXTERNAL;
54 ALOGE("%s: Invalid facing from static metadata: %d.",
metadata_reader.h 55 // The |facing| returned will be one of the enum values from system/camera.h.
56 virtual int Facing(int* facing) const;
  /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.0F) ^ 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 76 # lens facing
165 cam_rots = get_cam_rotations(frames, events["facing"], h)
315 def get_cam_rotations(frames, facing, h):
323 facing: Direction camera is facing
355 if facing == FACING_BACK:
357 elif facing == FACING_FRONT:
360 print "Unknown lens facing", facing
433 props["android.lens.facing"] != FACING_EXTERNAL
    [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) {
  /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

Completed in 1346 milliseconds

1 2 3 4 5 6 7