/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 1260 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 …]
|
D | Utils.java | 78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 85 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 177 return range.intersect(
|
D | Image.java | 283 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 154 …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/ |
D | Region.h | 80 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);
|
D | FloatRect.h | 30 FloatRect intersect(const FloatRect& other) const { in intersect() function
|
D | Rect.h | 193 bool intersect(const Rect& with, Rect* result) const;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 80 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);
|
D | FloatRect.h | 30 FloatRect intersect(const FloatRect& other) const { in intersect() function
|
D | Rect.h | 193 bool intersect(const Rect& with, Rect* result) const;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 111 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/ |
D | Range.java | 204 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/ |
D | AccessibilityNodeInfoHelper.java | 49 if (nodeRect.intersect(displayRect)) { in getVisibleBoundsInScreen()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | VectorDrawableAtlasTests.cpp | 52 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/ |
D | RectF.java | 350 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()
|
D | Rect.java | 531 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/ |
D | ParameterUtils.java | 389 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/ |
D | C2Buffer.h | 319 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/ |
D | PipSnapAlgorithm.java | 111 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/ |
D | TextViewActions.java | 394 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandle() 474 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandlePointsTextIndex()
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 93 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() function in android::Rect
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimationSpec.java | 111 mTmpRect.intersect(tmp.transformation.getClipRect()); in apply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipDismissViewController.java | 135 boolean intersecting = targetRect.intersect(viewRect); in updateTarget()
|
/frameworks/native/services/surfaceflinger/ |
D | ColorLayer.cpp | 100 Region visible = transform.transform(visibleRegion.intersect(viewport)); in setPerFrameData()
|
D | RegionSamplingThread.cpp | 431 if (!transformed.intersect(sampledArea, &ignore)) return; in captureSample() 436 if (transformed.intersect(area, &ignore)) { in captureSample()
|