Searched defs:facing (Results 1 - 8 of 8) sorted by last modified time

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
H A DMockCameraFactory.java33 public static Camera createCamera(int facing) { argument
36 cameraInfo.facing = facing;
43 outCameraInfo.facing = cameraInfo.facing;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DEffectsRecorder.java366 public void setCameraFacing(int facing) { argument
374 mCameraFacing = facing;
/packages/apps/DevCamera/src/com/android/devcamera/
H A DPreviewOverlay.java78 * Set the facing of the current camera, for correct coordinate mapping.
81 public void setFacingAndOrientation(int facing, int orientation) { argument
82 mFacing = facing;
103 // Additionally, front-facing cameras are mirrored, so an additional sign flip is needed.
123 // Reverse sensor readout for front/external facing cameras
/packages/apps/Camera2/src/com/android/camera/one/
H A DOneCameraManager.java35 * Returns whether the device has a camera facing the given direction.
37 public boolean hasCameraFacing(Facing facing); argument
46 * Get a platform specific device key for a camera facing a particular
49 public CameraId findFirstCameraFacing(Facing facing); argument
52 * Retrieve the characteristics for the camera facing at the given
57 * there is no camera facing the given direction.
/packages/apps/Camera2/src/com/android/camera/one/v1/
H A DLegacyOneCameraManagerImpl.java73 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) { argument
111 return findFirstCameraFacing(facing) != null;
120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { argument
121 if (facing == Facing.BACK && mFirstBackCameraId != null) {
123 } else if (facing == Facing.FRONT && mFirstFrontCameraId != null) {
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DCamera2OneCameraManagerImpl.java101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { argument
102 String cameraId = findCameraId(facing);
123 /** Returns the ID of the first camera facing the given direction. */
124 private String findCameraId(Facing facing) { argument
125 if (facing == Facing.FRONT) {
132 /** Returns the ID of the first back-facing camera. */
137 Log.w(TAG, "No back-facing camera found.");
142 /** Returns the ID of the first front-facing camera. */
147 Log.w(TAG, "No front-facing camera found.");
153 /** Returns the ID of the first camera facing th
154 findFirstCameraIdFacing(int facing) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/settings/
H A DAppUpgrader.java310 SettingsUtil.CameraDeviceSelector facing) {
312 if (facing == SettingsUtil.CAMERA_FACING_FRONT) {
314 } else if (facing == SettingsUtil.CAMERA_FACING_BACK) {
317 Log.w(TAG, "Ignoring attempt to upgrade size of unhandled camera facing direction");
331 int camera = SettingsUtil.getCameraId(infos, facing);
308 upgradeCameraSizeSetting(SettingsManager settingsManager, Context context, CameraDeviceInfo infos, SettingsUtil.CameraDeviceSelector facing) argument
H A DResolutionSetting.java60 * Changes the picture size settings for the cameras with specified facing.
103 * Reads the picture size setting for the cameras with specified facing.
179 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) argument
181 Size pictureSize = getPictureSize(cameraId, facing);

Completed in 166 milliseconds