Home
last modified time | relevance | path

Searched refs:ChipbarEndItem (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarInfo.kt43 val endItem: ChipbarEndItem?,
61 sealed class ChipbarEndItem { class
63 object Loading : ChipbarEndItem()
66 object Error : ChipbarEndItem()
71 data class Button(val text: Text, val onClickListener: View.OnClickListener) : ChipbarEndItem()
DChipbarCoordinator.kt137 is ChipbarEndItem.Loading -> "loading" in <lambda>()
138 is ChipbarEndItem.Error -> "error" in <lambda>()
139 is ChipbarEndItem.Button -> "button(${newInfo.endItem.text.loadText(context)})" in <lambda>()
168 val isLoading = newInfo.endItem == ChipbarEndItem.Loading in <lambda>()
187 (newInfo.endItem == ChipbarEndItem.Error).visibleIfTrue() in <lambda>()
191 val hasButton = newInfo.endItem is ChipbarEndItem.Button in <lambda>()
193 TextViewBinder.bind(buttonView, (newInfo.endItem as ChipbarEndItem.Button).text) in <lambda>()
223 if (newInfo.endItem is ChipbarEndItem.Loading) { in <lambda>()
263 if (info?.endItem is ChipbarEndItem.Button) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinatorTest.kt169 endItem = ChipbarEndItem.Loading, in displayView_contentDescription_endIsLoading()
185 endItem = ChipbarEndItem.Error, in displayView_contentDescription_endNotLoading()
277 endItem = ChipbarEndItem.Loading, in displayView_endItemLoading_correctlyRendered()
293 endItem = ChipbarEndItem.Error, in displayView_endItemError_correctlyRendered()
310 ChipbarEndItem.Button( in displayView_endItemButton_correctlyRendered()
336 ChipbarEndItem.Button( in displayView_endItemButtonClicked_falseTap_listenerNotRun()
359 ChipbarEndItem.Button( in displayView_endItemButtonClicked_notFalseTap_listenerRun()
377 endItem = ChipbarEndItem.Loading, in displayView_loading_animationStarted()
390 endItem = ChipbarEndItem.Error, in displayView_notLoading_noAnimation()
403 endItem = ChipbarEndItem.Loading, in displayView_loadingThenNotLoading_animationStopped()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/
DMediaTttSenderCoordinator.kt38 import com.android.systemui.temporarydisplay.chipbar.ChipbarEndItem in <lambda>()
190 is SenderEndItem.Loading -> ChipbarEndItem.Loading in <lambda>()
191 is SenderEndItem.Error -> ChipbarEndItem.Error in <lambda>()
229 ): ChipbarEndItem.Button { in <lambda>()
248 return ChipbarEndItem.Button( in <lambda>()