Searched refs:compareResult (Results 1 – 4 of 4) sorted by relevance
104 int compareResult = mNullName.compareTo(mNullName); in compareTo_TwoNullStrings_Equal() local105 assertEquals(COMPARE_RESULT_EQUAL, compareResult); in compareTo_TwoNullStrings_Equal()110 int compareResult = mEmptyName.compareTo(mEmptyName); in compareTo_TwoEmptyStrings_Equal() local111 assertEquals(COMPARE_RESULT_EQUAL, compareResult); in compareTo_TwoEmptyStrings_Equal()116 int compareResult = mLetterName1.compareTo(mLetterName2); in compareTo_TwoLetterStrings_Larger() local117 assertEquals(COMPARE_RESULT_LARGER, compareResult); in compareTo_TwoLetterStrings_Larger()122 int compareResult = mDigitName1.compareTo(mDigitName2); in compareTo_TwoDigitStrings_Smaller() local123 assertEquals(COMPARE_RESULT_SMALLER, compareResult); in compareTo_TwoDigitStrings_Smaller()128 int compareResult = mLetterName1.compareTo(mDigitName1); in compareTo_LetterAndDigitStrings_Smaller() local129 assertEquals(COMPARE_RESULT_SMALLER, compareResult); in compareTo_LetterAndDigitStrings_Smaller()[all …]
295 int compareResult = sCollator.compare(object1.label, object2.label);296 if (compareResult != 0) {297 return compareResult;299 compareResult = sCollator.compare(object1.packageName, object2.packageName);300 if (compareResult != 0) {301 return compareResult;
226 int compareResult = mComparator.compare(item, r); in findInsertPositionBinary() local227 if (compareResult == 0) { in findInsertPositionBinary()229 } else if (compareResult > 0) { in findInsertPositionBinary()
320 int compareResult =324 if (compareResult == 0) {326 } else if (compareResult < 0) {