Home
last modified time | relevance | path

Searched refs:set1 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java207 private static void dump(ArraySet set1, ArraySet set2) { in dump() argument
208 Log.e(TAG, "ArraySet of " + set1.size() + " entries:"); in dump()
209 for (int i = 0; i < set1.size(); i++) { in dump()
210 Log.e(TAG, " " + set1.valueAt(i)); in dump()
321 ArraySet<Integer> set1 = new ArraySet<>();
324 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
325 fail("ArraySet equals failure for empty sets " + set1 + ", " +
330 set1.add(i);
334 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
335 fail("ArraySet equals failure for populated sets " + set1 + ", " +
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java673 final AnimatorSet set1 = new AnimatorSet(); in testClone() local
675 set1.addListener(setListener); in testClone()
692 set1.playTogether(animator1, animator2); in testClone()
695 set1.setTarget(target); in testClone()
696 mActivityRule.runOnUiThread(set1::start); in testClone()
697 assertTrue(set1.isStarted()); in testClone()
700 AnimatorSet set2 = set1.clone(); in testClone()
703 assertUnique(set1); in testClone()
722 for (Animator.AnimatorListener listener : set1.getListeners()) { in testClone()