Home
last modified time | relevance | path

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

12

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java61 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
63 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
73 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
75 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
86 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
88 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
97 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
99 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
DMockCameraFactory.java33 public static Camera createCamera(int facing) { in createCamera() argument
36 cameraInfo.facing = facing; in createCamera()
43 outCameraInfo.facing = cameraInfo.facing; in getCameraInfo()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java73 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in instance()
76 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in instance()
110 public boolean hasCameraFacing(@Nonnull Facing facing) { in hasCameraFacing() argument
111 return findFirstCameraFacing(facing) != null; in hasCameraFacing()
120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() argument
121 if (facing == Facing.BACK && mFirstBackCameraId != null) { in findFirstCameraFacing()
123 } else if (facing == Facing.FRONT && mFirstFrontCameraId != null) { in findFirstCameraFacing()
DOneCameraCharacteristicsImpl.java83 int direction = mCameraInfo.facing; in getCameraDirection()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() argument
102 String cameraId = findCameraId(facing); in findFirstCameraFacing()
124 private String findCameraId(Facing facing) { in findCameraId() argument
125 if (facing == Facing.FRONT) { in findCameraId()
154 private String findFirstCameraIdFacing(int facing) { in findFirstCameraIdFacing() argument
160 if (characteristics.get(CameraCharacteristics.LENS_FACING) == facing) { in findFirstCameraIdFacing()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java159 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
161 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
228 mCameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT in swapCamera()
243 if (mCameraIndex >= 0 && mCameraInfo.facing == desiredFacing) { in selectCamera()
255 if (cameraInfo.facing == desiredFacing) { in selectCamera()
545 if (mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in updateCameraOrientation()
627 mFocusOverlayManager.setMirror(mCameraInfo.facing == CameraInfo.CAMERA_FACING_BACK); in tryShowPreview()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java224 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
226 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
296 selectCamera(mCameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT ? in swapCamera()
310 if (mCameraIndex >= 0 && mCameraInfo.facing == desiredFacing) { in selectCamera()
322 if (cameraInfo.facing == desiredFacing) { in selectCamera()
684 if (mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in updateCameraOrientation()
765 mFocusOverlayManager.setMirror(mCameraInfo.facing == CameraInfo.CAMERA_FACING_BACK); in tryShowPreview()
DCameraMediaChooser.java425 final boolean frontCamera = cameraInfo != null && cameraInfo.facing == in updateViewState()
/packages/apps/Camera2/src/com/android/camera/one/config/
DOneCameraFeatureConfigCreator.java133 Integer facing = cameraCharacteristics.get(CameraCharacteristics.LENS_FACING);
134 if (facing == null) {
139 switch (facing) {
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java310 SettingsUtil.CameraDeviceSelector facing) { in upgradeCameraSizeSetting() argument
312 if (facing == SettingsUtil.CAMERA_FACING_FRONT) { in upgradeCameraSizeSetting()
314 } else if (facing == SettingsUtil.CAMERA_FACING_BACK) { in upgradeCameraSizeSetting()
331 int camera = SettingsUtil.getCameraId(infos, facing); in upgradeCameraSizeSetting()
DResolutionSetting.java179 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) in getPictureAspectRatio() argument
181 Size pictureSize = getPictureSize(cameraId, facing); in getPictureAspectRatio()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraManager.java37 public boolean hasCameraFacing(Facing facing); in hasCameraFacing() argument
49 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing() argument
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java199 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in doInBackground()
209 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in doInBackground()
289 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in getAutoDisplayOrientation()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java103 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder()
106 if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder()
DEffectsRecorder.java366 public void setCameraFacing(int facing) { in setCameraFacing() argument
374 mCameraFacing = facing; in setCameraFacing()
DUtil.java344 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in getDisplayOrientation()
624 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in setRotationParameter()
DVideoCamera.java1251 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in initializeRecorder()
1290 mEffectsRecorder.setCameraFacing(info.facing); in initializeEffectsPreview()
1660 boolean mirror = (info[mCameraId].facing == CameraInfo.CAMERA_FACING_FRONT); in showAlert()
DCamera.java386 boolean mirror = (info.facing == CameraInfo.CAMERA_FACING_FRONT); in initializeFirstTime()
533 mFaceView.setMirror(info.facing == CameraInfo.CAMERA_FACING_FRONT); in startFaceDetection()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java81 public void setFacingAndOrientation(int facing, int orientation) { in setFacingAndOrientation() argument
82 mFacing = facing; in setFacingAndOrientation()
DCameraInfoCache.java63 Integer facing = mCameraCharacteristics.get(CameraCharacteristics.LENS_FACING); in CameraInfoCache() local
64 …if (facing == (useFrontCamera ? CameraMetadata.LENS_FACING_FRONT : CameraMetadata.LENS_FACING_BACK… in CameraInfoCache()
/packages/apps/Camera2/src/com/android/camera/
DDisableCameraReceiver.java67 if (info.facing == CameraInfo.CAMERA_FACING_BACK) { in hasBackCamera()
/packages/apps/Gallery2/src/com/android/camera/
DDisableCameraReceiver.java66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) { in hasBackCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java178 cameraDirection = CameraManager.get().getCameraInfo().facing; in onClick()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12