Home
last modified time | relevance | path

Searched refs:intersect (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1260 mBitrateRange = mBitrateRange.intersect(bitRates); in applyLimits()
1283 bitRates = bitRates.intersect( in parseFromInfo()
1445 range = range.intersect( in getSupportedWidthsFor()
1451 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor()
1455 range = range.intersect( in getSupportedWidthsFor()
1489 range = range.intersect( in getSupportedHeightsFor()
1495 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor()
1499 range = range.intersect( in getSupportedHeightsFor()
2301 frameRates = frameRates.intersect(FRAME_RATE_RANGE);
2311 bitRates = bitRates.intersect(BITRATE_RANGE);
[all …]
DUtils.java78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
85 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
177 return range.intersect(
DImage.java283 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp154 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 456u)) == C2Segment(123u, 456u), ""); in StaticSegmentTest()
155 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 460u)) == C2Segment(123u, 456u), ""); in StaticSegmentTest()
156 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(124u, 460u)) == C2Segment(124u, 455u), ""); in StaticSegmentTest()
157 … static_assert(C2Segment(123u, 456u).intersect(C2Segment(579u, 460u)) == C2Segment(579u, 0u), ""); in StaticSegmentTest()
158 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(589u, 460u)) == C2Segment(589u, ~9u /* -10… in StaticSegmentTest()
159 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(123u, 455u)) == C2Segment(123u, 455u), ""); in StaticSegmentTest()
160 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(122u, 456u)) == C2Segment(123u, 455u), ""); in StaticSegmentTest()
161 … static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 123u)) == C2Segment(123u, 0u), ""); in StaticSegmentTest()
162 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 0u)) == C2Segment(123u, ~122u /* -123 … in StaticSegmentTest()
170 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, ~150u)).normalize() == C2Segment(150… in StaticSegmentTest()
[all …]
/frameworks/native/libs/ui/include/ui/
DRegion.h80 const Region intersect(const Rect& rhs) const;
86 const Region intersect(const Region& rhs) const;
102 const Region intersect(const Region& rhs, int dx, int dy) const WARN_UNUSED;
191 return intersect(rhs);
DFloatRect.h30 FloatRect intersect(const FloatRect& other) const { in intersect() function
DRect.h193 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h80 const Region intersect(const Rect& rhs) const;
86 const Region intersect(const Region& rhs) const;
102 const Region intersect(const Region& rhs, int dx, int dy) const WARN_UNUSED;
191 return intersect(rhs);
DFloatRect.h30 FloatRect intersect(const FloatRect& other) const { in intersect() function
DRect.h193 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp111 activeCropFloat = activeCropFloat.intersect(viewport.toFloatRect()); in calculateInitialCrop()
122 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop()
218 if (!activeCrop.intersect(outputState.viewport, &activeCrop)) { in calculateOutputDisplayFrame()
228 if (!activeCrop.intersect(bufferSize, &activeCrop)) { in calculateOutputDisplayFrame()
244 if (!frame.intersect(outputState.viewport, &frame)) { in calculateOutputDisplayFrame()
/frameworks/base/core/java/android/util/
DRange.java204 public Range<T> intersect(Range<T> range) { in intersect() method in Range
236 public Range<T> intersect(T lower, T upper) { in intersect() method in Range
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoHelper.java49 if (nodeRect.intersect(displayRect)) { in getVisibleBoundsInScreen()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableAtlasTests.cpp52 ASSERT_FALSE(VDRects[i].rect.intersect(VDRects[j].rect)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
85 ASSERT_FALSE(VDRects[i].rect.intersect(VDRects[j].rect)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/graphics/java/android/graphics/
DRectF.java350 public boolean intersect(float left, float top, float right, float bottom) { in intersect() method in RectF
381 public boolean intersect(@NonNull RectF r) { in intersect() method in RectF
382 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
DRect.java531 public boolean intersect(int left, int top, int right, int bottom) { in intersect() method in Rect
554 public boolean intersect(@NonNull Rect r) { in intersect() method in Rect
555 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java389 if (!actualCrop.intersect(activeArray)) { in getClosestAvailableZoomCrop()
831 if (!normalizedIntersected.intersect(NORMALIZED_RECTANGLE_DEFAULT)) { in convertMeteringRectangleToLegacy()
847 if (!previewMetering.intersect(previewCrop)) { in convertMeteringRectangleToLegacy()
987 if (!reportedMetering.intersect(cropToIntersectAgainst)) { in convertCameraAreaToActiveArrayRectangle()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h319 inline constexpr C2Segment intersect(const C2Segment &other) const { in intersect() function
450 inline constexpr C2LinearRange intersect(size_t offset, size_t size) const { in intersect() function
1424 inline constexpr C2Rect intersect(const C2Rect &other) const { in intersect() function
1628 mCrop(parent == nullptr ? C2Rect() : ((C2Rect)*parent).intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1632 mCrop(parent == nullptr ? C2Rect() : parent->crop().intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1693 inline constexpr C2PlanarSection intersect(const C2Rect &crop) const { in intersect() function
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java111 final Point intersect = getEdgeIntersect(stackBounds, movementBounds, velocityX, velocityY, in findClosestSnapBounds() local
113 intersectStackBounds.offsetTo(intersect.x, intersect.y); in findClosestSnapBounds()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java394 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandle()
474 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandlePointsTextIndex()
/frameworks/native/libs/ui/
DRect.cpp93 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() function in android::Rect
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java111 mTmpRect.intersect(tmp.transformation.getClipRect()); in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipDismissViewController.java135 boolean intersecting = targetRect.intersect(viewRect); in updateTarget()
/frameworks/native/services/surfaceflinger/
DColorLayer.cpp100 Region visible = transform.transform(visibleRegion.intersect(viewport)); in setPerFrameData()
DRegionSamplingThread.cpp431 if (!transformed.intersect(sampledArea, &ignore)) return; in captureSample()
436 if (transformed.intersect(area, &ignore)) { in captureSample()

123