Home
last modified time | relevance | path

Searched refs:PanelHeaderItem (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/panel/header/
DPanelHeaderAdapter.kt25 import com.android.car.customization.tool.domain.panel.PanelHeaderItem
32 ) : ListAdapter<PanelHeaderItem, PanelHeaderItemViewHolder>(ItemCallback()) {
73 is PanelHeaderItem.SearchBox -> ViewType.HEADER_SEARCH.ordinal in getItemViewType()
74 is PanelHeaderItem.CloseButton -> ViewType.HEADER_CLOSE.ordinal in getItemViewType()
75 is PanelHeaderItem.DropDown -> ViewType.HEADER_DROPDOWN.ordinal in getItemViewType()
95 class ItemCallback : DiffUtil.ItemCallback<PanelHeaderItem>() {
97 override fun areItemsTheSame(p0: PanelHeaderItem, p1: PanelHeaderItem): Boolean { in areItemsTheSame()
101 override fun areContentsTheSame(p0: PanelHeaderItem, p1: PanelHeaderItem): Boolean { in areContentsTheSame()
DPanelHeaderCloseViewHolder.kt23 import com.android.car.customization.tool.domain.panel.PanelHeaderItem
29 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo()
30 model as PanelHeaderItem.CloseButton in bindTo()
DPanelHeaderSearchBoxViewHolder.kt24 import com.android.car.customization.tool.domain.panel.PanelHeaderItem in <lambda>()
31 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in <lambda>()
32 model as PanelHeaderItem.SearchBox in <lambda>()
DPanelHeaderDropDownViewHolder.kt26 import com.android.car.customization.tool.domain.panel.PanelHeaderItem
33 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo()
34 model as PanelHeaderItem.DropDown in bindTo()
DPanelHeaderItemViewHolder.kt22 import com.android.car.customization.tool.domain.panel.PanelHeaderItem
29 abstract fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit)
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/panel/
DPanel.kt25 val headerItems: List<PanelHeaderItem> = listOf(PanelHeaderItem.CloseButton), in <lambda>()
29 internal sealed class PanelHeaderItem { in <lambda>() class
34 ) : PanelHeaderItem() in <lambda>()
36 object CloseButton : PanelHeaderItem() { in <lambda>()
43 ) : PanelHeaderItem() { in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelReducer.kt26 import com.android.car.customization.tool.domain.panel.PanelHeaderItem in <lambda>()
54 private lateinit var header: List<PanelHeaderItem> in <lambda>()
73 PanelHeaderItem.CloseButton, in <lambda>()
74 PanelHeaderItem.SearchBox( in <lambda>()
78 PanelHeaderItem.SearchBox( in <lambda>()
82 PanelHeaderItem.DropDown( in <lambda>()
85 PanelHeaderItem.DropDown.Item( in <lambda>()
90 PanelHeaderItem.DropDown.Item( in <lambda>()
143 if (headerItem is PanelHeaderItem.DropDown) { in <lambda>()