Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/camera/
DVideoUI.java62 private ShutterButton mShutterButton; field in VideoUI
249 mShutterButton = mActivity.getShutterButton(); in initializeMiscControls()
250 mShutterButton.setImageResource(R.drawable.btn_new_shutter_video); in initializeMiscControls()
251 mShutterButton.setOnShutterButtonListener(mController); in initializeMiscControls()
252 mShutterButton.setVisibility(View.VISIBLE); in initializeMiscControls()
253 mShutterButton.requestFocus(); in initializeMiscControls()
254 mShutterButton.enableTouch(true); in initializeMiscControls()
340 if (mShutterButton != null) { in enableShutter()
341 mShutterButton.setEnabled(enable); in enableShutter()
396 mShutterButton.setImageResource(R.drawable.btn_shutter_video_recording); in showRecordingUI()
[all …]
DPhotoUI.java71 private ShutterButton mShutterButton; field in PhotoUI
255 mShutterButton = mActivity.getShutterButton(); in initializeFirstTime()
256 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in initializeFirstTime()
257 mShutterButton.setOnShutterButtonListener(mController); in initializeFirstTime()
258 mShutterButton.setVisibility(View.VISIBLE); in initializeFirstTime()
459 mShutterButton.setVisibility(View.INVISIBLE); in showPostCaptureAlert()
468 mShutterButton.setVisibility(View.VISIBLE); in hidePostCaptureAlert()
482 return mShutterButton.isPressed(); in isShutterPressed()
600 if (mShutterButton != null) { in enableShutter()
601 mShutterButton.setEnabled(enabled); in enableShutter()
[all …]
DPanoramaModule.java126 private ShutterButton mShutterButton; field in PanoramaModule
535 mShutterButton.setImageResource(R.drawable.btn_shutter_recording); in startCapture()
703 mShutterButton = mActivity.getShutterButton(); in setViews()
704 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in setViews()
705 mShutterButton.setOnShutterButtonListener(this); in setViews()
855 mShutterButton.setImageResource(R.drawable.btn_new_shutter); in reset()
/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/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()