Home
last modified time | relevance | path

Searched refs:isPressed (Results 1 – 22 of 22) 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
DIHdmiControlService.aidl49 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendKeyEvent() argument
/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java106 void processKeyEvent(int keycode, boolean isPressed) { in processKeyEvent() argument
111 if (isPressed) { in processKeyEvent()
DHdmiMhlLocalDeviceStub.java44 void sendKeyEvent(int keycode, boolean isPressed) { in sendKeyEvent() argument
DHdmiCecLocalDevice.java900 protected void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent() argument
910 Slog.w(TAG, "Discard key event: " + keyCode + ", pressed:" + isPressed in sendKeyEvent()
913 action.get(0).processKeyEvent(keyCode, isPressed); in sendKeyEvent()
914 } else if (isPressed) { in sendKeyEvent()
DHdmiControlService.java1316 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1323 device.sendKeyEvent(keyCode, isPressed); in sendKeyEvent()
1332 localDevice.sendKeyEvent(keyCode, isPressed); in sendKeyEvent()
/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.java1477 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL in setupChild()
1479 final boolean updateChildPressed = isPressed != child.isPressed(); in setupChild()
1503 child.setPressed(isPressed); in setupChild()
DFastScroller.java852 final boolean isPressed = mState == STATE_DRAGGING; in refreshDrawablePressedState()
853 mThumbImage.setPressed(isPressed); in refreshDrawablePressedState()
854 mTrackImage.setPressed(isPressed); in refreshDrawablePressedState()
DListView.java2083 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL in setupChild()
2085 final boolean updateChildPressed = isPressed != child.isPressed(); in setupChild()
2106 child.setPressed(isPressed); in setupChild()
DGallery.java1196 if (isPressed() && mSelectedPosition >= 0) { in showContextMenuInternal()
DAbsListView.java2744 return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); in shouldShowSelector()
3184 if (isPressed() && mSelectedPosition >= 0) { in run()
3352 if (isClickable() && isPressed() && in onKeyUp()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DDropDownListView.java559 if (selector != null && touchModeDrawsInPressedStateCompat() && isPressed()) { in updateSelectorStateCompat()
652 if (!isPressed()) { in setPressedItem()
663 if (motionView != null && motionView != child && motionView.isPressed()) { in setPressedItem()
675 if (!child.isPressed()) { in setPressedItem()
/frameworks/base/packages/SystemUI/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.java76 if (isPressed()) {
255 final boolean doIt = isPressed() && !mLongClicked; in onTouchEvent()
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedScrollBarView.java145 return mUpButton.isPressed(); in isUpPressed()
150 return mDownButton.isPressed(); in isDownPressed()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java246 final boolean isInAlphaState = !mItemData.isEnabled() && (isPressed() || !isFocused()); in drawableStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java839 if (!v.isPressed()) { in onRecentsTouch()
899 if (!button.getCurrentView().isPressed()) { in onLongPressNavigationButtons()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33535 method public boolean isPressed();
/frameworks/base/config/
Dhiddenapi-public-dex.txt50789 Landroid/view/View;->isPressed()Z
Dboot-image-profile.txt33766 HSPLandroid/view/View;->isPressed()Z
/frameworks/base/api/
Dcurrent.txt47637 method public boolean isPressed();