Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDropDownListView.java196 if (!isPressed()) { in setPressedItem()
207 if (motionView != null && motionView != child && motionView.isPressed()) { in setPressedItem()
219 if (!child.isPressed()) { in setPressedItem()
DListViewCompat.java135 return touchModeDrawsInPressedStateCompat() && isPressed(); in shouldShowSelectorCompat()
/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.java899 protected void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent() argument
909 Slog.w(TAG, "Discard key event: " + keyCode + ", pressed:" + isPressed in sendKeyEvent()
912 action.get(0).processKeyEvent(keyCode, isPressed); in sendKeyEvent()
913 } else if (isPressed) { in sendKeyEvent()
DHdmiControlService.java1311 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1318 device.sendKeyEvent(keyCode, isPressed); in sendKeyEvent()
1327 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.java1472 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL in setupChild()
1474 final boolean updateChildPressed = isPressed != child.isPressed(); in setupChild()
1498 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.java2743 return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); in shouldShowSelector()
3175 if (isPressed() && mSelectedPosition >= 0) { in run()
3343 if (isClickable() && isPressed() && in onKeyUp()
DTextView.java6703 if (mMovement != null && (isFocused() || isPressed()) && selStart >= 0) { in getUpdatedHighlightPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java71 if (isPressed()) {
232 final boolean doIt = isPressed() && !mLongClicked; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java225 if (mRv.getStackActionButton().isPressed() && isWithinStackActionButton(evX, evY)) { in handleTouchEvent()
270 if (mRv.getStackActionButton().isPressed() && isWithinStackActionButton(evX, evY)) { in handleTouchEvent()
/frameworks/support/design/tests/src/android/support/design/widget/
DFloatingActionButtonTest.java30 import static android.support.design.testutils.TestUtilsMatchers.isPressed;
246 .check(matches(not(isPressed()))); in testClickableTouchAndDragOffView()
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsMatchers.java454 public static Matcher<View> isPressed() {
463 return view.isPressed();
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java92 if (mView.isFocused() || mView.isPressed()) { in onElevationsChanged()
/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.java467 if (!v.isPressed()) { in onRecentsTouch()
512 && !mNavigationBarView.getRecentsButton().getCurrentView().isPressed()) { in onLongPressBackRecents()
/frameworks/base/core/java/android/view/
DView.java6945 if (isPressed()) {
8755 if (isPressed()) { in resetPressedState()
9984 public boolean isPressed() { in isPressed() method in View
12045 if (isPressed()) {
12463 if ((mViewFlags & CLICKABLE) == CLICKABLE && isPressed()) {
24733 if ((mOriginalPressedState == isPressed()) && (mParent != null)
24751 mOriginalPressedState = isPressed();
26219 stream.addProperty("misc:pressed", isPressed());
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33535 method public boolean isPressed();
/frameworks/base/api/
Dcurrent.txt45659 method public boolean isPressed();

12