Home
last modified time | relevance | path

Searched refs:keyValuePairs (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java58 final ArrayList<String> keyValuePairs = new ArrayList<>();
65 keyValuePairs.add(key + '=' + value);
67 sBuildKeyValuesDebugString = "[" + TextUtils.join(" ", keyValuePairs) + "]";
125 static String findConstantForKeyValuePairs(final HashMap<String, String> keyValuePairs, in findConstantForKeyValuePairs() argument
127 if (conditionConstantArray == null || keyValuePairs == null) { in findConstantForKeyValuePairs()
143 if (fulfillsCondition(keyValuePairs, condition)) { in findConstantForKeyValuePairs()
157 private static boolean fulfillsCondition(final HashMap<String,String> keyValuePairs, in fulfillsCondition() argument
168 final String value = keyValuePairs.get(key); in fulfillsCondition()
/packages/services/Car/service/src/com/android/car/hal/
DBidirectionalSparseIntArray.java34 static BidirectionalSparseIntArray create(int[] keyValuePairs) { in create() argument
35 int inputLength = keyValuePairs.length; in create()
41 for (int i = 0; i < keyValuePairs.length; i += 2) { in create()
42 biMap.put(keyValuePairs[i], keyValuePairs[i + 1]); in create()
DSensorHalService.java230 private static SparseIntArray initSparseIntArray(int... keyValuePairs) { in initSparseIntArray() argument
231 int inputLength = keyValuePairs.length; in initSparseIntArray()
237 for (int i = 0; i < keyValuePairs.length; i += 2) { in initSparseIntArray()
238 map.put(keyValuePairs[i], keyValuePairs[i + 1]); in initSparseIntArray()