Searched refs:intersect (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java49 if (nodeRect.intersect(displayRect)) {
/frameworks/base/media/java/android/media/
H A DImage.java241 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) {
H A DMediaCodecInfo.java1144 mBitrateRange = mBitrateRange.intersect(bitRates);
1167 bitRates = bitRates.intersect(
1328 range = range.intersect(
1334 range = range.intersect(1, mSmallerDimensionUpperLimit);
1338 range = range.intersect(
1372 range = range.intersect(
1378 range = range.intersect(1, mSmallerDimensionUpperLimit);
1382 range = range.intersect(
1783 frameRates = frameRates.intersect(FRAME_RATE_RANGE);
1793 bitRates = bitRates.intersect(BITRATE_RANG
[all...]
H A DUtils.java78 result.add(range.intersect(one[ix]));
85 result.add(range.intersect(one[ix]));
177 return range.intersect(
/frameworks/native/include/ui/
H A 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);
H A DRect.h166 bool intersect(const Rect& with, Rect* result) const;
/frameworks/native/libs/ui/include/ui/
H A 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);
H A DRect.h166 bool intersect(const Rect& with, Rect* result) const;
/frameworks/base/core/java/android/util/
H A DRange.java204 public Range<T> intersect(Range<T> range) { method in class:Range
227 * See {@link #intersect(Range)} for more details.</p>
236 public Range<T> intersect(T lower, T upper) { method in class:Range
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp455 win.intersect(s.crop, &win);
462 win.intersect(s.finalCrop, &win);
477 bounds.intersect(win, &win);
498 win.intersect(s.crop, &win);
512 win.intersect(bounds, &win);
534 activeCrop.intersect(s.crop, &activeCrop);
539 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) {
543 if(!activeCrop.intersect(s.finalCrop, &activeCrop)) {
563 activeCrop.intersect(parentCrop, &activeCrop);
575 if (!activeCrop.intersect(Rec
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java340 * @return true if the specified rectangle and this rectangle intersect
344 public boolean intersect(float left, float top, float right, float bottom) { method in class:RectF
371 * @return true if the specified rectangle and this rectangle intersect
375 public boolean intersect(RectF r) { method in class:RectF
376 return intersect(r.left, r.top, r.right, r.bottom);
380 * If rectangles a and b intersect, return true and set this rectangle to
387 * @return true iff the two specified rectangles intersect. If they do, set
406 * if either rectangle is empty. To record the intersection, use intersect()
424 * Returns true iff the two specified rectangles intersect. In no event are
426 * use intersect() o
[all...]
H A DRect.java427 * @return true if the specified rectangle and this rectangle intersect
432 public boolean intersect(int left, int top, int right, int bottom) { method in class:Rect
450 * @return true if the specified rectangle and this rectangle intersect
455 public boolean intersect(Rect r) { method in class:Rect
456 return intersect(r.left, r.top, r.right, r.bottom);
460 * If rectangles a and b intersect, return true and set this rectangle to
467 * @return true iff the two specified rectangles intersect. If they do, set
486 * if either rectangle is empty. To record the intersection, use intersect()
502 * Returns true iff the two specified rectangles intersect. In no event are
504 * use {@link #intersect(Rec
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableAtlasTests.cpp38 //check that rects in the atlas do not intersect
48 //nothing in the atlas should intersect
52 ASSERT_FALSE(VDRects[i].rect.intersect(VDRects[j].rect));
78 //rects in the atlas should not intersect.
85 ASSERT_FALSE(VDRects[i].rect.intersect(VDRects[j].rect));
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java389 if (!actualCrop.intersect(activeArray)) {
825 * Try to intersect normalized area with [-1000, 1000] rectangle; otherwise
831 if (!normalizedIntersected.intersect(NORMALIZED_RECTANGLE_DEFAULT)) {
847 if (!previewMetering.intersect(previewCrop)) {
987 if (!reportedMetering.intersect(cropToIntersectAgainst)) {
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLReadback.cpp93 srcNotEmpty = skiaSrcRect.intersect(SkRect::MakeIWH(imgWidth, imgHeight));
H A DRenderNodeDrawable.cpp83 (void)rect.intersect(*pendingClip);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DAppBoundsTests.java93 expectedBounds.intersect(shiftedBounds);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DFlagSet.java66 public boolean intersect(FlagSet other, int bucketIndex) { method in class:FlagSet
/frameworks/native/libs/ui/
H A DRect.cpp85 bool Rect::intersect(const Rect& with, Rect* result) const { function in class:android::Rect
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
H A DExploreByTouchHelperTest.java96 expectedBoundsInScreen.intersect(hostBoundsOnScreen);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerNoOpUpdateTest.java104 if (rvBounds.intersect(childBounds)) {
/frameworks/base/core/java/com/android/internal/policy/
H A DPipSnapAlgorithm.java111 final Point intersect = getEdgeIntersect(stackBounds, movementBounds, velocityX, velocityY,
113 intersectStackBounds.offsetTo(intersect.x, intersect.y);
118 * @return The point along the {@param movementBounds} that the PIP would intersect with based
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java393 if (!visibleDisplayBounds.intersect(bounds)) {
473 if (!visibleDisplayBounds.intersect(bounds)) {
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) {
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java582 return localRect.intersect(tempVisibleRect);

Completed in 1113 milliseconds

123