/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | HandleImageButton.kt | 44 override fun setPressed(pressed: Boolean) { in <lambda>() 45 if (isPressed != pressed) { in <lambda>() 46 super.setPressed(pressed) in <lambda>() 47 if (pressed) { in <lambda>()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonRipple.java | 226 boolean pressed = false; in onStateChange() 229 pressed = true; in onStateChange() 233 if (pressed != mPressed) { in onStateChange() 234 setPressed(pressed); in onStateChange() 235 mPressed = pressed; in onStateChange() 267 public void setPressed(boolean pressed) { in setPressed() argument 268 if (mDark != mLastDark && pressed) { in setPressed() 273 setPressedHardware(pressed); in setPressed() 275 setPressedSoftware(pressed); in setPressed() 306 private void setPressedSoftware(boolean pressed) { in setPressedSoftware() argument [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
D | KeyButtonRipple.java | 254 boolean pressed = false; in onStateChange() 257 pressed = true; in onStateChange() 261 if (pressed != mPressed) { in onStateChange() 262 setPressed(pressed); in onStateChange() 263 mPressed = pressed; in onStateChange() 295 private void setPressed(boolean pressed) { in setPressed() argument 296 if (mDark != mLastDark && pressed) { in setPressed() 301 setPressedHardware(pressed); in setPressed() 303 setPressedSoftware(pressed); in setPressed() 336 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 | 322 boolean pressed = false; in onStateChange() 333 pressed = true; in onStateChange() 340 setRippleActive(enabled && pressed); in onStateChange() 341 setBackgroundActive(hovered, focused, pressed, windowFocused); in onStateChange() 367 public void setBackgroundActive(boolean hovered, boolean focused, boolean pressed, in setBackgroundActive() argument 375 mBackground.setState(focused, hovered, pressed); in setBackgroundActive() 379 if (!pressed) { in setBackgroundActive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/ |
D | LightSourceDrawable.kt | 62 private var pressed = false variable 276 val wasPressed = pressed in onStateChange() 278 pressed = false in onStateChange() 291 pressed = true in onStateChange() 299 active = enabled && (pressed || focused || hovered) in onStateChange() 300 if (wasPressed && !pressed) { in onStateChange()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | MultiPointerDraggable.kt | 303 val pressed = mutableSetOf<PointerId>() in detectDragGestures() constant 305 if (change.pressed) { in detectDragGestures() 306 pressed.add(change.id) in detectDragGestures() 310 val controller = onDragStart(drag.position, overSlop, pressed.size) in detectDragGestures() 396 val isPointerUp = pointer?.pressed != true in drag() 440 val otherDown = event.changes.fastFirstOrNull { it.pressed } in awaitDragOrUp()
|
/frameworks/base/tests/graphics/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 | 269 public boolean pressed; field in Keyboard.Key 412 pressed = !pressed; in onPressed() 433 pressed = !pressed; in onReleased() 505 if (pressed) { in getCurrentDrawableState() 512 if (pressed) { in getCurrentDrawableState() 518 if (pressed) { in getCurrentDrawableState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | OverlayActionChip.java | 71 public void setPressed(boolean pressed) { in setPressed() argument 73 super.setPressed(mIsPending || pressed); in setPressed()
|
/frameworks/proto_logging/stats/enums/input/ |
D | enums.proto | 25 * Contains the key events that are pressed from keyboard 88 // Power button pressed 94 // Wakeup button pressed 96 // Media keys like play, pause, next, previous pressed
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/ |
D | PointerInputScopeExt.kt | 85 } while (event.changes.fastAny { it.pressed }) in consumeUntilUp()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 358 BitSet32 pressed(buttonsPressed); in sync() local 359 while (!pressed.isEmpty()) { in sync() 360 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/ |
D | README.md | 24 (see `AccessibilityService#performGlobalAction()` constants) that is performed when pressed.
|
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 30 // Button or key pressed or released.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlaybackTest.java | 1505 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toTv_activeSource() local 1512 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toTv_activeSource() 1526 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toAudio_activeSource() local 1533 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toAudio_activeSource() 1546 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toTv_inactiveSource() local 1553 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toTv_inactiveSource() 1566 HdmiCecMessage pressed = HdmiCecMessageBuilder.buildUserControlPressed( in sendVolumeKeyEvent_toAudio_inactiveSource() local 1573 assertThat(mNativeWrapper.getResultMessages()).containsAtLeast(pressed, released); in sendVolumeKeyEvent_toAudio_inactiveSource()
|
/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/proto_logging/stats/atoms/permissioncontroller/ |
D | permissioncontroller_extension_atoms.proto | 89 // Button pressed in the dialog
|
/frameworks/proto_logging/stats/atoms/aiwallpapers/ |
D | aiwallpapers_extension_atoms.proto | 84 * A record of the fact that a specific button was pressed.
|
/frameworks/base/core/java/android/text/flags/ |
D | flags.aconfig | 109 description: "Feature flag for clearing focus when the escape key is pressed."
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 1165 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument 1169 mSelectedChild.setPressed(pressed); in dispatchSetPressed()
|
/frameworks/proto_logging/stats/atoms/input/ |
D | input_extension_atoms.proto | 97 // Key pressed to trigger the keyboard event
|
/frameworks/proto_logging/stats/atoms/wearservices/ |
D | wearservices_atoms.proto | 180 // Representing string for the notification action title for the action pressed.
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | MainActivity.kt | 415 event.changes.count { it.pressed } == 1 in FlightStick()
|