Home
last modified time | relevance | path

Searched refs:TAG_PRIMARY (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconListTest.java19 import static com.android.systemui.statusbar.phone.ui.StatusBarIconController.TAG_PRIMARY;
82 assertNull(slots.get(0).getHolderForTag(TAG_PRIMARY)); in testAddSlotSlidesIcons()
83 assertEquals(sbHolder, slots.get(1).getHolderForTag(TAG_PRIMARY)); in testAddSlotSlidesIcons()
95 assertEquals(sbHolderA, statusBarIconList.getIconHolder("aaa", TAG_PRIMARY)); in testGetAndSetIcon()
96 assertEquals(sbHolderB, statusBarIconList.getIconHolder("bbb", TAG_PRIMARY)); in testGetAndSetIcon()
97 assertNull(statusBarIconList.getIconHolder("ccc", TAG_PRIMARY)); // icon not set in testGetAndSetIcon()
109 statusBarIconList.removeIcon("aaa", TAG_PRIMARY); in testRemoveIcon()
111 assertNull(statusBarIconList.getIconHolder("aaa", TAG_PRIMARY)); // icon not set in testRemoveIcon()
122 assertEquals(0, statusBarIconList.getViewIndex("ccc", TAG_PRIMARY)); in testGetViewIndex_NoMultiples()
128 assertEquals(0, statusBarIconList.getViewIndex("aaa", TAG_PRIMARY)); in testGetViewIndex_NoMultiples()
[all …]
DStatusBarIconControllerImplTest.kt25 import com.android.systemui.statusbar.phone.ui.StatusBarIconController.TAG_PRIMARY in <lambda>()
254 val internalHolder = internalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
261 val externalHolder = externalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
303 val externalHolder = externalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
310 val internalHolder = internalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
352 val externalHolder = externalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
359 val internalHolder = internalSlot.getHolderForTag(TAG_PRIMARY)!! in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconList.java19 import static com.android.systemui.statusbar.phone.ui.StatusBarIconController.TAG_PRIMARY;
163 if (tag == TAG_PRIMARY) { in getHolderForTag()
180 if (tag == TAG_PRIMARY) { in addHolder()
188 if (tag == TAG_PRIMARY) { in removeForTag()
258 if (tag == TAG_PRIMARY) { in viewIndexOffsetForTag()
DStatusBarIconController.java37 int TAG_PRIMARY = 0; field