Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java205 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/
DRippleBackground.java66 public void setState(boolean focused, boolean hovered, boolean pressed) { in setState() argument
68 focused = focused && !pressed; in setState()
71 hovered = hovered && !pressed; in setState()
DRippleDrawable.java253 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/
DMetaKeyKeyListener.java564 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/
DKeyboard.java268 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/
DCursorInputMapper.cpp419 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/
Dpowermanager.proto30 // Button or key pressed or released.
/frameworks/base/core/java/android/widget/
DGallery.java1164 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
1168 mSelectedChild.setPressed(pressed); in dispatchSetPressed()
DAbsListView.java3433 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
/frameworks/base/core/java/android/view/
DView.java11938 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) {
DViewGroup.java4541 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/
Dandroid-22.txt13606 field public boolean pressed;
/frameworks/base/non-updatable-api/
Dcurrent.txt22799 field @Deprecated public boolean pressed;
/frameworks/base/api/
Dcurrent.txt22799 field @Deprecated public boolean pressed;