Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java99 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId) { in onButtonVisibilityChanged() argument
104 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId) { in onButtonEnabledChanged() argument
167 ButtonManager buttonManager = mController.getButtonManager(); in syncFlashIndicator() local
170 if ((buttonManager.isEnabled(ButtonManager.BUTTON_FLASH) in syncFlashIndicator()
171 && buttonManager.isVisible(ButtonManager.BUTTON_FLASH)) in syncFlashIndicator()
172 || (buttonManager.isEnabled(ButtonManager.BUTTON_TORCH) in syncFlashIndicator()
173 && buttonManager.isVisible(ButtonManager.BUTTON_TORCH))) { in syncFlashIndicator()
200 ButtonManager buttonManager = mController.getButtonManager(); in syncHdrIndicator() local
203 if (buttonManager.isEnabled(ButtonManager.BUTTON_HDR_PLUS) in syncHdrIndicator()
204 && buttonManager.isVisible(ButtonManager.BUTTON_HDR_PLUS)) { in syncHdrIndicator()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java2032 ButtonManager buttonManager = mController.getButtonManager();
2035 buttonManager.setToInitialState();
2058 buttonManager.initializeButton(ButtonManager.BUTTON_CAMERA,
2062 buttonManager.disableButton(ButtonManager.BUTTON_CAMERA);
2066 buttonManager.hideButton(ButtonManager.BUTTON_CAMERA);
2074 buttonManager.hideButton(ButtonManager.BUTTON_FLASH);
2075 buttonManager.hideButton(ButtonManager.BUTTON_TORCH);
2079 buttonManager.initializeButton(ButtonManager.BUTTON_FLASH,
2082 buttonManager.initializeButton(ButtonManager.BUTTON_TORCH,
2085 buttonManager.initializeButton(ButtonManager.BUTTON_HDR_PLUS_FLASH,
[all …]
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java350 ButtonManager buttonManager = mActivity.getButtonManager(); in switchToGcamCapture() local
352 buttonManager.disableButtonClick(ButtonManager.BUTTON_HDR_PLUS); in switchToGcamCapture()
360 buttonManager.enableButtonClick(ButtonManager.BUTTON_HDR_PLUS); in switchToGcamCapture()
539 ButtonManager buttonManager = mActivity.getButtonManager();
540 buttonManager.disableCameraButtonAndBlock();
1243 ButtonManager buttonManager = mActivity.getButtonManager(); in onCameraAvailable() local
1244 buttonManager.enableCameraButton(); in onCameraAvailable()
DCaptureModule.java1145 ButtonManager buttonManager = mAppController.getButtonManager();
1146 buttonManager.disableCameraButtonAndBlock();
1174 ButtonManager buttonManager = mAppController.getButtonManager();
1175 buttonManager.disableButtonClick(ButtonManager.BUTTON_HDR_PLUS);
1179 buttonManager.enableButtonClick(ButtonManager.BUTTON_HDR_PLUS);
DVideoModule.java511 ButtonManager buttonManager = mActivity.getButtonManager();
512 buttonManager.disableCameraButtonAndBlock();
613 ButtonManager buttonManager = mActivity.getButtonManager(); in onCameraAvailable() local
614 buttonManager.enableCameraButton(); in onCameraAvailable()
DButtonManager.java133 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId); in onButtonVisibilityChanged() argument
138 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId); in onButtonEnabledChanged() argument