/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | MultiFingerSwipe.java | 128 final int actionIndex = getActionIndex(rawEvent); in onDown() local 129 final int pointerId = rawEvent.getPointerId(actionIndex); in onDown() 143 final float x = rawEvent.getX(actionIndex); in onDown() 144 final float y = rawEvent.getY(actionIndex); in onDown() 174 final int actionIndex = getActionIndex(rawEvent); in onPointerDown() local 175 final int pointerId = rawEvent.getPointerId(actionIndex); in onPointerDown() 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 213 final int pointerId = event.getPointerId(actionIndex); in onPointerUp() [all …]
|
/frameworks/base/core/java/android/view/ |
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()
|
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()
|
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()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
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
|
D | NotificationClickNotifier.kt | 49 actionIndex: Int, in onNotificationActionClick() 57 key, actionIndex, action, visibility, generatedByAssistant) in onNotificationActionClick()
|
D | SmartReplyController.java | 83 NotificationEntry entry, int actionIndex, Notification.Action action, in smartActionClicked() argument 87 entry.getKey(), actionIndex, action, nv, generatedByAssistant); in smartActionClicked() local
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
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()
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyStateInflater.kt | 291 actionIndex: Int, in inflateActionButton() 354 actionIndex: Int, in inflateActionButton() 376 onSmartActionClick(entry, smartActions, actionIndex, action) in inflateActionButton() 390 actionIndex: Int, in onSmartActionClick() 398 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in onSmartActionClick() 402 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
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()
|
D | touch_analytics.proto | 54 optional int32 actionIndex = 3; field
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 142 const uint8_t actionIndex = MotionEvent::getActionIndex(action); in resolveActionForPointer() local 143 if (pointerIndex == actionIndex) { in resolveActionForPointer() 153 const uint8_t actionIndex = MotionEvent::getActionIndex(args.action); in removePointerIds() local 166 if (isPointerUpOrDownAction && i == actionIndex) { in removePointerIds() 176 if (i == actionIndex) { in removePointerIds()
|
D | InputCommonConverter.cpp | 319 event.actionIndex = MotionEvent::getActionIndex(args.action); in notifyMotionArgsToHalMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 32 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 69 processActionUp(preprocess(), event.getPointerId(event.actionIndex)) in processTouch()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | IStatusBarService.aidl | 76 …void onNotificationActionClick(String key, int actionIndex, in Notification.Action action, in Noti… in onNotificationActionClick() argument
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputState.cpp | 238 const uint8_t actionIndex = MotionEvent::getActionIndex(entry.action); in setPointers() local 239 if (i == actionIndex) { in setPointers()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | UserInteractorTest.kt | 1043 (userIds.size until userIds.size + expectedActions.size).forEach { actionIndex -> in <lambda>() method 1044 val record = records[actionIndex] in <lambda>() 1048 type = expectedActions[actionIndex - userIds.size], in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
D | GesturePointerEventListener.kt | 187 captureDown(ev, ev.actionIndex) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
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 …]
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 68 const auto actionIndex = MotionEvent::getActionIndex(motionArgs.action); in isStylusPointerGestureStart() local 69 return isStylusToolType(motionArgs.pointerProperties[actionIndex].toolType); in isStylusPointerGestureStart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1554 Object actionIndex = 1556 boolean suppressAction = actionIndex instanceof Integer 1557 && suppressedActionIndices.contains(actionIndex);
|