Searched refs:ChipbarEndItem (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/ |
H A D | ChipbarInfo.kt | 44 val endItem: ChipbarEndItem?, 63 sealed class ChipbarEndItem { regex 65 object Loading : ChipbarEndItem() 68 object Error : ChipbarEndItem() 73 data class Button(val text: Text, val onClickListener: View.OnClickListener) : ChipbarEndItem()
|
H A D | ChipbarCoordinator.kt | 138 is ChipbarEndItem.Loading -> "loading" 139 is ChipbarEndItem.Error -> "error" 140 is ChipbarEndItem.Button -> "button(${newInfo.endItem.text.loadText(context)})" 169 val isLoading = newInfo.endItem == ChipbarEndItem.Loading 188 (newInfo.endItem == ChipbarEndItem.Error).visibleIfTrue() 192 val hasButton = newInfo.endItem is ChipbarEndItem.Button 194 TextViewBinder.bind(buttonView, (newInfo.endItem as ChipbarEndItem.Button).text) 224 if (newInfo.endItem is ChipbarEndItem.Loading) { 256 if (info?.endItem is ChipbarEndItem.Button) {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/ |
H A D | ChipbarCoordinatorTest.kt | 175 endItem = ChipbarEndItem.Loading, 191 endItem = ChipbarEndItem.Error, 299 endItem = ChipbarEndItem.Error, 316 ChipbarEndItem.Button( 342 ChipbarEndItem.Button( 365 ChipbarEndItem.Button( 396 endItem = ChipbarEndItem.Error, 561 endItem = ChipbarEndItem.Error, 592 endItem = ChipbarEndItem.Error, 606 endItem = ChipbarEndItem.Error, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/ |
H A D | MediaTttSenderCoordinator.kt | 38 import com.android.systemui.temporarydisplay.chipbar.ChipbarEndItem 190 is SenderEndItem.Loading -> ChipbarEndItem.Loading 191 is SenderEndItem.Error -> ChipbarEndItem.Error 229 ): ChipbarEndItem.Button { 248 return ChipbarEndItem.Button(
|