Searched refs:PanelHeaderItem (Results 1 – 7 of 7) sorted by relevance
25 import com.android.car.customization.tool.domain.panel.PanelHeaderItem32 ) : 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()
23 import com.android.car.customization.tool.domain.panel.PanelHeaderItem29 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo()30 model as PanelHeaderItem.CloseButton in bindTo()
24 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>()
26 import com.android.car.customization.tool.domain.panel.PanelHeaderItem33 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo()34 model as PanelHeaderItem.DropDown in bindTo()
22 import com.android.car.customization.tool.domain.panel.PanelHeaderItem29 abstract fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit)
25 val headerItems: List<PanelHeaderItem> = listOf(PanelHeaderItem.CloseButton), in <lambda>()29 internal sealed class PanelHeaderItem { in <lambda>() class34 ) : PanelHeaderItem() in <lambda>()36 object CloseButton : PanelHeaderItem() { in <lambda>()43 ) : PanelHeaderItem() { in <lambda>()
26 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>()