Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 10 of 10) 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/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/
DViewGroup.java4497 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
4505 if (!pressed || (!child.isClickable() && !child.isLongClickable())) { in dispatchSetPressed()
4506 child.setPressed(pressed); in dispatchSetPressed()
/frameworks/native/services/inputflinger/
DInputReader.cpp2866 BitSet32 pressed(buttonsPressed); in sync() local
2867 while (!pressed.isEmpty()) { in sync()
2868 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...