Searched refs:TAG_PRIMARY (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconListTest.java | 3 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/ |
D | StatusBarIconList.java | 19 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()
|
D | StatusBarIconController.java | 59 public static final int TAG_PRIMARY = 0; field
|