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.java2033 ButtonManager buttonManager = mController.getButtonManager();
2036 buttonManager.setToInitialState();
2059 buttonManager.initializeButton(ButtonManager.BUTTON_CAMERA,
2063 buttonManager.disableButton(ButtonManager.BUTTON_CAMERA);
2067 buttonManager.hideButton(ButtonManager.BUTTON_CAMERA);
2075 buttonManager.hideButton(ButtonManager.BUTTON_FLASH);
2076 buttonManager.hideButton(ButtonManager.BUTTON_TORCH);
2080 buttonManager.initializeButton(ButtonManager.BUTTON_FLASH,
2083 buttonManager.initializeButton(ButtonManager.BUTTON_TORCH,
2086 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.java508 ButtonManager buttonManager = mActivity.getButtonManager();
509 buttonManager.disableCameraButtonAndBlock();
610 ButtonManager buttonManager = mActivity.getButtonManager(); in onCameraAvailable() local
611 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