/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | MultiFingerSwipe.java | 128 final int actionIndex = getActionIndex(rawEvent); in onDown() local 143 final float x = rawEvent.getX(actionIndex); in onDown() 144 final float y = rawEvent.getY(actionIndex); in onDown() 189 final float x = rawEvent.getX(actionIndex); in onPointerDown() 190 final float y = rawEvent.getY(actionIndex); in onPointerDown() 212 final int actionIndex = getActionIndex(event); in onPointerUp() local 224 final float x = rawEvent.getX(actionIndex); in onPointerUp() 225 final float y = rawEvent.getY(actionIndex); in onPointerUp() 324 final int actionIndex = getActionIndex(event); in onUp() local 331 final float x = rawEvent.getX(actionIndex); in onUp() [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 404 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()
|
H A D | HandwritingInitiator.java | 149 final int actionIndex = motionEvent.getActionIndex(); in onTouchEvent() local 150 final int toolType = motionEvent.getToolType(actionIndex); in onTouchEvent() 705 final int actionIndex = motionEvent.getActionIndex(); in State() local 706 mStylusPointerId = motionEvent.getPointerId(actionIndex); in State() 708 mStylusDownX = motionEvent.getX(actionIndex); in State() 709 mStylusDownY = motionEvent.getY(actionIndex); in State()
|
H A D | MotionEvent.java | 2349 final int actionIndex = getActionIndex(); in isStylusPointer() local 2351 && (getToolType(actionIndex) == TOOL_TYPE_STYLUS in isStylusPointer() 2352 || getToolType(actionIndex) == TOOL_TYPE_ERASER); in isStylusPointer()
|
H A D | ViewGroup.java | 2696 final int actionIndex = ev.getActionIndex(); // always 0 for down in dispatchTouchEvent() local 2697 final int idBitsToAssign = split ? 1 << ev.getPointerId(actionIndex) in dispatchTouchEvent() 2706 final float x = ev.getXDispatchLocation(actionIndex); in dispatchTouchEvent() 2707 final float y = ev.getYDispatchLocation(actionIndex); in dispatchTouchEvent() 2830 final int actionIndex = ev.getActionIndex(); in dispatchTouchEvent() local 2831 final int idBitsToRemove = 1 << ev.getPointerId(actionIndex); in dispatchTouchEvent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationRemoteInputManager.java | 122 Integer actionIndex = (Integer) 126 mLogger.logInitialClick(entry, actionIndex, pendingIntent); 129 mLogger.logRemoteInputWasHandled(entry, actionIndex); 147 action == null ? false : action.isAuthenticationRequired(), actionIndex, () -> { 149 mLogger.logStartingIntentWithDefaultHandler(entry, pendingIntent, actionIndex); 158 Integer actionIndex = (Integer) 160 if (actionIndex == null) { 172 if (actions == null || actionIndex >= actions.length) { 177 statusBarNotification.getNotification().actions[actionIndex]; 703 boolean appRequestedAuth, @Nullable Integer actionIndex, in handleRemoteViewClick() argument
|
H A D | NotificationClickNotifier.kt | 49 actionIndex: Int, 57 key, actionIndex, action, visibility, generatedByAssistant)
|
H A D | SmartReplyController.java | 83 NotificationEntry entry, int actionIndex, Notification.Action action, in smartActionClicked() argument 87 entry.getKey(), actionIndex, action, nv, generatedByAssistant); in smartActionClicked() local
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipActionsProvider.java | 175 int actionIndex = mActionsList.indexOf(mExpandCollapseAction); in updateExpansionEnabled() local 176 boolean actionInList = actionIndex != -1; in updateExpansionEnabled() 179 actionIndex = mActionsList.size() - 1; in updateExpansionEnabled() 181 mActionsList.remove(actionIndex); in updateExpansionEnabled() 185 notifyActionsChanged(/* added= */ enabled ? 1 : -1, /* updated= */ 0, actionIndex); in updateExpansionEnabled()
|
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | IntervalStats.java | 477 for (int actionIndex = 0; actionIndex < chooserActionsSize; actionIndex++) { in deobfuscateUsageStats() 479 final int actionToken = usageStats.mChooserCountsObfuscated.keyAt(actionIndex); in deobfuscateUsageStats() 485 usageStats.mChooserCountsObfuscated.valueAt(actionIndex); in deobfuscateUsageStats() 621 for (int actionIndex = 0; actionIndex < chooserActionsSize; actionIndex++) { in obfuscateUsageStatsData() 622 final String action = usageStats.mChooserCounts.keyAt(actionIndex); in obfuscateUsageStatsData() 624 usageStats.mChooserCounts.valueAt(actionIndex); in obfuscateUsageStatsData()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
H A D | GestureLogParser.java | 45 final int actionIndex; in getMotionEventFromLogLine() local 55 actionIndex = Integer.decode(matcher.group(2)); in getMotionEventFromLogLine() 56 action = action | (actionIndex << MotionEvent.ACTION_POINTER_INDEX_SHIFT); in getMotionEventFromLogLine()
|
H A D | TouchEventGenerator.java | 71 final int actionIndex = 1 << MotionEvent.ACTION_POINTER_INDEX_SHIFT; in twoPointersDownEvents() local 72 final int action = ACTION_POINTER_DOWN | actionIndex; in twoPointersDownEvents()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyStateInflater.kt | 291 actionIndex: Int, 354 actionIndex: Int, 376 onSmartActionClick(entry, smartActions, actionIndex, action) 390 actionIndex: Int, 398 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) 402 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarRemoteInputCallback.java | 259 boolean appRequestedAuth, @Nullable Integer actionIndex, in handleRemoteViewClick() argument 263 mActionClickLogger.logWaitingToCloseKeyguard(pendingIntent, actionIndex); in handleRemoteViewClick() 268 mActionClickLogger.logKeyguardGone(pendingIntent, actionIndex); in handleRemoteViewClick()
|
H A D | touch_analytics.proto | 54 optional int32 actionIndex = 3; field
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationDelegate.java | 32 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() argument
|
H A D | NotificationManagerService.java | 1171 int actionIndex, Notification.Action action, NotificationVisibility nv, 1184 .setSubtype(actionIndex) 1195 NotificationRecordLogger.NotificationEvent.fromAction(actionIndex, 1199 action.actionIntent.getIntent().toString(), actionIndex,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
H A D | SinglePointerTouchProcessor.kt | 69 processActionUp(preprocess(), event.getPointerId(event.actionIndex))
|
/aosp14/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBarService.aidl | 76 …void onNotificationActionClick(String key, int actionIndex, in Notification.Action action, in Noti… in onNotificationActionClick() argument
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
H A D | UserInteractorTest.kt | 1054 (userIds.size until userIds.size + expectedActions.size).forEach { actionIndex -> 1055 val record = records[actionIndex] 1059 type = expectedActions[actionIndex - userIds.size],
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 2661 final int actionIndex = e.getActionIndex(); in onInterceptTouchEvent() local 2691 mScrollPointerId = e.getPointerId(actionIndex); in onInterceptTouchEvent() 2692 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent() 2693 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onInterceptTouchEvent() 2806 final int actionIndex = e.getActionIndex(); in onTouchEvent() local 2830 mScrollPointerId = e.getPointerId(actionIndex); in onTouchEvent() 2831 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent() 2832 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onTouchEvent() 3010 final int actionIndex = e.getActionIndex(); in onPointerUp() local 3011 if (e.getPointerId(actionIndex) == mScrollPointerId) { in onPointerUp() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
H A D | GesturePointerEventListener.kt | 187 captureDown(ev, ev.actionIndex)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentView.java | 1554 Object actionIndex = 1556 boolean suppressAction = actionIndex instanceof Integer 1557 && suppressedActionIndices.contains(actionIndex);
|
/aosp14/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 1669 String key, int actionIndex, Notification.Action action, NotificationVisibility nv, in onNotificationActionClick() argument 1677 actionIndex, action, nv, generatedByAssistant); in onNotificationActionClick()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 6346 int actionIndex = mActions.indexOf(action); in generateActionButton() local 6347 if (actionIndex != -1) { in generateActionButton() 6348 button.setIntTag(R.id.action0, R.id.notification_action_index_tag, actionIndex); in generateActionButton() 11403 public WearableExtender setContentAction(int actionIndex) { in setContentAction() argument 11404 mContentActionIndex = actionIndex; in setContentAction()
|