Searched refs:PanelItem (Results 1 – 9 of 9) sorted by relevance
175 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 …]
37 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()
74 isPanel = selectedItem is SelectedItem.PanelItem, in selectedComponentFlow()
149 SelectedItem.PanelItem(info.loadLabel(), info.componentName) in <lambda>()179 if (currentSelection is SelectedItem.PanelItem && in <lambda>()
92 data class PanelItem( in show() class in com.android.systemui.controls.ui.SelectedItem
244 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()
169 .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()
192 val selected = SelectedItem.PanelItem(appName, serviceInfo.componentName) in <lambda>()
279 .thenReturn(SelectedItem.PanelItem("appName", ComponentName("pkg", "cls"))) in testStateActiveIfPreferredIsPanel()