/external/qemu/android/skin/ |
region.c | 220 runs_set_rect( Run* runs, SkinRect* rect ) 222 runs[0] = rect->pos.y; 223 runs[1] = rect->pos.y + rect->size.h; 224 runs[2] = rect->pos.x; 225 runs[3] = rect->pos.x + rect->size.w; 390 skin_region_init_rect( SkinRegion* r, SkinRect* rect ) 392 if (rect == NULL || rect->size.w <= 0 || rect->size.h <= 0) 1217 SkinRect rect; local 1327 SkinRect rect; local [all...] |
/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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5video.c | 62 /* This is the rect EnumModes2 uses */ 959 struct DX5EnumRect *rect; local 966 for ( j = 0, rect = enumlists[i]; rect; ++j, rect = rect->next ) { 967 SDL_modelist[i][j] = &rect->r; 1281 struct DX5EnumRect *rect; local 1891 RECT rect; local [all...] |
/external/skia/samplecode/ |
SampleAll.cpp | 389 SkRect rect = {0, 0, SkIntToScalar(40), SkIntToScalar(40) }; local 477 canvas->drawRect(rect, paint); 483 canvas->drawOval(rect, paint); 486 canvas->drawOval(rect, paint);
|
/external/skia/src/core/ |
SkPath.cpp | 386 void SkPath::addRect(const SkRect& rect, Direction dir) { 387 this->addRect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, dir); 411 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, 413 SkScalar w = rect.width(); 415 SkScalar h = rect.height(); 426 this->addOval(rect, dir); 430 SkAutoPathBoundsUpdate apbu(this, rect); 619 SkRect rect; local [all...] |
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityObject.cpp | 138 IntRect rect = elementRect(); local 139 return IntPoint(rect.x() + rect.width() / 2, rect.y() + rect.height() / 2); [all...] |
/external/webkit/Source/WebCore/dom/ |
Range.cpp | 1902 FloatRect rect = boundingRect(); local [all...] |
/external/webkit/Source/WebCore/editing/ |
SelectionController.cpp | 261 // If we did nothing here, when this node's renderer was destroyed, the rect that it 849 IntRect rect = c.absoluteCaretBounds(); local 850 if (rect.isEmpty()) 852 y = rect.y() + rect.height() / 2; 1815 IntRect rect; local [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
CanvasRenderingContext2D.cpp | 878 void CanvasRenderingContext2D::rect(float x, float y, float width, float height) function in class:WebCore::CanvasRenderingContext2D 930 // Fast approximation of the stroke's bounding rect. 931 // This yields a slightly oversized rect but is very fast 986 FloatRect rect(x, y, width, height); 990 context->clearRect(rect); 991 didDraw(rect); 1013 FloatRect rect(x, y, width, height); 1015 c->fillRect(rect); 1016 didDraw(rect); 1040 FloatRect rect(x, y, width, height) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
LayerAndroid.cpp | 282 // We only use the bounding rect of the layer as mask... 307 SkRect rect; local 308 bounds(&rect); 309 return rect; 312 void LayerAndroid::bounds(SkRect* rect) const 317 // The returned rect has the translation applied 318 // FIXME: apply the full transform to the rect, 322 rect->fLeft = p.x(); 323 rect->fTop = p.y(); 324 rect->fRight = p.x() + size.width() 690 IntRect rect = m_drawTransform.inverse().mapRect(cr); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 122 static inline void fillRectSourceOver(cairo_t* cr, const FloatRect& rect, const Color& col) 125 cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height()); 257 void GraphicsContext::drawRect(const IntRect& rect) 266 fillRectSourceOver(cr, rect, fillColor()); 270 FloatRect r(rect); 322 // Do a rect fill of our endpoints. This ensures we always have the 372 void GraphicsContext::drawEllipse(const IntRect& rect) 670 GdkRectangle rect = rects[i]; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 156 void GraphicsContext::drawRect(const IntRect& rect) 165 CGContextFillRect(context, rect); 173 FloatRect(rect.x(), rect.y(), rect.width(), 1), 174 FloatRect(rect.x(), rect.maxY() - 1, rect.width(), 1), 175 FloatRect(rect.x(), rect.y() + 1, 1, rect.height() - 2) 557 FloatRect rect = path.boundingRect(); local 612 FloatRect rect = path.boundingRect(); local 1287 IntRect rect = destRect; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
GraphicsContextQt.cpp | 322 void GraphicsContext::drawRect(const IntRect& rect) 331 p->drawRect(rect); 375 // Do a rect fill of our endpoints. This ensures we always have the 433 void GraphicsContext::drawEllipse(const IntRect& rect) 438 m_data->p()->drawEllipse(rect); 599 static inline void drawRepeatPattern(QPainter* p, QPixmap* image, const FloatRect& rect, const bool repeatX, const bool repeatY) 607 QRect r(static_cast<int>(rect.x()), static_cast<int>(rect.y()), static_cast<int>(rect.width()), static_cast<int>(rect.height())) 855 QRect rect = QRect((rects[i])).adjusted(-offset - radius, -offset - radius, offset + radius, offset + radius); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GraphicsContextSkia.cpp | 190 void addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle) 193 int rx = SkMin32(SkScalarRound(rect.width()), size.width()); 194 int ry = SkMin32(SkScalarRound(rect.height()), size.height()); 199 ir.offset(rect.fRight - ir.fRight, rect.fBottom - ir.fBottom); 202 ir.offset(rect.fLeft - ir.fLeft, rect.fBottom - ir.fBottom); 205 ir.offset(rect.fLeft - ir.fLeft, rect.fTop - ir.fTop); 208 ir.offset(rect.fRight - ir.fRight, rect.fTop - ir.fTop) 680 SkRect rect; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTMovie.cpp | 234 Rect bounds; 255 Rect naturalRect; 256 Rect initialRect; 437 Rect rect = { 0, }; local 440 GetMovieNaturalBoundsRect(m_private->m_movie, &rect); 441 width = (rect.right - rect.left) * m_private->m_widthScaleFactor; 442 height = (rect.bottom - rect.top) * m_private->m_heightScaleFactor [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderTable.cpp | 525 if (!overflowBox.intersects(paintInfo.rect)) 594 void RenderTable::subtractCaptionRect(IntRect& rect) const 602 rect.setHeight(rect.height() - captionLogicalHeight); 604 rect.move(0, captionLogicalHeight); 606 rect.setWidth(rect.width() - captionLogicalHeight); 608 rect.move(captionLogicalHeight, 0); 617 IntRect rect(tx, ty, width(), height()); 618 subtractCaptionRect(rect); 1235 IntRect rect = RenderBlock::overflowClipRect(tx, ty, relevancy); local [all...] |
/external/webkit/Source/WebKit/android/jni/ |
PictureSet.cpp | 173 SkIRect ir = cliperator.rect(); 234 void PictureSet::addToBucket(Bucket* bucket, int dx, int dy, SkIRect& rect) 238 SkIRect totalArea = rect; 244 if (rect.width() * rect.height() > MAX_ADDITIONAL_AREA * mBucketSizeX * mBucketSizeY) 254 intersect = SkIRect::Intersects(current->mArea, rect); 260 if (!remove && current->mBase && rect.contains(current->mArea)) 346 void PictureSet::gatherBucketsForArea(WTF::Vector<Bucket*>& list, const SkIRect& rect) 348 XLOG("\n--- gatherBucketsForArea for rect %d, %d, %d, %d (%d x %d)", 349 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom 623 SkIRect rect; local [all...] |
/external/webkit/Source/WebKit/android/nav/ |
CachedFrame.cpp | 41 const WebCore::IntRect& rect) const 43 DBG_NAV_LOGV("node=%p [%d] rect=(%d,%d,w=%d,h=%d) view=(%d,%d,w=%d,h=%d)" 45 node, node->index(), rect.x(), rect.y(), rect.width(), rect.height(), 54 return rect; 58 return rect; 63 return cachedLayer->adjustBounds(rootLayer, rect); 65 return rect; 627 WebCore::IntRect rect = test->ring(this, part); local [all...] |
SelectText.cpp | 152 #define TOUCH_SLOP 10 // additional distance from character rect when hit 402 const SkIRect& rect = mParagraphs[index]; 403 bool localSelected = localRgn.intersects(rect); 404 DBG_NAV_LOGD("[%d] rect=(%d,%d,%d,%d)", index, rect.fLeft, rect.fTop, 405 rect.fRight, rect.fBottom); 408 *mSelected.append() = rect; 410 if (rect.fRight <= mX || rect.fLeft >= mX 1888 const SkIRect& rect = m_hitTopLeft ? m_selStart : m_selEnd; local [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
ChromeClientImpl.cpp | 183 WebRect rect; local 185 rect = m_webView->client()->rootWindowRect(); 190 rect.width = m_webView->size().width; 191 rect.height = m_webView->size().height; 193 return FloatRect(rect); 572 IntRect ChromeClientImpl::windowToScreen(const IntRect& rect) const 574 IntRect screenRect(rect);
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
ChromeClientGtk.cpp | 100 void ChromeClient::setWindowRect(const FloatRect& rect) 102 IntRect intrect = IntRect(rect); 390 GdkRectangle rect = updateRect; local 394 gdk_window_invalidate_rect(window, &rect, FALSE); 469 IntRect ChromeClient::windowToScreen(const IntRect& rect) const 471 IntRect result(rect);
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebframe.cpp | 306 QRect rect = clipRect.translated(scrollX, scrollY); local 307 painter->setClipRect(rect, Qt::IntersectClip); 309 frame->tiledBackingStore()->paint(context, rect); 363 QRect rect = clipRect.intersected(view->frameRect()); local 375 rect.translate(-x, -y); 377 rect.translate(scrollX, scrollY); 380 view->paintContents(context, rect); 420 QRect rect = intersectedRect; local 422 rect.translate(-x, -y); 423 view->paintScrollbars(context, rect); [all...] |
/external/webkit/Source/WebKit/win/ |
WebView.cpp | 744 RECT rect = windowRect; local 745 ::InvalidateRect(m_viewWindow, &rect, false); 772 RECT windowRect; 859 RECT scrollRectWin(scrollViewRect); 860 RECT clipRectWin(clipRect); 862 RECT regionBox; 927 RECT* rect; local 928 for (i = 0, rect = reinterpret_cast<RECT*>(regionData->Buffer); i < regionData->rdh.nCount; i++, rect++ 1092 RECT rect = dirtyRect; local 1132 RECT rect = dirtyRect; local [all...] |
/external/webkit/Source/WebKit/wince/WebCoreSupport/ |
FrameLoaderClientWinCE.cpp | 636 RECT rect; local 637 m_webView->frameRect(&rect); 638 frameView = FrameView::create(m_frame, IntRect(rect).size());
|
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 244 static jboolean clipRect_Rect(JNIEnv* env, jobject jcanvas, jobject rect) { 246 NPE_CHECK_RETURN_ZERO(env, rect); 249 return c->clipRect(*GraphicsJNI::jrect_to_rect(env, rect, &tmp)); 255 SkRect rect; local 256 rect.set(SkFloatToScalar(left), SkFloatToScalar(top), 258 return canvas->clipRect(rect, (SkRegion::Op)op); 277 jobject rect, int edgetype) { 279 GraphicsJNI::jrectf_to_rect(env, rect, &rect_); 383 jobject rect, SkPaint* paint) { 385 GraphicsJNI::jrectf_to_rect(env, rect, &rect_) 424 SkRect rect; local [all...] |