/frameworks/base/core/java/android/hardware/ |
D | CameraInfo.java | 39 out.writeInt(info.facing); in writeToParcel() 44 info.facing = in.readInt(); in readFromParcel()
|
D | Camera.java | 273 public int facing; field in Camera.CameraInfo 355 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
|
/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 330 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get() 429 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
|
D | CameraProfile.java | 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 1038 public synchronized void setFacing(int facing) { in setFacing() argument 1039 if (facing != mRequestedFacing) { in setFacing() 1040 switch (facing) { in setFacing() 1044 mRequestedFacing = facing; in setFacing() 1047 throw new IllegalArgumentException("Unknown facing value '" + facing in setFacing() 1262 mActualFacing = (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in updateCameraOrientation() 1281 if ((cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) == useFrontCam) { in getCameraId() 1609 public void setFacing(int facing) { in setFacing() argument 1610 mCameraRunner.setFacing(facing); in setFacing() 1682 return (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in getDefaultFacing()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 442 cameraInfo->facing = info.facing; in getCameraInfo() 471 uint8_t facing = (info.facing == CAMERA_FACING_FRONT) ? in generateShimMetadata() local 473 if ((ret = shimInfo.update(ANDROID_LENS_FACING, &facing, 1)) != OK) { in generateShimMetadata() 561 int facing; in getCameraCharacteristics() local 564 getDeviceVersion(cameraId, &facing) <= CAMERA_DEVICE_API_VERSION_2_1 ) { in getCameraCharacteristics() 633 int CameraService::getDeviceVersion(int cameraId, int* facing) { in getDeviceVersion() argument 647 if (facing) { in getDeviceVersion() 648 *facing = info.facing; in getDeviceVersion() 704 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, in makeClient() argument 723 *client = new CameraClient(cameraService, tmp, packageName, id, facing, in makeClient() [all …]
|
D | CameraService.h | 184 int getDeviceVersion(int cameraId, int* facing = NULL); 743 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, 865 int facing = -1; in connectHelper() local 866 int deviceVersion = getDeviceVersion(id, /*out*/&facing); in connectHelper() 868 if((ret = makeClient(this, cameraCb, clientPackageName, cameraId, facing, clientPid, in connectHelper()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 88 info.info.facing = -1; in testCameraInfo() 95 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1); in testCameraInfo() 99 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing in testCameraInfo()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | GLThreadManager.java | 140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { in GLThreadManager() argument 141 mTextureRenderer = new SurfaceTextureRenderer(facing); in GLThreadManager()
|
D | LegacyCameraDevice.java | 682 static void setSurfaceOrientation(Surface surface, int facing, int sensorOrientation) in setSurfaceOrientation() argument 685 LegacyExceptionUtils.throwOnError(nativeSetSurfaceOrientation(surface, facing, in setSurfaceOrientation() 732 private static native int nativeSetSurfaceOrientation(Surface surface, int facing, in nativeSetSurfaceOrientation() argument
|
D | RequestThreadManager.java | 376 int facing = mCharacteristics.get(CameraCharacteristics.LENS_FACING); in configureOutputs() local 384 LegacyCameraDevice.setSurfaceOrientation(s, facing, orientation); in configureOutputs() 485 mGLThreadManager = new GLThreadManager(mCameraId, facing, mDeviceState); in configureOutputs()
|
D | SurfaceTextureRenderer.java | 177 public SurfaceTextureRenderer(int facing) { in SurfaceTextureRenderer() argument 178 mFacing = facing; in SurfaceTextureRenderer()
|
/frameworks/av/include/camera/ |
D | CameraBase.h | 32 int facing; member
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextureViewActivity.java | 122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break; in getCameraOrientation()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 46 jfieldID facing; member 511 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo() 1058 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing }, in register_android_hardware_Camera()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 654 jobject surface, jint facing, jint orientation) { in LegacyCameraDevice_nativeSetSurfaceOrientation() argument 666 uint8_t facingVal = static_cast<uint8_t>(facing); in LegacyCameraDevice_nativeSetSurfaceOrientation()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraAgentImpl.java | 162 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in create() 165 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in create() 208 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK; in isFacingBack() 213 return mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT; in isFacingFront()
|
/frameworks/base/docs/html/training/multiple-apks/ |
D | api.jd | 284 sake of example, let’s assume that red requires a front-facing camera. In fact, the entire point of 285 the red APK is to combine the front-facing camera with sweet new functionality that was added in API 286 11. But, it turns out, not all devices that support API 11 even HAVE front-facing cameras! The 290 manifest, see that Red lists the front-facing camera as a requirement, and quietly ignore it, having 293 but also doesn’t care whether or not there’s a front-facing camera! The app can still be downloaded
|
D | screensize.jd | 232 red requires a front-facing camera. In fact, the entire point of the red APK is to use the extra 233 available screen space to do entertaining things with that front-facing camera. But, it turns out, 234 not all xlarge devices even HAVE front-facing cameras! The horror!</p> 237 manifest, see that Red lists the front-facing camera as a requirement, and quietly ignore it, having 240 front-facing camera! The app can still be downloaded from Google Play by the user, because
|
D | multiple.jd | 334 let’s assume that Purple requires a front-facing camera. In fact, the entire point of Purple is to 335 use entertaining things with the front-facing camera! But, it turns out, not all API 11+ devices 336 even HAVE front-facing cameras! The horror!</p> 339 manifest, see that Purple lists the front-facing camera as a requirement, and quietly ignore it, 342 there’s a front-facing camera! The app can still be downloaded from Google Play by the user,
|
/frameworks/av/camera/ |
D | ICameraService.cpp | 126 cameraInfo->facing = reply.readInt32(); in getCameraInfo() 360 reply->writeInt32(cameraInfo.facing); in onTransact()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 112 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() local 152 if (facing == CameraCharacteristics.LENS_FACING_BACK && in resume()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_launcher_archive.jd | 86 <p>Starting with Android 2.0, launcher icons should be front-facing, instead of 135 <p>Forward-facing and top-lit:</p> 138 icons should be forward-facing, with very little perspective, and they 340 <li>Forward-facing and top-lit, whole, limited in color
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3-highlights.jd | 188 including a front-facing camera, if available. </p> 374 device, including a front-facing camera. Applications can query the platform for 377 front-facing camera that offers lower-resolution, while a photo application 378 might prefer a back-facing camera that offers higher-resolution.</p>
|
D | android-2.3.jd | 161 positional characteristics (orientation, front-facing or back-facing).</li> 173 <p class="note">To look at sample code for accessing a front-facing camera, see <a href="{@docRoot}… 608 direction the screen is facing.</li> 611 the screen is facing.</li> 647 android.hardware.camera.front} — The application uses a front-facing
|