Searched defs:compare (Results 1 - 25 of 98) sorted by path

1234

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp560 int32_t NuPlayer::CCDecoder::CCTrack::compare(const NuPlayer::CCDecoder::CCTrack& rhs) const { function in class:android::NuPlayer::CCDecoder::CCTrack
567 return compare(rhs) < 0;
571 return compare(rhs) == 0;
575 return compare(rhs) != 0;
/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp38 static int compare(const T *lhs, const T *rhs) { function in namespace:android
201 deltas.sort(compare<nsecs_t>);
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp312 return compare(other) < 0;
316 return compare(other) > 0;
319 int AString::compare(const AString &other) const { function in class:android::AString
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp73 virtual int compare(const BufferInfo *i1, function in struct:android::camera2::__anon998::TimestampFinder
/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java839 * compare that this number is >= the SDK version number at which your
1111 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { method in class:ApplicationInfo.DisplayNameComparator
1121 return sCollator.compare(sa.toString(), sb.toString());
H A DPackageItemInfo.java420 public final int compare(PackageItemInfo aa, PackageItemInfo ab) { method in class:PackageItemInfo.DisplayNameComparator
425 return sCollator.compare(sa.toString(), sb.toString());
H A DPackageParser.java814 public int compare(String lhs, String rhs) { method in class:PackageParser.SplitNameComparator
3622 // We can do direct compare because we intern all strings.
4316 // We can do direct compare because we intern all strings.
4892 // We can do direct compare because we intern all strings.
5219 // We can do direct compare because we intern all strings.
H A DResolveInfo.java460 public final int compare(ResolveInfo a, ResolveInfo b) { method in class:ResolveInfo.DisplayNameComparator
473 return mCollator.compare(sa.toString(), sb.toString());
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSizeAreaComparator.java38 public int compare(Camera.Size size, Camera.Size size2) { method in class:SizeAreaComparator
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java37 public int compare(Size size, Size size2) { method in class:SizeAreaComparator
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java154 private static boolean compare(String s1, String s2) { method in class:UsbAccessory
163 return (compare(mManufacturer, accessory.getManufacturer()) &&
164 compare(mModel, accessory.getModel()) &&
165 compare(mDescription, accessory.getDescription()) &&
166 compare(mVersion, accessory.getVersion()) &&
167 compare(mUri, accessory.getUri()) &&
168 compare(mSerial, accessory.getSerial()));
/frameworks/base/core/java/android/os/
H A DWorkSource.java153 * @param other The WorkSource to compare against.
529 private int compare(WorkSource other, int i1, int i2) { method in class:WorkSource
557 if (i1 >= mNum || (i2 < N2 && (diff=compare(other, i1, i2)) > 0)) {
586 diff = i2 < N2 ? compare(other, i1, i2) : -1;
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java306 public int compare(EngineInfo lhs, EngineInfo rhs) { method in class:TtsEngines.EngineInfoComparator
/frameworks/base/core/java/android/text/format/
H A DTime.java328 * @param a first {@code Time} instance to compare
329 * @param b second {@code Time} instance to compare
336 public static int compare(Time a, Time b) { method in class:Time
345 return TimeCalculator.compare(a.calculator, b.calculator);
845 * Equivalent to {@code Time.compare(this, that) < 0}. See
846 * {@link #compare(Time, Time)} for details.
848 * @param that a given Time object to compare against
852 return Time.compare(this, that) < 0;
861 * Equivalent to {@code Time.compare(this, that) > 0}. See
862 * {@link #compare(Tim
1207 public static int compare(TimeCalculator aObject, TimeCalculator bObject) { method in class:Time.TimeCalculator
[all...]
/frameworks/base/core/java/android/util/
H A DHalf.java327 * @param o The object to compare
374 * @param h The half-precision float value to compare to the half-precision value
384 return compare(mValue, h.mValue);
409 * @param x The first half-precision float value to compare.
410 * @param y The second half-precision float value to compare
417 public static int compare(@HalfFloat short x, @HalfFloat short y) { method in class:Half
/frameworks/base/core/java/android/view/
H A DFocusFinder.java936 public int compare(View first, View second) { method in class:FocusFinder.UserSpecifiedFocusComparator
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java63 * Use a collator to compare strings in a localized manner.
126 protected int compare(String word, String letter) { method in class:AlphabetIndexer
134 return mCollator.compare(firstLetter, letter);
212 int diff = compare(curName, targetLetter);
224 // if (mCollator.compare(startingLetter, targetLetter) < 0) {
265 if (compare(curName, targetLetter) == 0) {
H A DAppSecurityPermissions.java576 public final int compare(MyPermissionGroupInfo a, MyPermissionGroupInfo b) { method in class:AppSecurityPermissions.PermissionGroupInfoComparator
577 return sCollator.compare(a.mLabel, b.mLabel);
585 public final int compare(MyPermissionInfo a, MyPermissionInfo b) { method in class:AppSecurityPermissions.PermissionInfoComparator
586 return sCollator.compare(a.mLabel, b.mLabel);
H A DEditor.java3264 public int compare(SuggestionSpan span1, SuggestionSpan span2) { method in class:Editor.SuggestionHelper.SuggestionSpanComparator
H A DRelativeLayout.java1151 public int compare(View first, View second) { method in class:RelativeLayout.TopToBottomLeftToRightComparator
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java1173 public int compare(ChooserTarget lhs, ChooserTarget rhs) { method in class:ChooserActivity.BaseChooserTargetComparator
H A DLocaleHelper.java248 public int compare(LocaleStore.LocaleInfo lhs, LocaleStore.LocaleInfo rhs) { method in class:LocaleHelper.LocaleInfoComparator
252 // They are in the same "bucket" (suggested / others), so we compare the text
253 return mCollator.compare(
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { method in class:MediaRouteChooserDialog.RouteComparator
H A DResolverComparator.java286 public int compare(ResolvedComponentInfo lhsp, ResolvedComponentInfo rhsp) { method in class:ResolverComparator
326 final int selectProbabilityDiff = Float.compare(
340 return mCollator.compare(sa.toString().trim(), sb.toString().trim());
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java96 if (compare(mScore, score) == -1) { // mScore < score
117 private static int compare(@NonNull byte[] left, @NonNull byte[] right) { method in class:LocaleUtils.ScoreEntry
130 return -1 * compare(mScore, other.mScore); // Order by descending order.

Completed in 397 milliseconds

1234