Home
last modified time | relevance | path

Searched refs:facing (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp240 cameraInfo->facing = info.facing; in getCameraInfo()
259 uint8_t facing = (info.facing == CAMERA_FACING_FRONT) ? in generateShimMetadata() local
261 if ((ret = shimInfo.update(ANDROID_LENS_FACING, &facing, 1)) != OK) { in generateShimMetadata()
348 int facing; in getCameraCharacteristics() local
351 getDeviceVersion(cameraId, &facing) <= CAMERA_DEVICE_API_VERSION_2_1 ) { in getCameraCharacteristics()
388 int CameraService::getDeviceVersion(int cameraId, int* facing) { in getDeviceVersion() argument
401 if (facing) { in getDeviceVersion()
402 *facing = info.facing; in getDeviceVersion()
674 int facing = -1; in connectHelperLocked() local
675 int deviceVersion = getDeviceVersion(cameraId, &facing); in connectHelperLocked()
[all …]
DCameraService.h139 int getDeviceVersion(int cameraId, int* facing = NULL);
/frameworks/base/core/java/android/hardware/
DCameraInfo.java39 out.writeInt(info.facing); in writeToParcel()
44 info.facing = in.readInt(); in readFromParcel()
DCamera.java274 public int facing; field in Camera.CameraInfo
356 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/base/media/java/android/media/
DCamcorderProfile.java266 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
365 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
DCameraProfile.java62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1038 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/base/core/java/android/hardware/camera2/legacy/
DGLThreadManager.java140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { in GLThreadManager() argument
141 mTextureRenderer = new SurfaceTextureRenderer(facing); in GLThreadManager()
DLegacyCameraDevice.java629 static void setSurfaceOrientation(Surface surface, int facing, int sensorOrientation) in setSurfaceOrientation() argument
632 LegacyExceptionUtils.throwOnError(nativeSetSurfaceOrientation(surface, facing, in setSurfaceOrientation()
670 private static native int nativeSetSurfaceOrientation(Surface surface, int facing, in nativeSetSurfaceOrientation() argument
DRequestThreadManager.java370 int facing = mCharacteristics.get(CameraCharacteristics.LENS_FACING); in configureOutputs() local
378 LegacyCameraDevice.setSurfaceOrientation(s, facing, orientation); in configureOutputs()
473 mGLThreadManager = new GLThreadManager(mCameraId, facing, mDeviceState); in configureOutputs()
DSurfaceTextureRenderer.java177 public SurfaceTextureRenderer(int facing) { in SurfaceTextureRenderer() argument
178 mFacing = facing; in SurfaceTextureRenderer()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java87 info.info.facing = -1; in testCameraInfo()
94 assertTrue("Facing was not set for camera " + cameraId, info.info.facing != -1); in testCameraInfo()
98 Log.v(TAG, "Camera " + cameraId + " info: facing " + info.info.facing in testCameraInfo()
/frameworks/av/include/camera/
DCameraBase.h32 int facing; member
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextureViewActivity.java122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break; in getCameraOrientation()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp46 jfieldID facing; member
505 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo()
1061 { "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing }, in register_android_hardware_Camera()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp638 jobject surface, jint facing, jint orientation) { in LegacyCameraDevice_nativeSetSurfaceOrientation() argument
650 uint8_t facingVal = static_cast<uint8_t>(facing); in LegacyCameraDevice_nativeSetSurfaceOrientation()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java162 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/av/camera/
DICameraService.cpp120 cameraInfo->facing = reply.readInt32(); in getCameraInfo()
341 reply->writeInt32(cameraInfo.facing); in onTransact()
/frameworks/base/docs/html/training/multiple-apks/
Dapi.jd284 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
Dscreensize.jd232 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
Dmultiple.jd334 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/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_launcher_archive.jd86 <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/
Dandroid-2.3-highlights.jd188 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>
Dandroid-2.3.jd161 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} &mdash; The application uses a front-facing
/frameworks/base/docs/html/training/implementing-navigation/
Dancestral.jd121 <p>This adds a left-facing caret alongside the app icon and enables it as an action button

12