Home
last modified time | relevance | path

Searched refs:Shown (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt77 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_inCall_isShown()
94 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(398_000) in chip_inCall_startTimeConvertedToElapsedRealtime()
104 assertThat(((latest as OngoingActivityChipModel.Shown).icon as Icon.Resource).res) in chip_inCall_iconIsPhone()
117 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_resetsCorrectly()
118 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(398_000) in chip_resetsCorrectly()
130 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_resetsCorrectly()
131 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(499_000) in chip_resetsCorrectly()
141 val clickListener = (latest as OngoingActivityChipModel.Shown).onClickListener in chip_inCall_nullIntent_clickListenerDoesNothing()
154 val clickListener = (latest as OngoingActivityChipModel.Shown).onClickListener in chip_inCall_validIntent_clickListenerLaunchesIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/
DShareToAppChipViewModelTest.kt128 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_singleTaskState_normalPackage_isShown()
129 val icon = (latest as OngoingActivityChipModel.Shown).icon in chip_singleTaskState_normalPackage_isShown()
141 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_entireScreenState_normalPackage_isShown()
142 val icon = (latest as OngoingActivityChipModel.Shown).icon in chip_entireScreenState_normalPackage_isShown()
155 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
156 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(1234) in chip_timeResetsOnEachNewShare()
168 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
169 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(5678) in chip_timeResetsOnEachNewShare()
179 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_entireScreen_clickListenerShowsShareDialog()
201 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_singleTask_clickListenerShowsShareDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/
DCastToOtherDeviceChipViewModelTest.kt103 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_singleTaskState_otherDevicesPackage_isShown()
104 val icon = (latest as OngoingActivityChipModel.Shown).icon in chip_singleTaskState_otherDevicesPackage_isShown()
116 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_entireScreenState_otherDevicesPackage_isShown()
117 val icon = (latest as OngoingActivityChipModel.Shown).icon in chip_entireScreenState_otherDevicesPackage_isShown()
152 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
153 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(1234) in chip_timeResetsOnEachNewShare()
165 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
166 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(5678) in chip_timeResetsOnEachNewShare()
176 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_entireScreen_clickListenerShowsCastDialog()
199 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_singleTask_clickListenerShowsCastDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt106 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_recordingState_isShownWithIcon()
107 val icon = (latest as OngoingActivityChipModel.Shown).icon in chip_recordingState_isShownWithIcon()
119 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewRecording()
120 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(1234) in chip_timeResetsOnEachNewRecording()
128 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewRecording()
129 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(5678) in chip_timeResetsOnEachNewRecording()
139 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_notProjecting_clickListenerShowsDialog()
160 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_projectingEntireScreen_clickListenerShowsDialog()
184 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_projectingSingleTask_clickListenerShowsDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipsViewModel.kt69 screenRecord is OngoingActivityChipModel.Shown -> screenRecord in <lambda>()
70 shareToApp is OngoingActivityChipModel.Shown -> shareToApp in <lambda>()
71 castToOtherDevice is OngoingActivityChipModel.Shown -> castToOtherDevice in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipsViewModelTest.kt193 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in assertIsScreenRecordChip()
194 val icon = (latest as OngoingActivityChipModel.Shown).icon in assertIsScreenRecordChip()
199 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in assertIsShareToAppChip()
200 val icon = (latest as OngoingActivityChipModel.Shown).icon in assertIsShareToAppChip()
205 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in assertIsCallChip()
206 val icon = (latest as OngoingActivityChipModel.Shown).icon in assertIsCallChip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPinBouncerViewModel.kt107 .map { if (it) ActionButtonAppearance.Hidden else ActionButtonAppearance.Shown } in <lambda>()
204 else -> ActionButtonAppearance.Shown in <lambda>()
256 Shown,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/
DShareToAppChipViewModel.kt77 ): OngoingActivityChipModel.Shown { in <lambda>()
78 return OngoingActivityChipModel.Shown( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/
DCastToOtherDeviceChipViewModel.kt81 ): OngoingActivityChipModel.Shown { in <lambda>()
82 return OngoingActivityChipModel.Shown( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/model/
DOngoingActivityChipModel.kt28 data class Shown( dataClass
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModel.kt62 OngoingActivityChipModel.Shown( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModel.kt60 OngoingActivityChipModel.Shown( in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinBouncer.kt195 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.onSecondaryContainer in ActionButton()
200 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.secondaryContainer in ActionButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/binder/
DCollapsedStatusBarViewBinder.kt94 is OngoingActivityChipModel.Shown -> { in bind()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPinBouncerViewModelTest.kt335 assertThat(backspaceButtonAppearance).isEqualTo(ActionButtonAppearance.Shown) in <lambda>()
373 assertThat(confirmButtonAppearance).isEqualTo(ActionButtonAppearance.Shown) in <lambda>()