Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DRect_test.cpp185 Rect intersection; in TEST() local
188 intersection.makeInvalid(); in TEST()
189 EXPECT_TRUE(rect.intersect(rect, &intersection)); in TEST()
190 EXPECT_EQ(Rect(10, 20, 50, 60), intersection); in TEST()
194 intersection.makeInvalid(); in TEST()
195 EXPECT_TRUE(rect.intersect(insideRect, &intersection)); in TEST()
196 EXPECT_EQ(insideRect, intersection); in TEST()
199 intersection.makeInvalid(); in TEST()
200 EXPECT_TRUE(insideRect.intersect(rect, &intersection)); in TEST()
201 EXPECT_EQ(insideRect, intersection); in TEST()
[all …]
/frameworks/base/core/java/android/os/vibrator/
DMultiVibratorInfo.java67 int intersection = ~0; in capabilitiesIntersection() local
69 intersection &= info.getCapabilities(); in capabilitiesIntersection()
73 intersection &= ~IVibrator.CAP_FREQUENCY_CONTROL; in capabilitiesIntersection()
75 return intersection; in capabilitiesIntersection()
87 SparseBooleanArray intersection = new SparseBooleanArray(); in supportedBrakingIntersection() local
105 intersection.put(brakingId, true); in supportedBrakingIntersection()
108 return intersection; in supportedBrakingIntersection()
120 SparseBooleanArray intersection = new SparseBooleanArray(); in supportedEffectsIntersection() local
138 intersection.put(effectId, true); in supportedEffectsIntersection()
141 return intersection; in supportedEffectsIntersection()
[all …]
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h53 std::vector<T> intersection; in Intersection() local
56 std::back_inserter(intersection)); in Intersection()
57 return intersection; in Intersection()
62 std::set<T> intersection; in SetIntersection() local
65 std::inserter(intersection, intersection.begin())); in SetIntersection()
66 return intersection; in SetIntersection()
/frameworks/native/libs/ui/include/ui/
DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/frameworks/native/libs/ui/include_vndk/ui/
DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/frameworks/native/include/ui/
DFloatRect.h34 FloatRect intersection = { in intersect() local
42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect()
45 return intersection; in intersect()
/frameworks/base/core/java/android/window/flags/
Daccessibility.aconfig7 …description: "The flag controls whether the intersection check for non-magnifiable windows is need…
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp363 const Range targetRange = Range::intersection(runRange, range); in buildLayout()
384 run->getBounds(textBuf, Range::intersection(runRange, range), layoutPieces); in getBounds()
399 run->getExtent(textBuf, Range::intersection(runRange, range), layoutPieces)); in getExtent()
412 run->getLineMetrics(textBuf, Range::intersection(runRange, range), layoutPieces)); in getLineMetrics()
DFontCollection.cpp779 FamilyMatchResult intersection = in itemize() local
781 if (intersection.empty()) { in itemize()
789 familyIndices = intersection; in itemize()
790 lastFamilyIndices = intersection; in itemize()
791 run->familyMatch = intersection; in itemize()
/frameworks/base/core/java/android/os/
DLocaleList.java161 List<Locale> intersection = new ArrayList<>(); in getIntersection() local
165 intersection.add(l1); in getIntersection()
170 return intersection.toArray(new Locale[0]); in getIntersection()
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java226 Set<Object> intersection = new HashSet<Object>(expected); in assertEquals() local
227 intersection.retainAll(actual); in assertEquals()
232 + "\nIntersection: " + intersection); in assertEquals()
/frameworks/base/core/java/android/text/style/
DSpanUtils.java288 private static long intersection(int aMin, int aMax, int bMin, int bMax) { in intersection() method in SpanUtils
320 long intersectionPack = intersection(start, end, uncoveredStart, uncoveredEnd); in isCovered()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp313 Vector<String16> intersection; in listServices() local
315 protoServices.end(), std::back_inserter(intersection)); in listServices()
316 services = std::move(intersection); in listServices()
/frameworks/minikin/include/minikin/
DRange.h77 inline static Range intersection(const Range& left, const Range& right) { in intersection() function
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dluts_for_speedup_f32.rsh62 // A lookup table that pre-computes x coordinate of the intersection between a
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java465 Locale[] intersection = in updateConfigurationImpl() local
467 mConfiguration.setLocales(new LocaleList(intersection)); in updateConfigurationImpl()
468 selectedLocales = new String[intersection.length]; in updateConfigurationImpl()
469 for (int i = 0; i < intersection.length; i++) { in updateConfigurationImpl()
471 adjustLanguageTag(intersection[i].toLanguageTag()); in updateConfigurationImpl()
/frameworks/base/media/java/android/media/
DAudioSystem.java2554 Set<Integer> intersection = new TreeSet<>(a); in intersectionAudioDeviceTypes() local
2555 intersection.retainAll(b); in intersectionAudioDeviceTypes()
2556 return intersection; in intersectionAudioDeviceTypes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkTypeController.java1659 Set<Integer> intersection = new HashSet<>(mAdditionalNrAdvancedBands); in isAdditionalNrAdvancedBand() local
1660 intersection.retainAll(bands); in isAdditionalNrAdvancedBand()
1661 return !intersection.isEmpty(); in isAdditionalNrAdvancedBand()
/frameworks/base/tools/fonts/
Dfontchain_linter.py741 if record.scripts.intersection(cjk_scripts):
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp262 std::list<int> intersection; in getIntersection() local
265 intersection.emplace_back(streamId); in getIntersection()
268 return intersection; in getIntersection()