Home
last modified time | relevance | path

Searched refs:findConstantForKeyValuePairs (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DResourceUtilsTests.java41 assertNull(ResourceUtils.findConstantForKeyValuePairs(anyKeyValue, nullArray)); in testFindConstantForKeyValuePairsSimple()
42 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, nullArray)); in testFindConstantForKeyValuePairsSimple()
43 assertNull(ResourceUtils.findConstantForKeyValuePairs(nullKeyValue, nullArray)); in testFindConstantForKeyValuePairsSimple()
46 assertNull(ResourceUtils.findConstantForKeyValuePairs(anyKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
47 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
48 assertNull(ResourceUtils.findConstantForKeyValuePairs(nullKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
61 assertEquals("0.3", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); in testFindConstantForKeyValuePairsSimple()
63 assertEquals("0.4", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); in testFindConstantForKeyValuePairsSimple()
65 assertEquals("0.2", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); in testFindConstantForKeyValuePairsSimple()
69 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); in testFindConstantForKeyValuePairsSimple()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java79 final String overrideValue = findConstantForKeyValuePairs(sBuildKeyValues, overrideArray); in getDeviceOverrideValue()
125 static String findConstantForKeyValuePairs(final HashMap<String, String> keyValuePairs, in findConstantForKeyValuePairs() method in ResourceUtils