Searched refs:focusState (Results 1 – 6 of 6) sorted by relevance
39 Updatable<Integer> focusState, in MetadataCallback() argument42 mFocusState = focusState; in MetadataCallback()62 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); in updateFocusState() local63 if (focusState != null) { in updateFocusState()64 mFocusState.update(focusState); in updateFocusState()70 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); in updateOneCameraFocusState() local71 if (focusDistance != null && focusState != null) { in updateOneCameraFocusState()75 boolean active = activeStates.contains(focusState); in updateOneCameraFocusState()
98 final ConcurrentState<OneCamera.FocusState> focusState = new ConcurrentState<>(new in InitializedOneCameraFactory() local109 focusState, mainThreadExecutor); in InitializedOneCameraFactory()117 new FilteredUpdatable<>(focusState), in InitializedOneCameraFactory()
125 public void onCallback(@Nonnull FocusState focusState) { in setFocusDistanceListener()126 if (focusState.isActive) { in setFocusDistanceListener()127 listener.onFocusDistance(focusState.lensDistance, mLensRange); in setFocusDistanceListener()
547 private void onFocusStateUpdated(OneCamera.AutoFocusState focusState) { in onFocusStateUpdated() argument549 switch (focusState) { in onFocusStateUpdated()569 public void onFocusStatusUpdate(final OneCamera.AutoFocusState focusState,571 onFocusStateUpdated(focusState);
551 int focusState = AudioManager.ERROR; in processMessage() local554 focusState = a2dpSinkService.getFocusState(); in processMessage()557 if (focusState == AudioManager.ERROR) { in processMessage()564 && focusState == AudioManager.AUDIOFOCUS_NONE) { in processMessage()
496 public void setCallAudioRouteFocusState(int focusState) { in setCallAudioRouteFocusState() argument498 CallAudioRouteStateMachine.SWITCH_FOCUS, focusState); in setCallAudioRouteFocusState()