Home
last modified time | relevance | path

Searched refs:focusState (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DMetadataCallback.java39 Updatable<Integer> focusState, in MetadataCallback() argument
42 mFocusState = focusState; in MetadataCallback()
62 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); in updateFocusState() local
63 if (focusState != null) { in updateFocusState()
64 mFocusState.update(focusState); in updateFocusState()
70 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); in updateOneCameraFocusState() local
71 if (focusDistance != null && focusState != null) { in updateOneCameraFocusState()
75 boolean active = activeStates.contains(focusState); in updateOneCameraFocusState()
DInitializedOneCameraFactory.java98 final ConcurrentState<OneCamera.FocusState> focusState = new ConcurrentState<>(new in InitializedOneCameraFactory() local
109 focusState, mainThreadExecutor); in InitializedOneCameraFactory()
117 new FilteredUpdatable<>(focusState), in InitializedOneCameraFactory()
DGenericOneCameraImpl.java125 public void onCallback(@Nonnull FocusState focusState) { in setFocusDistanceListener()
126 if (focusState.isActive) { in setFocusDistanceListener()
127 listener.onFocusDistance(focusState.lensDistance, mLensRange); in setFocusDistanceListener()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java547 private void onFocusStateUpdated(OneCamera.AutoFocusState focusState) { in onFocusStateUpdated() argument
549 switch (focusState) { in onFocusStateUpdated()
569 public void onFocusStatusUpdate(final OneCamera.AutoFocusState focusState,
571 onFocusStateUpdated(focusState);
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java525 int focusState = AudioManager.ERROR; in processMessage() local
528 focusState = a2dpSinkService.getFocusState(); in processMessage()
531 if (focusState == AudioManager.ERROR) { in processMessage()
538 && focusState == AudioManager.AUDIOFOCUS_NONE) { in processMessage()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java484 public void setCallAudioRouteFocusState(int focusState) { in setCallAudioRouteFocusState() argument
486 CallAudioRouteStateMachine.SWITCH_FOCUS, focusState); in setCallAudioRouteFocusState()