Home
last modified time | relevance | path

Searched refs:map2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java323 private static void dump(ArrayMap map1, ArrayMap map2) { in dump() argument
326 for (int i=0; i<map2.size(); i++) { in dump()
329 Log.e("test", "ArrayMap of " + map2.size() + " entries:"); in dump()
330 for (int i=0; i<map2.size(); i++) { in dump()
331 Log.e("test", " " + map2.keyAt(i) + " -> " + map2.valueAt(i)); in dump()
458 ArrayMap<Integer, String> map2 = new ArrayMap<Integer, String>();
460 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) {
462 map2 + ", " + map3);
469 map2.put(i, value);
472 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) {
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentTest.java357 private void assertMap(String prefix, LongSparseArray<?> map1, LongSparseArray<?> map2) { in assertMap() argument
363 logInto(map2, logBuilder); in assertMap()
365 assertEquals(log + " same size", map1.size(), map2.size()); in assertMap()
367 assertAtIndex(log, map1, map2, i); in assertMap()
371 private void assertAtIndex(String prefix, LongSparseArray<?> map1, LongSparseArray<?> map2, in assertAtIndex() argument
374 long key2 = map2.keyAt(index); in assertAtIndex()
377 Object value2 = map2.valueAt(index); in assertAtIndex()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java120 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
121 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java119 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
120 return collator.compare(map1.get("title"), map2.get("title"));
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DMainActivity.java142 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
143 return collator.compare(map1.get("title"), map2.get("title"));