Home
last modified time | relevance | path

Searched defs:ev (Results 1 – 25 of 168) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/navigationbar/views/buttons/
DNearestTouchFrameTest.java88 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testNoActionOnLargeDevices() local
105 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testInvisibleViews() local
125 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testNearestView_DetachedViewsExcluded() local
141 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testHorizontalSelection_Left() local
157 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testHorizontalSelection_Right() local
173 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testVerticalSelection_Top() local
189 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testVerticalSelection_Bottom() local
203 MotionEvent ev = MotionEvent.obtain(0, 0, 0, 5 /* x */, 18 /* y */, 0); in testViewNotAttachedNoCrash() local
220 MotionEvent ev = MotionEvent.obtain(0, 0, 0, 5 /* x */, 18 /* y */, 0); in testViewMiddleChildNotAttachedCrash() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowView.java113 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
126 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
139 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
322 Boolean handleDispatchTouchEvent(MotionEvent ev); in handleDispatchTouchEvent()
336 boolean shouldInterceptTouchEvent(MotionEvent ev); in shouldInterceptTouchEvent()
341 void didIntercept(MotionEvent ev); in didIntercept()
343 boolean handleTouchEvent(MotionEvent ev); in handleTouchEvent()
345 void didNotHandleTouchEvent(MotionEvent ev); in didNotHandleTouchEvent()
/frameworks/base/core/java/android/net/metrics/
DIpConnectivityLog.java94 public boolean log(@NonNull ConnectivityMetricsEvent ev) { in log()
118 ConnectivityMetricsEvent ev = makeEv(data); in log() local
130 ConnectivityMetricsEvent ev = makeEv(data); in log() local
156 ConnectivityMetricsEvent ev = makeEv(data); in log() local
222 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in makeEv() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java82 public boolean onMotionEvent(MotionEvent ev) { in onMotionEvent()
92 public boolean onMotionEvent(View v, MotionEvent ev) { in onMotionEvent()
190 private static MotionEvent getSinglePointerEvent(MotionEvent ev, int pointerId) { in getSinglePointerEvent()
217 boolean handleMotionEvent(@Nullable View v, MotionEvent ev); in handleMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java71 public boolean onTouch(View v, MotionEvent ev) { in onTouch()
89 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
97 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGefingerpoken.java24 default boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
29 default boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
DSwipeHelper.java184 private float getPos(MotionEvent ev) { in getPos()
188 private float getPerpendicularPos(MotionEvent ev) { in getPerpendicularPos()
313 public boolean onInterceptTouchEvent(final MotionEvent ev) { in onInterceptTouchEvent()
611 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
618 protected void onMoveUpdate(View view, MotionEvent ev, float totalTranslation, float delta) { in onMoveUpdate()
670 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
784 public boolean isDismissGesture(MotionEvent ev) { in isDismissGesture()
821 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
944 View getChildAtPosition(MotionEvent ev); in getChildAtPosition()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDefaultNetworkMetrics.java140 DefaultNetworkEvent ev = mCurrentDefaultNetwork; in logCurrentDefaultNetwork() local
162 DefaultNetworkEvent ev = new DefaultNetworkEvent(timeMs); in newDefaultNetwork() local
178 private static void fillLinkInfo(DefaultNetworkEvent ev, Network network, LinkProperties lp, in fillLinkInfo()
186 private static void printEvent(long localTimeMs, PrintWriter pw, DefaultNetworkEvent ev) { in printEvent()
DIpConnectivityEventBuilder.java83 public static IpConnectivityEvent toProto(ConnectivityMetricsEvent ev) { in toProto()
140 IpConnectivityLogClass.DefaultNetworkEvent ev = in toProto() local
158 final IpConnectivityEvent ev = new IpConnectivityEvent(); in buildEvent() local
343 private static void inferLinkLayer(IpConnectivityEvent ev) { in inferLinkLayer()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragDetectorTest.kt308 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
336 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
374 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
402 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
440 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
467 .handleMotionEvent(any(), argThat { ev -> ev.action == MotionEvent.ACTION_MOVE }) in <lambda>() method
478 val ev = MotionEvent.obtain(downTime, eventTime, action, x, y, 0) in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java68 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
77 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
92 public boolean shouldIntercept(MotionEvent ev) { in shouldIntercept()
DNonInterceptingScrollView.java46 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
70 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollector.java59 void onKeyEvent(KeyEvent ev); in onKeyEvent()
67 void onTouchEvent(MotionEvent ev); in onTouchEvent()
DFalsingCollectorFake.java77 public void onKeyEvent(KeyEvent ev) { in onKeyEvent()
82 public void onTouchEvent(MotionEvent ev) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java77 private int getIndexForValidPointer(MotionEvent ev) { in getIndexForValidPointer()
88 private void updateSwiping(MotionEvent ev) { in updateSwiping()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp153 struct uhid_event ev = {}; in open() local
200 struct uhid_event ev = {}; in ~Device() local
206 static void writeEvent(int fd, struct uhid_event& ev, const char* messageType) { in writeEvent()
219 struct uhid_event ev = {}; in sendReport() local
227 struct uhid_event ev = {}; in sendGetFeatureReportReply() local
238 struct uhid_event ev = {}; in sendSetReportReply() local
251 struct uhid_event ev; in handleEvents() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java70 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
80 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
90 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java149 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
183 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { in onMoveUpdate()
192 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
211 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
236 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
272 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
294 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
506 public static boolean isTouchInView(MotionEvent ev, View view) { in isTouchInView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderView.java109 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
185 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
237 boolean onDispatchTouchEvent(MotionEvent ev); in onDispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java74 abstract float getDisplacement(MotionEvent ev, int pointerIndex, PointF refPoint); in getDisplacement()
79 abstract float getActiveTouchSlop(MotionEvent ev, int pointerIndex, PointF downPos); in getActiveTouchSlop()
196 private boolean shouldScrollStart(MotionEvent ev, int pointerIndex) { in shouldScrollStart()
211 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp66 const auto& ev = mRecentEvents[i]; in dump() local
102 const auto& ev = mRecentEvents[i]; in dump() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedTouchHandler.java83 private boolean onMotionEvent(MotionEvent ev) { in onMotionEvent()
123 private void onInputEvent(InputEvent ev) { in onInputEvent()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java227 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
232 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
240 public boolean onHoverEvent(MotionEvent ev) { in onHoverEvent()
DLinearLayoutWithDefaultTouchRecepient.java56 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java244 void onInputEvent(InputEvent ev) { in onInputEvent()
336 public boolean willStartResizeGesture(MotionEvent ev) { in willStartResizeGesture()
409 void onPinchResize(MotionEvent ev) { in onPinchResize()
487 private void onDragCornerResize(MotionEvent ev) { in onDragCornerResize()

1234567