Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonRipple.java211 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/
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.java321 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/
DLightSourceDrawable.kt64 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/
DGlowingCard.kt45 override fun setPressed(pressed: Boolean) { in setPressed()
46 super.setPressed(pressed) in setPressed()
/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/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotActionChip.java68 public void setPressed(boolean pressed) { in setPressed() argument
70 super.setPressed(mIsPending || pressed); in setPressed()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp440 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/
DHdmiCecLocalDevicePlaybackTest.java1223 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/
Dpowermanager.proto30 // Button or key pressed or released.
/frameworks/base/core/proto/android/server/
Dbiometrics.proto62 * Paused, but "try again" was pressed. Sensors have new cookies and we're now waiting for
/frameworks/base/core/java/android/widget/
DGallery.java1165 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
1169 mSelectedChild.setPressed(pressed); in dispatchSetPressed()
DAbsListView.java3425 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
/frameworks/base/core/java/android/view/
DView.java12506 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
DViewGroup.java4637 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/
Dqs-tiles.md339 Determines the `Intent` launched when the Tile is long pressed.
/frameworks/proto_logging/stats/
Datoms.proto10407 // Button pressed in the dialog
/frameworks/base/core/api/
Dcurrent.txt19425 field @Deprecated public boolean pressed;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13606 field public boolean pressed;