Home
last modified time | relevance | path

Searched refs:sorted (Results 1 – 25 of 36) 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/rs/tests/java_api/RSUnitTests/
DRSUnitTests.py197 tests = sorted(tests)
521 for build_tool_version_name in sorted(BUILD_TOOL_VERSIONS.values()):
528 for build_tool_version in sorted(BUILD_TOOL_VERSIONS.keys()):
592 for version in sorted(UNIT_TESTS.keys()):
594 tests = sorted(UNIT_TESTS[version])
/frameworks/base/tools/localedata/
Dextract_icu_data.py133 for locale in sorted(likely_script_dict.keys()):
157 for locale in sorted(representative_locales):
219 sorted_scripts = sorted(script_organized_dict.keys())
225 for locale in sorted(parent_dict.keys()):
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java99 private static Collection<String> sorted(Collection<String> list) { in sorted() method in Instrument
134 for (String key : sorted(results.keySet())) { in onInstrumentationStatusLocked()
155 for (String key : sorted(results.keySet())) { in onInstrumentationFinishedLocked()
228 for (final String key: sorted(bundle.keySet())) { in writeBundle()
/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/native/cmds/installd/
Dmatchgen.py76 for k in sorted(target.keys()):
/frameworks/base/core/tests/coretests/src/android/database/
Dprocess_newdb_perf_test_logs.py65 for k in sorted(timings):
/frameworks/base/tools/aapt2/tools/
Dextract_unicode_properties.py58 for char_prop in sorted(chars.values(), key=CharacterProperty.key):
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java269 View[][] sorted = new View[rows.size()][]; in sortByRows() local
275 sorted[i] = views; in sortByRows()
277 return sorted; in sortByRows()
281 View[][] sorted = sortByRows(); in verifyMargin() local
282 for (int row = 0; row < sorted.length; row++) { in verifyMargin()
283 View[] views = sorted[row]; in verifyMargin()
298 View[][] sorted = sortByRows(); in verifyBeginAligned() local
302 for (int i = 0; i < sorted.length; i++) { in verifyBeginAligned()
304 alignedLocation = sorted[i][sorted[i].length - 1].getRight(); in verifyBeginAligned()
306 assertEquals(alignedLocation, sorted[i][sorted[i].length - 1].getRight()); in verifyBeginAligned()
[all …]
/frameworks/minikin/tools/
Dmk_hyb_file.py202 succ = sorted([ch_map[c] + edge_start for c in node.succ.keys()])
240 for i in sorted(mapped.keys()):
259 for c in sorted(node.succ.keys()):
336 for c, val in sorted(ch_map.items()):
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_reduction.py263 for x, _, __ in sorted(coords_range_3d(X_TESTS, Y_TESTS, Z_TESTS)):
/frameworks/base/tools/fonts/
Dfontchain_lint.py173 for base, vs in sorted(sequences):
294 for first, second in sorted(equivalent_emoji.items()):
335 assert_font_supports_none_of_chars(record.font, sorted(default_emoji))
/frameworks/base/tools/aapt2/tools/consumers/
Dduplicates.py33 duplicates = sorted(duplicates, key=lambda x: x.start)
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java83 .sorted(sCacheQuotaRequestComparator) in onComputeCacheQuotaHints()
/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/rs/tests/lldb/tests/harness/
Dtest_base.py107 for test in sorted(
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java216 ArrayList<Integer> sorted = new ArrayList<Integer>(); in dump() local
218 sorted.add(pidCounts.keyAt(i)); in dump()
220 Collections.sort(sorted, new Comparator<Integer>() { in dump()
234 for (int i=0; i<sorted.size(); i++) { in dump()
235 int pid = sorted.get(i); in dump()
DSyncManager.java2086 final List<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> sorted = in dumpSyncState() local
2088 sorted.addAll(mSyncAdapters.getAllServices(account.userId)); in dumpSyncState()
2089 Collections.sort(sorted, in dumpSyncState()
2097 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapterType : sorted) { in dumpSyncState()
/frameworks/base/tools/apilint/
Dapilint.py1195 for key in sorted(api.keys()):
1230 for key in sorted(prev.keys()):
1299 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.java1764 void getSortedViews(View[] sorted, int... rules) { in getSortedViews() argument
1773 sorted[index++] = view; in getSortedViews()
1788 if (index < sorted.length) { in getSortedViews()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py171 for key, value in sorted(Type.__types.items()):

12