Home
last modified time | relevance | path

Searched refs:firstAction (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java60 Notification.Action firstAction = in needReinflate_differentLabels() local
66 createUiAdjustmentFromSmartActions("first", Collections.singletonList(firstAction)), in needReinflate_differentLabels()
77 Notification.Action firstAction = in needReinflate_differentIcons() local
84 createUiAdjustmentFromSmartActions("first", Collections.singletonList(firstAction)), in needReinflate_differentIcons()
100 Notification.Action firstAction = in needReinflate_differentPendingIntent() local
108 createUiAdjustmentFromSmartActions("first", Collections.singletonList(firstAction)), in needReinflate_differentPendingIntent()
125 Notification.Action firstAction = in needReinflate_differentChoices() local
135 createUiAdjustmentFromSmartActions("first", Collections.singletonList(firstAction)), in needReinflate_differentChoices()
152 Notification.Action firstAction = in needReinflate_differentRemoteInputLabel() local
162 createUiAdjustmentFromSmartActions("first", Collections.singletonList(firstAction)), in needReinflate_differentRemoteInputLabel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListener.kt355 first.asSequence().zip(second.asSequence()).forEach { (firstAction, secondAction) -> in <lambda>() method
356 if (!areCustomActionsEqual(firstAction, secondAction)) { in <lambda>()
364 firstAction: PlaybackState.CustomAction, in <lambda>()
368 firstAction.action != secondAction.action || in <lambda>()
369 firstAction.name != secondAction.name || in <lambda>()
370 firstAction.icon != secondAction.icon in <lambda>()
375 if ((firstAction.extras == null) != (secondAction.extras == null)) { in <lambda>()
378 if (firstAction.extras != null) { in <lambda>()
379 firstAction.extras.keySet().forEach { key -> in <lambda>()
380 if (firstAction.extras.get(key) != secondAction.extras.get(key)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java94 Notification.Action firstAction = first.get(i); in areDifferent() local
97 if (!TextUtils.equals(firstAction.title, secondAction.title)) { in areDifferent()
101 if (areDifferent(firstAction.getIcon(), secondAction.getIcon())) { in areDifferent()
105 if (!Objects.equals(firstAction.actionIntent, secondAction.actionIntent)) { in areDifferent()
109 if (areDifferent(firstAction.getRemoteInputs(), secondAction.getRemoteInputs())) { in areDifferent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DDefaultScreenshotActionsProviderTest.kt77 val firstAction = actionButtonCaptor.firstValue in actionButtonsAccessed_beforeScreenshotCompleted_doesNothing() constant
79 firstAction.invoke() in actionButtonsAccessed_beforeScreenshotCompleted_doesNothing()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java180 private void createNotification(@NonNull PrintJobInfo printJob, @Nullable Action firstAction, in createNotification() argument
193 if (firstAction != null) { in createNotification()
194 builder.addAction(firstAction); in createNotification()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java661 Notification.Action firstAction = makeNotificationAction(null); in testCallStyle_getSystemActions_forOngoingCallWithOtherActions() local
664 .addAction(firstAction) in testCallStyle_getSystemActions_forOngoingCallWithOtherActions()
672 assertEquals(firstAction, actions.get(1)); in testCallStyle_getSystemActions_forOngoingCallWithOtherActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java1050 Button firstAction = ((Button) mView.getChildAt(1)); in testMeasure_choicesAndActionsPrioritizeActions() local
/frameworks/base/core/java/android/app/
DNotification.java10691 final Action firstAction = makeNegativeAction(); in getActionsListWithSystemActions() local
10699 resultActions.add(firstAction); in getActionsListWithSystemActions()