HomeSort by relevance Sort by last modified time
    Searched refs:Comparator (Results 176 - 200 of 795) sorted by null

1 2 3 4 5 6 78 91011>>

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 39 import java.util.Comparator;
306 * {@link Comparator} to sort by {@link DataKind#weight}.
308 private static Comparator<DataKind> sWeightComparator = new Comparator<DataKind>() {
512 public static class DisplayLabelComparator implements Comparator<AccountType> {
514 /** {@link Comparator} for the current locale. */
  /packages/apps/Settings/src/com/android/settings/
UsageStats.java 34 import java.util.Comparator;
63 public static class AppNameComparator implements Comparator<PkgUsageStats> {
75 public static class LaunchCountComparator implements Comparator<PkgUsageStats> {
82 public static class UsageTimeComparator implements Comparator<PkgUsageStats> {
AppWidgetLoader.java 30 import java.util.Comparator;
160 Collections.sort(items, new Comparator<Item>() {
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
AlbumDataAdapter.java 29 import java.util.Comparator;
106 public static class AccountComparator implements Comparator<PhotoSource.AlbumData> {
145 public static class RecencyComparator implements Comparator<PhotoSource.AlbumData> {
161 public static class TitleComparator implements Comparator<PhotoSource.AlbumData> {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
Arrays2Test.java 22 import java.util.Comparator;
391 //test with null comparator, which switches back to Comparable
394 assertEquals(2, Arrays.binarySearch(strings, "a", (Comparator<String>)null));
395 assertEquals(-1, Arrays.binarySearch(strings, "A", (Comparator<String>)null));
396 assertEquals(-4, Arrays.binarySearch(strings, "b", (Comparator<String>)null));
397 assertEquals(0, Arrays.binarySearch(strings, "B", (Comparator<String>)null));
398 assertEquals(3, Arrays.binarySearch(strings, "c", (Comparator<String>)null));
399 assertEquals(-2, Arrays.binarySearch(strings, "C", (Comparator<String>)null));
400 assertEquals(-5, Arrays.binarySearch(strings, "d", (Comparator<String>)null));
401 assertEquals(1, Arrays.binarySearch(strings, "D", (Comparator<String>)null));
    [all...]
  /libcore/luni/src/main/java/java/util/
TimSort.java 76 * The comparator for this sort.
78 private final Comparator<? super T> c;
132 * @param c the comparator to determine the order of the sort
134 private TimSort(T[] a, Comparator<? super T> c) {
168 static <T> void sort(T[] a, Comparator<? super T> c) {
172 static <T> void sort(T[] a, int lo, int hi, Comparator<? super T> c) {
239 * @param c comparator to used for the sort
243 Comparator<? super T> c) {
308 * @param c the comparator to used for the sort
313 Comparator<? super T> c)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableSetMultimap.java 31 import java.util.Comparator;
165 Comparator<? super K> keyComparator, Multimap<K, V> multimap) {
250 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) {
269 public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
303 Comparator<? super V> valueComparator) {
342 @Nullable Comparator<? super V> valueComparator) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSetMultimap.java 26 import java.util.Comparator;
160 Comparator<? super K> keyComparator, Multimap<K, V> multimap) {
245 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) {
264 public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
298 Comparator<? super V> valueComparator) {
337 @Nullable Comparator<? super V> valueComparator) {
  /external/guava/guava-tests/test/com/google/common/collect/
TreeMultisetTest.java 26 import java.util.Comparator;
54 assertEquals(Ordering.natural(), multiset.comparator());
140 assertEquals(Ordering.natural(), elementSet.comparator());
233 Comparator<String> comparator = new Comparator<String>() { local
239 TreeMultiset<String> ms = TreeMultiset.create(comparator);
252 assertEquals(comparator, elementSet.comparator());
256 Comparator<String> comparator = Ordering.<String>natural().nullsFirst() local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeMapTest.java 24 import java.util.Comparator;
35 public static class ReversedComparator implements Comparator {
47 Comparator<T>, Serializable {
63 class MockComparatorNullTolerable implements Comparator<String> {
91 // Test for method java.util.TreeMap(java.util.Comparator)
92 Comparator comp = new ReversedComparator();
94 assertTrue("TreeMap answered incorrect comparator", reversedTreeMap
95 .comparator() == comp);
98 assertTrue("TreeMap does not use comparator (firstKey was incorrect)",
100 assertTrue("TreeMap does not use comparator (lastKey was incorrect)"
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationItem.java 30 import java.util.Comparator;
68 * Comparator that sorts (outer) instances by type id index.
70 private static class TypeIdSorter implements Comparator<AnnotationItem> {
EncodedArrayItem.java 30 import java.util.Comparator;
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationItem.java 27 import java.util.Comparator;
65 * Comparator that sorts (outer) instances by type id index.
67 private static class TypeIdSorter implements Comparator<AnnotationItem> {
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ForeignSessionHelper.java 12 import java.util.Comparator;
167 Collections.sort(result, new Comparator<ForeignSession>() {
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
AnnotationItem.java 28 import java.util.Comparator;
66 * Comparator that sorts (outer) instances by type id index.
68 private static class TypeIdSorter implements Comparator<AnnotationItem> {
  /external/junit/src/org/junit/internal/runners/
JUnit4ClassRunner.java 7 import java.util.Comparator;
135 Collections.sort(fTestMethods, new Comparator<Method>() {
  /external/mockito/src/org/mockito/internal/configuration/injection/
PropertyAndSetterInjection.java 62 private Comparator<Field> superTypesLast = new FieldTypeAndNameComparator();
133 static class FieldTypeAndNameComparator implements Comparator<Field> {
  /external/replicaisland/src/com/replica/replicaisland/
GameObjectManager.java 19 import java.util.Comparator;
183 /** Comparator for game objects objects. */
184 private final static class HorizontalPositionComparator implements Comparator<BaseObject> {
SoundSystem.java 19 import java.util.Comparator;
180 /** Comparator for sounds. */
181 private final static class SoundComparator implements Comparator<Sound> {
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
AnnotationSetItem.java 35 import java.util.Comparator;
97 Arrays.sort(annotations, new Comparator<AnnotationItem>() {
  /frameworks/base/core/java/android/content/pm/
PackageItemInfo.java 28 import java.util.Comparator;
272 implements Comparator<PackageItemInfo> {
  /external/chromium_org/chrome/browser/chromeos/memory/
oom_priority_manager.h 69 FRIEND_TEST_ALL_PREFIXES(OomPriorityManagerTest, Comparator);
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/
jsdoc-validator.jar 
  /external/chromium_org/v8/src/
liveedit.h 147 // A general-purpose comparator between 2 arrays.
148 class Comparator {
  /external/v8/src/
liveedit.h 143 // A general-purpose comparator between 2 arrays.
144 class Comparator {

Completed in 331 milliseconds

1 2 3 4 5 6 78 91011>>