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

12

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java49 nodeRect.intersect(displayRect);
H A DUiObject.java356 nodeRect.intersect(parentRect);
/frameworks/base/media/java/android/media/
H A DImage.java151 cropRect.intersect(0, 0, getWidth(), getHeight());
H A DMediaCodecInfo.java693 mBitrateRange = mBitrateRange.intersect(bitRates);
714 bitRates = bitRates.intersect(
867 range = range.intersect(
873 range = range.intersect(1, mSmallerDimensionUpperLimit);
877 range = range.intersect(
911 range = range.intersect(
917 range = range.intersect(1, mSmallerDimensionUpperLimit);
921 range = range.intersect(
1145 frameRates = frameRates.intersect(FRAME_RATE_RANGE);
1155 bitRates = bitRates.intersect(BITRATE_RANG
[all...]
H A DUtils.java71 result.add(range.intersect(one[ix]));
78 result.add(range.intersect(one[ix]));
170 return range.intersect(
/frameworks/native/include/ui/
H A DRegion.h77 const Region intersect(const Rect& rhs) const;
83 const Region intersect(const Region& rhs) const;
97 const Region intersect(const Region& rhs, int dx, int dy) const;
191 return intersect(rhs);
H A DRect.h154 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/base/libs/hwui/
H A DRect.h130 bool intersect(float l, float t, float r, float b) { function in class:android::uirenderer::Rect
140 bool intersect(const Rect& r) { function in class:android::uirenderer::Rect
141 return intersect(r.left, r.top, r.right, r.bottom);
H A DDamageAccumulator.cpp190 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) {
H A DSnapshot.cpp141 clipped = clipRect->intersect(r);
H A DRenderProperties.h520 outRect->intersect(mPrimitiveFields.mClipBounds);
/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.java388 * @return true if the specified rectangle and this rectangle intersect
392 public boolean intersect(int left, int top, int right, int bottom) { method in class:Rect
410 * @return true if the specified rectangle and this rectangle intersect
414 public boolean intersect(Rect r) { method in class:Rect
415 return intersect(r.left, r.top, r.right, r.bottom);
419 * If rectangles a and b intersect, return true and set this rectangle to
426 * @return true iff the two specified rectangles intersect. If they do, set
444 * if either rectangle is empty. To record the intersection, use intersect()
460 * Returns true iff the two specified rectangles intersect. In no event are
462 * use {@link #intersect(Rec
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp304 win.intersect(s.active.crop, &win);
332 activeCrop.intersect(hw->getViewport(), &activeCrop);
341 activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop);
437 activeCrop.intersect(hw->getViewport(), &activeCrop);
445 activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop);
456 frame.intersect(hw->getViewport(), &frame);
514 Region visible = tr.transform(visibleRegion.intersect(hw->getViewport()));
555 win.intersect(s.active.crop, &win);
560 frame.intersect(hw->getViewport(), &frame);
789 win.intersect(
[all...]
H A DDisplayDevice.cpp196 const Region newDirty(dirty.intersect(bounds()));
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java389 if (!actualCrop.intersect(activeArray)) {
822 * Try to intersect normalized area with [-1000, 1000] rectangle; otherwise
828 if (!normalizedIntersected.intersect(NORMALIZED_RECTANGLE_DEFAULT)) {
844 if (!previewMetering.intersect(previewCrop)) {
984 if (!reportedMetering.intersect(cropToIntersectAgainst)) {
/frameworks/native/libs/ui/
H A DRect.cpp82 bool Rect::intersect(const Rect& with, Rect* result) const { function in class:android::Rect
H A DRegion.cpp325 const Region Region::intersect(const Rect& rhs) const { function in class:android::Region
345 const Region Region::intersect(const Region& rhs) const { function in class:android::Region
391 const Region Region::intersect(const Region& rhs, int dx, int dy) const { function in class:android::Region
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java536 return localRect.intersect(tempVisibleRect);
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp219 if (!dirty.isEmpty() && !dirty.intersect(0, 0, width, height)) {
220 ALOGW("Dirty " RECT_STRING " doesn't intersect with 0 0 %d %d ?",
/frameworks/support/v4/java/android/support/v4/widget/
H A DExploreByTouchHelper.java514 return localRect.intersect(mTempVisibleRect);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java327 cropBox.intersect(mediaBox);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java240 mTmpRect.intersect(win.mVisibleInsets);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java99 result.intersect(shape2 instanceof Area ? (Area) shape2 : new Area(shape2));

Completed in 1128 milliseconds

12