/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
CameraHelper.java | 99 * @return the default rear/back facing camera on the device. Returns null if camera is not 107 * @return the default front facing camera on the device. Returns null if camera is not 126 // Find the ID of the back-facing ("default") camera 130 if (cameraInfo.facing == position) {
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraHAL.cpp | 96 cameraInfo->facing =
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
VideoCaptureDeviceInfoAndroid.java | 29 return info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT; 33 return "Camera " + index +", Facing " +
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
AppUpgrader.java | 302 SettingsUtil.CameraDeviceSelector facing) { 304 if (facing == SettingsUtil.CAMERA_FACING_FRONT) { 306 } else if (facing == SettingsUtil.CAMERA_FACING_BACK) { 309 Log.w(TAG, "Ignoring attempt to upgrade size of unhandled camera facing direction"); 323 int camera = SettingsUtil.getCameraId(infos, facing);
|
/external/chromium_org/content/shell/renderer/test_runner/ |
mock_web_user_media_client.cc | 248 WebSourceInfo::VideoFacingMode facing; member in struct:content::__anon12512 269 test_sources[i].facing);
|
/packages/apps/Camera/src/com/android/camera/ |
CameraHolder.java | 175 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { 177 } else if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_points.c | 107 span.facing = swrast->PointLineFacing; 280 span.facing = swrast->PointLineFacing; 383 span.facing = swrast->PointLineFacing; 480 span->facing != swrast->PointLineFacing) { 489 span->facing = swrast->PointLineFacing;
|
swrast.h | 171 * Indicates front/back facing for subsequent points/lines when drawing 175 _swrast_SetFacing(struct gl_context *ctx, GLuint facing);
|
/external/mesa3d/src/mesa/swrast/ |
s_points.c | 107 span.facing = swrast->PointLineFacing; 280 span.facing = swrast->PointLineFacing; 383 span.facing = swrast->PointLineFacing; 480 span->facing != swrast->PointLineFacing) { 489 span->facing = swrast->PointLineFacing;
|
swrast.h | 171 * Indicates front/back facing for subsequent points/lines when drawing 175 _swrast_SetFacing(struct gl_context *ctx, GLuint facing);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CameraStreamer.java | 58 /** Camera Facing: Don't Care: Picks any available camera. */ 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 */ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_setup.c | 66 LLVMValueRef facing; /* boolean */ member in struct:lp_setup_args 172 * Setup the fragment input attribute with the front-facing value. 173 * \param frontface is the triangle front facing? 182 LLVMValueRef a0_0 = args->facing; 185 LLVMValueRef a0 = vec4f(gallivm, a0_0f, zero, zero, zero, "facing"); 218 LLVMValueRef facing = args->facing; local 219 LLVMValueRef front_facing = LLVMBuildICmp(b, LLVMIntEQ, facing, lp_build_const_int32(gallivm, 0), ""); /** need i1 for if condition */ 715 arg_types[3] = LLVMInt32TypeInContext(gallivm->context); /* facing */ 732 args.facing = LLVMGetParam(variant->function, 3) [all...] |
lp_state_fs.c | 229 LLVMValueRef facing, 329 depth_ptr, facing, 386 depth_ptr, facing, 455 LLVMValueRef facing, 568 depth_ptr_i, facing, 625 depth_ptr_i, facing, 796 LLVMValueRef facing; local 862 arg_types[3] = int32_type; /* facing */ 889 facing = LLVMGetParam(function, 3); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_setup.c | 66 LLVMValueRef facing; /* boolean */ member in struct:lp_setup_args 172 * Setup the fragment input attribute with the front-facing value. 173 * \param frontface is the triangle front facing? 182 LLVMValueRef a0_0 = args->facing; 185 LLVMValueRef a0 = vec4f(gallivm, a0_0f, zero, zero, zero, "facing"); 218 LLVMValueRef facing = args->facing; local 219 LLVMValueRef front_facing = LLVMBuildICmp(b, LLVMIntEQ, facing, lp_build_const_int32(gallivm, 0), ""); /** need i1 for if condition */ 715 arg_types[3] = LLVMInt32TypeInContext(gallivm->context); /* facing */ 732 args.facing = LLVMGetParam(variant->function, 3) [all...] |
lp_state_fs.c | 229 LLVMValueRef facing, 329 depth_ptr, facing, 386 depth_ptr, facing, 455 LLVMValueRef facing, 568 depth_ptr_i, facing, 625 depth_ptr_i, facing, 796 LLVMValueRef facing; local 862 arg_types[3] = int32_type; /* facing */ 889 facing = LLVMGetParam(function, 3); [all...] |
/device/lge/mako/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 168 if (camInfo.facing >= 0) { 170 info->facing = camInfo.facing;
|
/device/lge/mako/camera/ |
QualcommCamera2.cpp | 167 if (camInfo.facing >= 0) { 169 info->facing = camInfo.facing;
|
/device/moto/shamu/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 184 if (camInfo.facing >= 0) { 186 info->facing = camInfo.facing;
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 199 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { 209 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { 289 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { 292 } else { // back-facing
|
/external/chromium_org/content/renderer/media/ |
user_media_client_impl_unittest.cc | 557 EXPECT_EQ(blink::WebSourceInfo::VideoFacingModeNone, source->facing()); 563 EXPECT_EQ(blink::WebSourceInfo::VideoFacingModeNone, source->facing()); 565 // Video input device user facing. 570 EXPECT_EQ(blink::WebSourceInfo::VideoFacingModeUser, source->facing()); 572 // Video input device environment facing. 577 EXPECT_EQ(blink::WebSourceInfo::VideoFacingModeEnvironment, source->facing());
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 128 machine->Face = (float) (quad->input.facing * -2 + 1);
|
sp_setup.c | 92 int facing; member in struct:setup_context 237 setup->quad[q].input.facing = setup->facing; 359 * To determine whether the primitive is front or back facing we 376 /* We need to know if this is a front or back-facing triangle for: 379 * 0 = front-facing, 1 = back-facing 381 setup->facing = 386 unsigned face = setup->facing == 0 ? PIPE_FACE_FRONT : PIPE_FACE_BACK; 667 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 128 machine->Face = (float) (quad->input.facing * -2 + 1);
|
sp_setup.c | 92 int facing; member in struct:setup_context 237 setup->quad[q].input.facing = setup->facing; 359 * To determine whether the primitive is front or back facing we 376 /* We need to know if this is a front or back-facing triangle for: 379 * 0 = front-facing, 1 = back-facing 381 setup->facing = 386 unsigned face = setup->facing == 0 ? PIPE_FACE_FRONT : PIPE_FACE_BACK; 667 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break;
|