Home
last modified time | relevance | path

Searched refs:shouldBeSeparated (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsLayoutTest.java73 public boolean shouldBeSeparated(int position) { in shouldBeSeparated() method in GlobalActionsLayoutTest.TestAdapter
179 doReturn(true).when(mAdapter).shouldBeSeparated(0); in testOnUpdateList_oneSeparatedOneList()
182 doReturn(false).when(mAdapter).shouldBeSeparated(1); in testOnUpdateList_oneSeparatedOneList()
201 doReturn(true).when(mAdapter).shouldBeSeparated(0); in testOnUpdateList_twoSeparatedItems()
203 doReturn(true).when(mAdapter).shouldBeSeparated(1); in testOnUpdateList_twoSeparatedItems()
226 doReturn(true).when(mAdapter).shouldBeSeparated(0); in testOnUpdateList_twoSeparatedItems_reverse()
229 doReturn(true).when(mAdapter).shouldBeSeparated(1); in testOnUpdateList_twoSeparatedItems_reverse()
251 doReturn(false).when(mAdapter).shouldBeSeparated(0); in testOnUpdateList_fourInList()
254 doReturn(false).when(mAdapter).shouldBeSeparated(1); in testOnUpdateList_fourInList()
257 doReturn(false).when(mAdapter).shouldBeSeparated(2); in testOnUpdateList_fourInList()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DMultiListLayout.java204 public abstract boolean shouldBeSeparated(int position); in shouldBeSeparated() method in MultiListLayout.MultiListAdapter
DHardwareUiLayout.java251 boolean separated = mAdapter.shouldBeSeparated(i); in onUpdateList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsLayout.java111 boolean separated = mAdapter.shouldBeSeparated(i); in onUpdateList()
DGlobalActionsDialog.java505 public boolean shouldBeSeparated() { in shouldBeSeparated() method in GlobalActionsDialog.EmergencyAction
514 if (shouldBeSeparated()) { in create()
943 if (shouldBeShown(action) && action.shouldBeSeparated() == separated) {
1040 public boolean shouldBeSeparated(int position) {
1041 return getItem(position).shouldBeSeparated();
1080 default boolean shouldBeSeparated() {