Home
last modified time | relevance | path

Searched refs:action1 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DDeferredKeyActionExecutorTests.java72 TestAction action1 = new TestAction(); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() local
74 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action1); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted()
78 assertFalse(action1.executed); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted()
84 assertFalse(action1.executed); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted()
100 TestAction action1 = new TestAction(); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted() local
104 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action1); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted()
113 assertFalse(action1.executed); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipUtils.kt97 fun remoteActionsMatch(action1: RemoteAction?, action2: RemoteAction?): Boolean { in remoteActionsMatch()
98 if (action1 === action2) return true in remoteActionsMatch()
99 if (action1 == null || action2 == null) return false in remoteActionsMatch()
100 return action1.isEnabled == action2.isEnabled && in remoteActionsMatch()
101 action1.shouldShowIcon() == action2.shouldShowIcon() && in remoteActionsMatch()
102 action1.title == action2.title && in remoteActionsMatch()
103 action1.contentDescription == action2.contentDescription && in remoteActionsMatch()
104 action1.actionIntent == action2.actionIntent in remoteActionsMatch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaViewHolder.kt71 val action1 = itemView.requireViewById<ImageButton>(R.id.action1) constant
84 R.id.action1 -> action1 in getAction()
95 return listOf(actionNext, actionPrev, action0, action1, action2, action3, action4) in getTransparentActionButtons()
136 R.id.action1,
147 setOf(R.id.action0, R.id.action1, R.id.action2, R.id.action3, R.id.action4)
155 R.id.action1,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapperTest.kt96 val action1 = createActionWithPendingIntent() in actionPendingIntentCancelled_actionDisabled() constant
105 assertThat(action1.isEnabled).isTrue() in actionPendingIntentCancelled_actionDisabled()
109 .doesNotContain(getPendingIntent(action1).hashCode()) in actionPendingIntentCancelled_actionDisabled()
141 val action1 = createActionWithPendingIntent() in twoActionsWithSameCancelledIntent_bothActionsDisabled() constant
152 assertThat(action1.isEnabled).isTrue() in twoActionsWithSameCancelledIntent_bothActionsDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt178 private lateinit var action1: ImageButton in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest
378 action1 = ImageButton(context).also { it.setId(R.id.action1) } in <lambda>()
400 action1.id, in <lambda>()
442 whenever(viewHolder.action1).thenReturn(action1) in <lambda>()
443 whenever(viewHolder.getAction(R.id.action1)).thenReturn(action1) in <lambda>()
548 assertThat(action1.contentDescription).isEqualTo("custom 1") in <lambda>()
549 assertThat(action1.isEnabled()).isFalse() in <lambda>()
550 verify(collapsedSet, times(2)).setVisibility(R.id.action1, ConstraintSet.GONE) in <lambda>()
1024 assertThat(action1.contentDescription).isEqualTo("play") in <lambda>()
1025 assertThat(action1.isEnabled()).isTrue() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt140 R.id.action1 -> custom1 in getActionById()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp776 bool action1 = false; in TEST() local
787 action1 = true; in TEST()
823 ASSERT_EQ(true, action1); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaControlViewModel.kt414 R.id.action1 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java200 R.id.action1
/frameworks/base/core/java/android/app/
DNotification.java10091 R.id.action1,
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt77133 Lcom/android/internal/R$id;->action1:I