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

12

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java54 nodeRect.intersect(displayRect);
H A DUiObject.java266 nodeRect.intersect(parentRect);
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DTestRequestBuilder.java147 mFilter = mFilter.intersect(Filter.matchMethodDescription(
158 mFilter = mFilter.intersect(new AnnotationInclusionFilter(SmallTest.class));
160 mFilter = mFilter.intersect(new AnnotationInclusionFilter(MediumTest.class));
162 mFilter = mFilter.intersect(new AnnotationInclusionFilter(LargeTest.class));
176 mFilter = mFilter.intersect(new AnnotationInclusionFilter(annotationClass));
188 mFilter = mFilter.intersect(new AnnotationExclusionFilter(annotationClass));
/frameworks/native/include/ui/
H A DRegion.h72 const Region intersect(const Rect& rhs) const;
78 const Region intersect(const Region& rhs) const;
92 const Region intersect(const Region& rhs, int dx, int dy) const;
182 return intersect(rhs);
H A DRect.h150 bool intersect(const Rect& with, Rect* result) const;
/frameworks/base/libs/hwui/
H A DRect.h114 bool intersect(float l, float t, float r, float b) { function in class:android::uirenderer::Rect
124 bool intersect(const Rect& r) { function in class:android::uirenderer::Rect
125 return intersect(r.left, r.top, r.right, r.bottom);
H A DSnapshot.cpp135 clipped = clipRect->intersect(r);
H A DLayerRenderer.cpp61 dirty.intersect(0.0f, 0.0f, width, height);
H A DOpenGLRenderer.cpp699 if (bounds.intersect(*mSnapshot->clipRect)) {
706 if (!bounds.intersect(mSnapshot->previous->viewport)) {
714 if (clip.intersect(untransformedBounds)) {
1106 if (bounds.intersect(*mSnapshot->clipRect)) {
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java341 * @return true if the specified rectangle and this rectangle intersect
345 public boolean intersect(float left, float top, float right, float bottom) { method in class:RectF
372 * @return true if the specified rectangle and this rectangle intersect
376 public boolean intersect(RectF r) { method in class:RectF
377 return intersect(r.left, r.top, r.right, r.bottom);
381 * If rectangles a and b intersect, return true and set this rectangle to
388 * @return true iff the two specified rectangles intersect. If they do, set
407 * if either rectangle is empty. To record the intersection, use intersect()
425 * Returns true iff the two specified rectangles intersect. In no event are
427 * use intersect() o
[all...]
H A DRect.java376 * @return true if the specified rectangle and this rectangle intersect
380 public boolean intersect(int left, int top, int right, int bottom) { method in class:Rect
398 * @return true if the specified rectangle and this rectangle intersect
402 public boolean intersect(Rect r) { method in class:Rect
403 return intersect(r.left, r.top, r.right, r.bottom);
407 * If rectangles a and b intersect, return true and set this rectangle to
414 * @return true iff the two specified rectangles intersect. If they do, set
432 * if either rectangle is empty. To record the intersection, use intersect()
448 * Returns true iff the two specified rectangles intersect. In no event are
450 * use {@link #intersect(Rec
[all...]
/frameworks/native/libs/ui/
H A DRect.cpp87 bool Rect::intersect(const Rect& with, Rect* result) const function in class:android::Rect
H A DRegion.cpp172 const Region Region::intersect(const Rect& rhs) const { function in class:android::Region
192 const Region Region::intersect(const Region& rhs) const { function in class:android::Region
238 const Region Region::intersect(const Region& rhs, int dx, int dy) const { function in class:android::Region
/frameworks/native/services/surfaceflinger/
H A DLayerBase.cpp243 win.intersect(s.active.crop, &win);
260 win.intersect(s.active.crop, &win);
409 win.intersect(s.active.crop, &win);
H A DDisplayDevice.cpp200 const Region newDirty(dirty.intersect(bounds()));
H A DSurfaceFlinger.cpp1348 coveredRegion = aboveCoveredLayers.intersect(visibleRegion);
1496 const Region region(hw->undefinedRegion.intersect(dirty));
1538 const Region clip(dirty.intersect(tr.transform(layer->visibleRegion)));
1570 const Region clip(dirty.intersect(
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java99 result.intersect(shape2 instanceof Area ? (Area) shape2 : new Area(shape2));
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java1051 if (!magnifiedRegionBounds.intersect(touchableRegion)) {
1588 magnifiedFrame.intersect(availableFrame);
1607 magnifiedFrame.intersect(0, 0, displayWidth, displayHeight);
H A DAccessibilityManagerService.java623 outBounds.intersect(windowBounds);
626 outBounds.intersect(0, 0, mTempPoint.x, mTempPoint.y);
/frameworks/base/core/java/android/view/
H A DViewGroup.java4101 * does not intersect with this ViewGroup's bounds.
4115 if (!dirty.intersect(0, 0, mRight - left, mBottom - top)) {
4211 dirty.intersect(0, 0, mRight - mLeft, mBottom - mTop)) {
4271 rect.intersect(0, 0, p.mRight - p.mLeft, p.mBottom - p.mTop);
4276 rect.intersect(0, 0, p.mRight - p.mLeft, p.mBottom - p.mTop);
4356 if (rect.intersect(0, 0, mRight - mLeft, mBottom - mTop)) {
H A DViewRootImpl.java889 final boolean intersected = localDirty.intersect(0, 0,
920 return r.intersect(0, 0, mWidth, mHeight);
2341 bounds.intersect(0, 0, mAttachInfo.mViewRootImpl.mWidth, mAttachInfo.mViewRootImpl.mHeight);
2454 if (mTempRect.intersect(mVisRect)) {
H A DView.java5116 return boundInView.intersect(visibleRect);
/frameworks/base/services/java/com/android/server/wm/
H A DWindowStateAnimator.java1047 w.mSystemDecorRect.intersect(decorRect.left-offX, decorRect.top-offY,
1077 w.mSystemDecorRect.intersect(-w.mCompatFrame.left, -w.mCompatFrame.top,
/frameworks/native/libs/gui/
H A DBufferQueue.cpp524 crop.intersect(bufferRect, &croppedCrop);
H A DSurfaceTextureClient.cpp296 mCrop.intersect(Rect(buffer->width, buffer->height), &crop);

Completed in 2051 milliseconds

12