/frameworks/base/include/ui/ |
Rect.h | 23 #include <android/rect.h> 27 class Rect : public ARect 35 inline Rect() { 37 inline Rect(int32_t w, int32_t h) { 40 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { 43 inline Rect(const Point& lt, const Point& rb) { 58 // an empty rect has a zero width or height, or is invalid 63 inline void set(const Rect& rhs) { 87 // the following 4 functions return the 4 corners of the rect as Point 102 inline bool operator == (const Rect& rhs) const [all...] |
Region.h | 25 #include <ui/Rect.h> 40 explicit Region(const Rect& rhs); 49 inline Rect getBounds() const { return mBounds; } 50 inline Rect bounds() const { return getBounds(); } 56 void set(const Rect& r); 59 Region& orSelf(const Rect& rhs); 60 Region& andSelf(const Rect& rhs); 61 Region& subtractSelf(const Rect& rhs); 69 const Region merge(const Rect& rhs) const; 70 const Region intersect(const Rect& rhs) const [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_video.c | 79 /* This is the rect EnumModes2 uses */ 380 struct DirectFBEnumRect *rect; local 441 for (i = 0, rect = enumlist; rect; ++i, rect = rect->next ) 443 HIDDEN->modelist[i] = &rect->r; 1088 struct DirectFBEnumRect *rect = enumlist; local 1143 while (rect) 1145 struct DirectFBEnumRect *next = rect->next [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 77 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 78 path.addRect(rect, Path.Direction.CW); 605 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 606 path.addRoundRect(rect, XCOORD, YCOORD, Path.Direction.CW); 627 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 632 path.addRoundRect(rect, radii, Path.Direction.CW); 801 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 802 path.addRect(rect, Path.Direction.CW);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 23 import android.graphics.Rect; 48 private Rect mTempRect = new Rect(); 150 // draw background rect 154 // draw forground rect 183 public void getRectForRow(Rect rect, int row) { 186 rect.set(getPaddingLeft(), 227 public void getFocusedRect(Rect r) { 233 Rect previouslyFocusedRect) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_sysvideo.h | 132 int (*FillHWRect)(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color); 233 int (*GetMonitorRect)(_THIS, SDL_Rect* rect);
|
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
SDL_epocvideo.cpp | 422 TRect rect = TRect(Private->EPOC_WsWindow.Size()); local 423 Private->EPOC_WsWindow.Invalidate(rect); 426 Private->EPOC_WsWindow.BeginRedraw(rect); 473 TRect rect = TRect(Private->EPOC_WsWindow.Size()); local 474 Private->EPOC_WsWindow.Invalidate(rect); 594 TRect rect = TRect(Private->EPOC_WsWindow.Size()); local 595 Private->EPOC_WsWindow.Invalidate(rect); 596 Private->EPOC_WsWindow.BeginRedraw(rect);
|
/external/skia/src/core/ |
SkRegion.cpp | 59 // returns true if runs are just a rect 117 SkRegion::SkRegion(const SkIRect& rect) 120 this->setRect(rect); 198 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) 200 SkRegion tmp(rect); 205 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) 207 SkRegion tmp(rect); 297 // SkDEBUGF(("setRuns: rect[%d %d %d %d]\n", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom)); 898 SkASSERT(count >= 6); // a single rect is 6 values 1010 uint32_t size = sizeof(int32_t); // -1 (empty), 0 (rect), runCoun [all...] |
SkDraw.cpp | 245 static void CallBitmapXferProc(const SkBitmap& bitmap, const SkIRect& rect, 267 const int widthBytes = rect.width() << shiftPerPixel; 270 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel); 271 for (int scans = rect.height() - 1; scans >= 0; --scans) { 305 CallBitmapXferProc(*fBitmap, iter.rect(), proc, procData); 658 void SkDraw::drawRect(const SkRect& rect, const SkPaint& paint) const { 673 tmp.addRect(rect); 682 // transform rect into devRect 684 matrix.mapXY(rect.fLeft, rect.fTop, rect_points(devRect, 0)) [all...] |
/external/skia/src/images/ |
SkImageDecoder.cpp | 173 bool SkImageDecoder::decodeRegion(SkBitmap* bm, SkIRect rect, 184 if (!this->onDecodeRegion(&tmp, rect)) { 206 // The output rect is the same as the decode result
|
/external/webkit/WebCore/css/ |
CSSPrimitiveValue.h | 35 class Rect; 152 Rect* getRectValue(ExceptionCode&) const; 153 Rect* getRectValue() const { return m_type != CSS_RECT ? 0 : m_value.rect; } 195 void init(PassRefPtr<Rect>); 209 Rect* rect; member in union:WebCore::CSSPrimitiveValue::__anon8180
|
/external/webkit/WebCore/inspector/ |
InspectorTimelineAgent.cpp | 88 void InspectorTimelineAgent::willPaint(const IntRect& rect) 90 pushCurrentRecord(TimelineRecordFactory::createPaintData(m_frontend, rect), PaintTimelineRecordType);
|
/external/webkit/WebCore/platform/graphics/cairo/ |
FontCairo.cpp | 93 FloatRect rect(FloatPoint(), FloatSize(extents.width, extents.height)); 97 GraphicsContext::calculateShadowBufferDimensions(shadowBufferSize, shadowRect, kernelSize, rect, shadowSize, shadowBlur);
|
/external/webkit/WebCore/platform/graphics/skia/ |
SkiaUtils.cpp | 151 // The cliperator requires an int rect, so we round out. 156 // rect and the clipping region (which may be non-square) overlap. 164 SkIRect currentVisibleRect = cliperator.rect(); 167 currentVisibleRect.join(cliperator.rect()); 204 // rect. We don't use bounds.contains() here, since it would exclude 205 // points on the right and bottom edges of the bounding rect, and we want
|
/external/webkit/WebCore/platform/mac/ |
WebCoreSystemInterface.h | 109 extern void (*wkDrawMediaSliderTrack)(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded, float currentTime, 111 extern void (*wkDrawMediaUIPart)(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned state);
|
/external/webkit/WebCore/platform/win/ |
ScrollbarThemeSafari.cpp | 83 (ThemePart part, CGContextRef context, const CGRect& rect, NSControlSize size, ThemeControlState state), 84 (part, context, rect, size, state))
|
/external/webkit/WebCore/platform/wince/ |
PasteboardWince.cpp | 215 IntRect rect(0, 0, sourceBmp->width(), sourceBmp->height()); 218 HBITMAP resultBitmap = sourceBmp->clipBitmap(rect, true, bmpInfo, pixels);
|
/external/webkit/WebCore/rendering/ |
RenderThemeChromiumMac.mm | 369 CGRect rect = CGRectMake(0, 0, 1, 1); 373 HIThemeDrawMenuBackground(&rect, &drawInfo, context, kHIThemeOrientationInverted); 580 // Move the rect into partRenderer's coords 826 // On Leopard, the cell will draw outside of the given rect, so we have to clip to the rect [all...] |
/external/webkit/WebKit/mac/WebView/ |
WebUIDelegate.h | 334 @abstract Set the window's frame rect 346 @abstract REturn the window's frame rect 534 @discussion The height returned will be used to calculate the rect passed to webView:drawHeaderInRect:. 543 @discussion The height returned will be used to calculate the rect passed to webView:drawFooterInRect:. 550 @param rect The NSRect reserved for the header of the page 551 @abstract The delegate should draw a header for the sender in the supplied rect. 553 - (void)webView:(WebView *)sender drawHeaderInRect:(NSRect)rect; 558 @param rect The NSRect reserved for the footer of the page 559 @abstract The delegate should draw a footer for the sender in the supplied rect. 561 - (void)webView:(WebView *)sender drawFooterInRect:(NSRect)rect; [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 27 import android.graphics.Rect; 51 private Rect mTempRect = new Rect(); 152 // draw background rect 156 // draw forground rect 185 public void getRectForRow(Rect rect, int row) { 188 rect.set(mPaddingLeft, 228 public void getFocusedRect(Rect r) { 234 Rect previouslyFocusedRect) [all...] |
/external/qemu/android/skin/ |
trackball.c | 612 skin_trackball_rect( SkinTrackBall* ball, SDL_Rect* rect ) 614 rect->x = 0; 615 rect->y = 0; 616 rect->w = ball->diameter; 617 rect->h = ball->diameter;
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11wm.c | 564 X11_GetMonitorRect(_THIS, SDL_Rect *rect) 569 rect->x = 0; 570 rect->y = 0; 571 rect->w = XDisplayWidth(display, screen); 572 rect->h = XDisplayHeight(display, screen);
|
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 242 bool SkDumpCanvas::clipRect(const SkRect& rect, SkRegion::Op op) { 244 toString(rect, &str); 246 return this->INHERITED::clipRect(rect, op); 276 void SkDumpCanvas::drawRect(const SkRect& rect, const SkPaint& paint) { 278 toString(rect, &str); 301 // show the src-rect only if its not everything
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 96 RectF rect = gesture.getBoundingBox(); local 97 final float gestureWidth = rect.width(); 98 final float gestureHeight = rect.height(); 130 float preDx = -rect.centerX(); 131 float preDy = -rect.centerY();
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
SDL_dibvideo.c | 101 static int DIB_GetMonitorRect(_THIS, SDL_Rect* rect); 495 RECT bounds; 1254 RECT rect; local [all...] |