Home
last modified time | relevance | path

Searched refs:PanelItem (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsUiControllerImplTest.kt175 val panel = SelectedItem.PanelItem("App name", ComponentName("pkg", "cls")) in testGetPreferredPanel()
192 val panel = SelectedItem.PanelItem("App name", ComponentName("pkg", "cls")) in testPanelDoesNotRefreshControls()
201 val panel = SelectedItem.PanelItem("App name", ComponentName("pkg", "cls")) in testPanelBindsForPanel()
213 val panel = SelectedItem.PanelItem("App name", ComponentName(packageName, "cls")) in testPanelCallsTaskViewFactoryCreate()
233 val panel = SelectedItem.PanelItem("App name", ComponentName(packageName, "cls")) in testSingleAppHeaderIsNotClickable()
254 val panel1 = SelectedItem.PanelItem("App name 1", ComponentName(packageName1, "cls")) in testMultipleAppHeaderIsClickable()
258 val panel2 = SelectedItem.PanelItem("App name 2", ComponentName(packageName2, "cls")) in testMultipleAppHeaderIsClickable()
286 val panel = SelectedItem.PanelItem("App name", ComponentName(packageName, "cls")) in testPanelControllerStartActivityWithCorrectArguments()
324 val panel = SelectedItem.PanelItem("App name", ComponentName(packageName, "cls")) in testPanelControllerStartActivityWithHomePanelDreamEnabled()
361 val panel = SelectedItem.PanelItem("App name", ComponentName(packageName, "cls")) in testPendingIntentExtrasAreModified()
[all …]
DSelectionItemTest.kt37 assertThat(selectionItem.matches(SelectedItem.PanelItem("name", ComponentName("", "")))) in testMatchBadComponentName_false()
54 assertThat(selectionItem.matches(SelectedItem.PanelItem("name", componentName))).isTrue() in testMatchSameComponentName_panelSelected_true()
70 assertThat(selectionItem.matches(SelectedItem.PanelItem("name", componentName))).isTrue() in testMatchSameComponentName_panelSelection_true()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
DSelectedComponentRepository.kt74 isPanel = selectedItem is SelectedItem.PanelItem, in selectedComponentFlow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/
DControlsStartable.kt149 SelectedItem.PanelItem(info.loadLabel(), info.componentName) in <lambda>()
179 if (currentSelection is SelectedItem.PanelItem && in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiController.kt92 data class PanelItem( in show() class in com.android.systemui.controls.ui.SelectedItem
DControlsUiControllerImpl.kt244 selectedItem !is SelectedItem.PanelItem && in <lambda>()
513 val isPanel = selectedItem is SelectedItem.PanelItem in <lambda>()
715 SelectedItem.PanelItem(preferredPanel.name, component) in <lambda>()
732 SelectedItem.PanelItem(item.appName, item.componentName) in <lambda>()
819 is SelectedItem.PanelItem -> taskViewController?.refreshBounds() ?: reload(parent) in <lambda>()
863 if (isPanel || selectedItem is SelectedItem.PanelItem) { in matches()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt169 .thenReturn(mock<SelectedItem.PanelItem>()) in testExistingSelection_noNewSelection()
292 .thenReturn(SelectedItem.PanelItem("panel", TEST_COMPONENT_PANEL)) in testPreferredSelectionPanel_listingNoPanel_notBind()
486 private fun ControlsServiceInfo.toPanelItem(): SelectedItem.PanelItem { in toPanelItem()
490 return SelectedItem.PanelItem(loadLabel(), componentName) in toPanelItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsProviderSelectorActivity.kt192 val selected = SelectedItem.PanelItem(appName, serviceInfo.componentName) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDeviceControlsTileTest.kt279 .thenReturn(SelectedItem.PanelItem("appName", ComponentName("pkg", "cls"))) in testStateActiveIfPreferredIsPanel()