Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/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/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/packages/SystemUI/src/com/android/systemui/
DGefingerpoken.java24 default boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
29 default boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
DSwipeHelper.java174 private float getPos(MotionEvent ev) { in getPos()
178 private float getPerpendicularPos(MotionEvent ev) { in getPerpendicularPos()
309 public boolean onInterceptTouchEvent(final MotionEvent ev) { in onInterceptTouchEvent()
595 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
602 protected void onMoveUpdate(View view, MotionEvent ev, float totalTranslation, float delta) { in onMoveUpdate()
650 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
765 public boolean isDismissGesture(MotionEvent ev) { in isDismissGesture()
792 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
835 View getChildAtPosition(MotionEvent ev); in getChildAtPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowView.java194 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
205 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
218 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
391 Boolean handleDispatchTouchEvent(MotionEvent ev); in handleDispatchTouchEvent()
405 boolean shouldInterceptTouchEvent(MotionEvent ev); in shouldInterceptTouchEvent()
410 void didIntercept(MotionEvent ev); in didIntercept()
412 boolean handleTouchEvent(MotionEvent ev); in handleTouchEvent()
414 void didNotHandleTouchEvent(MotionEvent ev); in didNotHandleTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java105 public boolean onTouch(View v, MotionEvent ev) { in onTouch()
131 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
139 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
/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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockAccessibilityDelegateTest.java58 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc() local
67 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onPopulateAccessibilityEvent_producesNonEmptyAsciiText() local
/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/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java58 boolean onMotionEvent(MotionEvent ev) { in onMotionEvent()
114 boolean handleMotionEvent(MotionEvent ev); in handleMotionEvent()
DDesktopModeWindowDecoration.java408 void closeHandleMenuIfNeeded(MotionEvent ev) { in closeHandleMenuIfNeeded()
433 private PointF offsetCaptionLocation(MotionEvent ev) { in offsetCaptionLocation()
449 private boolean checkEventInCaptionView(MotionEvent ev, int layoutId) { in checkEventInCaptionView()
456 boolean checkTouchEventInHandle(MotionEvent ev) { in checkTouchEventInHandle()
468 void checkClickEvent(MotionEvent ev) { in checkClickEvent()
DDesktopModeWindowDecorViewModel.java408 private void handleReceivedMotionEvent(MotionEvent ev, InputMonitor inputMonitor) { in handleReceivedMotionEvent()
430 private void handleEventOutsideFocusedCaption(MotionEvent ev, in handleEventOutsideFocusedCaption()
449 private void handleCaptionThroughStatusBar(MotionEvent ev, in handleCaptionThroughStatusBar()
498 private DesktopModeWindowDecoration getRelevantWindowDecor(MotionEvent ev) { in getRelevantWindowDecor()
509 private DesktopModeWindowDecoration getSplitScreenDecor(MotionEvent ev) { in getSplitScreenDecor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderView.java91 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
168 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
215 boolean onDispatchTouchEvent(MotionEvent ev); in onDispatchTouchEvent()
DBrightnessSliderController.java102 public boolean mirrorTouchEvent(MotionEvent ev) { in mirrorTouchEvent()
111 private boolean copyEventToMirror(MotionEvent ev) { in copyEventToMirror()
/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/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp154 struct uhid_event ev = {}; in open() local
202 struct uhid_event ev = {}; in ~Device() local
208 static void writeEvent(int fd, struct uhid_event& ev, const char* messageType) { in writeEvent()
221 struct uhid_event ev = {}; in sendReport() local
229 struct uhid_event ev = {}; in sendGetFeatureReportReply() local
245 struct uhid_event ev; in handleEvents() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java146 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
180 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { in onMoveUpdate()
189 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
208 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
233 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
269 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
291 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
512 public static boolean isTouchInView(MotionEvent ev, View view) { in isTouchInView()
/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.java228 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
233 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
241 public boolean onHoverEvent(MotionEvent ev) { in onHoverEvent()
DLinearLayoutWithDefaultTouchRecepient.java56 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java100 final MotionEvent ev = MotionEvent.obtain( in generateMultiplePointersEvent() local
161 final MotionEvent ev = MotionEvent.obtain( in movePointer() local

123456