Searched refs:compareToIgnoreCaseNullable (Results 1 – 5 of 5) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 153 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/ |
D | RootInfo.java | 25 import static com.android.documentsui.base.Shared.compareToIgnoreCaseNullable; 435 score = compareToIgnoreCaseNullable(title, other.title); in compareTo() 440 return compareToIgnoreCaseNullable(summary, other.summary); in compareTo()
|
D | Shared.java | 186 public static int compareToIgnoreCaseNullable(String lhs, String rhs) { in compareToIgnoreCaseNullable() method in Shared
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 215 compare = Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort() 218 compare = -Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 19 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()
|