HomeSort by relevance Sort by last modified time
    Searched refs:Intersects (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/chromium_org/cc/base/
simple_enclosed_region_unittest.cc 205 TEST(SimpleEnclosedRegionTest, Intersects) {
208 EXPECT_FALSE(r.Intersects(gfx::Rect(0, 2, 1, 1)));
209 EXPECT_FALSE(r.Intersects(gfx::Rect(1, 1, 1, 1)));
210 EXPECT_TRUE(r.Intersects(gfx::Rect(1, 2, 1, 1)));
211 EXPECT_TRUE(r.Intersects(gfx::Rect(0, 1, 2, 2)));
213 EXPECT_FALSE(r.Intersects(gfx::Rect(6, 2, 1, 1)));
214 EXPECT_FALSE(r.Intersects(gfx::Rect(5, 1, 1, 1)));
215 EXPECT_TRUE(r.Intersects(gfx::Rect(5, 2, 1, 1)));
216 EXPECT_TRUE(r.Intersects(gfx::Rect(5, 1, 2, 2)));
218 EXPECT_FALSE(r.Intersects(gfx::Rect(0, 7, 1, 1)))
    [all...]
simple_enclosed_region.h 50 bool Intersects(const gfx::Rect& rect) const {
51 return rect_.Intersects(rect);
53 bool Intersects(const SimpleEnclosedRegion& region) const {
54 return rect_.Intersects(region.rect_);
region.h 45 bool Intersects(const gfx::Rect& rect) const;
46 bool Intersects(const Region& region) const;
region.cc 69 bool Region::Intersects(const gfx::Rect& rect) const {
70 return skregion_.intersects(gfx::RectToSkIRect(rect));
73 bool Region::Intersects(const Region& region) const {
74 return skregion_.intersects(region.skregion_);
  /external/chromium_org/third_party/skia/src/gpu/
GrReducedClip.cpp 106 if (!SkRect::Intersects(stackBounds, scalarQueryBounds)) {
191 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
199 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
215 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
221 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
237 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
245 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
261 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
267 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
284 } else if (!SkRect::Intersects(element->getBounds(), queryBounds))
    [all...]
  /external/skia/src/gpu/
GrReducedClip.cpp 106 if (!SkRect::Intersects(stackBounds, scalarQueryBounds)) {
191 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
199 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
215 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
221 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
237 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
245 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
261 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
267 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) {
284 } else if (!SkRect::Intersects(element->getBounds(), queryBounds))
    [all...]
  /external/chromium_org/ui/gfx/range/
range_unittest.cc 156 EXPECT_TRUE(r1.Intersects(r1));
160 EXPECT_FALSE(r1.Intersects(r2));
163 EXPECT_FALSE(r2.Intersects(r1));
167 EXPECT_TRUE(r1.Intersects(r3));
168 EXPECT_TRUE(r3.Intersects(r1));
174 EXPECT_TRUE(r2.Intersects(r3));
175 EXPECT_TRUE(r3.Intersects(r2));
204 EXPECT_FALSE(invalid.Intersects(invalid));
205 EXPECT_FALSE(invalid.Intersects(r1));
207 EXPECT_FALSE(r1.Intersects(invalid))
    [all...]
range.h 84 // Returns true if this range intersects the specified |range|.
85 bool Intersects(const Range& range) const;
range.cc 60 bool Range::Intersects(const Range& range) const {
  /art/compiler/dex/quick/
local_optimizations.cc 24 #define LOAD_STORE_CHECK_REG_DEP(mask, check) (mask.Intersects(*check->u.m.def_mask))
27 #define CHECK_REG_DEP(use, def, check) (def.Intersects(*check->u.m.use_mask)) || \
28 (use.Union(def).Intersects(*check->u.m.def_mask))
181 if (!this_mem_mask.Intersects(kEncodeLiteral.Union(kEncodeDalvikReg)) &&
182 (!this_mem_mask.Intersects(kEncodeLiteral.Union(kEncodeHeapRef)))) {
187 if (this_lir->u.m.def_mask->Intersects(*this_lir->u.m.use_mask)) {
196 if (uses_pc.Intersects(this_lir->u.m.use_mask->Union(*this_lir->u.m.def_mask))) {
203 if (!this_mem_mask.Intersects(kEncodeMem) && !this_mem_mask.Intersects(kEncodeLiteral)) {
214 if (uses_pc.Intersects(check_lir->u.m.use_mask->Union(*check_lir->u.m.def_mask)))
    [all...]
  /external/chromium_org/third_party/skia/tests/
PathOpsBoundsTest.cpp 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
  /external/skia/tests/
PathOpsBoundsTest.cpp 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2);
  /external/chromium_org/chrome/browser/chromeos/ui/
accessibility_focus_ring_controller.h 65 bool Intersects(const gfx::Rect& r1, const gfx::Rect& r2) const;
accessibility_focus_ring_controller.cc 116 if (Intersects(rects[i], regions[j].bounds)) {
135 if (Intersects(regions[i].bounds, regions[j].bounds)) {
277 bool AccessibilityFocusRingController::Intersects(
  /external/chromium_org/pdf/
paint_aggregator.cc 165 if (!update_.scroll_rect.Intersects(update_.paint_rects[i]))
227 if (rect.Intersects(existing_rect)) {
228 // Re-invalidate in case the union intersects other paint rects.
242 if (rect.Intersects(existing_rect) || rect.SharesEdgeWith(existing_rect)) {
243 // Re-invalidate in case the union intersects other paint rects.
260 update_.scroll_rect.Intersects(rect)) {
  /external/chromium_org/third_party/skia/include/utils/
SkPictureUtils.h 59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
  /external/chromium_org/third_party/skia/src/core/
SkBitmap_scroll.cpp 49 if (!SkIRect::Intersects(r, inval->getBounds())) {
  /external/skia/include/utils/
SkPictureUtils.h 59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
  /external/skia/src/core/
SkBitmap_scroll.cpp 49 if (!SkIRect::Intersects(r, inval->getBounds())) {
  /external/chromium_org/ash/system/tray/
tray_item_more.cc 93 if (label_->bounds().Intersects(more_->bounds())) {
  /external/chromium_org/ppapi/cpp/
rect.cc 48 bool Rect::Intersects(const Rect& rect) const {
82 if (!Intersects(rect))
152 bool FloatRect::Intersects(const FloatRect& rect) const {
186 if (!Intersects(rect))
  /external/chromium_org/third_party/skia/src/pathops/
SkPathOpsBounds.h 15 static bool Intersects(const SkPathOpsBounds& a, const SkPathOpsBounds& b) {
  /external/chromium_org/ui/views/
view_targeter_delegate.cc 27 return target->GetLocalBounds().Intersects(rect);
  /external/skia/src/pathops/
SkPathOpsBounds.h 15 static bool Intersects(const SkPathOpsBounds& a, const SkPathOpsBounds& b) {
  /external/chromium_org/ppapi/utility/graphics/
paint_aggregator.cc 122 if (rect.Intersects(existing_rect) || rect.SharesEdgeWith(existing_rect)) {
123 // Re-invalidate in case the union intersects other paint rects.
193 } else if (update_.scroll_rect.Intersects(update_.paint_rects[i])) {
218 if (!update_.scroll_rect.Intersects(rect))

Completed in 503 milliseconds

1 2 3 4 5 6