Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java69 private ShutterButton mShutterButton; field in BottomBar
178 mShutterButton = in onFinishInflate()
180 mShutterButton.setOnTouchListener(new OnTouchListener() { in onFinishInflate()
393 mShutterButton.setBackground(shutterBackground); in setupShutterBackgroundForModeIndex()
429 mShutterButton.post(new Runnable() { in setShutterButtonEnabled()
432 mShutterButton.setEnabled(enabled); in setShutterButtonEnabled()
444 mShutterButton.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO); in setShutterButtonImportantToA11y()
446 mShutterButton.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); in setShutterButtonImportantToA11y()
454 return mShutterButton.isEnabled(); in isShutterButtonEnabled()
479 mShutterButton.setImageDrawable(iconDrawable); in setShutterButtonIcon()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheelContainer.java41 private View mShutterButton; field in IndicatorControlWheelContainer
52 mShutterButton = findViewById(R.id.shutter_button); in onFinishInflate()
84 return mShutterButton.dispatchTouchEvent(event); in dispatchTouchEvent()
89 if (mShutterButton.isPressed()) { in dispatchTouchEvent()
92 mShutterButton.dispatchTouchEvent(event); in dispatchTouchEvent()
104 int shutterButtonWidth = mShutterButton.getMeasuredWidth(); in onLayout()
105 int shutterButtonHeight = mShutterButton.getMeasuredHeight(); in onLayout()
108 mShutterButton.layout(right - left - shutterButtonWidth, in onLayout()
120 mShutterButton.measure(freeSpec, freeSpec); in onMeasure()
124 int desiredWidth = mShutterButton.getMeasuredWidth() in onMeasure()
[all …]
/packages/apps/Camera/src/com/android/camera/
DVideoModule.java152 private ShutterButton mShutterButton; field in VideoModule
266 mShutterButton.setEnabled(true); in handleMessage()
674 mShutterButton.setEnabled(false); in onShutterButtonClick()
1076 mShutterButton.performClick(); in onKeyDown()
1082 mShutterButton.performClick(); in onKeyDown()
1097 mShutterButton.setPressed(false); in onKeyUp()
1597 AccessibilityUtils.makeAnnouncement(mShutterButton, in startVideoRecording()
1623 mShutterButton.setImageResource(R.drawable.btn_shutter_video_recording); in showRecordingUI()
1638 mShutterButton.setImageResource(R.drawable.btn_new_shutter_video); in showRecordingUI()
1668 Util.fadeOut(mShutterButton); in showAlert()
[all …]
DPhotoModule.java171 private ShutterButton mShutterButton; field in PhotoModule
648 mShutterButton = mActivity.getShutterButton(); in initializeFirstTime()
649 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in initializeFirstTime()
650 mShutterButton.setOnShutterButtonListener(this); in initializeFirstTime()
651 mShutterButton.setVisibility(View.VISIBLE); in initializeFirstTime()
1033 mFocusManager.onAutoFocus(focused, mShutterButton.isPressed()); in onAutoFocus()
1728 mShutterButton = mActivity.getShutterButton(); in onConfigurationChanged()
1729 mShutterButton.setOnShutterButtonListener(this); in onConfigurationChanged()
1857 if (mShutterButton.isInTouchMode()) { in onKeyDown()
1858 mShutterButton.requestFocusFromTouch(); in onKeyDown()
[all …]
DPanoramaModule.java126 private ShutterButton mShutterButton; field in PanoramaModule
536 mShutterButton.setImageResource(R.drawable.btn_shutter_recording); in startCapture()
704 mShutterButton = mActivity.getShutterButton(); in setViews()
705 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in setViews()
706 mShutterButton.setOnShutterButtonListener(this); in setViews()
856 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in reset()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java172 private ShutterButton mShutterButton; field in VideoCamera
278 mShutterButton.setEnabled(true); in handleMessage()
435 mShutterButton = (ShutterButton) findViewById(R.id.shutter_button); in onCreate()
436 mShutterButton.setBackgroundResource(R.drawable.btn_shutter_video); in onCreate()
437 mShutterButton.setOnShutterButtonListener(this); in onCreate()
438 mShutterButton.requestFocus(); in onCreate()
447 mShutterButton.setEnabled(false); in onCreate()
667 mShutterButton.setEnabled(false); in onShutterButtonClick()
1042 mShutterButton.performClick(); in onKeyDown()
1048 mShutterButton.performClick(); in onKeyDown()
[all …]
DCamera.java145 private ShutterButton mShutterButton; field in Camera
377 mShutterButton = (ShutterButton) findViewById(R.id.shutter_button); in initializeFirstTime()
378 mShutterButton.setOnShutterButtonListener(this); in initializeFirstTime()
379 mShutterButton.setVisibility(View.VISIBLE); in initializeFirstTime()
1714 if (mShutterButton.isInTouchMode()) { in onKeyDown()
1715 mShutterButton.requestFocusFromTouch(); in onKeyDown()
1717 mShutterButton.requestFocus(); in onKeyDown()
1719 mShutterButton.setPressed(true); in onKeyDown()
2116 Util.fadeOut(mShutterButton); in showPostCaptureAlert()
2132 Util.fadeIn(mShutterButton); in hidePostCaptureAlert()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java512 private ShutterButton mShutterButton; field in CameraAppUI
1107 mShutterButton.setAlpha(progress * ShutterButton.ALPHA_WHEN_ENABLED in onModeListOpenProgress()
1116 mShutterButton.setAlpha(ShutterButton.ALPHA_WHEN_ENABLED); in onModeListClosed()
1232 mShutterButton = (ShutterButton) mCameraRootView.findViewById(R.id.shutter_button); in prepareModuleUI()
1429 mShutterButton.setAlpha(ShutterButton.ALPHA_WHEN_ENABLED); in onModeSelected()
1772 mShutterButton.addOnShutterButtonListener(listener);
1779 mShutterButton.removeOnShutterButtonListener(listener);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java125 private ShutterButton mShutterButton; field in PanoramaActivity
566 mShutterButton.setBackgroundResource(R.drawable.btn_shutter_pan_recording); in startCapture()
731 mShutterButton = (ShutterButton) findViewById(R.id.shutter_button); in createContentView()
732 mShutterButton.setBackgroundResource(R.drawable.btn_shutter_pan); in createContentView()
733 mShutterButton.setOnShutterButtonListener(this); in createContentView()
926 mShutterButton.setBackgroundResource(R.drawable.btn_shutter_pan); in reset()