Home | History | Annotate | Download | only in v2

Lines Matching refs:facing

29 import com.android.camera.one.OneCamera.Facing;
82 public boolean hasCameraFacing(@Nonnull Facing direction) {
101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) {
102 String cameraId = findCameraId(facing);
123 /** Returns the ID of the first camera facing the given direction. */
124 private String findCameraId(Facing facing) {
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 the given direction. */
154 private String findFirstCameraIdFacing(int facing) {
160 if (characteristics.get(CameraCharacteristics.LENS_FACING) == facing) {