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

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
RegionIteratorTest.java 19 import android.graphics.Rect;
33 Rect rect = new Rect(); local
34 rect.set(1, 1, 1, 1);
41 assertTrue(regionIterator.next(rect));
42 assertEquals(1, rect.left);
43 assertEquals(1, rect.top);
44 assertEquals(10, rect.right);
45 assertEquals(10, rect.bottom)
    [all...]
  /external/chromium-trace/trace-viewer/src/ui/
rect_view.css 6 rect-view {
  /external/chromium_org/third_party/skia/src/core/
SkValidationUtils.h 32 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32
34 static inline bool SkIsValidIRect(const SkIRect& rect) {
35 return rect.width() >= 0 && rect.height() >= 0;
38 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax
40 static inline bool SkIsValidRect(const SkRect& rect) {
41 return (rect.fLeft <= rect.fRight) &&
42 (rect.fTop <= rect.fBottom) &
    [all...]
  /external/skia/src/core/
SkValidationUtils.h 32 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32
34 static inline bool SkIsValidIRect(const SkIRect& rect) {
35 return rect.width() >= 0 && rect.height() >= 0;
38 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax
40 static inline bool SkIsValidRect(const SkRect& rect) {
41 return (rect.fLeft <= rect.fRight) &&
42 (rect.fTop <= rect.fBottom) &
    [all...]
  /device/asus/flo/camera/hdr/include/
morpho_rect_int.h 25 /** ??`??? rect ???????W (l,t) ??E?????W (r,b) ??????. */
26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \
27 (rect)->sx=(l);\
28 (rect)->sy=(t);\
29 (rect)->ex=(r);\
30 (rect)->ey=(b);\
  /device/lge/mako/camera/hdr/include/
morpho_rect_int.h 25 /** ??`??? rect ???????W (l,t) ??E?????W (r,b) ??????. */
26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \
27 (rect)->sx=(l);\
28 (rect)->sy=(t);\
29 (rect)->ex=(r);\
30 (rect)->ey=(b);\
  /external/chromium_org/ui/gfx/
rect_conversions.h 8 #include "ui/gfx/rect.h"
13 // Returns the smallest Rect that encloses the given RectF.
14 GFX_EXPORT Rect ToEnclosingRect(const RectF& rect);
16 // Returns the largest Rect that is enclosed by the given RectF.
17 GFX_EXPORT Rect ToEnclosedRect(const RectF& rect);
19 // Returns the Rect after snapping the corners of the RectF to an integer grid.
21 // integer rect with floating point error. If it is an arbitrary RectF, then
23 GFX_EXPORT Rect ToNearestRect(const RectF& rect)
    [all...]
rect_conversions.cc 15 Rect ToEnclosingRect(const RectF& rect) {
16 int min_x = ToFlooredInt(rect.x());
17 int min_y = ToFlooredInt(rect.y());
18 float max_x = rect.right();
19 float max_y = rect.bottom();
20 int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0);
21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0);
22 return Rect(min_x, min_y, width, height);
25 Rect ToEnclosedRect(const RectF& rect)
    [all...]
  /hardware/qcom/camera/hdr/include/
morpho_rect_int.h 25 /** ??`??? rect ???????W (l,t) ??E?????W (r,b) ??????. */
26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \
27 (rect)->sx=(l);\
28 (rect)->sy=(t);\
29 (rect)->ex=(r);\
30 (rect)->ey=(b);\
  /external/chromium_org/cc/test/
solid_color_content_layer_client.cc 9 #include "ui/gfx/rect.h"
15 SkCanvas* canvas, gfx::Rect rect, gfx::RectF* opaque_rect) {
22 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()),
26 *opaque_rect = rect;
  /external/pixman/test/
region-translate-test.c 13 pixman_box32_t rect = { -LARGE, -LARGE, LARGE, LARGE }; local
16 pixman_region32_init_rects (&r1, &rect, 1);
17 pixman_region32_init_rect (&r2, rect.x1, rect.y1, rect.x2 - rect.x1, rect.y2 - rect.y1);
  /hardware/qcom/display/msm8960/libcopybit/
copybit_priv.h 32 copybit_iterator(const copybit_rect_t& rect) {
33 mRect = rect;
38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) {
39 if (!self || !rect) {
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
  /hardware/qcom/display/msm8974/libcopybit/
copybit_priv.h 32 copybit_iterator(const copybit_rect_t& rect) {
33 mRect = rect;
38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) {
39 if (!self || !rect) {
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
  /hardware/qcom/display/msm8x26/libcopybit/
copybit_priv.h 32 copybit_iterator(const copybit_rect_t& rect) {
33 mRect = rect;
38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) {
39 if (!self || !rect) {
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ClientRect.cpp 37 ClientRect::ClientRect(const IntRect& rect)
38 : m_rect(rect)
43 ClientRect::ClientRect(const FloatRect& rect)
44 : m_rect(rect)
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
NinePatchedImageTest.java 229 Rectangle rect = null; local
233 rect = c.rect;
235 assertEquals(1, rect.x);
236 assertEquals(1, rect.y);
237 assertEquals(1, rect.width);
238 assertEquals(1, rect.height);
241 rect = c.rect;
243 assertEquals(2, rect.x)
334 Rectangle rect = null; local
796 Rectangle rect = null; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderRegionSet.cpp 46 // Whenever the last region is a set, it always expands its region rect to consume all
49 LayoutRect rect(flowThreadPortionRect());
52 // flow thread's remaining logical height including its overflow and expand our rect
57 LayoutUnit logicalTopOffset = isHorizontal ? rect.y() : rect.x();
60 setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height()));
  /external/chromium_org/cc/layers/
scrollbar_theme_painter.h 13 class Rect;
22 virtual void PaintScrollbarBackground(SkCanvas* canvas, gfx::Rect rect) = 0;
23 virtual void PaintTrackBackground(SkCanvas* canvas, gfx::Rect rect) = 0;
24 virtual void PaintBackTrackPart(SkCanvas* canvas, gfx::Rect rect) = 0;
25 virtual void PaintForwardTrackPart(SkCanvas* canvas, gfx::Rect rect) = 0;
26 virtual void PaintBackButtonStart(SkCanvas* canvas, gfx::Rect rect) = 0
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebScrollbarThemePainter.cpp 46 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect)
48 SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height);
56 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect)
60 m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect));
63 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect)
67 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart);
70 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect)
    [all...]
  /external/chromium_org/ppapi/cpp/
rect.cc 5 #include "ppapi/cpp/rect.h"
26 void Rect::Inset(int32_t left, int32_t top, int32_t right, int32_t bottom) {
32 void Rect::Offset(int32_t horizontal, int32_t vertical) {
37 bool Rect::Contains(int32_t point_x, int32_t point_y) const {
42 bool Rect::Contains(const Rect& rect) const {
43 return (rect.x() >= x() && rect.right() <= right() &&
44 rect.y() >= y() && rect.bottom() <= bottom())
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkDrawClip.cpp 21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
32 if (rect != NULL)
33 maker.fCanvas->clipRect(rect->fRect);
  /external/skia/src/animator/
SkDrawClip.cpp 21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
32 if (rect != NULL)
33 maker.fCanvas->clipRect(rect->fRect);
  /pdk/apps/CameraITS/tests/
test_3a.py 24 rect = [0,0,1,1]
25 sens, exp, gains, xform, focus = cam.do_3a(rect, rect, rect)
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
BinPacker.java 19 import com.android.ide.common.api.Rect;
53 private final List<Rect> mSpace = new ArrayList<Rect>();
59 * initial available space rectangles with {@link #addSpace(Rect)}, and then
61 * {@link Rect} from {@link #occupy(int, int)} gives the coordinates of the
72 mAllocated = new ArrayList<Rect>();
79 void addSpace(Rect rect) {
80 if (rect.w >= mMinWidth && rect.h >= mMinHeight)
110 Rect rect = mSpace.get(i); local
137 Rect rect = mSpace.get(i); local
196 Rect rect = mSpace.get(index); local
    [all...]
  /external/chromium_org/ui/native_theme/
native_theme_aura.cc 13 #include "ui/gfx/rect.h"
51 SkRect rect = SkRect::MakeWH(SkIntToScalar(size.width()), local
56 path.addRoundRect(rect, radii);
67 const gfx::Rect& rect,
69 CommonThemePaintMenuItemBackground(canvas, state, rect);
77 const gfx::Rect& rect) const {
81 int center_height = rect.height();
83 if (rect.y() == extra_params.track_y)
    [all...]

Completed in 707 milliseconds

1 2 3 4 5 6 7 8 91011>>