Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java153 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) <= 0); in testSort_names_ascending()
177 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) >= 0); in testSort_names_descending()
432 Shared.compareToIgnoreCaseNullable(lhs, rhs) <= 0); in testSort_type_ascending()
464 Shared.compareToIgnoreCaseNullable(lhs, rhs) >= 0); in testSort_type_descending()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java25 import static com.android.documentsui.base.Shared.compareToIgnoreCaseNullable;
435 score = compareToIgnoreCaseNullable(title, other.title); in compareTo()
440 return compareToIgnoreCaseNullable(summary, other.summary); in compareTo()
DShared.java186 public static int compareToIgnoreCaseNullable(String lhs, String rhs) { in compareToIgnoreCaseNullable() method in Shared
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java215 compare = Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
218 compare = -Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java19 import static com.android.documentsui.base.Shared.compareToIgnoreCaseNullable;
586 int score = compareToIgnoreCaseNullable(lhs.title, rhs.title); in compare()
594 return rhs instanceof RootItem ? compareToIgnoreCaseNullable( in compare()