Searched defs:sort (Results 1 - 25 of 25) sorted by relevance

/frameworks/av/media/libmedia/
H A DStringArray.cpp29 // An expanding array of strings. Add, get, sort, delete.
88 void StringArray::sort(int (*compare)(const void*, const void*)) { function in class:android::StringArray
93 // Pass this to the sort routine to do an ascending alphabetical sort.
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { function in namespace:mcld::detail
54 sort(xs, mid, is_less_than);
55 sort(ys, size - mid, is_less_than);
77 void sort(llvm::iplist<T, Alloc>& list, function in namespace:mcld
79 detail::sort(list, list.size(), is_less_than);
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java64 String[] selectionArgs, String sort) {
63 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocData.h91 void sort(Comparator pComparator) { function in class:mcld::RelocData
92 mcld::sort(m_Relocations, pComparator);
/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java194 public void sort(LocaleHelper.LocaleInfoComparator comp) { method in class:SuggestedLocaleAdapter
195 Collections.sort(mLocaleOptions, comp);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java85 String[] selectionArgs, String sort) {
105 null, null, sort);
84 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java114 String[] selectionArgs, String sort) {
113 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java114 Collections.sort(list, new Comparator() {
137 private ArrayList<ScanDetail> sort() { method in class:ScanDetailCache
140 Collections.sort(list, new Comparator() {
302 ArrayList<ScanDetail> list = sort();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/util/
H A DStateMachine.java131 * sort() is required to sort the Direct acyclic graph.
171 * sort() is required to sort the Direct acyclic graph.
173 public void sort() { method in class:StateMachine
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java293 * @param flags Flags for the sort order
299 public static List<SpellCheckerSubtype> sort(Context context, int flags, SpellCheckerInfo sci, method in class:SpellCheckerSubtype
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java294 * @param comparator The comparator used to sort the objects contained
297 public void sort(@NonNull Comparator<? super T> comparator) { method in class:ArrayAdapter
300 Collections.sort(mOriginalValues, comparator);
302 Collections.sort(mObjects, comparator);
H A DActivityChooserModel.java129 public void sort(Intent intent, List<ActivityResolveInfo> activities, method in interface:ActivityChooserModel.ActivitySorter
685 * sorter, there are some activities to sort, and there is some
693 mActivitySorter.sort(mIntent, mActivities,
945 public void sort(Intent intent, List<ActivityResolveInfo> activities, method in class:ActivityChooserModel.DefaultSorter
973 Collections.sort(activities);
/frameworks/base/graphics/java/android/graphics/
H A DRect.java574 public void sort() { method in class:Rect
H A DRectF.java524 public void sort() { method in class:RectF
/frameworks/base/tools/aapt2/
H A DStringPool.cpp252 void StringPool::sort(const std::function<bool(const Entry&, const Entry&)>& cmp) { function in class:aapt::StringPool
253 std::sort(std::begin(mStrings), std::end(mStrings),
266 std::sort(std::begin(mStyles), std::end(mStyles),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java90 String[] selectionArgs, String sort) {
89 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sort) argument
/frameworks/av/camera/
H A DCameraMetadata.cpp163 status_t CameraMetadata::sort() { function in class:android::CameraMetadata
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java655 * @param flags Flags for the sort order
661 public static List<InputMethodSubtype> sort(Context context, int flags, InputMethodInfo imi, method in class:InputMethodSubtype
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java236 public void sort(ArrayList<NotificationRecord> notificationList) { method in class:RankingHelper
238 // clear global sort keys
244 Collections.sort(notificationList, mPreliminaryComparator);
257 // assign global sort key:
264 // We need to make sure the developer provided group sort key (gsk) is handled
291 Collections.sort(notificationList, mFinalComparator);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java122 public void sort(Intent intent, List<ActivityResolveInfo> activities, method in interface:ActivityChooserModel.ActivitySorter
666 * sorter, there are some activities to sort, and there is some
674 mActivitySorter.sort(mIntent, mActivities,
921 public void sort(Intent intent, List<ActivityResolveInfo> activities, method in class:ActivityChooserModel.DefaultSorter
949 Collections.sort(activities);
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java859 * @param sort If true the results are sorted by the insertion order.
866 boolean sort) {
876 if (sort) {
881 mOrderSortBuffer, 0, sort);
882 if (sort) sort(ret, mPrioSortBuffer, mOrderSortBuffer);
934 * @param sort Flag to fill the priority and insertion order buffers. If false then
941 int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) {
951 insertionOrder, count, sort);
970 if (sort) {
865 getSpans(int queryStart, int queryEnd, @Nullable Class<T> kind, boolean sort) argument
940 getSpansRec(int queryStart, int queryEnd, Class<T> kind, int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) argument
1021 private final <T> void sort(T[] array, int[] priority, int[] insertionOrder) { method in class:SpannableStringBuilder
[all...]
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp150 std::sort(points, points + pointsLength, cmp);
236 * @param center the center ctr[0] = x , ctr[1] = y to sort around.
238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { function in class:android::uirenderer::SpotShadow
252 * quick sort implementation about the center.
/frameworks/base/core/java/android/view/
H A DViewGroup.java3664 * Uses a stable, insertion sort which is commonly O(n) for ViewGroups with very few elevated
7742 public static ChildListForAccessibility obtain(ViewGroup parent, boolean sort) { argument
7747 list.init(parent, sort);
7768 private void init(ViewGroup parent, boolean sort) { argument
7775 if (sort) {
7782 sort(holders);
7792 private void sort(ArrayList<ViewLocationHolder> holders) { method in class:ViewGroup.ChildListForAccessibility
7799 Collections.sort(holders);
7805 Collections.sort(holders);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java8817 Collections.sort(persisted, new UriPermission.PersistedTimeComparator());
15340 Collections.sort(list, comparator);
15612 ArrayList<MemItem> items, boolean sort, boolean isCompact, boolean dumpSwapPss) {
15613 if (sort && !isCompact) {
15614 Collections.sort(items, new Comparator<MemItem>() {
16358 Collections.sort(memInfos, new Comparator<ProcessMemInfo>() {
15611 dumpMemItems(PrintWriter pw, String prefix, String tag, ArrayList<MemItem> items, boolean sort, boolean isCompact, boolean dumpSwapPss) argument
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 704 milliseconds