Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1144 mBitrateRange = mBitrateRange.intersect(bitRates); in applyLimits()
1167 bitRates = bitRates.intersect( in parseFromInfo()
1328 range = range.intersect( in getSupportedWidthsFor()
1334 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor()
1338 range = range.intersect( in getSupportedWidthsFor()
1372 range = range.intersect( in getSupportedHeightsFor()
1378 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor()
1382 range = range.intersect( in getSupportedHeightsFor()
1783 frameRates = frameRates.intersect(FRAME_RATE_RANGE); in parseFromInfo()
1793 bitRates = bitRates.intersect(BITRATE_RANGE); in parseFromInfo()
[all …]
DImage.java241 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/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);
DRect.h166 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/services/surfaceflinger/
DLayer.cpp396 win.intersect(s.crop, &win); in computeScreenBounds()
403 win.intersect(s.finalCrop, &win); in computeScreenBounds()
418 bounds.intersect(win, &win); in computeScreenBounds()
439 win.intersect(s.crop, &win); in computeBounds()
453 win.intersect(bounds, &win); in computeBounds()
480 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) { in computeInitialCrop()
484 if(!activeCrop.intersect(s.finalCrop, &activeCrop)) { in computeInitialCrop()
504 activeCrop.intersect(parentCrop, &activeCrop); in computeCrop()
516 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) { in computeCrop()
641 if(!activeCrop.intersect(displayDevice->getViewport(), &activeCrop)) {
[all …]
/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/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.java432 public boolean intersect(int left, int top, int right, int bottom) { in intersect() method in Rect
455 public boolean intersect(Rect r) { in intersect() method in Rect
456 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/base/libs/hwui/pipeline/skia/
DSkiaOpenGLReadback.cpp90 if (skiaSrcRect.intersect(bufferRect)) { in copyImageInto()
DRenderNodeDrawable.cpp83 (void)rect.intersect(*pendingClip); in clipOutline()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppBoundsTests.java77 expectedBounds.intersect(shiftedBounds); in testBoundsClipping()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java377 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandle()
457 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandlePointsTextIndex()
/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/core-ui/tests/java/android/support/v4/widget/
DExploreByTouchHelperTest.java96 expectedBoundsInScreen.intersect(hostBoundsOnScreen); in testBoundsInScreen()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerNoOpUpdateTest.java104 if (rvBounds.intersect(childBounds)) { in takeSnapshot()
/frameworks/native/libs/ui/
DRect.cpp85 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() function in android::Rect
DRegion.cpp336 const Region Region::intersect(const Rect& rhs) const { in intersect() function in android::Region
356 const Region Region::intersect(const Region& rhs) const { in intersect() function in android::Region
402 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect() function in android::Region
/frameworks/base/libs/hwui/
DDamageAccumulator.cpp204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) { in applyRenderNodeTransform()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java582 return localRect.intersect(tempVisibleRect); in intersectVisibleToUser()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java323 cropBox.intersect(mediaBox); in applyPrintAttributes()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsBackupTest.java529 intersect(settingsToBackup, blacklist), in checkSettingsBackedUpOrBlacklisted()
563 private static <T> Set<T> intersect(Set<T> s1, Set<T> s2) { in intersect() method in SettingsBackupTest
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java323 config.appBounds.intersect(parentAppBounds); in adjustConfigurationForBounds()

123