/frameworks/native/libs/ui/tests/ |
D | Rect_test.cpp | 185 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/ |
D | MultiVibratorInfo.java | 67 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/ |
D | AudioContainers.h | 53 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/ |
D | FloatRect.h | 34 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/ |
D | FloatRect.h | 34 FloatRect intersection = { in intersect() local 42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect() 45 return intersection; in intersect()
|
/frameworks/native/include/ui/ |
D | FloatRect.h | 34 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/ |
D | accessibility.aconfig | 7 …description: "The flag controls whether the intersection check for non-magnifiable windows is need…
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 363 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()
|
D | FontCollection.cpp | 779 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/ |
D | LocaleList.java | 161 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/ |
D | MoreAsserts.java | 226 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/ |
D | SpanUtils.java | 288 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/ |
D | dumpsys.cpp | 313 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/ |
D | Range.h | 77 inline static Range intersection(const Range& left, const Range& right) { in intersection() function
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | luts_for_speedup_f32.rsh | 62 // A lookup table that pre-computes x coordinate of the intersection between a
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 465 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/ |
D | AudioSystem.java | 2554 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/ |
D | NetworkTypeController.java | 1659 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/ |
D | fontchain_linter.py | 741 if record.scripts.intersection(cjk_scripts):
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 262 std::list<int> intersection; in getIntersection() local 265 intersection.emplace_back(streamId); in getIntersection() 268 return intersection; in getIntersection()
|