Home
last modified time | relevance | path

Searched refs:ButtonManager (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java25 import com.android.camera.ButtonManager;
42 ButtonManager.ButtonStatusListener {
99 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId) { in onButtonVisibilityChanged()
104 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId) { in onButtonEnabledChanged()
114 case ButtonManager.BUTTON_FLASH: { in syncIndicatorWithButton()
118 case ButtonManager.BUTTON_TORCH: { in syncIndicatorWithButton()
122 case ButtonManager.BUTTON_HDR_PLUS: { in syncIndicatorWithButton()
126 case ButtonManager.BUTTON_HDR: { in syncIndicatorWithButton()
130 case ButtonManager.BUTTON_EXPOSURE_COMPENSATION: { in syncIndicatorWithButton()
167 ButtonManager buttonManager = mController.getButtonManager(); in syncFlashIndicator()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java39 import com.android.camera.ButtonManager;
395 public ButtonManager.ButtonCallback cameraCallback;
402 public ButtonManager.ButtonCallback flashCallback;
409 public ButtonManager.ButtonCallback hdrCallback;
416 public ButtonManager.ButtonCallback gridLinesCallback;
423 public ButtonManager.ButtonCallback panoOrientationCallback;
1779 public ButtonManager.ButtonCallback getGridLinesCallback() { in getGridLinesCallback()
1780 return new ButtonManager.ButtonCallback() { in getGridLinesCallback()
2032 ButtonManager buttonManager = mController.getButtonManager();
2053 int hdrButtonId = ButtonManager.BUTTON_HDR;
[all …]
DAppController.java31 import com.android.camera.ButtonManager;
400 public ButtonManager getButtonManager(); in getButtonManager()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java1069 private ButtonManager.ButtonCallback getHdrButtonCallback() {
1071 return new ButtonManager.ButtonCallback() {
1077 if (state == ButtonManager.ON) {
1088 return new ButtonManager.ButtonCallback() {
1112 private ButtonManager.ButtonCallback getCameraCallback() {
1114 return new ButtonManager.ButtonCallback() {
1138 return new ButtonManager.ButtonCallback() {
1145 ButtonManager buttonManager = mAppController.getButtonManager();
1174 ButtonManager buttonManager = mAppController.getButtonManager();
1175 buttonManager.disableButtonClick(ButtonManager.BUTTON_HDR_PLUS);
[all …]
DPhotoModule.java350 ButtonManager buttonManager = mActivity.getButtonManager(); in switchToGcamCapture()
352 buttonManager.disableButtonClick(ButtonManager.BUTTON_HDR_PLUS); in switchToGcamCapture()
360 buttonManager.enableButtonClick(ButtonManager.BUTTON_HDR_PLUS); in switchToGcamCapture()
517 private final ButtonManager.ButtonCallback mCameraCallback =
518 new ButtonManager.ButtonCallback() {
539 ButtonManager buttonManager = mActivity.getButtonManager();
553 private final ButtonManager.ButtonCallback mHdrPlusCallback =
554 new ButtonManager.ButtonCallback() {
1243 ButtonManager buttonManager = mActivity.getButtonManager(); in onCameraAvailable()
1854 mAppController.getButtonManager().disableButton(ButtonManager.BUTTON_FLASH); in onSettingChanged()
[all …]
DButtonManager.java39 public class ButtonManager implements SettingsManager.OnSettingChangedListener { class
106 public ButtonManager(AppController app) { in ButtonManager() method in ButtonManager
133 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId); in onButtonVisibilityChanged()
138 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId); in onButtonEnabledChanged()
DVideoModule.java492 private final ButtonManager.ButtonCallback mFlashCallback =
493 new ButtonManager.ButtonCallback() {
504 private final ButtonManager.ButtonCallback mCameraCallback =
505 new ButtonManager.ButtonCallback() {
511 ButtonManager buttonManager = mActivity.getButtonManager();
613 ButtonManager buttonManager = mActivity.getButtonManager(); in onCameraAvailable()
DCameraActivity.java245 private ButtonManager mButtonManager;
2540 public ButtonManager getButtonManager() { in getButtonManager()
2542 mButtonManager = new ButtonManager(this); in getButtonManager()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateOpeningCamera.java21 import com.android.camera.ButtonManager;
258 bottomBarSpec.cameraCallback = new ButtonManager.ButtonCallback() {