Searched refs:pressed (Results 1 - 24 of 24) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
H A DShutterButton.java27 * pressed state changes.
31 * A callback to be invoked when a ShutterButton's pressed state changes.
35 * Called when a ShutterButton has been pressed.
37 * @param pressed The ShutterButton that was pressed.
39 void onShutterButtonFocus(boolean pressed); argument
56 * onPressed listener doesn't always get called when the pressed state
62 final boolean pressed = isPressed();
63 if (pressed != mOldPressed) {
64 if (!pressed) {
98 callShutterButtonFocus(boolean pressed) argument
[all...]
H A DCamera.java1452 public void onShutterButtonFocus(boolean pressed) { argument
1456 if (pressed && !canTakePicture()) return;
1458 if (pressed) {
H A DVideoCamera.java679 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DDontPressWithParentLayout.java25 * Special class to to allow the parent to be pressed without being pressed
26 * itself. This way the time in the alarm list can be pressed without changing
36 public void setPressed(boolean pressed) { argument
37 // If the parent is pressed, do not set to pressed.
38 if (pressed && ((View) getParent()).isPressed()) {
41 super.setPressed(pressed);
/packages/apps/Camera/src/com/android/camera/
H A DShutterButton.java28 * pressed state changes.
35 * A callback to be invoked when a ShutterButton's pressed state changes.
39 * Called when a ShutterButton has been pressed.
41 * @param pressed The ShutterButton that was pressed.
43 void onShutterButtonFocus(boolean pressed); argument
73 * onPressed listener doesn't always get called when the pressed state
79 final boolean pressed = isPressed();
80 if (pressed != mOldPressed) {
81 if (!pressed) {
116 callShutterButtonFocus(boolean pressed) argument
[all...]
H A DPhotoModule.java1423 public void onShutterButtonFocus(boolean pressed) { argument
1429 if (pressed && !canTakePicture()) return;
1431 if (pressed) {
1475 // When shutter button is pressed, check whether the previous countdown is
H A DPanoramaModule.java730 // No buttons can be pressed.
747 public void onShutterButtonFocus(boolean pressed) { argument
H A DVideoModule.java686 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Camera2/src/com/android/camera/
H A DShutterButton.java28 * pressed state changes.
35 * A callback to be invoked when a ShutterButton's pressed state changes.
39 * Called when a ShutterButton has been pressed.
41 * @param pressed The ShutterButton that was pressed.
43 void onShutterButtonFocus(boolean pressed); argument
73 * onPressed listener doesn't always get called when the pressed state
79 final boolean pressed = isPressed();
80 if (pressed != mOldPressed) {
81 if (!pressed) {
116 callShutterButtonFocus(boolean pressed) argument
[all...]
H A DVideoUI.java540 // disable preview gestures after shutter is pressed
541 public void setShutterPressed(boolean pressed) { argument
543 mGestures.setEnabled(!pressed);
671 public void pressShutter(boolean pressed) { argument
672 mShutterButton.setPressed(pressed);
H A DPhotoModule.java1087 public void onShutterButtonFocus(boolean pressed) { argument
1093 if (pressed && !canTakePicture()) return;
1095 if (pressed) {
1143 // When shutter button is pressed, check whether the previous countdown is
H A DWideAnglePanoramaUI.java314 public void onShutterButtonFocus(boolean pressed) { argument
H A DVideoModule.java546 public void onShutterButtonFocus(boolean pressed) { argument
547 mUI.setShutterPressed(pressed);
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadKeyButton.java44 public void onPressed(View view, boolean pressed); argument
69 public void setPressed(boolean pressed) { argument
70 super.setPressed(pressed);
72 mOnPressedListener.onPressed(this, pressed);
132 // setting the pressed state but before performing the action.
H A DDialpadFragment.java210 * Set of dialpad keys that are currently being pressed
325 // When DTMF dialpad buttons are being pressed, we delay SpecialCharSequencMgr sequence,
860 * When a key is pressed, we start playing DTMF tone, do vibration, and enter the digit
866 public void onPressed(View view, boolean pressed) { argument
867 if (DEBUG) Log.d(TAG, "onPressed(). view: " + view + ", pressed: " + pressed);
868 if (pressed) {
949 * pressed.
983 // TODO: The framework forgets to clear the pressed
985 // clear manually the pressed statu
[all...]
/packages/apps/Browser/src/com/android/browser/view/
H A DBookmarkContainer.java71 void updateTransitionDrawable(boolean pressed) { argument
77 if (pressed && isLongClickable()) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupStartIndicatorView.java61 updateIndicatorView(true /* pressed */);
65 updateIndicatorView(false /* pressed */);
71 // public void setPressed(final boolean pressed) {
72 // super.setPressed(pressed);
73 // updateIndicatorView(pressed);
76 private void updateIndicatorView(final boolean pressed) { argument
78 mIndicatorView.setPressed(pressed);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java248 /** The current pressed state of this key */
249 public boolean pressed; field in class:Keyboard.Key
252 /** Text to output when pressed. This can be multiple characters, like ".com" */
391 * Informs the key that it has been pressed, in case it needs to change its appearance or
396 pressed = !pressed;
400 * Changes the pressed state of the key. If it is a sticky key, it will also change the
406 pressed = !pressed;
495 if (pressed) {
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java168 boolean pressed, Bitmap src) {
185 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint);
167 drawSelectedAllAppsBitmap(Canvas dest, int destWidth, int destHeight, boolean pressed, Bitmap src) argument
/packages/apps/Settings/src/com/android/settings/users/
H A DCircleFramedDrawable.java163 public void setPressed(boolean pressed) { argument
164 mPressed = pressed;
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp.cpp131 static void btavrcp_passthrough_command_callback(int id, int pressed) { argument
140 (jint)pressed);
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java163 protected void dispatchSetPressed(boolean pressed) { argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoramaActivity.java760 // No buttons can be pressed.
776 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java628 // Animates the current time marker when Today is pressed
815 mPressedColor = mResources.getColor(R.color.pressed);
916 * This is called when the popup window is pressed.
1481 // Change the selection from the "pressed" state to the
4385 // Otherwise, if the user long-pressed on a blank hour, allow

Completed in 549 milliseconds