/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonRipple.java | 211 boolean pressed = false; in onStateChange() 214 pressed = true; in onStateChange() 218 if (pressed != mPressed) { in onStateChange() 219 setPressed(pressed); in onStateChange() 220 mPressed = pressed; in onStateChange() 252 public void setPressed(boolean pressed) { in setPressed() argument 253 if (mDark != mLastDark && pressed) { in setPressed() 258 setPressedHardware(pressed); in setPressed() 260 setPressedSoftware(pressed); in setPressed() 291 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 | 321 boolean pressed = false; in onStateChange() 331 pressed = true; in onStateChange() 336 setRippleActive(enabled && pressed); in onStateChange() 337 setBackgroundActive(hovered, focused, pressed); in onStateChange() 361 private void setBackgroundActive(boolean hovered, boolean focused, boolean pressed) { in setBackgroundActive() argument 368 mBackground.setState(focused, hovered, pressed); in setBackgroundActive() 372 if (!pressed) { in setBackgroundActive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | LightSourceDrawable.kt | 64 private var pressed = false variable in com.android.systemui.media.LightSourceDrawable 266 val wasPressed = pressed in onStateChange() 268 pressed = false in onStateChange() 281 pressed = true in onStateChange() 289 active = enabled && (pressed || focused || hovered) in onStateChange() 290 if (wasPressed && !pressed) { in onStateChange()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
D | GlowingCard.kt | 45 override fun setPressed(pressed: Boolean) { in setPressed() 46 super.setPressed(pressed) in setPressed()
|
/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/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotActionChip.java | 68 public void setPressed(boolean pressed) { in setPressed() argument 70 super.setPressed(mIsPending || pressed); in setPressed()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 440 BitSet32 pressed(buttonsPressed); in sync() local 441 while (!pressed.isEmpty()) { in sync() 442 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlaybackTest.java | 1223 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toTv_activeSource() local 1230 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toTv_activeSource() 1244 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toAudio_activeSource() local 1251 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toAudio_activeSource() 1264 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toTv_inactiveSource() local 1271 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toTv_inactiveSource() 1284 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toAudio_inactiveSource() local 1291 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toAudio_inactiveSource()
|
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 30 // Button or key pressed or released.
|
/frameworks/base/core/proto/android/server/ |
D | biometrics.proto | 62 * Paused, but "try again" was pressed. Sensors have new cookies and we're now waiting for
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 1165 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument 1169 mSelectedChild.setPressed(pressed); in dispatchSetPressed()
|
D | AbsListView.java | 3425 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
|
/frameworks/base/core/java/android/view/ |
D | View.java | 12506 private void setPressed(boolean pressed, float x, float y) { in setPressed() argument 12507 if (pressed) { in setPressed() 12511 setPressed(pressed); in setPressed() 12523 public void setPressed(boolean pressed) { in setPressed() argument 12524 final boolean needsRefresh = pressed != ((mPrivateFlags & PFLAG_PRESSED) == PFLAG_PRESSED); in setPressed() 12526 if (pressed) { in setPressed() 12535 dispatchSetPressed(pressed); in setPressed() 12545 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
|
D | ViewGroup.java | 4637 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument 4645 if (!pressed || (!child.isClickable() && !child.isLongClickable())) { in dispatchSetPressed() 4646 child.setPressed(pressed); in dispatchSetPressed()
|
/frameworks/base/packages/SystemUI/docs/ |
D | qs-tiles.md | 339 Determines the `Intent` launched when the Tile is long pressed.
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 10407 // Button pressed in the dialog
|
/frameworks/base/core/api/ |
D | current.txt | 19425 field @Deprecated public boolean pressed;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 13606 field public boolean pressed;
|