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()
484 int focusState = getFocusState(); in processMessage() local487 && focusState == AudioManager.AUDIOFOCUS_NONE) { in processMessage()609 int focusState = getFocusState(); in processMessage() local610 if (focusState == AudioManager.ERROR) { in processMessage()618 && focusState == AudioManager.AUDIOFOCUS_NONE) { in processMessage()1251 int focusState = AudioManager.ERROR; in getFocusState() local1254 focusState = a2dpSinkService.getFocusState(); in getFocusState()1256 return focusState; in getFocusState()
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);
578 public void setCallAudioRouteFocusState(int focusState) { in setCallAudioRouteFocusState() argument580 CallAudioRouteStateMachine.SWITCH_FOCUS, focusState); in setCallAudioRouteFocusState()