/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/tests/view/src/android/view/inputmethod/cts/ |
KeyboardTest.java | 54 // At first, both "pressed" and "on" must be false. 55 assertFalse(nonStickyKey.pressed); 56 assertFalse(stickyKey.pressed); 60 // Pressing the key must flip the "pressed" state only. 63 assertTrue(nonStickyKey.pressed); 64 assertTrue(stickyKey.pressed); 68 // Releasing the key inside the key area must flip the "pressed" state and toggle the "on" 72 assertFalse(nonStickyKey.pressed); 73 assertFalse(stickyKey.pressed); 77 // Pressing the key again must flip the "pressed" state only [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/core-focusable/ |
core-focusable.js | 5 * Elements using this mixin will receive attributes reflecting the focus, pressed 40 * @attribute pressed 44 pressed: {value: false, reflect: true}, 93 this.pressed = true; 115 this.pressed = false; 123 if (!this.pressed) {
|
/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonRipple.java | 160 boolean pressed = false; 163 pressed = true; 167 if (pressed != mPressed) { 168 setPressed(pressed); 169 mPressed = pressed; 186 public void setPressed(boolean pressed) { 188 setPressedHardware(pressed); 190 setPressedSoftware(pressed); 205 private void setPressedSoftware(boolean pressed) { 206 if (pressed) { [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
InputTouchScreen.java | 50 boolean pressed = false; 52 pressed = mTouchPoints[index].getPressed(); 54 return 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); 203 // 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 92 * or pressed and will be the color of the interior circle when selected 93 * or pressed. 101 * or pressed. 132 boolean pressed = false; 138 pressed = true; 142 if ((focused || pressed) && mStrokeAnimatorIsReversing) { 145 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MyGallery.java | 73 protected void dispatchSetPressed(boolean pressed) { 74 super.dispatchSetPressed(pressed);
|
/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/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;
|
/bootable/recovery/ |
ui.cpp | 128 // pressed and then released, with no other keypresses or releases in 266 int pressed = key_pressed[key]; local 268 return 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/core/java/com/android/internal/widget/ |
PasswordEntryKeyboard.java | 244 pressed = !pressed;
|
/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);
|
/system/extras/tests/net_test/ |
run_net_test.sh | 108 Keep enter pressed to accept the defaults.
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_avrcp_controller.cpp | 59 static void btavrcp_passthrough_response_callback(int id, int pressed) { 61 ALOGI("id: %d, pressed: %d", id, pressed); 69 (jint)pressed); 73 static void btavrcp_groupnavigation_response_callback(int id, int pressed) { 82 (jint)pressed);
|
/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...] |