/packages/apps/LegacyCamera/src/com/android/camera/ |
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); 56 * onPressed listener doesn't always get called when the pressed state 62 final boolean pressed = isPressed(); 63 if (pressed != mOldPressed) { 64 if (!pressed) { [all...] |
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
KeyboardTest.java | 61 // At first, both "pressed" and "on" must be false. 62 assertFalse(nonStickyKey.pressed); 63 assertFalse(stickyKey.pressed); 67 // Pressing the key must flip the "pressed" state only. 70 assertTrue(nonStickyKey.pressed); 71 assertTrue(stickyKey.pressed); 75 // Releasing the key inside the key area must flip the "pressed" state and toggle the "on" 79 assertFalse(nonStickyKey.pressed); 80 assertFalse(stickyKey.pressed); 84 // Pressing the key again must flip the "pressed" state only [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
ShutterButton.java | 36 * pressed state changes. 47 * A callback to be invoked when a ShutterButton's pressed state changes. 51 * Called when a ShutterButton has been pressed. 53 * @param pressed The ShutterButton that was pressed. 55 void onShutterButtonFocus(boolean pressed); 134 * onPressed listener doesn't always get called when the pressed state 140 final boolean pressed = isPressed(); 141 if (pressed != mOldPressed) { 142 if (!pressed) { [all...] |
/external/ltp/testcases/kernel/input/ |
input03.c | 109 int nb, rd, i, pressed = 0; local 127 pressed = 1; 129 if (pressed == 1 && !(buf[3*i] & PS2_RIGHT_BTN)) { 130 pressed = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonRipple.java | 171 boolean pressed = false; 174 pressed = true; 178 if (pressed != mPressed) { 179 setPressed(pressed); 180 mPressed = pressed; 202 public void setPressed(boolean pressed) { 203 if (mDark != mLastDark && pressed) { 208 setPressedHardware(pressed); 210 setPressedSoftware(pressed); 225 private void setPressedSoftware(boolean pressed) { [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
UnPressableLinearLayout.java | 27 * Custom LinearLayout that does not propagate the pressed state down to its children. 28 * By default, the pressed state is propagated to all the children that are not clickable 43 protected void dispatchSetPressed(boolean pressed) { 44 // Skip dispatching the pressed key state to the children so that they don't trigger any 45 // pressed state animation on their stateful drawables.
|
/external/replicaisland/src/com/replica/replicaisland/ |
InputTouchScreen.java | 50 boolean pressed = false; 52 pressed = mTouchPoints[index].getPressed(); 54 return pressed;
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
DialpadKeyButton.java | 114 public void setPressed(boolean pressed) { 115 super.setPressed(pressed); 117 mOnPressedListener.onPressed(this, pressed); 200 // setting the pressed state but before performing the action. 229 void onPressed(View view, boolean pressed);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
DialpadKeyButton.java | 75 public void onPressed(View view, boolean pressed); 117 public void setPressed(boolean pressed) { 118 super.setPressed(pressed); 120 mOnPressedListener.onPressed(this, pressed); 207 // setting the pressed state but before performing the action.
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
FabDrawable.java | 33 * When not focused or pressed, the fab will be a solid circle of the color specified with 34 * {@link #setFabColor(int)}. When it is pressed or focused, the fab will grow or shrink 93 * or pressed and will be the color of the interior circle when selected 94 * or pressed. 102 * or pressed. 133 boolean pressed = false; 139 pressed = true; 143 if ((focused || pressed) && mStrokeAnimatorIsReversing) { 146 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) {
|
/prebuilts/misc/windows/sdl2/test/ |
checkkeys.c | 86 PrintKey(SDL_Keysym * sym, SDL_bool pressed, SDL_bool repeat) 99 pressed ? "pressed " : "released", 108 pressed ? "pressed " : "released");
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 41 public void setPressed(boolean pressed) { 42 fPressed = pressed;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
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) { 78 mIndicatorView.setPressed(pressed);
|
/packages/apps/Dialer/java/com/android/incallui/ |
DialpadFragment.java | 262 public void onPressed(View view, boolean pressed) { 263 if (pressed && mDisplayMap.containsKey(view.getId())) { 264 Log.d(this, "onPressed: " + pressed + " " + mDisplayMap.get(view.getId())); 267 if (!pressed) { 268 Log.d(this, "onPressed: " + pressed);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ConversationDrawables.java | 163 public Drawable getFastScrollThumbDrawable(final boolean pressed) { 164 if (pressed) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
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...] |
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 55 * keyboard already reported as being pressed in {@link KeyEvent#getMetaState()}. 154 * @param text the buffer in which the meta key would have been pressed. 156 * @return an integer in which each bit set to one represents a pressed 175 * @param text the buffer in which the meta key would have been pressed. 177 * @return an integer in which each bit set to one represents a pressed 195 * @param text the buffer in which the meta key would have been pressed. 226 * @param text the buffer in which the meta key would have been pressed. 241 // META_SELECTING is only ever set to PRESSED and can't be LOCKED, so return 1 298 if (current == PRESSED) 348 if (state == PRESSED) [all...] |
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
CircledImageView.java | 476 * pressed. 576 public void setPressed(boolean pressed) { 577 super.setPressed(pressed); 578 if (pressed != mPressed) { 579 mPressed = pressed;
|
/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | 257 /** The current pressed state of this key */ 258 public boolean pressed; field in class:Keyboard.Key 261 /** Text to output when pressed. This can be multiple characters, like ".com" */ 396 * Informs the key that it has been pressed, in case it needs to change its appearance or 401 pressed = !pressed; 405 * Changes the pressed state of the key. 422 pressed = !pressed; 494 if (pressed) { [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
IconUtilities.java | 170 private Bitmap createSelectedBitmap(Bitmap src, boolean pressed) { 181 pressed ? mGlowColorPressedPaint : mGlowColorFocusedPaint);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 168 boolean pressed, Bitmap src) { 185 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint);
|
/external/libvterm/src/ |
state.c | 435 static void output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) 446 if(!pressed) 457 if(!pressed) 471 code | modifiers, col + 1, row + 1, pressed ? 'M' : 'm'); 475 if(!pressed) 484 static void mousefunc(int col, int row, int button, int pressed, int modifiers, void *data) 496 if(pressed) 508 output_mouse(state, button-1, pressed, modifiers, col, row); 511 output_mouse(state, button-4 + 0x40, pressed, modifiers, col, row); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleDrawable.java | 253 boolean pressed = false; 263 pressed = true; 269 setRippleActive(enabled && pressed); 270 setBackgroundActive(hovered || focused || (enabled && pressed), focused || hovered); [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
CircledImageView.java | 479 /** Gets the circle radius when pressed. */ 491 /** Sets the circle radius when pressed. */ 499 /** Gets the circle radius when pressed as a percent. */ 506 * pressed. 635 public void setPressed(boolean pressed) { 636 super.setPressed(pressed); 637 if (pressed != mPressed) { 638 mPressed = pressed;
|
/kernel/tests/net/test/ |
run_net_test.sh | 191 Keep enter pressed to accept the defaults.
|