Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java3 import static com.android.systemui.statusbar.phone.StatusBarIconController.TAG_PRIMARY;
56 assertNull(statusBarIconList.getIcon(0, TAG_PRIMARY)); in testAddSlotSlidesIcons()
57 assertEquals(sbHolder, statusBarIconList.getIcon(1, TAG_PRIMARY)); in testAddSlotSlidesIcons()
67 assertEquals(sbHolderA, statusBarIconList.getIcon(0, TAG_PRIMARY)); in testGetAndSetIcon()
68 assertEquals(sbHolderB, statusBarIconList.getIcon(1, TAG_PRIMARY)); in testGetAndSetIcon()
69 assertNull(statusBarIconList.getIcon(2, TAG_PRIMARY)); // icon not set in testGetAndSetIcon()
79 statusBarIconList.removeIcon(0, TAG_PRIMARY); in testRemoveIcon()
80 assertNull(statusBarIconList.getIcon(0, TAG_PRIMARY)); // icon not set in testRemoveIcon()
89 assertEquals(0, statusBarIconList.getViewIndex(2, TAG_PRIMARY)); in testGetViewIndex_NoMultiples()
92 assertEquals(0, statusBarIconList.getViewIndex(0, TAG_PRIMARY)); in testGetViewIndex_NoMultiples()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java19 import static com.android.systemui.statusbar.phone.StatusBarIconController.TAG_PRIMARY;
130 if (tag == TAG_PRIMARY) { in getHolderForTag()
147 if (tag == TAG_PRIMARY) { in addHolder()
155 if (tag == TAG_PRIMARY) { in removeForTag()
225 if (tag == TAG_PRIMARY) { in viewIndexOffsetForTag()
DStatusBarIconController.java59 public static final int TAG_PRIMARY = 0; field