Home
last modified time | relevance | path

Searched refs:shouldReverseListItems (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsGridLayoutTest.java75 assertEquals(false, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
78 assertEquals(true, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
81 assertEquals(true, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
86 assertEquals(true, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
89 assertEquals(false, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
92 assertEquals(false, mGridLayout.shouldReverseListItems()); in testShouldReverseListItems()
DGlobalActionsColumnLayoutTest.java61 assertEquals(false, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
64 assertEquals(false, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
67 assertEquals(true, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
72 assertEquals(true, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
75 assertEquals(false, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
78 assertEquals(false, mColumnLayout.shouldReverseListItems()); in testShouldReverseListItems()
DGlobalActionsLayoutTest.java108 protected boolean shouldReverseListItems() { in shouldReverseListItems() method in GlobalActionsLayoutTest.TestLayout
221 doReturn(true).when(mLayout).shouldReverseListItems(); in testOnUpdateList_twoSeparatedItems_reverse()
276 doReturn(true).when(mLayout).shouldReverseListItems(); in testOnUpdateList_fourInList_reverse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsLayout.java99 protected abstract boolean shouldReverseListItems(); in shouldReverseListItems() method in GlobalActionsLayout
120 addToListView(v, shouldReverseListItems()); in onUpdateList()
DGlobalActionsGridLayout.java43 listView.setReverseItems(shouldReverseListItems()); in setupListView()
134 protected boolean shouldReverseListItems() { in shouldReverseListItems() method in GlobalActionsGridLayout
DGlobalActionsColumnLayout.java54 protected boolean shouldReverseListItems() { in shouldReverseListItems() method in GlobalActionsColumnLayout
72 if (shouldReverseListItems()) { in updateChildOrdering()