Home
last modified time | relevance | path

Searched refs:actionIndex (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DMultiFingerSwipe.java139 final int actionIndex = getActionIndex(rawEvent); in onDown() local
140 final int pointerId = rawEvent.getPointerId(actionIndex); in onDown()
155 final float x = rawEvent.getX(actionIndex); in onDown()
156 final float y = rawEvent.getY(actionIndex); in onDown()
186 final int actionIndex = getActionIndex(rawEvent); in onPointerDown() local
187 final int pointerId = rawEvent.getPointerId(actionIndex); in onPointerDown()
202 final float x = rawEvent.getX(actionIndex); in onPointerDown()
203 final float y = rawEvent.getY(actionIndex); in onPointerDown()
225 final int actionIndex = getActionIndex(event); in onPointerUp() local
226 final int pointerId = event.getPointerId(actionIndex); in onPointerUp()
[all …]
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java404 final int actionIndex = event.getActionIndex(); in onTouchEvent() local
410 if (actionIndex < 0 || actionIndex >= pointerCount) { in onTouchEvent()
411 problem("ACTION_POINTER_DOWN index is " + actionIndex in onTouchEvent()
415 final int id = event.getPointerId(actionIndex); in onTouchEvent()
427 if (actionIndex < 0 || actionIndex >= pointerCount) { in onTouchEvent()
428 problem("ACTION_POINTER_UP index is " + actionIndex in onTouchEvent()
432 final int id = event.getPointerId(actionIndex); in onTouchEvent()
DViewGroup.java2703 final int actionIndex = ev.getActionIndex(); // always 0 for down in dispatchTouchEvent() local
2704 final int idBitsToAssign = split ? 1 << ev.getPointerId(actionIndex) in dispatchTouchEvent()
2714 isMouseEvent ? ev.getXCursorPosition() : ev.getX(actionIndex); in dispatchTouchEvent()
2716 isMouseEvent ? ev.getYCursorPosition() : ev.getY(actionIndex); in dispatchTouchEvent()
2825 final int actionIndex = ev.getActionIndex(); in dispatchTouchEvent() local
2826 final int idBitsToRemove = 1 << ev.getPointerId(actionIndex); in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationClickNotifier.kt46 actionIndex: Int, in onNotificationActionClick()
53 key, actionIndex, action, visibility, generatedByAssistant) in onNotificationActionClick()
DSmartReplyController.java76 NotificationEntry entry, int actionIndex, Notification.Action action, in smartActionClicked() argument
85 entry.getKey(), actionIndex, action, nv, generatedByAssistant); in smartActionClicked() local
DNotificationRemoteInputManager.java177 Integer actionIndex = (Integer)
179 if (actionIndex == null) {
204 if (actions == null || actionIndex >= actions.length) {
209 statusBarNotification.getNotification().actions[actionIndex];
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java475 for (int actionIndex = 0; actionIndex < chooserActionsSize; actionIndex++) { in deobfuscateUsageStats()
477 final int actionToken = usageStats.mChooserCountsObfuscated.keyAt(actionIndex); in deobfuscateUsageStats()
485 usageStats.mChooserCountsObfuscated.valueAt(actionIndex); in deobfuscateUsageStats()
626 for (int actionIndex = 0; actionIndex < chooserActionsSize; actionIndex++) { in obfuscateUsageStatsData()
627 final String action = usageStats.mChooserCounts.keyAt(actionIndex); in obfuscateUsageStatsData()
629 usageStats.mChooserCounts.valueAt(actionIndex); in obfuscateUsageStatsData()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationDelegate.java31 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() argument
DNotificationManagerService.java926 int actionIndex, Notification.Action action, NotificationVisibility nv,
939 .setSubtype(actionIndex)
950 NotificationRecordLogger.NotificationEvent.fromAction(actionIndex,
952 EventLogTags.writeNotificationActionClicked(key, actionIndex,
958 r.getSbn(), actionIndex, action, generatedByAssistant);
8994 final StatusBarNotification sbn, int actionIndex, Notification.Action action,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto54 optional int32 actionIndex = 3; field
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBarService.aidl65 …void onNotificationActionClick(String key, int actionIndex, in Notification.Action action, in Noti… in onNotificationActionClick() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java139 proto.actionIndex = ev.getActionIndex(); in motionEventToProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java333 Context packageContext, int actionIndex, SmartActions smartActions, in inflateActionButton() argument
336 Notification.Action action = smartActions.actions.get(actionIndex); in inflateActionButton()
355 entry, actionIndex, action, smartActions.fromAssistant); in inflateActionButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java832 final int actionIndex = ev.getActionIndex();
833 final float x = ev.getX(actionIndex);
834 final float y = ev.getY(actionIndex);
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2655 final int actionIndex = e.getActionIndex(); in onInterceptTouchEvent() local
2685 mScrollPointerId = e.getPointerId(actionIndex); in onInterceptTouchEvent()
2686 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent()
2687 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onInterceptTouchEvent()
2768 final int actionIndex = e.getActionIndex(); in onTouchEvent() local
2792 mScrollPointerId = e.getPointerId(actionIndex); in onTouchEvent()
2793 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent()
2794 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onTouchEvent()
2903 final int actionIndex = e.getActionIndex(); in onPointerUp() local
2904 if (e.getPointerId(actionIndex) == mScrollPointerId) { in onPointerUp()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java1248 String key, int actionIndex, Notification.Action action, NotificationVisibility nv, in onNotificationActionClick() argument
1256 actionIndex, action, nv, generatedByAssistant); in onNotificationActionClick()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp363 event.actionIndex = getActionIndex(args.action); in notifyMotionArgsToHalMotionEvent()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4962 final int actionIndex = 2; in testOnNotificationActionClick() local
4973 10, 10, r.getKey(), actionIndex, action, notificationVisibility, in testOnNotificationActionClick()
4976 eq(r.getSbn()), eq(actionIndex), eq(action), eq(generatedByAssistant)); in testOnNotificationActionClick()
4986 final int actionIndex = 1; in testOnAssistantNotificationActionClick() local
4997 10, 10, r.getKey(), actionIndex, action, notificationVisibility, in testOnAssistantNotificationActionClick()
5000 eq(r.getSbn()), eq(actionIndex), eq(action), eq(generatedByAssistant)); in testOnAssistantNotificationActionClick()
/frameworks/base/core/java/android/app/
DNotification.java9921 public WearableExtender setContentAction(int actionIndex) { in setContentAction() argument
9922 mContentActionIndex = actionIndex; in setContentAction()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...