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

123

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManager_SelectionTest.java109 testSelection.intersect(new HashSet<String>());
115 testSelection.intersect(Sets.newHashSet("foo"));
121 selection.intersect(new HashSet<String>());
135 testSelection.intersect(set);
149 testSelection.intersect(Sets.newHashSet(ids1));
168 testSelection.intersect(Sets.newHashSet(ids1));
/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.java1134 mBitrateRange = mBitrateRange.intersect(bitRates);
1155 bitRates = bitRates.intersect(
1316 range = range.intersect(
1322 range = range.intersect(1, mSmallerDimensionUpperLimit);
1326 range = range.intersect(
1360 range = range.intersect(
1366 range = range.intersect(1, mSmallerDimensionUpperLimit);
1370 range = range.intersect(
1771 frameRates = frameRates.intersect(FRAME_RATE_RANGE);
1781 bitRates = bitRates.intersect(BITRATE_RANG
[all...]
H A DUtils.java69 result.add(range.intersect(one[ix]));
76 result.add(range.intersect(one[ix]));
168 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.h167 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/support/core-ui/tests/java/android/support/v4/widget/
H A DExploreByTouchHelperTest.java87 hostBounds.intersect(nodeBoundsInParent);
95 expectedBoundsInScreen.intersect(hostBoundsOnScreen);
/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.java422 * @return true if the specified rectangle and this rectangle intersect
427 public boolean intersect(int left, int top, int right, int bottom) { method in class:Rect
445 * @return true if the specified rectangle and this rectangle intersect
450 public boolean intersect(Rect r) { method in class:Rect
451 return intersect(r.left, r.top, r.right, r.bottom);
455 * If rectangles a and b intersect, return true and set this rectangle to
462 * @return true iff the two specified rectangles intersect. If they do, set
481 * if either rectangle is empty. To record the intersection, use intersect()
497 * Returns true iff the two specified rectangles intersect. In no event are
499 * use {@link #intersect(Rec
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp389 win.intersect(s.crop, &win);
417 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) {
421 if(!activeCrop.intersect(s.finalCrop, &activeCrop)) {
433 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) {
556 if(!activeCrop.intersect(displayDevice->getViewport(), &activeCrop)) {
558 if(!activeCrop.intersect(hw->getViewport(), &activeCrop)) {
569 if(!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) {
583 if(!frame.intersect(s.finalCrop, &frame)) {
588 if (!frame.intersect(displayDevice->getViewport(), &frame)) {
624 if (!frame.intersect(h
[all...]
H A DDisplayDevice.cpp236 const Region newDirty(dirty.intersect(bounds()));
/frameworks/support/compat/api21/android/support/v4/view/
H A DViewCompatLollipop.java200 // If the view currently does not currently intersect the parent (and is therefore
209 // The view has now been offset, so let's intersect the Rect and invalidate where
211 if (needInvalidateWorkaround && parentRect.intersect(view.getLeft(), view.getTop(),
225 // If the view currently does not currently intersect the parent (and is therefore
234 // The view has now been offset, so let's intersect the Rect and invalidate where
236 if (needInvalidateWorkaround && parentRect.intersect(view.getLeft(), view.getTop(),
/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/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
H A DRegion.cpp336 const Region Region::intersect(const Rect& rhs) const { function in class:android::Region
356 const Region Region::intersect(const Region& rhs) const { function in class:android::Region
402 const Region Region::intersect(const Region& rhs, int dx, int dy) const { function in class:android::Region
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerNoOpUpdateTest.java102 if (rvBounds.intersect(childBounds)) {
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java377 if (!visibleDisplayBounds.intersect(bounds)) {
457 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);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java323 cropBox.intersect(mediaBox);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DMultiSelectManager.java156 mSelection.intersect(mModelIds);
181 mSelection.intersect(mModelIds);
820 public void intersect(Collection<String> ids) { method in class:MultiSelectManager.Selection
/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 796 milliseconds

123