Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1154 mBitrateRange = mBitrateRange.intersect(bitRates); in applyLimits()
1177 bitRates = bitRates.intersect( in parseFromInfo()
1338 range = range.intersect( in getSupportedWidthsFor()
1344 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor()
1348 range = range.intersect( in getSupportedWidthsFor()
1382 range = range.intersect( in getSupportedHeightsFor()
1388 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor()
1392 range = range.intersect( in getSupportedHeightsFor()
1792 frameRates = frameRates.intersect(FRAME_RATE_RANGE); in parseFromInfo()
1802 bitRates = bitRates.intersect(BITRATE_RANGE); in parseFromInfo()
[all …]
DImage.java275 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
DUtils.java78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
85 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
177 return range.intersect(
/frameworks/native/libs/ui/include/ui/
DRegion.h79 const Region intersect(const Rect& rhs) const;
85 const Region intersect(const Region& rhs) const;
99 const Region intersect(const Region& rhs, int dx, int dy) const;
188 return intersect(rhs);
DFloatRect.h30 FloatRect intersect(const FloatRect& other) const { in intersect() function
DRect.h178 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h79 const Region intersect(const Rect& rhs) const;
85 const Region intersect(const Region& rhs) const;
99 const Region intersect(const Region& rhs, int dx, int dy) const;
188 return intersect(rhs);
DFloatRect.h30 FloatRect intersect(const FloatRect& other) const { in intersect() function
/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/support/core/ktx/src/main/java/androidx/core/graphics/
DRect.kt254 intersect(r) in and()
266 intersect(r) in or()
/frameworks/native/services/surfaceflinger/
DLayer.cpp302 win.intersect(s.crop, &win); in computeScreenBounds()
309 win.intersect(s.finalCrop, &win); in computeScreenBounds()
324 bounds.intersect(win, &win); in computeScreenBounds()
345 win.intersect(s.crop, &win); in computeBounds()
361 floatWin = floatWin.intersect(bounds.toFloatRect()); in computeBounds()
383 activeCrop.intersect(s.crop, &activeCrop); in computeInitialCrop()
388 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) { in computeInitialCrop()
392 if (!activeCrop.intersect(s.finalCrop, &activeCrop)) { in computeInitialCrop()
400 activeCrop.intersect(parentCrop, &activeCrop); in computeInitialCrop()
426 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) { in computeCrop()
[all …]
DColorLayer.cpp67 Region visible = tr.transform(visibleRegion.intersect(viewport)); in setPerFrameData()
/frameworks/base/services/core/java/com/android/server/wm/
DTapExcludeRegionHolder.java52 rect.intersect(boundingRegion); in amendRegion()
/frameworks/base/graphics/java/android/graphics/
DRectF.java344 public boolean intersect(float left, float top, float right, float bottom) { in intersect() method in RectF
375 public boolean intersect(RectF r) { in intersect() method in RectF
376 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
DRect.java461 public boolean intersect(int left, int top, int right, int bottom) { in intersect() method in Rect
484 public boolean intersect(Rect r) { in intersect() method in Rect
485 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
/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/support/core/ktx/src/main/java/androidx/core/util/
DRange.kt46 inline infix fun <T : Comparable<T>> Range<T>.and(other: Range<T>): Range<T> = intersect(other) in rangeTo()
/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/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/libs/hwui/pipeline/skia/
DSkiaOpenGLReadback.cpp91 bool srcNotEmpty = skiaSrcRect.intersect(SkRect::MakeIWH(displayedWidth, displayedHeight)); in copyImageInto()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java393 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandle()
473 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandlePointsTextIndex()
/frameworks/support/customview/src/androidTest/java/androidx/customview/widget/
DExploreByTouchHelperTest.java100 expectedBoundsInScreen.intersect(hostBoundsOnScreen); in testBoundsInScreen()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DFlagSet.java66 public boolean intersect(FlagSet other, int bucketIndex) { in intersect() method in FlagSet
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DGridLayoutManagerNoOpUpdateTest.java104 if (rvBounds.intersect(childBounds)) { in takeSnapshot()

123