Home
last modified time | relevance | path

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

/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java178 final AnimatorSet set1 = new AnimatorSet(); in testClone() local
180 set1.addListener(setListener); in testClone()
197 set1.playTogether(animator1, animator2); in testClone()
200 set1.setTarget(target); in testClone()
204 set1.start(); in testClone()
207 assertTrue(set1.isStarted()); in testClone()
210 AnimatorSet set2 = set1.clone(); in testClone()
213 assertUnique(set1); in testClone()
232 for (Animator.AnimatorListener listener : set1.getListeners()) { in testClone()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java193 private static void dump(ArraySet set1, ArraySet set2) { in dump() argument
194 Log.e(TAG, "ArraySet of " + set1.size() + " entries:"); in dump()
195 for (int i = 0; i < set1.size(); i++) { in dump()
196 Log.e(TAG, " " + set1.valueAt(i)); in dump()
292 ArraySet<Integer> set1 = new ArraySet<Integer>();
295 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
296 fail("ArraySet equals failure for empty sets " + set1 + ", " +
301 set1.add(i);
305 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
306 fail("ArraySet equals failure for populated sets " + set1 + ", " +
[all …]