Home
last modified time | relevance | path

Searched refs:DockAdapter (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/view/
DDockAdapterTest.kt37 private val dockAdapter: DockAdapter = spy(DockAdapter(dockInterfaceMock, contextMock))
82 MutableList(1) { DockAdapter.PayloadType.CHANGE_ITEM_TYPE } in onBindViewHolder_payloadChangeItemType_itemTypeChangedCalled()
95 MutableList(1) { DockAdapter.PayloadType.CHANGE_ACTIVE_MEDIA_SESSION } in onBindViewHolder_payloadMediaItemType_hasMediaSession_hasActiveMediaSessionCalled()
107 MutableList(1) { DockAdapter.PayloadType.CHANGE_ACTIVE_MEDIA_SESSION } in onBindViewHolder_payloadMediaItemType_noMediaSession_hasActiveMediaSessionCalled()
119 MutableList(3) { DockAdapter.PayloadType.CHANGE_ITEM_TYPE } in onBindViewHolder_multiplePayloadChangeItemType_itemTypeChangedCalledMultipleTimes()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/
DDockView.kt41 fun getAdapter() = recyclerView.adapter as DockAdapter in getAdapter()
43 fun setAdapter(adapter: DockAdapter) { in getAdapter()
DDockAdapter.kt33 class DockAdapter(private val dockController: DockInterface, private val userContext: Context) : in <lambda>() class
155 return DockAdapter.PayloadType.CHANGE_ITEM_TYPE in getChangePayload()
DDockItemViewHolder.kt128 (bindingAdapter as? DockAdapter) in dropSuccessful()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewController.kt42 import com.android.car.docklib.view.DockAdapter in <lambda>()
73 private val adapter: DockAdapter in <lambda>()
89 adapter = DockAdapter(this, userContext) in <lambda>()