/external/skia/experimental/Intersection/ |
CubicIntersection_Test.cpp | 487 _Rect rect1, rect2; local 488 rect1.setBounds(cubic1); 490 bool boundsIntersect = rect1.left <= rect2.right && rect2.left <= rect2.right 491 && rect1.top <= rect2.bottom && rect2.top <= rect1.bottom; 586 _Rect rect1, rect2; local 587 rect1.setBounds(cubic1); 589 bool boundsIntersect = rect1.left <= rect2.right && rect2.left <= rect2.right 590 && rect1.top <= rect2.bottom && rect2.top <= rect1.bottom [all...] |
/external/chromium_org/chrome/browser/resources/pdf/ |
viewport.js | 7 * @param {Object} rect1 the first rect 11 function getIntersectionArea(rect1, rect2) { 13 Math.min(rect1.x + rect1.width, rect2.x + rect2.width) - 14 Math.max(rect1.x, rect2.x)); 16 Math.min(rect1.y + rect1.height, rect2.y + rect2.height) - 17 Math.max(rect1.y, rect2.y));
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 73 Rect rect1 = mockDrawable.copyBounds(); local 76 assertEquals(0, rect1.bottom); 77 assertEquals(0, rect1.left); 78 assertEquals(0, rect1.right); 79 assertEquals(0, rect1.top);
|
/external/chromium_org/third_party/skia/tests/ |
PathOpsCubicIntersectionTest.cpp | 417 SkDRect rect1, rect2; local 418 rect1.setBounds(cubic1); 420 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight 421 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom;
|
Writer32Test.cpp | 194 const SkRect rect1 = SkRect::MakeXYWH(1, 2, 3, 4); local 202 writer->writeRect(rect1); 210 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1);
|
PictureTest.cpp | 1347 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(4), SkIntToScalar(4), local [all...] |
/external/skia/tests/ |
PathOpsCubicIntersectionTest.cpp | 417 SkDRect rect1, rect2; local 418 rect1.setBounds(cubic1); 420 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight 421 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom;
|
Writer32Test.cpp | 194 const SkRect rect1 = SkRect::MakeXYWH(1, 2, 3, 4); local 202 writer->writeRect(rect1); 210 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1);
|
PictureTest.cpp | 1347 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(4), SkIntToScalar(4), local [all...] |
/external/qemu/android/skin/ |
region.c | 1249 SkinRect rect1, rect2; local 1254 skin_region_get_bounds( r, &rect1 ); 1256 if ( !skin_rect_equals( &rect1, &rect2 ) ) { 1258 rect1.pos.x, rect1.pos.y, 1259 rect1.pos.x + rect1.size.w, rect1.pos.y + rect1.size.h, [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 254 // Compress rect1 in testBitmap and rect2 in image. 257 Rect rect1, Rect rect2) { 260 boolean sameRect = rect1.equals(rect2) ? true : false; 265 Rect expectedRect = sameRect ? actualRect : rect1;
|
/external/chromium_org/ash/wm/maximize_mode/ |
maximize_mode_window_manager_unittest.cc | 156 gfx::Rect rect1(10, 10, 200, 50); 161 scoped_ptr<aura::Window> w1(CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect1)); 173 EXPECT_EQ(rect1.ToString(), w1->bounds().ToString()); 206 EXPECT_EQ(rect1.ToString(), w1->bounds().ToString()); 282 gfx::Rect rect1(10, 10, 200, 50); 287 scoped_ptr<aura::Window> w1(CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect1)); 329 EXPECT_EQ(rect1.ToString(), w1->bounds().ToString()); 486 gfx::Rect rect1(10, 10, 200, 50); 492 CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect1)); 516 gfx::Rect rect1(10, 10, 200, 50) [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.h | 264 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 265 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2); 267 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 268 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.h | 251 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 252 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 253 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
|
/external/pdfium/fpdfsdk/include/pdfwindow/ |
PWL_Utils.h | 104 static FX_BOOL IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
111 static CPDF_Rect MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2);
|
/external/pdfium/core/src/fpdftext/ |
text_int.h | 93 static FX_BOOL IsRectIntersect(CFX_FloatRect rect1, CFX_FloatRect rect2);
|
fpdf_text_int.cpp | [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_parser_new.cpp | 814 CFX_FloatRect rect1(m_Left, m_Bottom, m_Right, m_Top);
815 rect.Union(rect1);
|
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
CtsUiAutomatorTest.java | 709 Rect rect1 = getObjectByText("Button 1").getVisibleBounds(); local 714 rect1.left < rect2.left && rect2.right < rect3.right); 716 rect1.top == rect2.top && rect2.bottom == rect3.bottom); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewManager.java | 1642 Rect rect1 = new Rect( local [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_Utils.cpp | 72 CPDF_Rect CPWL_Utils::MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2)
76 rcRet.left = PWL_MIN(rect1.left,rect2.left);
77 rcRet.bottom = PWL_MIN(rect1.bottom,rect2.bottom);
78 rcRet.right = PWL_MAX(rect1.right,rect2.right);
79 rcRet.top = PWL_MAX(rect1.top,rect2.top);
96 FX_BOOL CPWL_Utils::IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2)
98 FX_FLOAT left = rect1.left > rect2.left ? rect1.left : rect2.left;
99 FX_FLOAT right = rect1.right < rect2.right ? rect1.right : rect2.right; [all...] |
/external/opencv/cv/include/ |
cv.h | [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
pdfjs.js | [all...] |
/prebuilts/devtools/tools/lib/ |
jcommon-1.0.12.jar | |
/prebuilts/tools/common/jfreechart/ |
jcommon-1.0.12.jar | |