Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLazyStringArrayListTest.java124 LazyStringArrayList list1 = new LazyStringArrayList(); in testCopyConstructorCopiesByReference() local
125 list1.add(STRING_A); in testCopyConstructorCopiesByReference()
126 list1.add(BYTE_STRING_B); in testCopyConstructorCopiesByReference()
127 list1.add(BYTE_STRING_C); in testCopyConstructorCopiesByReference()
129 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference()
137 List<String> list1 = new ArrayList<String>(); in testListCopyConstructor() local
138 list1.add(STRING_A); in testListCopyConstructor()
139 list1.add(STRING_B); in testListCopyConstructor()
140 list1.add(STRING_C); in testListCopyConstructor()
142 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java140 LazyStringArrayList list1 = new LazyStringArrayList(); in testCopyConstructorCopiesByReference() local
141 list1.add(STRING_A); in testCopyConstructorCopiesByReference()
142 list1.add(BYTE_STRING_B); in testCopyConstructorCopiesByReference()
143 list1.add(BYTE_STRING_C); in testCopyConstructorCopiesByReference()
145 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference()
153 List<String> list1 = new ArrayList<String>(); in testListCopyConstructor() local
154 list1.add(STRING_A); in testListCopyConstructor()
155 list1.add(STRING_B); in testListCopyConstructor()
156 list1.add(STRING_C); in testListCopyConstructor()
158 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor()
[all …]
/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.java164 private boolean listsEqual(List<StatusBarIconHolder> list1, List<StatusBarIconHolder> list2) { in listsEqual() argument
165 if (list1.size() != list2.size()) return false; in listsEqual()
167 for (int i = 0; i < list1.size(); i++) { in listsEqual()
168 if (!list1.get(i).equals(list2.get(i))) { in listsEqual()
/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.java683 private static boolean isTrustRootCertListEquals(Map<String, byte[]> list1, in isTrustRootCertListEquals() argument
685 if (list1 == null || list2 == null) { in isTrustRootCertListEquals()
686 return list1 == list2; in isTrustRootCertListEquals()
688 if (list1.size() != list2.size()) { in isTrustRootCertListEquals()
691 for (Map.Entry<String, byte[]> entry : list1.entrySet()) { in isTrustRootCertListEquals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DAbstractMessage.java250 List list1 = (List) value1; in compareFields() local
252 if (list1.size() != list2.size()) { in compareFields()
255 for (int i = 0; i < list1.size(); i++) { in compareFields()
256 if (!compareBytes(list1.get(i), list2.get(i))) { in compareFields()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java735 List<GestureStep> combineGestureSteps(List<GestureStep> list1, List<GestureStep> list2) { in combineGestureSteps() argument
736 assertEquals(list1.size(), list2.size()); in combineGestureSteps()
737 List<GestureStep> gesture = new ArrayList<>(list1.size()); in combineGestureSteps()
738 for (int i = 0; i < list1.size(); i++) { in combineGestureSteps()
739 int numPoints1 = list1.get(i).numTouchPoints; in combineGestureSteps()
744 touchPoints[j].copyFrom(list1.get(i).touchPoints[j]); in combineGestureSteps()
750 gesture.add(new GestureStep(list1.get(i).timeSinceGestureStart, in combineGestureSteps()