Home
last modified time | relevance | path

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

123456

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A 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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DNotificationShadeWindowView.java105 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
118 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
131 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
274 Boolean handleDispatchTouchEvent(MotionEvent ev); in handleDispatchTouchEvent()
288 boolean shouldInterceptTouchEvent(MotionEvent ev); in shouldInterceptTouchEvent()
293 void didIntercept(MotionEvent ev); in didIntercept()
295 boolean handleTouchEvent(MotionEvent ev); in handleTouchEvent()
297 void didNotHandleTouchEvent(MotionEvent ev); in didNotHandleTouchEvent()
/aosp14/frameworks/base/core/java/android/net/metrics/
H A 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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGefingerpoken.java24 default boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
29 default boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
H A DSwipeHelper.java177 private float getPos(MotionEvent ev) { in getPos()
181 private float getPerpendicularPos(MotionEvent ev) { in getPerpendicularPos()
305 public boolean onInterceptTouchEvent(final MotionEvent ev) { in onInterceptTouchEvent()
596 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
603 protected void onMoveUpdate(View view, MotionEvent ev, float totalTranslation, float delta) { in onMoveUpdate()
651 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
766 public boolean isDismissGesture(MotionEvent ev) { in isDismissGesture()
793 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
904 View getChildAtPosition(MotionEvent ev); in getChildAtPosition()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DActivatableNotificationViewController.java71 public boolean onTouch(View v, MotionEvent ev) { in onTouch()
93 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
101 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDragDetector.java61 boolean onMotionEvent(MotionEvent ev) { in onMotionEvent()
71 boolean onMotionEvent(View v, MotionEvent ev) { in onMotionEvent()
130 boolean handleMotionEvent(@Nullable View v, MotionEvent ev); in handleMotionEvent()
H A DDesktopModeWindowDecoration.java373 void closeHandleMenuIfNeeded(MotionEvent ev) { in closeHandleMenuIfNeeded()
400 private PointF offsetCaptionLocation(MotionEvent ev) { in offsetCaptionLocation()
416 private boolean checkEventInCaptionView(MotionEvent ev, int layoutId) { in checkEventInCaptionView()
423 boolean checkTouchEventInHandle(MotionEvent ev) { in checkTouchEventInHandle()
435 void checkClickEvent(MotionEvent ev) { in checkClickEvent()
H A DDesktopModeWindowDecorViewModel.java586 private void handleReceivedMotionEvent(MotionEvent ev, InputMonitor inputMonitor) { in handleReceivedMotionEvent()
609 private void handleEventOutsideFocusedCaption(MotionEvent ev, in handleEventOutsideFocusedCaption()
628 private void handleCaptionThroughStatusBar(MotionEvent ev, in handleCaptionThroughStatusBar()
740 MotionEvent ev) { in animateToDesktop()
751 MotionEvent ev) { in centerAndMoveToDesktopWithAnimation()
782 private DesktopModeWindowDecoration getRelevantWindowDecor(MotionEvent ev) { in getRelevantWindowDecor()
792 private DesktopModeWindowDecoration getSplitScreenDecor(MotionEvent ev) { in getSplitScreenDecor()
/aosp14/frameworks/base/services/core/java/com/android/server/connectivity/
H A 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()
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A 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()
H A DNonInterceptingScrollView.java46 public boolean onTouchEvent(MotionEvent ev) { in onTouchEvent()
70 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegateTest.java58 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc() local
67 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onPopulateAccessibilityEvent_producesNonEmptyAsciiText() local
/aosp14/system/core/init/
H A Depoll.cpp56 epoll_event ev = { in RegisterHandler() local
90 epoll_event ev[max_events]; in Wait() local
H A Dkeychords_test.cpp205 TestFrame::TestFrame(const std::vector<const std::vector<int>>& chords, EventHandler* ev) in TestFrame()
300 EventHandler ev; in TEST() local
309 EventHandler ev; in TEST() local
322 EventHandler ev; in TEST() local
335 EventHandler ev; in TEST() local
/aosp14/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp152 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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelper.java147 public void onDownUpdate(View currView, MotionEvent ev) { in onDownUpdate()
181 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { in onMoveUpdate()
190 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
209 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
234 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
270 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
292 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
499 public static boolean isTouchInView(MotionEvent ev, View view) { in isTouchInView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
H A DBrightnessSliderView.java91 public boolean dispatchTouchEvent(MotionEvent ev) { in dispatchTouchEvent()
168 public boolean onInterceptTouchEvent(MotionEvent ev) { in onInterceptTouchEvent()
215 boolean onDispatchTouchEvent(MotionEvent ev); in onDispatchTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedTouchHandler.java83 private boolean onMotionEvent(MotionEvent ev) { in onMotionEvent()
123 private void onInputEvent(InputEvent ev) { in onInputEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandler.java249 void onInputEvent(InputEvent ev) { in onInputEvent()
341 public boolean willStartResizeGesture(MotionEvent ev) { in willStartResizeGesture()
404 void onPinchResize(MotionEvent ev) { in onPinchResize()
475 private void onDragCornerResize(MotionEvent ev) { in onDragCornerResize()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
H A DTouchEventGenerator.java100 final MotionEvent ev = MotionEvent.obtain( in generateMultiplePointersEvent() local
161 final MotionEvent ev = MotionEvent.obtain( in movePointer() local

123456