Searched refs:dockAppItem (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockItemViewHolder.kt | 197 dockAppItem: DockAppItem, in bind() 202 itemTypeChanged(dockAppItem) in bind() 203 appIcon.contentDescription = dockAppItem.name in bind() 204 appIcon.setImageDrawable(dockAppItem.icon) in bind() 208 dockAppItem, in bind() 209 isRestricted = !dockAppItem.isDistractionOptimized && isUxRestrictionEnabled in bind() 212 setUxRestrictions(dockAppItem, isUxRestrictionEnabled) in bind() 215 dockAppItem, in bind() 216 pinItemClickDelegate = { dockController.appPinned(dockAppItem.id) }, in bind() 217 unpinItemClickDelegate = { dockController.appUnpinned(dockAppItem.id) }, in bind() [all …]
|
D | DockItemLongClickListener.kt | 46 private var dockAppItem: DockAppItem, variable in com.android.car.docklib.view.DockItemLongClickListener 61 dockAppItem.name, in onLongClick() 69 isItemPinned = (dockAppItem.type == DockAppItem.Type.STATIC), in onLongClick() 82 fun setDockAppItem(dockAppItem: DockAppItem) { in setDockAppItem() 83 this.dockAppItem = dockAppItem in setDockAppItem()
|
D | DockItemClickListener.kt | 31 private val dockAppItem: DockAppItem, constant in com.android.car.docklib.view.DockItemClickListener 36 v?.context?.let { showToast(it, dockAppItem.name) } in onClick() 39 dockController.launchApp(dockAppItem.component, dockAppItem.isMediaApp) in onClick()
|
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/view/ |
D | DockItemLongClickListenerTest.kt | 88 dockAppItem: DockAppItem = TestUtils.createAppItem() in createDockItemLongClickListener() 91 dockAppItem, in createDockItemLongClickListener()
|