Home
last modified time | relevance | path

Searched refs:afState (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DAFTriggerResult.java72 Integer afState = result.get(CaptureResult.CONTROL_AF_STATE); in update() local
76 afState); in update()
78 boolean inFocus = Objects.equal(afState, CaptureResult.CONTROL_AF_STATE_PASSIVE_FOCUSED) in update()
79 || Objects.equal(afState, CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED); in update()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DAcceptableZslImageFilter.java85 Integer afState = metadata.get(CaptureResult.CONTROL_AF_STATE); in isAFAcceptable() local
86 if (afState == null) { in isAFAcceptable()
89 switch (afState) { in isAFAcceptable()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DInitializedOneCameraFactory.java96 final ConcurrentState<Integer> afState = new ConcurrentState<>( in InitializedOneCameraFactory() local
106 Listenable<Integer> afStateListenable = new Listenable<>(afState, in InitializedOneCameraFactory()
116 new FilteredUpdatable<>(afState), in InitializedOneCameraFactory()
DGenericOneCameraImpl.java105 public void onCallback(@Nonnull Integer afState) { in setFocusStateListener()
110 listener.onFocusStatusUpdate(AutoFocusHelper.stateFromCamera2State(afState), in setFocusStateListener()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java438 Integer afState = captureResult.get(CaptureResult.CONTROL_AF_STATE); in takePicture()
453 if (afState == null) { in takePicture()
454 afState = CaptureResult.CONTROL_AF_STATE_INACTIVE; in takePicture()
477 if (afState == CaptureResult.CONTROL_AF_STATE_ACTIVE_SCAN in takePicture()
478 || afState == CaptureResult.CONTROL_AF_STATE_PASSIVE_SCAN) { in takePicture()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java68 …public void setFrameData(NormalizedFace[] faces, float normExposure, float normLens, int afState) { in setFrameData() argument
72 mAfState = afState; in setFrameData()
DDevCameraActivity.java464 … float normExposure, final float normLens, float fps, int iso, final int afState, int aeState, int… in frameDataAvailable() argument
468 mPreviewOverlay.setFrameData(faces, normExposure, normLens, afState); in frameDataAvailable()
473 String af = afStateToString(afState); in frameDataAvailable()
DCameraInterface.java133 …[] faces, float normExposure, float normLensPos, float fps, int iso, int afState, int aeState, int… in frameDataAvailable() argument