Home
last modified time | relevance | path

Searched defs:ev (Results 1 – 25 of 136) 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/packages/SystemUI/src/com/android/systemui/
DGefingerpoken.java23 boolean onInterceptTouchEvent(MotionEvent ev); in onInterceptTouchEvent()
24 boolean onTouchEvent(MotionEvent ev); in onTouchEvent()
DSwipeHelper.java154 private float getPos(MotionEvent ev) { in getPos()
158 private float getPerpendicularPos(MotionEvent ev) { in getPerpendicularPos()
285 public boolean onInterceptTouchEvent(final MotionEvent ev) { in onInterceptTouchEvent()
540 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
547 protected void onMoveUpdate(View view, MotionEvent ev, float totalTranslation, float delta) { in onMoveUpdate()
595 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
704 public boolean isDismissGesture(MotionEvent ev) { in isDismissGesture()
731 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
751 View getChildAtPosition(MotionEvent ev); in getChildAtPosition()
/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/statusbar/phone/
DNotificationShadeWindowView.java173 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
184 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
197 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
349 Boolean handleDispatchTouchEvent(MotionEvent ev); in handleDispatchTouchEvent()
363 boolean shouldInterceptTouchEvent(MotionEvent ev); in shouldInterceptTouchEvent()
368 void didIntercept(MotionEvent ev); in didIntercept()
370 boolean handleTouchEvent(MotionEvent ev); in handleTouchEvent()
372 void didNotHandleTouchEvent(MotionEvent ev); in didNotHandleTouchEvent()
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/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.java40 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
62 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderView.java89 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
166 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
211 boolean onDispatchTouchEvent(MotionEvent ev); in onDispatchTouchEvent()
DBrightnessSlider.java101 public boolean mirrorTouchEvent(MotionEvent ev) { in mirrorTouchEvent()
110 private boolean copyEventToMirror(MotionEvent ev) { in copyEventToMirror()
/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.java129 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
163 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { in onMoveUpdate()
172 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
184 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
209 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
245 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
440 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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java237 void onInputEvent(InputEvent ev) { in onInputEvent()
324 public boolean willStartResizeGesture(MotionEvent ev) { in willStartResizeGesture()
387 void onPinchResize(MotionEvent ev) { in onPinchResize()
458 private void onDragCornerResize(MotionEvent ev) { in onDragCornerResize()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutWithDefaultTouchRecepient.java56 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
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()
/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
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java125 private SensorEvent sensorEventToProto(android.hardware.SensorEvent ev, long sysTimeNanos) { in sensorEventToProto()
134 private TouchEvent motionEventToProto(MotionEvent ev) { in motionEventToProto()
/frameworks/base/core/java/android/widget/
DDropDownListView.java110 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
120 public boolean onHoverEvent(@NonNull MotionEvent ev) { in onHoverEvent()

123456