Home
last modified time | relevance | path

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

/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.java2647 final int actionIndex = ev.getActionIndex(); // always 0 for down in dispatchTouchEvent() local
2648 final int idBitsToAssign = split ? 1 << ev.getPointerId(actionIndex) in dispatchTouchEvent()
2657 final float x = ev.getX(actionIndex); in dispatchTouchEvent()
2658 final float y = ev.getY(actionIndex); in dispatchTouchEvent()
2781 final int actionIndex = ev.getActionIndex(); in dispatchTouchEvent() local
2782 final int idBitsToRemove = 1 << ev.getPointerId(actionIndex); in dispatchTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java192 int actionIndex = ev.getActionIndex(); in onInterceptTouchEvent() local
193 mActiveTouchId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
196 actionIndex = ev.getActionIndex(); in onInterceptTouchEvent()
197 int pointerId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
200 int newActionIndex = actionIndex == 0 ? 1 : 0; in onInterceptTouchEvent()
DRecyclerView.java2641 final int actionIndex = e.getActionIndex(); in onInterceptTouchEvent() local
2671 mScrollPointerId = e.getPointerId(actionIndex); in onInterceptTouchEvent()
2672 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent()
2673 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onInterceptTouchEvent()
2754 final int actionIndex = e.getActionIndex(); in onTouchEvent() local
2778 mScrollPointerId = e.getPointerId(actionIndex); in onTouchEvent()
2779 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent()
2780 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onTouchEvent()
2889 final int actionIndex = e.getActionIndex(); in onPointerUp() local
2890 if (e.getPointerId(actionIndex) == mScrollPointerId) { in onPointerUp()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSmartReplyController.java74 NotificationEntry entry, int actionIndex, Notification.Action action, in smartActionClicked() argument
84 entry.key, actionIndex, action, nv, generatedByAssistant); in smartActionClicked()
DNotificationRemoteInputManager.java165 Integer actionIndex = (Integer)
167 if (actionIndex == null) {
191 if (actions == null || actionIndex >= actions.length) {
196 statusBarNotification.getNotification().actions[actionIndex];
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationDelegate.java29 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() argument
DNotificationManagerService.java813 int actionIndex, Notification.Action action, NotificationVisibility nv,
826 .setSubtype(actionIndex)
837 EventLogTags.writeNotificationActionClicked(key, actionIndex,
843 r.sbn, actionIndex, action, generatedByAssistant);
7652 final StatusBarNotification sbn, int actionIndex, Notification.Action action,
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBarService.aidl63 …void onNotificationActionClick(String key, int actionIndex, in Notification.Action action, in Noti… in onNotificationActionClick() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto54 optional int32 actionIndex = 3; field
/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.java330 int actionIndex, SmartActions smartActions, in inflateActionButton() argument
333 Notification.Action action = smartActions.actions.get(actionIndex); in inflateActionButton()
350 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/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java1186 String key, int actionIndex, Notification.Action action, NotificationVisibility nv, in onNotificationActionClick() argument
1194 actionIndex, action, nv, generatedByAssistant); in onNotificationActionClick()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4057 final int actionIndex = 2; in testOnNotificationActionClick() local
4068 10, 10, r.getKey(), actionIndex, action, notificationVisibility, in testOnNotificationActionClick()
4071 eq(r.sbn), eq(actionIndex), eq(action), eq(generatedByAssistant)); in testOnNotificationActionClick()
/frameworks/base/core/java/android/app/
DNotification.java9440 public WearableExtender setContentAction(int actionIndex) { in setContentAction() argument
9441 mContentActionIndex = actionIndex; in setContentAction()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...