Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 20 of 20) sorted by relevance

/development/vndk/tools/header-checker/src/repr/
Dir_dumper.cpp57 auto &&compare = [](const T *lhs, const T *rhs) { in SortAbiElements()
60 std::stable_sort(xs.begin(), xs.end(), compare); in SortAbiElements()
/development/vndk/tools/header-checker/src/utils/
Dstring_utils.cpp42 return s.size() >= prefix.size() && s.compare(0, prefix.size(), prefix) == 0; in StartsWith()
48 s.compare(s.size() - suffix.size(), suffix.size(), suffix) == 0); in EndsWith()
/development/apps/Development/src/com/android/development/
DAppHwConfigList.java146 public final int compare(Object a, Object b) {
149 return collator.compare(sa, sb);
DRunningProcesses.java137 public final int compare(Object a, Object b) {
140 return collator.compare(sa, sb);
DPackageBrowser.java99 compare(MyPackageInfo a, MyPackageInfo b) {
100 return collator.compare(a.label, b.label);
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java116 public int compare(Map<String, Object> map1, Map<String, Object> map2) {
117 return collator.compare(map1.get("title"), map2.get("title"));
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java197 public int compare(UsageStats left, UsageStats right) { in compare() method in AppUsageStatisticsFragment.LastTimeLaunchedComparatorDesc
198 return Long.compare(right.getLastTimeUsed(), left.getLastTimeUsed()); in compare()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java154 public int compare(AppEntry object1, AppEntry object2) {
155 return sCollator.compare(object1.getLabel(), object2.getLabel());
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java234 public int compare(File o1, File o2) { in list()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java128 public int compare(Alarm o1, Alarm o2) { in compare() method in AlarmAdapter.SortedListCallback
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java169 public int compare(File i, File j) { in queryRecentDocuments()
170 return Long.compare(i.lastModified(), j.lastModified()); in queryRecentDocuments()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java416 if (!PhoneNumberUtils.compare(number, self)) { in getRecipients()
424 if (!PhoneNumberUtils.compare(number, self)) { in getRecipients()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java122 public int compare(Attraction lhs, Attraction rhs) { in loadAttractionsFromLocation()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java387 public int compare(ProcessSnapshot a, ProcessSnapshot b) { in sortProcesses()
467 public int compare(ThreadSnapshot a, ThreadSnapshot b) { in sortThreads()
/development/tools/repo_diff/
DREADME.md13 1. Sync the two repo workspaces you wish to compare. Example:
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java240 public int compare(LocaleInfo lhs, LocaleInfo rhs) { in setupLocaleList()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java73 public int compare(NamedGesture object1, NamedGesture object2) {
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java698 public int compare(Size lhs, Size rhs) { in compare() method in Camera2VideoFragment.CompareSizesByArea
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java963 public int compare(Size lhs, Size rhs) { in compare() method in Camera2BasicFragment.CompareSizesByArea
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1513 public int compare(Size lhs, Size rhs) { in compare() method in Camera2RawFragment.CompareSizesByArea