/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 205 boolean pressed = false; in onStateChange() 208 pressed = true; in onStateChange() 212 if (pressed != mPressed) { in onStateChange() 213 setPressed(pressed); in onStateChange() 214 mPressed = pressed; in onStateChange() 236 public void setPressed(boolean pressed) { in setPressed() argument 237 if (mDark != mLastDark && pressed) { in setPressed() 242 setPressedHardware(pressed); in setPressed() 244 setPressedSoftware(pressed); in setPressed() 269 private void setPressedSoftware(boolean pressed) { in setPressedSoftware() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleBackground.java | 66 public void setState(boolean focused, boolean hovered, boolean pressed) { in setState() argument 68 focused = focused && !pressed; in setState() 71 hovered = hovered && !pressed; in setState()
|
D | RippleDrawable.java | 253 boolean pressed = false; in onStateChange() 263 pressed = true; in onStateChange() 269 setRippleActive(enabled && pressed); in onStateChange() 270 setBackgroundActive(hovered, focused, pressed); in onStateChange() 286 private void setBackgroundActive(boolean hovered, boolean focused, boolean pressed) { in setBackgroundActive() argument 292 mBackground.setState(focused, hovered, pressed); in setBackgroundActive()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 564 long locked, long pressed, long released, long used) { in press() argument 565 if ((state & pressed) != 0) { in press() 574 state |= what | pressed; in press() 602 long pressed, long released, long used, KeyEvent event) { in release() argument 607 } else if ((state & pressed) != 0) { in release()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 268 public boolean pressed; field in Keyboard.Key 411 pressed = !pressed; in onPressed() 432 pressed = !pressed; in onReleased() 504 if (pressed) { in getCurrentDrawableState() 511 if (pressed) { in getCurrentDrawableState() 517 if (pressed) { in getCurrentDrawableState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 419 BitSet32 pressed(buttonsPressed); in sync() local 420 while (!pressed.isEmpty()) { in sync() 421 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
|
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 30 // Button or key pressed or released.
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 1164 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument 1168 mSelectedChild.setPressed(pressed); in dispatchSetPressed()
|
D | AbsListView.java | 3433 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
|
/frameworks/base/core/java/android/view/ |
D | View.java | 11938 private void setPressed(boolean pressed, float x, float y) { 11939 if (pressed) { 11943 setPressed(pressed); 11955 public void setPressed(boolean pressed) { 11956 final boolean needsRefresh = pressed != ((mPrivateFlags & PFLAG_PRESSED) == PFLAG_PRESSED); 11958 if (pressed) { 11967 dispatchSetPressed(pressed); 11977 protected void dispatchSetPressed(boolean pressed) {
|
D | ViewGroup.java | 4541 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument 4549 if (!pressed || (!child.isClickable() && !child.isLongClickable())) { in dispatchSetPressed() 4550 child.setPressed(pressed); in dispatchSetPressed()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 13606 field public boolean pressed;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 22799 field @Deprecated public boolean pressed;
|
/frameworks/base/api/ |
D | current.txt | 22799 field @Deprecated public boolean pressed;
|