HomeSort by relevance Sort by last modified time
    Searched defs:set (Results 651 - 675 of 2720) sorted by null

<<21222324252627282930>>

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Sets.java 45 import java.util.Set;
52 * Static utility methods pertaining to {@link Set} instances. Also see this
65 * Returns an immutable set instance containing the given enum elements.
66 * Internally, the returned set will be backed by an {@link EnumSet}.
68 * <p>The iteration order of the returned set follows the enum's iteration
71 * @param anElement one of the elements the set should contain
72 * @param otherElements the rest of the elements the set should contain
73 * @return an immutable set containing those elements, minus duplicates
83 * Returns an immutable set instance containing the given enum elements.
84 * Internally, the returned set will be backed by an {@link EnumSet}
106 EnumSet<E> set = EnumSet.of(first); local
135 EnumSet<E> set = EnumSet.noneOf(elementType); local
172 HashSet<E> set = newHashSetWithExpectedSize(elements.length); local
227 HashSet<E> set = newHashSet(); local
283 LinkedHashSet<E> set = newLinkedHashSet(); local
322 TreeSet<E> set = newTreeSet(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractSetMultimapTest.java 27 import java.util.Set;
82 Set<Map.Entry<String, Collection<Integer>>> set local
85 Iterator<Map.Entry<String, Collection<Integer>>> i = set.iterator();
93 assertTrue(Collections.singleton(expected).equals(set));
94 assertTrue(set.equals(Collections.singleton(expected)));
98 assertSame(array, set.toArray(array));
161 Set<Map.Entry<String, Integer>> same = Sets.newHashSet(
172 Set<Map.Entry<String, Integer>> different3 = Sets.newHashSet(
179 Set<Map.Entry<String, Integer>> different4 = Sets.newHashSet
    [all...]
ImmutableSortedSetTest.java 34 import java.util.Set;
114 SortedSet<String> set = of(); local
115 assertSame(Ordering.natural(), set.comparator());
119 SortedSet<String> set = of(); local
120 assertSame(set, set.headSet("c"));
124 SortedSet<String> set = of(); local
125 assertSame(set, set.tailSet("f"));
129 SortedSet<String> set = of() local
134 SortedSet<String> set = of(); local
143 SortedSet<String> set = of(); local
153 SortedSet<String> set = of(); local
159 SortedSet<String> set = of("e"); local
164 SortedSet<String> set = of("e"); local
172 SortedSet<String> set = of("e"); local
180 SortedSet<String> set = of("e"); local
190 SortedSet<String> set = of("e"); local
195 SortedSet<String> set = of("e"); local
201 SortedSet<String> set = of("e"); local
207 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local
239 ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b); local
256 SortedSet<String> set = of("e", "a", "e", "f", "b", "b", "d", "a", "c"); local
261 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local
266 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
275 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
283 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
299 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
304 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
309 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
315 SortedSet<String> set = of("e", "f", "b", "d", "c"); local
324 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
330 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
337 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
347 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
353 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
359 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
371 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
382 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
400 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
406 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
413 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).build(); local
422 SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
430 SortedSet<String> set = local
436 SortedSet<String> set = local
442 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local
449 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local
456 SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); local
463 SortedSet<String> set = copyOf(asList("e", "a", "f", "b", "d", "c")); local
468 SortedSet<String> set = copyOf(asIterator("e", "a", "f", "b", "d", "c")); local
473 SortedSet<String> set = local
479 SortedSet<String> set = copyOf(asIterator("e", "a", "f", "b", "d", "c")); local
484 SortedSet<String> set = local
490 SortedSet<String> set = copyOf(Sets.<String>newTreeSet()); local
495 SortedSet<String> set = local
502 SortedSet<String> set = local
510 SortedSet<String> set = local
517 SortedSet<String> set = local
524 SortedSet<String> set = local
532 SortedSet<String> set = local
541 SortedSet<String> set = copyOf(input); local
548 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local
555 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local
562 SortedSet<String> set = ImmutableSortedSet.copyOfSorted(input); local
568 SortedSet<String> set = of("a", "b", "c"); local
578 SortedSet<String> set = of("in", "the", "a"); local
591 SortedSet<String> set = of("a", "b", "c"); local
597 SortedSet<String> set = of("in", "the", "a"); local
603 SortedSet<String> set = of("a", "b", "f"); local
616 SortedSet<String> set = of("a", "b", "f"); local
628 SortedSet<String> set = of("a", "b", "f"); local
636 SortedSet<String> set = new ImmutableSortedSet.Builder<String>(comparator) local
651 SortedSet<String> set = new ImmutableSortedSet.Builder<String>(comparator) local
659 SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder() local
674 SortedSet<Integer> set = new ImmutableSortedSet.Builder<Integer>(TO_STRING) local
680 SortedSet<Number> set = new ImmutableSortedSet.Builder<Number>(TO_STRING) local
706 ImmutableSortedSet<LegacyComparable> set local
712 ImmutableSortedSet<LegacyComparable> set = ImmutableSortedSet.copyOf( local
727 ImmutableSortedSet<LegacyComparable> set = builder.build(); local
741 ImmutableSortedSet<LegacyComparable> set = builder.build(); local
755 ImmutableSet<String> set = ImmutableSortedSet.of("a", "e", "i", "o", "u"); local
763 ImmutableSet<String> set = ImmutableSortedSet.of("a", "e", "i", "o", "u"); local
771 ImmutableSet<String> set local
780 ImmutableSet<String> set local
789 ImmutableSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH).add( local
820 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
830 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
839 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
849 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
859 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
871 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
883 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
895 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); local
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
InsnList.java 46 * {@link #set set}, {@link #insert(AbstractInsnNode, AbstractInsnNode)},
221 public void set(final AbstractInsnNode location, final AbstractInsnNode insn) { method in class:InsnList
634 public void set(Object o) { method in class:InsnList.InsnListIterator
635 InsnList.this.set(next.prev, (AbstractInsnNode) o);
  /external/nist-sip/java/gov/nist/core/
DuplicateNameValueList.java 30 import java.util.Set;
100 * Set a namevalue object in this list.
103 public void set(NameValue nv) { method in class:DuplicateNameValueList
108 * Set a namevalue object in this list.
110 public void set(String name, Object value) { method in class:DuplicateNameValueList
193 retval.set((NameValue) ((NameValue) it.next()).clone());
NameValueList.java 39 import java.util.Set;
120 * Set a namevalue object in this list.
123 public void set(NameValue nv) { method in class:NameValueList
128 * Set a namevalue object in this list.
130 public void set(String name, Object value) { method in class:NameValueList
220 retval.set((NameValue) ((NameValue) it.next()).clone());
302 public Set<java.util.Map.Entry<String, NameValue>> entrySet() {
318 public Set<String> keySet() {
  /external/replicaisland/src/com/replica/replicaisland/
OrbitalMagnetComponent.java 68 mCenter.set(centerX, centerY);
71 mDelta.set(targetX, targetY);
77 mRim.set(mDelta);
87 mVelocity.set(gravityVector);
104 mVelocity.set(mDelta);
RenderSystem.java 56 element.set(object, position, priority, cameraRelative);
104 public void set(DrawableObject drawable, Vector2 position, int priority, boolean isCameraRelative) { method in class:RenderSystem.RenderElement
  /frameworks/base/core/java/android/app/
AlarmManager.java 207 public void set(int type, long triggerAtMillis, PendingIntent operation) { method in class:AlarmManager
217 * <p>Like {@link #set}, except you can also supply a period at which
228 * set a recurring alarm for the top of every hour but the phone was asleep
255 * @see #set
274 * is similar to {@link #set(int, long, PendingIntent)}, but allows the
287 * {@link #set(int, long, PendingIntent)} method. This will give the OS the most
305 * @see #set
326 * This method is like {@link #set(int, long, PendingIntent)}, but does not permit
344 * @see #set
374 * @see #set
390 public void set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, method in class:AlarmManager
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyResultMapper.java 84 * Unconditionally set fields that change in every single frame
88 result.set(SENSOR_TIMESTAMP, timestamp);
128 result.set(COLOR_CORRECTION_ABERRATION_MODE, COLOR_CORRECTION_ABERRATION_MODE_FAST);
160 result.set(CONTROL_CAPTURE_INTENT, captureIntent);
170 result.set(CONTROL_MODE, CONTROL_MODE_USE_SCENE_MODE);
172 result.set(CONTROL_MODE, CONTROL_MODE_AUTO);
183 result.set(CaptureResult.CONTROL_SCENE_MODE, mode);
189 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_DISABLED);
200 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode);
204 result.set(CaptureResult.CONTROL_EFFECT_MODE, CONTROL_EFFECT_MODE_OFF)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternUtilsCache.java 191 return mCache.get(mCacheKey.set(key, userId));
198 mCache.put(new CacheKey().set(key, userId), value);
205 mCache.remove(mCacheKey.set(key, userId));
220 public CacheKey set(String key, int userId) { method in class:LockPatternUtilsCache.CacheKey
227 return new CacheKey().set(key, userId);
  /frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java 157 mTempRect.set(rectLeft, rectTop, rectRight, rectTop + rowHeight);
170 mTempRect.set(rectLeft + 2, rectTop + 2,
199 rect.set(mPaddingLeft,
255 // set the row that is closest to the rect
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileDataController.java 98 rt.set(t.monthDay, t.month + months, t.year);
125 policyTime.set(policy.cycleDay, policyTime.month, policyTime.year);
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
AutoFocusStateMachine.java 205 * <p>Create a new repeating request from repeatingBuilder and set that as the updated
230 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode);
231 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode);
233 repeatingBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER,
235 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER,
245 * <p>Create a new repeating request from repeatingBuilder and set that as the updated
271 repeatingBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode);
272 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode);
274 repeatingBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER,
276 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER
    [all...]
  /frameworks/native/opengl/tests/testViewport/src/com/android/test/
TestView.java 170 public void set(int i, int j, float x, float y, float z) { method in class:TestView.Grid
255 mGrid.set(i,j, x, y, z);
  /frameworks/support/v13/java/android/support/v13/app/
FragmentStatePagerAdapter.java 46 * valid ID set.</p>
122 mFragments.set(position, fragment);
140 mSavedState.set(position, mFragmentManager.saveFragmentInstanceState(fragment));
141 mFragments.set(position, null);
221 mFragments.set(index, f);
  /frameworks/support/v4/java/android/support/v4/app/
FragmentStatePagerAdapter.java 42 * valid ID set.</p>
118 mFragments.set(position, fragment);
136 mSavedState.set(position, mFragmentManager.saveFragmentInstanceState(fragment));
137 mFragments.set(position, null);
217 mFragments.set(index, f);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
AbstractSequentialListTest.java 102 public void set(Object o) { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator
141 public void set(E o) { method in class:AbstractSequentialListTest.Mock_ListIterator
344 public void set(Object o) {
460 public void set(Object o) {
533 public void set(Object o) {
543 asl.set(asl.size() + 1, "new element");
550 asl.set(-1, "new element");
558 asl.set(i, "new element");
563 asl.set(1, new Double(1));
570 asl.set(1, "Illegal element")
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
AtomicReferenceArrayTest.java 59 aa.set(i, x);
65 * get and set for out of bound indices throw IndexOutOfBoundsException
75 aa.set(index, null);
94 * get returns the last value set at index
99 aa.set(i, one);
101 aa.set(i, two);
103 aa.set(i, m3);
129 aa.set(i, one);
146 a.set(0, one);
167 aa.set(i, one)
    [all...]
  /libcore/luni/src/main/java/java/util/
AbstractList.java 140 public void set(E object) { method in class:AbstractList.FullListIterator
143 AbstractList.this.set(lastPosition, object);
231 public void set(E object) { method in class:AbstractList.SubAbstractList.SubAbstractListIterator
232 iterator.set(object);
345 public E set(int location, E object) { method in class:AbstractList.SubAbstractList
348 return fullList.set(location + offset, object);
680 public E set(int location, E object) { method in class:AbstractList
703 * The subList's set(int, Object), get(int), add(int, Object), remove(int),
  /libcore/luni/src/test/java/libcore/java/util/
CalendarTest.java 55 calendar.set(2011, 9, 15, 1, 0); // 01:00 GMT-3
71 calendar.set(2011, 9, 15, 0, 0); // 00:00 GMT-3
80 calendar.set(2011, 1, 19, 0, 0); // 00:00 GMT-2
89 calendar.set(2011, 1, 19, 1, 0); // 00:00 GMT-2
98 calendar.set(2011, 9, 15, 1, 0); // 01:00 GMT-3
107 calendar.set(2011, 9, 15, 1, 0); // 01:00 GMT-3
116 calendar.set(2011, 9, 1, 2, 10); // 02:10 GMT+10:30
127 calendar.set(2011, 9, 1, 2, 10); // 02:10 GMT+10:30
152 calendar.set(year, month, day, hour, minute);
215 cal.set(Calendar.YEAR, 1970)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
CaptureLayoutHelper.java 32 * things are set, the layout of bottom bar and preview rect will be calculated
252 config.mPreviewRect.set(0, 0, width, height);
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height);
257 config.mBottomBarRect.set(0, height - mBottomBarOptimalHeight, width, height);
282 config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge,
284 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2,
287 config.mPreviewRect.set(width / 2 - previewShorterEdge / 2, 0,
289 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize,
303 config.mPreviewRect.set(left, 0, right, previewShorterEdge);
304 config.mBottomBarRect.set(width - barSize, 0, width, height)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalMergeAlbum.java 57 for (MediaSet set : mSources) {
58 set.addContentListener(this);
66 for(MediaSet set : mSources) {
67 if (!set.isCameraRoll()) return false;
169 for (MediaSet set : mSources) {
170 count += set.getTotalMediaItemCount();
201 for (MediaSet set : mSources) {
202 set.delete();
208 for (MediaSet set : mSources) {
209 set.rotate(degrees)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
RoundedLine.java 86 mArc1.set(p1x, p1y, p1x, p1y);
88 mArc2.set(p2x, p2y, p2x, p2y);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsDatabaseHelperTest.java 29 import java.util.Set;
71 final Set<Long> ids = Sets.newHashSet();
167 final HashSet<Long> set = new HashSet<>(); local
168 set.add(packageId1);
169 set.add(packageId2);
170 set.add(packageId3);
172 assertEquals(3, set.size());
180 set.clear();
181 set.add(mimetypeId1);
182 set.add(mimetypeId2)
    [all...]

Completed in 2340 milliseconds

<<21222324252627282930>>