/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ShutterButton.java | 27 * 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 D | Camera.java | 1452 public void onShutterButtonFocus(boolean pressed) { argument 1456 if (pressed && !canTakePicture()) return; 1458 if (pressed) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DontPressWithParentLayout.java | 25 * 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 D | ShutterButton.java | 28 * 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 D | PhotoModule.java | 1423 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
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | ShutterButton.java | 35 * pressed state changes. 44 * A callback to be invoked when a ShutterButton's pressed state changes. 48 * Called when a ShutterButton has been pressed. 50 * @param pressed The ShutterButton that was pressed. 52 void onShutterButtonFocus(boolean pressed); argument 102 * onPressed listener doesn't always get called when the pressed state 108 final boolean pressed = isPressed(); 109 if (pressed != mOldPressed) { 110 if (!pressed) { 145 callShutterButtonFocus(boolean pressed) argument [all...] |
H A D | CaptureModule.java | 342 public void onShutterButtonFocus(boolean pressed) { argument 954 * pressed. 992 * (front/back switch) button is pressed.
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
H A D | DialpadKeyButton.java | 75 public void onPressed(View view, boolean pressed); argument 117 public void setPressed(boolean pressed) { argument 118 super.setPressed(pressed); 120 mOnPressedListener.onPressed(this, pressed); 203 // setting the pressed state but before performing the action.
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | BookmarkContainer.java | 71 void updateTransitionDrawable(boolean pressed) { argument 77 if (pressed && isLongClickable()) {
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_avrcp_controller.cpp | 48 static void btavrcp_passthrough_response_callback(int id, int pressed) { argument 50 ALOGI("id: %d, pressed: %d", id, pressed); 58 (jint)pressed);
|
H A D | com_android_bluetooth_avrcp.cpp | 132 static void btavrcp_passthrough_command_callback(int id, int pressed) { argument 141 (jint)pressed);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FastBitmapDrawable.java | 149 public void setPressed(boolean pressed) { argument 150 if (mPressed != pressed) { 151 mPressed = pressed;
|
H A D | BubbleTextView.java | 181 public void setPressed(boolean pressed) { argument 182 super.setPressed(pressed); 204 // So that the pressed outline is visible immediately on setStayPressed(), 215 // If we've touched down and up on an item, and it's still not "pressed", then 216 // destroy the pressed outline 238 // Only show the shadow effect when persistent pressed state is set. 266 // Unlike touch events, keypress event propagate pressed state change immediately, 267 // without waiting for onClickHandler to execute. Disable pressed state changes here
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
H A D | SetupStartIndicatorView.java | 61 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 D | Keyboard.java | 248 /** 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 D | Utilities.java | 168 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/drawable/ |
H A D | CircleFramedDrawable.java | 163 public void setPressed(boolean pressed) { argument 164 mPressed = pressed;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | ModeOptionsOverlay.java | 113 public void onShutterButtonFocus(boolean pressed) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
H A D | DialogActionAdapter.java | 508 int delay, Interpolator interpolator, final boolean pressed) { 512 if (!pressed) { 528 if (!pressed) { 506 prepareAndAnimateView(final View v, float initAlpha, float destAlpha, int duration, int delay, Interpolator interpolator, final boolean pressed) argument
|
H A D | SettingsLayoutAdapter.java | 577 int delay, Interpolator interpolator, final boolean pressed) { 582 if (!pressed) { 597 if (!pressed) { 575 prepareAndAnimateView(final View v, float initAlpha, float destAlpha, int duration, int delay, Interpolator interpolator, final boolean pressed) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | ActionAdapter.java | 443 int delay, Interpolator interpolator, final boolean pressed) { 447 if (!pressed) { 463 if (pressed) { 442 prepareAndAnimateView(final View v, float initAlpha, float destAlpha, int duration, int delay, Interpolator interpolator, final boolean pressed) argument
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | EmergencyDialer.java | 334 // Happen when "Done" button of the IME is pressed. This can happen when this 368 public void onPressed(View view, boolean pressed) { argument 369 if (!pressed) { 445 // TODO: The framework forgets to clear the pressed 447 // clear manually the pressed status. b/2133127
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | LinearColorBar.java | 163 protected void dispatchSetPressed(boolean pressed) { argument
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | DialpadFragment.java | 175 * Set of dialpad keys that are currently being pressed 294 // When DTMF dialpad buttons are being pressed, we delay SpecialCharSequencMgr sequence, 776 * When a key is pressed, we start playing DTMF tone, do vibration, and enter the digit 782 public void onPressed(View view, boolean pressed) { argument 783 if (DEBUG) Log.d(TAG, "onPressed(). view: " + view + ", pressed: " + pressed); 784 if (pressed) { 1033 * In most cases, when the dial button is pressed, there is a 1494 * is pressed.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | Key.java | 156 /** Text to output when pressed. This can be multiple characters, like ".com" */ 188 /** The current pressed state of this key */ 803 * Informs the key that it has been pressed, in case it needs to change its appearance or 872 public int[] getState(final boolean pressed) { argument 873 return pressed ? mPressedState : mReleasedState;
|