Home
last modified time | relevance | path

Searched refs:isPressed (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiClient.java50 public void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent() argument
52 mService.sendKeyEvent(getDeviceType(), keyCode, isPressed); in sendKeyEvent() local
69 public void sendVolumeKeyEvent(int keyCode, boolean isPressed) { in sendVolumeKeyEvent() argument
71 mService.sendVolumeKeyEvent(getDeviceType(), keyCode, isPressed); in sendVolumeKeyEvent() local
DIHdmiControlService.aidl52 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendKeyEvent() argument
53 void sendVolumeKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendVolumeKeyEvent() argument
/frameworks/base/core/java/android/widget/
DDropDownListView.java257 if (!isPressed()) { in setPressedItem()
269 if (motionView != null && motionView != child && motionView.isPressed()) { in setPressedItem()
278 if (!child.isPressed()) { in setPressedItem()
DGridView.java1492 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL in setupChild()
1494 final boolean updateChildPressed = isPressed != child.isPressed(); in setupChild()
1518 child.setPressed(isPressed); in setupChild()
DFastScroller.java865 final boolean isPressed = mState == STATE_DRAGGING; in refreshDrawablePressedState()
866 mThumbImage.setPressed(isPressed); in refreshDrawablePressedState()
867 mTrackImage.setPressed(isPressed); in refreshDrawablePressedState()
DListView.java2098 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL in setupChild()
2100 final boolean updateChildPressed = isPressed != child.isPressed(); in setupChild()
2121 child.setPressed(isPressed); in setupChild()
DGallery.java1212 if (isPressed() && mSelectedPosition >= 0) { in showContextMenuInternal()
DAbsListView.java2792 return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); in shouldShowSelector()
3246 if (isPressed() && mSelectedPosition >= 0) { in run()
3416 if (isClickable() && isPressed() && in onKeyUp()
DTextView.java7795 if (mMovement != null && (isFocused() || isPressed()) && selStart >= 0) { in getUpdatedHighlightPath()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java108 void processKeyEvent(int keycode, boolean isPressed) { in processKeyEvent() argument
113 if (isPressed) { in processKeyEvent()
DHdmiCecLocalDevice.java993 protected void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent() argument
1008 + isPressed in sendKeyEvent()
1012 action.get(0).processKeyEvent(keyCode, isPressed); in sendKeyEvent()
1013 } else if (isPressed) { in sendKeyEvent()
1027 protected void sendVolumeKeyEvent(int keyCode, boolean isPressed) { in sendVolumeKeyEvent() argument
1042 + isPressed in sendVolumeKeyEvent()
1046 action.get(0).processKeyEvent(keyCode, isPressed); in sendVolumeKeyEvent()
1047 } else if (isPressed) { in sendVolumeKeyEvent()
DHdmiMhlLocalDeviceStub.java44 void sendKeyEvent(int keycode, boolean isPressed) { in sendKeyEvent() argument
DHdmiControlService.java1592 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1599 device.sendKeyEvent(keyCode, isPressed); in sendKeyEvent()
1608 localDevice.sendKeyEvent(keyCode, isPressed); in sendKeyEvent()
1616 final int deviceType, final int keyCode, final boolean isPressed) { in sendVolumeKeyEvent() argument
1631 localDevice.sendVolumeKeyEvent(keyCode, isPressed); in sendVolumeKeyEvent()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java180 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
185 final int deviceType, final int keyCode, final boolean isPressed) { in sendVolumeKeyEvent() argument
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java222 if (mRv.getStackActionButton().isPressed() && isWithinStackActionButton(evX, evY)) { in handleTouchEvent()
267 if (mRv.getStackActionButton().isPressed() && isWithinStackActionButton(evX, evY)) { in handleTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java87 if (isPressed()) {
268 final boolean doIt = isPressed() && !mLongClicked; in onTouchEvent()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java249 final boolean isInAlphaState = !mItemData.isEnabled() && (isPressed() || !isFocused()); in drawableStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java749 if (!v.isPressed()) { in onRecentsTouch()
807 if (!button.getCurrentView().isPressed()) { in onLongPressNavigationButtons()
/frameworks/base/core/java/android/view/
DView.java7917 if (isPressed()) {
10514 if (isPressed()) {
11993 public boolean isPressed() {
14245 if (isPressed()) { in onWindowFocusChanged()
14691 if ((mViewFlags & CLICKABLE) == CLICKABLE && isPressed()) { in onKeyUp()
27856 if ((mOriginalPressedState == isPressed()) && (mParent != null) in run()
27875 mOriginalPressedState = isPressed(); in rememberPressedState()
29473 stream.addProperty("misc:pressed", isPressed()); in encodeProperties()
/frameworks/base/config/
Dboot-image-profile.txt17018 HSPLandroid/view/View;->isPressed()Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33535 method public boolean isPressed();
/frameworks/base/non-updatable-api/
Dcurrent.txt51740 method public boolean isPressed();
/frameworks/base/api/
Dcurrent.txt51884 method public boolean isPressed();