/frameworks/native/libs/ui/tests/ |
D | Rect_test.cpp | 183 TEST(RectTest, intersect) { in TEST() argument 189 EXPECT_TRUE(rect.intersect(rect, &intersection)); in TEST() 195 EXPECT_TRUE(rect.intersect(insideRect, &intersection)); in TEST() 200 EXPECT_TRUE(insideRect.intersect(rect, &intersection)); in TEST() 205 EXPECT_FALSE(rect.intersect(Rect(100, 202, 150, 260), &intersection)); in TEST() 211 EXPECT_TRUE(rect.intersect(other, &intersection)); in TEST() 216 EXPECT_TRUE(other.intersect(rect, &intersection)); in TEST()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 1719 mBitrateRange = mBitrateRange.intersect(bitRates); in applyLimits() 1763 bitRates = bitRates.intersect( in parseFromInfo() 1991 range = range.intersect( in getSupportedWidthsFor() 1997 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor() 2001 range = range.intersect( in getSupportedWidthsFor() 2035 range = range.intersect( in getSupportedHeightsFor() 2041 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor() 2045 range = range.intersect( in getSupportedHeightsFor() 2862 frameRates = frameRates.intersect(FRAME_RATE_RANGE); 2872 bitRates = bitRates.intersect(BITRATE_RANGE); [all …]
|
D | Image.java | 364 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
|
D | Utils.java | 94 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 101 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 193 return range.intersect(
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 155 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 456u)) == C2Segment(123u, 456u), ""); in StaticSegmentTest() 156 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 460u)) == C2Segment(123u, 456u), ""); in StaticSegmentTest() 157 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(124u, 460u)) == C2Segment(124u, 455u), ""); in StaticSegmentTest() 158 … static_assert(C2Segment(123u, 456u).intersect(C2Segment(579u, 460u)) == C2Segment(579u, 0u), ""); in StaticSegmentTest() 159 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(589u, 460u)) == C2Segment(589u, ~9u /* -10… in StaticSegmentTest() 160 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 455u)) == C2Segment(123u, 455u), ""); in StaticSegmentTest() 161 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(122u, 456u)) == C2Segment(123u, 455u), ""); in StaticSegmentTest() 162 … static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 123u)) == C2Segment(123u, 0u), ""); in StaticSegmentTest() 163 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 0u)) == C2Segment(123u, ~122u /* -123 … in StaticSegmentTest() 171 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, ~150u)).normalize() == C2Segment(150… in StaticSegmentTest() [all …]
|
/frameworks/native/include/ui/ |
D | Region.h | 82 const Region intersect(const Rect& rhs) const; 88 const Region intersect(const Region& rhs) const; 104 const Region intersect(const Region& rhs, int dx, int dy) const WARN_UNUSED; 195 return intersect(rhs);
|
D | FloatRect.h | 33 FloatRect intersect(const FloatRect& other) const { in intersect() function
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 82 const Region intersect(const Rect& rhs) const; 88 const Region intersect(const Region& rhs) const; 104 const Region intersect(const Region& rhs, int dx, int dy) const WARN_UNUSED; 195 return intersect(rhs);
|
D | FloatRect.h | 33 FloatRect intersect(const FloatRect& other) const { in intersect() function
|
/frameworks/native/libs/ui/include/ui/ |
D | Region.h | 82 const Region intersect(const Rect& rhs) const; 88 const Region intersect(const Region& rhs) const; 104 const Region intersect(const Region& rhs, int dx, int dy) const WARN_UNUSED; 195 return intersect(rhs);
|
D | FloatRect.h | 33 FloatRect intersect(const FloatRect& other) const { in intersect() function
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 78 inOutRect.intersect(0, 0, baseDisplayWidth, baseDisplayHeight); in rotateRectToDisplayRotation() 96 if (!inOutRect.intersect(bounds)) { in transformToWindowSpaceRect()
|
/frameworks/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 319 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST() 323 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST() 327 FontCollection::FamilyMatchResult::intersect(Builder().add(2).add(4).add(6).build(), in TEST() 331 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 207 public Range<T> intersect(Range<T> range) { in intersect() method in Range 239 public Range<T> intersect(T lower, T upper) { in intersect() method in Range
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoHelper.java | 49 if (nodeRect.intersect(displayRect)) { in getVisibleBoundsInScreen()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RecyclerViewCaptureHelper.java | 126 if (!requestedContainerBounds.intersect(recyclerLocalVisible)) { in onScrollRequested() 176 } else if (frame.intersect(targetRect) && (frame.height() > preferredDistance)) { in findChildNearestTarget()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/scroll/ |
D | FakeSession.java | 145 if (target.intersect(page) && target.intersect(visible)) { in requestTile()
|
/frameworks/base/tools/hoststubgen/scripts/ |
D | build-framework-hostside-jars-without-genrules.sh | 76 …--intersect-stub-jar $SOONG_INT/frameworks/base/api/android_test_stubs_current/android_common/comb…
|
/frameworks/base/core/java/android/text/method/ |
D | InsertModeTransformationMethod.java | 349 span -> intersect(getSpanStart(span), getSpanEnd(span), start, end)); in getSpans() 354 && intersect(start, end, mEnd, mEnd + mPlaceholder.length())) { in getSpans() 483 private static boolean intersect(int s1, int e1, int s2, int e2) { in intersect() method in InsertModeTransformationMethod
|
/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 351 public boolean intersect(float left, float top, float right, float bottom) { in intersect() method in RectF 382 public boolean intersect(@NonNull RectF r) { in intersect() method in RectF 383 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | KeyguardBlueprint.kt | 45 val skipSections = sections.intersect(prevSections).subtract(rebuildSections) in replaceViews()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | BackdropFilterDrawable.cpp | 46 if (!mImageSubset.intersect(SkRect::MakeWH(backdropImageWidth, backdropImageHeight))) { in prepareToDraw()
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | TransactionUtils.h | 54 if (!r.intersect(rect, &r)) { in fillANativeWindowBufferColor() 78 if (!r.intersect(rect, &r)) { in fillGraphicBufferColor()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 91 activeCropFloat = activeCropFloat.intersect(viewport.toFloatRect()); in calculateInitialCrop() 102 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop() 197 if (!activeCrop.intersect(outputState.layerStackSpace.getContent(), &activeCrop)) { in calculateOutputDisplayFrame() 207 if (!activeCrop.intersect(bufferSize, &activeCrop)) { in calculateOutputDisplayFrame() 233 if (!frame.intersect(outputState.layerStackSpace.getContent(), &frame)) { in calculateOutputDisplayFrame() 754 frame.intersect(outputState.layerStackSpace.getContent(), &frame); in writeCursorPositionToHWC()
|
/frameworks/base/core/java/android/view/ |
D | ScrollCaptureTarget.java | 110 if (!mScrollBounds.intersect(0, 0, in setScrollBounds()
|