Home
last modified time | relevance | path

Searched refs:sorted (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/support/design/jvm-tests/src/android/support/design/widget/
DDirectedAcyclicGraphTest.java186 final List<TestNode> sorted = mGraph.getSortedList(); in test_getSortedList() local
188 assertEquals(4, sorted.size()); in test_getSortedList()
190 assertEquals(node1, sorted.get(0)); in test_getSortedList()
191 assertEquals(node3, sorted.get(1)); in test_getSortedList()
192 assertEquals(node2, sorted.get(2)); in test_getSortedList()
193 assertEquals(node4, sorted.get(3)); in test_getSortedList()
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DShowDataAction.java87 List<String> sorted = new ArrayList<>(set); in addSet() local
88 Collections.sort(sorted); in addSet()
89 for (String s : sorted) { in addSet()
/frameworks/base/tools/localedata/
Dextract_icu_data.py131 for locale in sorted(likely_script_dict.keys()):
155 for locale in sorted(representative_locales):
217 sorted_scripts = sorted(script_organized_dict.keys())
223 for locale in sorted(parent_dict.keys()):
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java245 View[][] sorted = new View[rows.size()][]; in sortByRows() local
251 sorted[i] = views; in sortByRows()
253 return sorted; in sortByRows()
257 View[][] sorted = sortByRows(); in verifyMargin() local
258 for (int row = 0; row < sorted.length; row++) { in verifyMargin()
259 View[] views = sorted[row]; in verifyMargin()
274 View[][] sorted = sortByRows(); in verifyBeginAligned() local
278 for (int i = 0; i < sorted.length; i++) { in verifyBeginAligned()
280 alignedLocation = sorted[i][sorted[i].length - 1].getRight(); in verifyBeginAligned()
282 assertEquals(alignedLocation, sorted[i][sorted[i].length - 1].getRight()); in verifyBeginAligned()
[all …]
/frameworks/native/opengl/tools/glgen/
Dconvert_to_java.py30 for define in sorted(allDefines, key=lambda define: define[1]):
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DBRWriter.kt22 val indexedProps = properties.sorted().withIndex()
/frameworks/base/tools/fonts/
Dfontchain_lint.py169 for base, vs in sorted(sequences):
284 for first, second in sorted(equivalent_emoji.items()):
322 assert_font_supports_none_of_chars(record.font, sorted(default_emoji))
578 first_tofu_flag = sorted(tofu_flags)[0]
/frameworks/minikin/tools/
Dmk_hyb_file.py198 succ = sorted([ch_map[c] + edge_start for c in node.succ.keys()])
236 for i in sorted(mapped.keys()):
255 for c in sorted(node.succ.keys()):
328 for c, val in sorted(ch_map.items()):
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt88 EGLConfigs are not sorted with respect to the parameters
DEGL_ANDROID_recordable.txt86 EGLConfigs are not sorted with respect to the parameters
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java186 ArrayList<Integer> sorted = new ArrayList<Integer>(); in dump() local
188 sorted.add(pidCounts.keyAt(i)); in dump()
190 Collections.sort(sorted, new Comparator<Integer>() { in dump()
204 for (int i=0; i<sorted.size(); i++) { in dump()
205 int pid = sorted.get(i); in dump()
DSyncManager.java1872 final List<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> sorted = in dumpSyncState() local
1874 sorted.addAll(mSyncAdapters.getAllServices(account.userId)); in dumpSyncState()
1875 Collections.sort(sorted, in dumpSyncState()
1883 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapterType : sorted) { in dumpSyncState()
/frameworks/base/tools/apilint/
Dapilint.py1053 for key in sorted(api.keys()):
1088 for key in sorted(prev.keys()):
1157 for f in sorted(cur_fail):
/frameworks/minikin/doc/
Dhyb_file_format.md92 The entries are sorted by codepoint, to facilitate binary search. Another reasonable
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1748 void getSortedViews(View[] sorted, int... rules) { in getSortedViews() argument
1757 sorted[index++] = view; in getSortedViews()
1772 if (index < sorted.length) { in getSortedViews()
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd232 // How you want the results sorted in the resulting Cursor
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2900 std::map<float, BufferTuple, std::greater<float>> sorted; in dumpBufferingStats() local
2914 sorted.insert({activeTime, {name, twoBufferRatio, in dumpBufferingStats()
2917 for (const auto& sortedPair : sorted) { in dumpBufferingStats()
DSurfaceFlinger_hwc1.cpp2816 std::map<float, BufferTuple, std::greater<float>> sorted; in dumpBufferingStats() local
2830 sorted.insert({activeTime, {name, twoBufferRatio, in dumpBufferingStats()
2833 for (const auto& sortedPair : sorted) { in dumpBufferingStats()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design.jd176 directory when they are sorted alphabetically. In particular, it helps to use a
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/
Ddatabases.jd233 // How you want the results sorted in the resulting Cursor

12