Home
last modified time | relevance | path

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

123

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManager_SelectionTest.java109 testSelection.intersect(new HashSet<String>()); in testIntersection_empty0()
115 testSelection.intersect(Sets.newHashSet("foo")); in testIntersection_empty1()
121 selection.intersect(new HashSet<String>()); in testIntersection_empty2()
135 testSelection.intersect(set); in testIntersection_exclusive()
149 testSelection.intersect(Sets.newHashSet(ids1)); in testIntersection_subset()
168 testSelection.intersect(Sets.newHashSet(ids1)); in testIntersection_all()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1134 mBitrateRange = mBitrateRange.intersect(bitRates); in applyLimits()
1155 bitRates = bitRates.intersect( in parseFromInfo()
1316 range = range.intersect( in getSupportedWidthsFor()
1322 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor()
1326 range = range.intersect( in getSupportedWidthsFor()
1360 range = range.intersect( in getSupportedHeightsFor()
1366 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor()
1370 range = range.intersect( in getSupportedHeightsFor()
1771 frameRates = frameRates.intersect(FRAME_RATE_RANGE); in parseFromInfo()
1781 bitRates = bitRates.intersect(BITRATE_RANGE); in parseFromInfo()
[all …]
DUtils.java69 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
76 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges()
168 return range.intersect(
DImage.java241 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
/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.h167 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/services/surfaceflinger/
DLayer.cpp386 win.intersect(s.crop, &win); in computeBounds()
414 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) { in computeCrop()
418 if(!activeCrop.intersect(s.finalCrop, &activeCrop)) { in computeCrop()
430 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) { in computeCrop()
553 if(!activeCrop.intersect(displayDevice->getViewport(), &activeCrop)) {
555 if(!activeCrop.intersect(hw->getViewport(), &activeCrop)) {
566 if(!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) {
580 if(!frame.intersect(s.finalCrop, &frame)) {
585 if (!frame.intersect(displayDevice->getViewport(), &frame)) {
615 if (!frame.intersect(hw->getViewport(), &frame)) {
[all …]
DDisplayDevice.cpp236 const Region newDirty(dirty.intersect(bounds())); in flip()
/frameworks/support/v4/tests/java/android/support/v4/widget/
DExploreByTouchHelperTest.java88 hostBounds.intersect(nodeBoundsInParent); in testBoundsInScreen()
96 expectedBoundsInScreen.intersect(hostBoundsOnScreen); in testBoundsInScreen()
/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.java427 public boolean intersect(int left, int top, int right, int bottom) { in intersect() method in Rect
450 public boolean intersect(Rect r) { in intersect() method in Rect
451 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
/frameworks/support/v4/api21/android/support/v4/view/
DViewCompatLollipop.java224 if (needInvalidateWorkaround && parentRect.intersect(view.getLeft(), view.getTop(), in offsetTopAndBottom()
249 if (needInvalidateWorkaround && parentRect.intersect(view.getLeft(), view.getTop(), in offsetLeftAndRight()
/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/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/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/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java323 cropBox.intersect(mediaBox); in applyPrintAttributes()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java582 return localRect.intersect(tempVisibleRect); in intersectVisibleToUser()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java156 mSelection.intersect(mModelIds); in MultiSelectManager()
181 mSelection.intersect(mModelIds); in MultiSelectManager()
820 public void intersect(Collection<String> ids) { in intersect() method in MultiSelectManager.Selection
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java99 result.intersect(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java521 if (new Rect(childBounds).intersect(layoutBounds)) { in collectChildCoordinates()

123