/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraFacingSetting.java | 21 import com.android.camera.one.OneCamera; 85 return getCameraFacing() == OneCamera.Facing.BACK; in isFacingBack() 94 return getCameraFacing() == OneCamera.Facing.FRONT; in isFacingFront() 102 public OneCamera.Facing getCameraFacing() { in getCameraFacing() 105 return OneCamera.Facing.BACK; in getCameraFacing() 107 return OneCamera.Facing.FRONT; in getCameraFacing() 118 public void setCameraFacing(OneCamera.Facing cameraFacing) { in setCameraFacing() 119 final int cameraId = (cameraFacing == OneCamera.Facing.BACK) ? in setCameraFacing() 129 public OneCamera.Facing switchCameraFacing() { in switchCameraFacing() 130 final OneCamera.Facing originalFacing = getCameraFacing(); in switchCameraFacing() [all …]
|
D | ResolutionSetting.java | 25 import com.android.camera.one.OneCamera; 26 import com.android.camera.one.OneCamera.Facing; 77 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in setPictureAspectRatio() 79 final String disallowedlist = cameraFacing == OneCamera.Facing.FRONT ? in setPictureAspectRatio() 90 supportedPictureSizes, cameraFacing == OneCamera.Facing.BACK); in setPictureAspectRatio() 111 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in getPictureSize() 117 if (cameraFacing == OneCamera.Facing.BACK) { in getPictureSize() 119 } else if (cameraFacing == OneCamera.Facing.FRONT) { in getPictureSize()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 25 import com.android.camera.one.OneCamera; 34 private final OneCamera mCamera; 40 private final OneCamera.Facing mCameraFacing; 57 OneCamera camera, in create() 59 OneCamera.Facing cameraFacing, in create() 69 OneCamera camera, in ResourceOpenedCameraImpl() 71 OneCamera.Facing cameraFacing, in ResourceOpenedCameraImpl() 92 public OneCamera getCamera() { in getCamera() 102 public OneCamera.Facing getCameraFacing() { in getCameraFacing() 134 Surface previewSurface, OneCamera.CaptureReadyCallback captureReadyCallback) { in startPreview()
|
D | ResourceOpenedCamera.java | 24 import com.android.camera.one.OneCamera; 39 public OneCamera getCamera(); in getCamera() 53 public OneCamera.Facing getCameraFacing(); in getCameraFacing() 99 Surface previewSurface, OneCamera.CaptureReadyCallback captureReadyCallback); in startPreview()
|
D | ResourceCaptureTools.java | 23 import com.android.camera.one.OneCamera; 50 OneCamera.PictureCallback pictureCallback, in takePictureNow() 122 OneCamera getCamera(); in getCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | AutoFocusHelper.java | 26 import com.android.camera.one.OneCamera; 55 public static OneCamera.AutoFocusState stateFromCamera2State(int state) { in stateFromCamera2State() 58 return OneCamera.AutoFocusState.ACTIVE_SCAN; in stateFromCamera2State() 60 return OneCamera.AutoFocusState.PASSIVE_SCAN; in stateFromCamera2State() 62 return OneCamera.AutoFocusState.PASSIVE_FOCUSED; in stateFromCamera2State() 64 return OneCamera.AutoFocusState.ACTIVE_FOCUSED; in stateFromCamera2State() 66 return OneCamera.AutoFocusState.PASSIVE_UNFOCUSED; in stateFromCamera2State() 68 return OneCamera.AutoFocusState.ACTIVE_UNFOCUSED; in stateFromCamera2State() 70 return OneCamera.AutoFocusState.INACTIVE; in stateFromCamera2State()
|
D | OneCameraFactory.java | 23 import com.android.camera.one.OneCamera; 31 OneCamera createOneCamera(CameraDeviceProxy cameraDevice, in createOneCamera() 37 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting, in createOneCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | FlashBasedPhotoCommand.java | 24 import com.android.camera.one.OneCamera; 35 private final Supplier<OneCamera.PhotoCaptureParameters.Flash> mFlashMode; 41 Supplier<OneCamera.PhotoCaptureParameters.Flash> flashMode, in FlashBasedPhotoCommand() 57 OneCamera.PhotoCaptureParameters.Flash flashMode = mFlashMode.get(); in run() 58 if (flashMode == OneCamera.PhotoCaptureParameters.Flash.ON) { in run() 61 } else if (flashMode == OneCamera.PhotoCaptureParameters.Flash.AUTO) { in run()
|
D | ImageRotationCalculatorImpl.java | 26 import com.android.camera.one.OneCamera; 61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); in from() 63 lensDirection == OneCamera.Facing.FRONT); in from()
|
D | PictureCallbackAdapter.java | 22 import com.android.camera.one.OneCamera; 34 private final OneCamera.PictureCallback mPictureCallback; 37 public PictureCallbackAdapter(OneCamera.PictureCallback pictureCallback, in PictureCallbackAdapter()
|
D | PictureTakerImpl.java | 24 import com.android.camera.one.OneCamera; 80 public void takePicture(OneCamera.PhotoCaptureParameters params, final CaptureSession session) { in takePicture() 81 OneCamera.PictureCallback pictureCallback = params.callback; in takePicture()
|
D | PictureTaker.java | 19 import com.android.camera.one.OneCamera; 26 public void takePicture(OneCamera.PhotoCaptureParameters params, CaptureSession session); in takePicture()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/event/ |
D | EventOnOpenCameraSucceeded.java | 20 import com.android.camera.one.OneCamera; 25 private final OneCamera mCamera; 27 public EventOnOpenCameraSucceeded(@Nonnull OneCamera camera) { in EventOnOpenCameraSucceeded() 31 public OneCamera getCamera() { in getCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | CameraDirectionProvider.java | 32 public OneCamera.Facing getDirection() { in getDirection() 35 return OneCamera.Facing.BACK; in getDirection() 37 return OneCamera.Facing.FRONT; in getDirection() 39 return OneCamera.Facing.BACK; in getDirection()
|
D | FlashSetting.java | 28 public class FlashSetting extends ForwardingObservable<OneCamera.PhotoCaptureParameters.Flash> { 30 Function<String, OneCamera.PhotoCaptureParameters.Flash> { 32 public OneCamera.PhotoCaptureParameters.Flash apply(String settingString) { in apply() 33 return OneCamera.PhotoCaptureParameters.Flash.decodeSettingsString(settingString); in apply()
|
D | OneCameraCaptureSetting.java | 23 import com.android.camera.one.OneCamera.Facing; 37 private final Observable<OneCamera.PhotoCaptureParameters.Flash> mFlashSetting; 48 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting; in create() 74 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting, in OneCameraCaptureSetting() 89 public Observable<OneCamera.PhotoCaptureParameters.Flash> getFlashSetting() { in getFlashSetting()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | InitializedOneCameraFactory.java | 31 import com.android.camera.one.OneCamera; 75 LinearScale lensRange, OneCamera.Facing direction) { in InitializedOneCameraFactory() 98 final ConcurrentState<OneCamera.FocusState> focusState = new ConcurrentState<>(new in InitializedOneCameraFactory() 99 OneCamera.FocusState(0.0f, false)); in InitializedOneCameraFactory() 108 Listenable<OneCamera.FocusState> focusStateListenable = new Listenable<>( in InitializedOneCameraFactory() 157 public OneCamera provideOneCamera() { in provideOneCamera()
|
D | MetadataCallback.java | 22 import com.android.camera.one.OneCamera; 35 private final Updatable<OneCamera.FocusState> mOneCameraFocusState; 40 Updatable<OneCamera.FocusState> oneCameraFocusState, in MetadataCallback() 76 mOneCameraFocusState.update(new OneCamera.FocusState(focusDistance, active)); in updateOneCameraFocusState()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateOpeningCamera.java | 39 import com.android.camera.one.OneCamera; 61 private final OneCamera.Facing mCameraFacing; 74 private OneCamera.OpenCallback mCameraOpenCallback = new OneCamera.OpenCallback() { 96 public void onCameraOpened(@Nonnull final OneCamera camera) { 105 OneCamera.Facing cameraFacing, in from() 115 OneCamera.Facing cameraFacing, in StateOpeningCamera() 147 final OneCamera camera = event.getCamera(); in registerEventHandlers() 244 .getOneCameraManager().hasCameraFacing(OneCamera.Facing.FRONT); in getHardwareSpec()
|
D | StateStartingPreview.java | 35 import com.android.camera.one.OneCamera; 59 OneCamera camera, in from() 61 OneCamera.Facing cameraFacing, in from() 81 OneCamera camera, in StateStartingPreview() 83 OneCamera.Facing cameraFacing, in StateStartingPreview() 188 OneCamera.CaptureReadyCallback captureReadyCallback = in onEnter() 189 new OneCamera.CaptureReadyCallback() { in onEnter()
|
D | StateReadyForCapture.java | 57 import com.android.camera.one.OneCamera; 58 import com.android.camera.one.OneCamera.Facing; 322 OneCamera.Facing cameraFacing = in registerEventHandlers() 513 final OneCamera camera = in onEnter() 536 final OneCamera camera = in onLeave() 547 private void onFocusStateUpdated(OneCamera.AutoFocusState focusState) { in onFocusStateUpdated() 566 private final OneCamera.FocusStateListener mFocusStateListener = 567 new OneCamera.FocusStateListener() { 569 public void onFocusStatusUpdate(final OneCamera.AutoFocusState focusState, 604 private final OneCamera.ReadyStateChangedListener mReadyStateChangedListener = [all …]
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
D | HardwareSpecImpl.java | 20 import com.android.camera.one.OneCamera; 51 OneCamera.Facing cameraFacing = in HardwareSpecImpl() 52 isFrontCamera ? OneCamera.Facing.FRONT : OneCamera.Facing.BACK; in HardwareSpecImpl()
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 22 import com.android.camera.one.OneCamera; 23 import com.android.camera.one.OneCamera.Facing; 82 public OneCamera.Facing getCameraDirection() { in getCameraDirection() 85 return OneCamera.Facing.BACK; in getCameraDirection() 87 return OneCamera.Facing.FRONT; in getCameraDirection()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | FlashBasedAEMode.java | 21 import com.android.camera.one.OneCamera; 28 private final Supplier<OneCamera.PhotoCaptureParameters.Flash> mFlash; 32 Supplier<OneCamera.PhotoCaptureParameters.Flash> flash, in FlashBasedAEMode()
|
/packages/apps/Camera2/src/com/android/camera/one/config/ |
D | OneCameraFeatureConfig.java | 26 import com.android.camera.one.OneCamera; 127 public HdrPlusSupportLevel getHdrPlusSupportLevel(OneCamera.Facing cameraFacing) { in getHdrPlusSupportLevel() 128 if (cameraFacing == OneCamera.Facing.FRONT) { in getHdrPlusSupportLevel()
|