Searched refs:mShutterButton (Results 1 – 9 of 9) 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 …]
152 private ShutterButton mShutterButton; field in VideoModule266 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 …]
171 private ShutterButton mShutterButton; field in PhotoModule648 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 …]
126 private ShutterButton mShutterButton; field in PanoramaModule536 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()
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()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()
524 private ShutterButton mShutterButton; field in CameraAppUI1135 mShutterButton.getLayerType() == View.LAYER_TYPE_HARDWARE) { in onModeListOpenProgress()1139 mShutterButton.setLayerType(View.LAYER_TYPE_NONE, null); in onModeListOpenProgress()1143 mShutterButton.getLayerType() != View.LAYER_TYPE_HARDWARE) { in onModeListOpenProgress()1147 mShutterButton.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onModeListOpenProgress()1157 mShutterButton.setAlpha(progress * ShutterButton.ALPHA_WHEN_ENABLED in onModeListOpenProgress()1166 mShutterButton.getLayerType() == View.LAYER_TYPE_HARDWARE) { in onModeListClosed()1170 mShutterButton.setLayerType(View.LAYER_TYPE_NONE, null); in onModeListClosed()1176 mShutterButton.setAlpha(ShutterButton.ALPHA_WHEN_ENABLED); in onModeListClosed()1337 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()