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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DResourceUtilsTests.java33 assertNull(ResourceUtils.findConstantForKeyValuePairs(anyKeyValue, nullArray));
34 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, nullArray));
35 assertNull(ResourceUtils.findConstantForKeyValuePairs(nullKeyValue, nullArray));
38 assertNull(ResourceUtils.findConstantForKeyValuePairs(anyKeyValue, emptyArray));
39 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, emptyArray));
40 assertNull(ResourceUtils.findConstantForKeyValuePairs(nullKeyValue, emptyArray));
53 assertEquals("0.3", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
55 assertEquals("0.4", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
57 assertEquals("0.2", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
61 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValue
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DResourceUtils.java79 final String overrideValue = findConstantForKeyValuePairs(sBuildKeyValues, overrideArray);
125 static String findConstantForKeyValuePairs(final HashMap<String, String> keyValuePairs, method in class:ResourceUtils

Completed in 172 milliseconds