Home
last modified time | relevance | path

Searched refs:newSet (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java437 ArraySet newSet = new ArraySet<Integer>(); in run()
439 newSet.add(i); in run()
441 ArraySet setCopy = new ArraySet(newSet); in run()
442 if (!compare(setCopy, newSet)) { in run()
444 newSet + ", got " + setCopy); in run()
445 dump(newSet, setCopy); in run()
/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java56 IntKeyframeSet newSet = new IntKeyframeSet(newKeyframes); in clone() local
57 return newSet; in clone()
DFloatKeyframeSet.java56 FloatKeyframeSet newSet = new FloatKeyframeSet(newKeyframes); in clone() local
57 return newSet; in clone()
DKeyframeSet.java188 KeyframeSet newSet = new KeyframeSet(newKeyframes); in clone() local
189 return newSet; in clone()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java125 final ArraySet<String> newSet = new ArraySet<>(); in pinShortcuts() local
135 newSet.add(id); in pinShortcuts()
138 mPinnedShortcuts.put(pu, newSet); in pinShortcuts()
/frameworks/base/core/java/android/content/
DIntentFilter.java314 String[] newSet = new String[(N*3)/2 + 2]; in addStringToSet() local
315 System.arraycopy(set, 0, newSet, 0, N); in addStringToSet()
316 set = newSet; in addStringToSet()
337 String[] newSet = new String[set.length/3]; in removeStringFromSet() local
338 if (pos > 0) System.arraycopy(set, 0, newSet, 0, pos); in removeStringFromSet()
339 if ((pos+1) < N) System.arraycopy(set, pos+1, newSet, pos, N-(pos+1)); in removeStringFromSet()
340 return newSet; in removeStringFromSet()