/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | MultiSelectManager_SelectionTest.java | 109 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/ |
D | MediaCodecInfo.java | 1134 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 …]
|
D | Utils.java | 69 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 76 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 168 return range.intersect(
|
D | Image.java | 241 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { in setCropRect()
|
/frameworks/native/include/ui/ |
D | Region.h | 79 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);
|
D | Rect.h | 167 bool intersect(const Rect& with, Rect* result) const;
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 386 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 …]
|
D | DisplayDevice.cpp | 236 const Region newDirty(dirty.intersect(bounds())); in flip()
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
D | ExploreByTouchHelperTest.java | 88 hostBounds.intersect(nodeBoundsInParent); in testBoundsInScreen() 96 expectedBoundsInScreen.intersect(hostBoundsOnScreen); in testBoundsInScreen()
|
/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/graphics/java/android/graphics/ |
D | RectF.java | 344 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()
|
D | Rect.java | 427 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/ |
D | ViewCompatLollipop.java | 224 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/ |
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/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewActions.java | 377 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandle() 457 if (!visibleDisplayBounds.intersect(bounds)) { in locateHandlePointsTextIndex()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
D | FlagSet.java | 66 public boolean intersect(FlagSet other, int bucketIndex) { in intersect() method in FlagSet
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 85 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() function in android::Rect
|
D | Region.cpp | 336 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/ |
D | DamageAccumulator.cpp | 204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) { in applyRenderNodeTransform()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 323 cropBox.intersect(mediaBox); in applyPrintAttributes()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 582 return localRect.intersect(tempVisibleRect); in intersectVisibleToUser()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | MultiSelectManager.java | 156 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/ |
D | Region_Delegate.java | 99 result.intersect(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseLinearLayoutManagerTest.java | 521 if (new Rect(childBounds).intersect(layoutBounds)) { in collectChildCoordinates()
|