Home
last modified time | relevance | path

Searched refs:UP (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DPreferStylusOverTouch_test.cpp29 constexpr int UP = AMOTION_EVENT_ACTION_UP; variable
45 if (action == DOWN || action == UP) { in generateMotionArgs()
123 args = generateMotionArgs(0 /*downTime*/, 2 /*eventTime*/, UP, {{1, 3}}, TOUCHSCREEN); in TEST_F()
136 args = generateMotionArgs(0 /*downTime*/, 2 /*eventTime*/, UP, {{1, 3}}, STYLUS); in TEST_F()
180 args = generateMotionArgs(0 /*downTime*/, 2 /*eventTime*/, UP, {{1, 3}}, TOUCHSCREEN); in TEST_F()
231 args = generateMotionArgs(stylusDownTime, 3 /*eventTime*/, UP, {{10, 31}}, STYLUS); in TEST_F()
241 args = generateMotionArgs(touchDownTime, 6 /*eventTime*/, UP, {{1, 3}}, TOUCHSCREEN); in TEST_F()
260 args = generateMotionArgs(stylusDownTime, 2 /*eventTime*/, UP, {{10, 30}}, STYLUS); in TEST_F()
267 args = generateMotionArgs(touchDownTime, 4 /*eventTime*/, UP, {{1, 3}}, TOUCHSCREEN); in TEST_F()
349 generateMotionArgs(2 /*downTime*/, 3 /*eventTime*/, UP, {{10, 30}}, STYLUS); in TEST_F()
[all …]
DUnwantedInteractionBlocker_test.cpp53 constexpr int UP = AMOTION_EVENT_ACTION_UP; variable
229 assertArgs(pointer1, UP, {{1, {4, 5, 6}}}); in TEST()
560 args = generateMotionArgs(0 /*downTime*/, 2 /*eventTime*/, UP, {{4, 5, 6}}); in TEST_F()
572 args = generateMotionArgs(3 /*downTime*/, 5 /*eventTime*/, UP, {{40, 50, 60}}); in TEST_F()
594 NotifyMotionArgs args3 = generateMotionArgs(0 /*downTime*/, 2 /*eventTime*/, UP, {{4, 5, 6}}); in TEST_F()
618 generateMotionArgs(0 /*downTime*/, 2 * RESAMPLE_PERIOD, UP, {{4, 5, 200}}); in TEST_F()
648 generateMotionArgs(0 /*downTime*/, 2 * RESAMPLE_PERIOD, UP, {{4, 5, 200}}); in TEST_F()
651 mTestListener.assertNotifyMotionWasCalled(WithAction(UP)); in TEST_F()
700 generateMotionArgs(0 /*downTime*/, 5 * RESAMPLE_PERIOD, UP, {{4, 5, 200}}); in TEST_F()
704 mTestListener.assertNotifyMotionWasCalled(WithAction(UP)); in TEST_F()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureManifold.java68 import static com.android.server.accessibility.gestures.Swipe.UP;
130 mGestures.add(new Swipe(context, UP, GESTURE_SWIPE_UP, this)); in GestureManifold()
134 mGestures.add(new Swipe(context, LEFT, UP, GESTURE_SWIPE_LEFT_AND_UP, this)); in GestureManifold()
136 mGestures.add(new Swipe(context, RIGHT, UP, GESTURE_SWIPE_RIGHT_AND_UP, this)); in GestureManifold()
139 mGestures.add(new Swipe(context, DOWN, UP, GESTURE_SWIPE_DOWN_AND_UP, this)); in GestureManifold()
142 mGestures.add(new Swipe(context, UP, DOWN, GESTURE_SWIPE_UP_AND_DOWN, this)); in GestureManifold()
143 mGestures.add(new Swipe(context, UP, LEFT, GESTURE_SWIPE_UP_AND_LEFT, this)); in GestureManifold()
144 mGestures.add(new Swipe(context, UP, RIGHT, GESTURE_SWIPE_UP_AND_RIGHT, this)); in GestureManifold()
194 mTwoFingerSwipes.add(new MultiFingerSwipe(context, 2, UP, GESTURE_2_FINGER_SWIPE_UP, this)); in GestureManifold()
204 new MultiFingerSwipe(context, 3, UP, GESTURE_3_FINGER_SWIPE_UP, this)); in GestureManifold()
[all …]
DSwipe.java43 public static final int UP = 2; field in Swipe
373 return (dY < 0) ? UP : DOWN; in toDirection()
383 case UP: in directionToString()
DMultiFingerSwipe.java45 public static final int UP = 2; field in MultiFingerSwipe
418 return (dY < 0) ? UP : DOWN; in toDirection()
428 case UP: in directionToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
DBouncerSwipeTouchHandlerTest.java167 UP, enumConstant
238 verifyScroll(.3f, Direction.UP, false, gestureListener); in testSwipeUp_setsCorrectExpansionAmount()
243 verifyScroll(.7f, Direction.UP, false, gestureListener); in testSwipeUp_setsCorrectExpansionAmount()
273 0, direction == Direction.UP ? SCREEN_HEIGHT_PX : 0, 0); in verifyScroll()
275 0, direction == Direction.UP ? SCREEN_HEIGHT_PX - distanceY : distanceY, 0); in verifyScroll()
303 swipeToPosition(swipeUpPercentage, Direction.UP, velocityY); in testSwipeUpPositionBelowThreshold_collapsesBouncer()
326 swipeToPosition(swipeUpPercentage, Direction.UP, velocityY); in testSwipeUpPositionAboveThreshold_expandsBouncer()
408 swipeToPosition(swipeUpPercentage, Direction.UP, velocityY); in testSwipeUpVelocityAboveMin_expandsBouncer()
433 swipeToPosition(1f, Direction.UP, 0); in testInformBouncerShowingOnExpand()
442 swipeToPosition(1f, Direction.UP, 0); in testInformBouncerHidingOnCollapse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt110 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
132 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
161 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
212 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
220 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
227 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
242 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
249 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
352 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
363 expectedInteractionEvent = InteractionEvent.UP, in <lambda>()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureInternal.java43 private static final int UP = -1; field in ScrollCaptureInternal
78 if (!(view.canScrollVertically(DOWN) || view.canScrollVertically(UP))) { in detectScrollingType()
125 if (view.canScrollVertically(UP)) { in detectScrollingType()
DScrollCaptureViewHelper.java33 int UP = -1; field
DScrollViewCaptureHelper.java51 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
DListViewCaptureHelper.java47 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
DRecyclerViewCaptureHelper.java52 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java38 private static final int UP = 2; field in LinkMovementMethod
67 if (action(UP, widget, buffer)) { in up()
85 if (action(UP, widget, buffer)) { in left()
154 case UP: in action()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DInteractionEvent.kt33 UP,
DSinglePointerTouchProcessor.kt95 ProcessedTouch(InteractionEvent.UP, INVALID_POINTER_ID, NormalizedTouchData()) in processActionMove()
106 InteractionEvent.UP, in processActionUp()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportConnection.java535 int value = (bound == Transition.UP) ? 1 : 0; // 1 is bound, 0 is not bound in onStateTransition()
539 int value = (connected == Transition.UP) ? 1 : 0; // 1 is connected, 0 is not connected in onStateTransition()
556 return Transition.UP; in transitionThroughState()
639 @IntDef({Transition.DOWN, Transition.NO_TRANSITION, Transition.UP})
644 int UP = 1; field
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java77 public static final int UP = 1; field in ItemTouchHelper
506 if ((mSelectedFlags & (UP | DOWN)) != 0) { in getSelectedDxDy()
583 case UP: in select()
987 if (dy < 0 && (swipeFlags & UP) == 0) { in checkSelectForSwipe()
1143 if ((directionFlags & UP) == 0) { in updateDxDy()
1225 if ((flags & (UP | DOWN)) != 0) { in checkVerticalSwipe()
1226 final int dirFlag = mDy > 0 ? DOWN : UP; in checkVerticalSwipe()
1232 final int velDirFlag = yVelocity > 0f ? DOWN : UP; in checkVerticalSwipe()
/frameworks/base/cmds/uinput/
DREADME.md146 0x01, 0x0b, 0x00, // EV_KEY, KEY_0, UP
150 0x01, 0x02, 0x00, // EV_KEY, KEY_1, UP
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto34 UP = 1; enumerator
/frameworks/proto_logging/stats/enums/stats/hdmi/
Denums.proto89 UP = 0x101; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DFavoritesModel.kt213 private val MOVEMENT = ItemTouchHelper.UP or
/frameworks/base/media/java/android/media/
DMediaMetrics.java73 public static final String UP = "up"; field in MediaMetrics.Value
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp67 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_UP) == common::Action::UP, in getAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java813 int dragFlags = ItemTouchHelper.UP | ItemTouchHelper.DOWN
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java509 case UP: in newOnTouch()

12