Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/libs/ui/tests/
H A DRect_test.cpp185 Rect intersection; in TEST() local
188 intersection.makeInvalid(); in TEST()
190 EXPECT_EQ(Rect(10, 20, 50, 60), intersection); in TEST()
194 intersection.makeInvalid(); in TEST()
196 EXPECT_EQ(insideRect, intersection); in TEST()
199 intersection.makeInvalid(); in TEST()
201 EXPECT_EQ(insideRect, intersection); in TEST()
204 intersection.makeInvalid(); in TEST()
206 EXPECT_TRUE(intersection.isEmpty()); in TEST()
210 intersection.makeInvalid(); in TEST()
[all …]
/aosp12/frameworks/av/media/libaudiofoundation/include/media/
H A DAudioContainers.h46 std::vector<T> intersection; in Intersection() local
49 std::back_inserter(intersection)); in Intersection()
50 return intersection; in Intersection()
55 std::set<T> intersection; in SetIntersection() local
58 std::inserter(intersection, intersection.begin())); in SetIntersection()
59 return intersection; in SetIntersection()
/aosp12/frameworks/native/libs/ui/include/ui/
H A DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/aosp12/frameworks/native/include/ui/
H A DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/aosp12/packages/apps/Car/libs/car-ui-lib/tests/apitest/
H A Dauto-generate-resources.py208 intersection = removed_resources.intersection(mapping)
209 if len(intersection) > 0:
210 … print('Usage of removed resources detected\n'+ '\n'.join(map(lambda x: str(x), intersection)))
/aosp12/bionic/tools/versioner/src/
H A Dversioner.cpp274 std::vector<T> intersection; in Intersection() local
275 std::set_intersection(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(intersection)); in Intersection()
276 return intersection; in Intersection()
298 auto intersection = Intersection(compilation_types, inline_def_it.second); in checkSymbol() local
299 if (!intersection.empty()) { in checkSymbol()
302 fprintf(stderr, " declarations visible in: %s\n", Join(intersection, ", ").c_str()); in checkSymbol()
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dpartition_cow_creator.cpp62 auto intersection = Intersect(partition_extent.get(), e); in HasExtent() local
63 if (intersection != nullptr && intersection->num_sectors() == e->num_sectors()) { in HasExtent()
/aosp12/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
H A Dconfig_update_utils.cpp473 set<int64_t> intersection; in determineMetricUpdateStatus() local
476 inserter(intersection, intersection.begin())); in determineMetricUpdateStatus()
477 if (intersection.size() > 0) { in determineMetricUpdateStatus()
483 inserter(intersection, intersection.begin())); in determineMetricUpdateStatus()
484 if (intersection.size() > 0) { in determineMetricUpdateStatus()
489 replacedStates.end(), inserter(intersection, intersection.begin())); in determineMetricUpdateStatus()
490 if (intersection.size() > 0) { in determineMetricUpdateStatus()
/aosp12/frameworks/base/core/java/android/os/
H A DSystemVibrator.java318 int intersection = ~0; in capabilitiesIntersection() local
320 intersection &= info.getCapabilities(); in capabilitiesIntersection()
322 return intersection; in capabilitiesIntersection()
/aosp12/frameworks/minikin/libs/minikin/
H A DMeasuredText.cpp295 const Range targetRange = Range::intersection(runRange, range); in buildLayout()
316 run->getBounds(textBuf, Range::intersection(runRange, range), layoutPieces); in getBounds()
332 run->getExtent(textBuf, Range::intersection(runRange, range), layoutPieces); in getExtent()
H A DFontCollection.cpp550 FamilyMatchResult intersection = in itemize() local
552 if (intersection.empty()) { in itemize()
555 lastFamilyIndices = intersection; in itemize()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java226 Set<Object> intersection = new HashSet<Object>(expected); in assertEquals() local
227 intersection.retainAll(actual); in assertEquals()
232 + "\nIntersection: " + intersection); in assertEquals()
/aosp12/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp296 Vector<String16> intersection; in listServices() local
298 protoServices.end(), std::back_inserter(intersection)); in listServices()
299 services = std::move(intersection); in listServices()
/aosp12/build/soong/scripts/hiddenapi/
H A Dgenerate_hiddenapi_lists.py90 HAS_NO_API_LIST_ASSIGNED = lambda api, flags: not FLAGS_API_LIST_SET.intersection(flags)
230 return api_subset.intersection(self.filter_apis(HAS_NO_API_LIST_ASSIGNED))
/aosp12/packages/apps/Car/tests/tools/rro/
H A Dgenerate-overlays.py59 resources = resources.intersection(
/aosp12/bionic/libc/tools/
H A Dcheck-symbols-glibc.py250 for symbol in sorted((posix.intersection(glibc)).difference(bionic)):
/aosp12/build/make/
H A Dhelp.sh39 Build the intersection of the two given arguments
/aosp12/frameworks/minikin/include/minikin/
H A DRange.h76 inline static Range intersection(const Range& left, const Range& right) { in intersection() function
/aosp12/system/sepolicy/tests/
H A Dpolicy.py60 violators = TypesFc.intersection(TypesPol)
113 violators = systemProps.intersection(vendorProps)
/aosp12/packages/services/Car/car-lib/src/android/car/navigation/
H A Dnavigation_state.proto133 // Slight left turn at an intersection, from 10 (included) to 45 (excluded)
136 // Slight right turn at an intersection, from 10 (included) to 45 (excluded)
140 // Regular left turn at an intersection, from 45 (included) to 135
143 // Regular right turn at an intersection, from 45 (included) to 135
147 // Sharp left turn at an intersection, from 135 (included) to 175 (excluded)
150 // Sharp right turn at an intersection, from 135 (included) to 175
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A Dluts_for_speedup_f32.rsh62 // A lookup table that pre-computes x coordinate of the intersection between a
/aosp12/frameworks/base/media/java/android/media/
H A DAudioSystem.java2169 Set<Integer> intersection = new HashSet<>(a); in intersectionAudioDeviceTypes() local
2170 intersection.retainAll(b); in intersectionAudioDeviceTypes()
2171 return intersection; in intersectionAudioDeviceTypes()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A DHWC2On1Adapter.cpp1824 std::set<android_color_mode_t> intersection; in populateColorModes() local
1828 std::inserter(intersection, intersection.begin())); in populateColorModes()
1829 std::swap(intersection, mColorModes); in populateColorModes()
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1729 std::set<android_color_mode_t> intersection; in populateColorModes() local
1733 std::inserter(intersection, intersection.begin())); in populateColorModes()
1734 std::swap(intersection, mColorModes); in populateColorModes()

12