Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
DSchemaEqualityUtil.java52 @Nullable List<K> list1, @Nullable List<K> list2) { in checkSchemaEquality()
53 if (list1 == null) { in checkSchemaEquality()
59 if (list1.size() != list2.size()) { in checkSchemaEquality()
63 for (K item1 : list1) { in checkSchemaEquality()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity4.java38 setupList(R.id.list1); in onCreate()
42 findViewById(R.id.list1).setAlpha(0.5f); in setListTranslucent()
46 findViewById(R.id.list1).setAlpha(1.0f); in setListOpaque()
DViewLayersActivity2.java38 setupList(R.id.list1); in onCreate()
42 findViewById(R.id.list1).setAlpha(0.7f); in onCreate()
DViewLayersActivity.java42 setupList(R.id.list1); in onCreate()
49 final View leftList = findViewById(R.id.list1); in onCreate()
DViewLayersActivity3.java38 setupList(R.id.list1); in onCreate()
DViewLayersActivity5.java48 setupList(R.id.list1); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java161 private boolean listsEqual(List<StatusBarIconHolder> list1, List<StatusBarIconHolder> list2) { in listsEqual() argument
162 if (list1.size() != list2.size()) return false; in listsEqual()
164 for (int i = 0; i < list1.size(); i++) { in listsEqual()
165 if (!list1.get(i).equals(list2.get(i))) { in listsEqual()
/frameworks/base/tests/net/java/android/net/ip/
DIpClientTest.java475 List<String> list1 = Arrays.asList(); in testAll() local
480 assertTrue(IpClient.all(list1, (x) -> false)); in testAll()
489 List<String> list1 = Arrays.asList(); in testAny() local
494 assertFalse(IpClient.any(list1, (x) -> true)); in testAny()
503 List<String> list1 = Arrays.asList(); in testFindAll() local
507 assertEquals(list1, IpClient.findAll(list1, (x) -> true)); in testFindAll()
508 assertEquals(list1, IpClient.findAll(list3, (x) -> false)); in testFindAll()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java128 public static boolean hasCommonString(List<String> list1, List<String> list2) { in hasCommonString() argument
130 for (String string : list1) { in hasCommonString()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java592 private static boolean isTrustRootCertListEquals(Map<String, byte[]> list1, in isTrustRootCertListEquals() argument
594 if (list1 == null || list2 == null) { in isTrustRootCertListEquals()
595 return list1 == list2; in isTrustRootCertListEquals()
597 if (list1.size() != list2.size()) { in isTrustRootCertListEquals()
600 for (Map.Entry<String, byte[]> entry : list1.entrySet()) { in isTrustRootCertListEquals()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteDialogHelper.java67 public static <E> boolean listUnorderedEquals(List<E> list1, List<E> list2) {
68 HashSet<E> set1 = new HashSet<>(list1);
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteDialogHelper.java65 public static <E> boolean listUnorderedEquals(List<E> list1, List<E> list2) {
66 HashSet<E> set1 = new HashSet<>(list1);
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java713 List<GestureStep> combineGestureSteps(List<GestureStep> list1, List<GestureStep> list2) { in combineGestureSteps() argument
714 assertEquals(list1.size(), list2.size()); in combineGestureSteps()
715 List<GestureStep> gesture = new ArrayList<>(list1.size()); in combineGestureSteps()
716 for (int i = 0; i < list1.size(); i++) { in combineGestureSteps()
717 int numPoints1 = list1.get(i).numTouchPoints; in combineGestureSteps()
722 touchPoints[j].copyFrom(list1.get(i).touchPoints[j]); in combineGestureSteps()
728 gesture.add(new GestureStep(list1.get(i).timeSinceGestureStart, in combineGestureSteps()
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
DBottomSheetWithFragment.java46 setUpRecyclerView((RecyclerView) findViewById(R.id.list1)); in onCreate()