Searched refs:Shown (Results 1 – 15 of 15) sorted by relevance
77 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()
128 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()
103 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()
106 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()
69 screenRecord is OngoingActivityChipModel.Shown -> screenRecord in <lambda>()70 shareToApp is OngoingActivityChipModel.Shown -> shareToApp in <lambda>()71 castToOtherDevice is OngoingActivityChipModel.Shown -> castToOtherDevice in <lambda>()
193 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()
107 .map { if (it) ActionButtonAppearance.Hidden else ActionButtonAppearance.Shown } in <lambda>()204 else -> ActionButtonAppearance.Shown in <lambda>()256 Shown,
77 ): OngoingActivityChipModel.Shown { in <lambda>()78 return OngoingActivityChipModel.Shown( in <lambda>()
81 ): OngoingActivityChipModel.Shown { in <lambda>()82 return OngoingActivityChipModel.Shown( in <lambda>()
28 data class Shown( dataClass
62 OngoingActivityChipModel.Shown( in <lambda>()
60 OngoingActivityChipModel.Shown( in <lambda>()
195 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.onSecondaryContainer in ActionButton()200 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.secondaryContainer in ActionButton()
94 is OngoingActivityChipModel.Shown -> { in bind()
335 assertThat(backspaceButtonAppearance).isEqualTo(ActionButtonAppearance.Shown) in <lambda>()373 assertThat(confirmButtonAppearance).isEqualTo(ActionButtonAppearance.Shown) in <lambda>()