Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipUtils.kt112 fun remoteActionsChanged(list1: List<RemoteAction?>?, list2: List<RemoteAction?>?): Boolean { in remoteActionsChanged()
113 if (list1 == null && list2 == null) { in remoteActionsChanged()
116 if (list1 == null || list2 == null) { in remoteActionsChanged()
119 if (list1.size != list2.size) { in remoteActionsChanged()
122 for (i in list1.indices) { in remoteActionsChanged()
123 if (!remoteActionsMatch(list1[i], list2[i])) { in remoteActionsChanged()
/frameworks/base/tests/graphics/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/phone/ui/
DStatusBarIconListTest.java199 private boolean listsEqual(List<StatusBarIconHolder> list1, List<StatusBarIconHolder> list2) { in listsEqual() argument
200 if (list1.size() != list2.size()) return false; in listsEqual()
202 for (int i = 0; i < list1.size(); i++) { in listsEqual()
203 if (!list1.get(i).equals(list2.get(i))) { in listsEqual()
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
DAccessibilityValidatorTests.java348 private void checkEquals(List<Issue> list1, List<Issue> list2) { in checkEquals() argument
349 assertEquals(list1.size(), list2.size()); in checkEquals()
350 for (int i = 0; i < list1.size(); i++) { in checkEquals()
351 assertEquals(list1.get(i), list2.get(i)); in checkEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiUtilsTest.java145 List<CodecSad> list1 = new ArrayList(); in testEqualsDeviceConfig() local
146 list1.add(expectedCodec1); in testEqualsDeviceConfig()
147 list1.add(expectedCodec2); in testEqualsDeviceConfig()
148 list1.add(expectedCodec3); in testEqualsDeviceConfig()
150 List<CodecSad> list1Duplicate = new ArrayList(list1); in testEqualsDeviceConfig()
152 List<CodecSad> list2 = new ArrayList(list1); in testEqualsDeviceConfig()
157 new HdmiUtils.DeviceConfig(name, list1), in testEqualsDeviceConfig()
160 .addEqualityGroup(new HdmiUtils.DeviceConfig("my" + name, list1)) in testEqualsDeviceConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java758 List<GestureStep> combineGestureSteps(List<GestureStep> list1, List<GestureStep> list2) { in combineGestureSteps() argument
759 assertEquals(list1.size(), list2.size()); in combineGestureSteps()
760 List<GestureStep> gesture = new ArrayList<>(list1.size()); in combineGestureSteps()
761 for (int i = 0; i < list1.size(); i++) { in combineGestureSteps()
762 int numPoints1 = list1.get(i).numTouchPoints; in combineGestureSteps()
767 touchPoints[j].copyFrom(list1.get(i).touchPoints[j]); in combineGestureSteps()
773 gesture.add(new GestureStep(list1.get(i).timeSinceGestureStart, in combineGestureSteps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataUtils.java451 .sorted((list1, list2) -> Integer.compare(
452 list2.get(0).getPriority(), list1.get(0).getPriority()))
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1585 private static boolean devicesListEqual(@NonNull List<AudioDeviceAttributes> list1,
1587 if (list1.size() != list2.size()) {
1591 for (AudioDeviceAttributes d1 : list1) {