Searched refs:mShutterButton (Results 1 – 6 of 6) sorted by relevance
41 private View mShutterButton; field in IndicatorControlWheelContainer52 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 …]
69 private ShutterButton mShutterButton; field in BottomBar178 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 …]
172 private ShutterButton mShutterButton; field in VideoCamera278 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 …]
145 private ShutterButton mShutterButton; field in Camera377 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()
525 private ShutterButton mShutterButton; field in CameraAppUI1136 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 …]
125 private ShutterButton mShutterButton; field in PanoramaActivity566 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()