Home
last modified time | relevance | path

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

/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/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()
411 mShutterButton.setBackground(shutterBackground); in setupShutterBackgroundForModeIndex()
447 mShutterButton.post(new Runnable() { in setShutterButtonEnabled()
450 mShutterButton.setEnabled(enabled); in setShutterButtonEnabled()
462 mShutterButton.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO); in setShutterButtonImportantToA11y()
464 mShutterButton.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); in setShutterButtonImportantToA11y()
472 return mShutterButton.isEnabled(); in isShutterButtonEnabled()
497 mShutterButton.setImageDrawable(iconDrawable); in setShutterButtonIcon()
[all …]
/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()
1732 if (mShutterButton.isInTouchMode()) { in onKeyDown()
1733 mShutterButton.requestFocusFromTouch(); in onKeyDown()
1735 mShutterButton.requestFocus(); in onKeyDown()
1737 mShutterButton.setPressed(true); in onKeyDown()
2134 Util.fadeOut(mShutterButton); in showPostCaptureAlert()
2150 Util.fadeIn(mShutterButton); in hidePostCaptureAlert()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java525 private ShutterButton mShutterButton; field in CameraAppUI
1136 mShutterButton.getLayerType() == View.LAYER_TYPE_HARDWARE) { in onModeListOpenProgress()
1140 mShutterButton.setLayerType(View.LAYER_TYPE_NONE, null); in onModeListOpenProgress()
1144 mShutterButton.getLayerType() != View.LAYER_TYPE_HARDWARE) { in onModeListOpenProgress()
1148 mShutterButton.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onModeListOpenProgress()
1158 mShutterButton.setAlpha(progress * ShutterButton.ALPHA_WHEN_ENABLED in onModeListOpenProgress()
1167 mShutterButton.getLayerType() == View.LAYER_TYPE_HARDWARE) { in onModeListClosed()
1171 mShutterButton.setLayerType(View.LAYER_TYPE_NONE, null); in onModeListClosed()
1177 mShutterButton.setAlpha(ShutterButton.ALPHA_WHEN_ENABLED); in onModeListClosed()
1338 mShutterButton = (ShutterButton) mCameraRootView.findViewById(R.id.shutter_button); in prepareModuleUI()
[all …]
/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()