/external/skia/src/images/ |
SkPageFlipper.cpp | 52 void SkPageFlipper::inval(const SkIRect& rect) { 55 if (r.intersect(rect)) { 68 void SkPageFlipper::inval(const SkRect& rect, bool antialias) { 70 rect.round(&r);
|
/external/webkit/WebCore/platform/graphics/android/ |
ImageBufferAndroid.cpp | 89 PassRefPtr<ImageData> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const 103 RefPtr<ImageData> result = ImageData::create(rect.width(), rect.height()); 106 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > m_size.width() || (rect.y() + rect.height()) > m_size.height()) 109 int originx = rect.x() [all...] |
/external/webkit/WebCore/platform/haiku/ |
PopupMenuHaiku.cpp | 46 void PopupMenu::show(const IntRect& rect, FrameView* view, int index)
|
RenderThemeHaiku.cpp | 116 BRect rect = intRect; local 122 be_control_look->DrawCheckBox(view, rect, rect, base); 148 BRect rect = intRect; local 154 be_control_look->DrawRadioButton(view, rect, rect, base);
|
/external/webkit/WebCore/rendering/ |
RenderSVGInline.cpp | 63 FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); 64 rects.append(enclosingIntRect(localToAbsoluteQuad(rect).boundingBox())); 82 FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); 83 quads.append(localToAbsoluteQuad(rect));
|
RenderSVGContainer.cpp | 117 // to avoid our clip killing our outline rect. Thus we translate our 118 // outline rect into parent coords before drawing. 145 // width or height, so we union all of our child rects as our repaint rect. 150 FloatRect rect = filterBoundingBoxForRenderer(this); local 151 if (!rect.isEmpty()) 152 repaintRect = rect; 154 rect = clipperBoundingBoxForRenderer(this); 155 if (!rect.isEmpty()) 156 repaintRect.intersect(rect); 158 rect = maskerBoundingBoxForRenderer(this) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScroll.java | 27 import android.graphics.Rect; 65 // the rect we want to make visible is offset to match 67 Rect rect = new Rect(); 68 rect.set(0, 0, 0, mTextBlob.getHeight()); 69 rect.offset(0, mTextBlob.getScrollY()); 70 mTextBlob.requestRectangleOnScreen(rect);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
OvalShape.java | 37 canvas.drawOval(rect(), paint); method
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path.java | 164 * Returns true if the path specifies a rectangle. If so, and if rect is 165 * not null, set rect to the bounds of the path. If the path does not 166 * specify a rectangle, return false and ignore rect. 168 * @param rect If not null, returns the bounds of the path if it specifies 172 public boolean isRect(RectF rect) { 186 Rectangle2D rect = mPath.getBounds2D(); local 187 bounds.left = (float)rect.getMinX(); 188 bounds.right = (float)rect.getMaxX(); 189 bounds.top = (float)rect.getMinY(); 190 bounds.bottom = (float)rect.getMaxY() [all...] |
/external/webkit/WebCore/page/win/ |
FrameCGWin.cpp | 42 static void drawRectIntoContext(IntRect rect, FrameView* view, GraphicsContext* gc) 45 rect.move(-offset.width(), -offset.height()); 46 rect = view->convertToContainingWindow(rect); 48 gc->concatCTM(AffineTransform().translate(-rect.x(), -rect.y())); 50 view->paint(gc, rect);
|
/external/webkit/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 78 void ScrollbarThemeChromium::paintTrackBackground(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect) 82 paintTrackPiece(context, scrollbar, rect, ForwardTrackPart); 85 void ScrollbarThemeChromium::paintTickmarks(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect) 90 if (rect.height() <= 0 || rect.width() <= 0) 113 const int yPos = rect.topLeft().y() + (rect.height() * percent);
|
/external/webkit/WebCore/platform/graphics/wx/ |
PathWx.cpp | 189 void Path::addRect(const FloatRect& rect) 193 m_path->AddRectangle(rect.x(), rect.y(), rect.width(), rect.height()); 197 void Path::addEllipse(const FloatRect& rect) 201 m_path->AddEllipse(rect.x(), rect.y(), rect.width(), rect.height()) [all...] |
/external/webkit/WebCore/platform/graphics/cairo/ |
ImageBufferCairo.cpp | 143 PassRefPtr<ImageData> getImageData(const IntRect& rect, const ImageBufferData& data, const IntSize& size) 147 PassRefPtr<ImageData> result = ImageData::create(rect.width(), rect.height()); 151 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > size.width() || (rect.y() + rect.height()) > size.height()) 154 int originx = rect.x() [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
ImageBufferCG.cpp | 126 PassRefPtr<ImageData> getImageData(const IntRect& rect, const ImageBufferData& imageData, const IntSize& size) 128 PassRefPtr<ImageData> result = ImageData::create(rect.width(), rect.height()); 131 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > size.width() || (rect.y() + rect.height()) > size.height()) 134 int originx = rect.x() [all...] |
/external/webkit/WebCore/platform/graphics/qt/ |
ImageBufferQt.cpp | 129 PassRefPtr<ImageData> getImageData(const IntRect& rect, const ImageBufferData& imageData, const IntSize& size) 131 PassRefPtr<ImageData> result = ImageData::create(rect.width(), rect.height()); 134 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > size.width() || (rect.y() + rect.height()) > size.height()) 137 int originx = rect.x() [all...] |
/external/webkit/WebCore/platform/graphics/skia/ |
GraphicsContextSkia.cpp | 189 void addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle) 192 int rx = SkMin32(SkScalarRound(rect.width()), size.width()); 193 int ry = SkMin32(SkScalarRound(rect.height()), size.height()); 198 ir.offset(rect.fRight - ir.fRight, rect.fBottom - ir.fBottom); 201 ir.offset(rect.fLeft - ir.fLeft, rect.fBottom - ir.fBottom); 204 ir.offset(rect.fLeft - ir.fLeft, rect.fTop - ir.fTop); 207 ir.offset(rect.fRight - ir.fRight, rect.fTop - ir.fTop) 660 SkRect rect; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectTest.java | 19 import android.graphics.Rect; 27 @TestTargetClass(Rect.class) 29 private Rect mRect; 40 method = "Rect", 45 method = "Rect", 50 method = "Rect", 51 args = {android.graphics.Rect.class} 57 // new the Rect instance 58 mRect = new Rect(); 61 // new the Rect instanc 65 Rect rect = new Rect(10, 10, 20, 20); local 94 Rect rect = new Rect(1, 2, 3, 4); local 261 Rect rect; local 393 Rect rect; local 461 Rect rect; local 562 Rect rect = new Rect(1, 2, 3, 4); local 665 Rect rect; local [all...] |
/external/webkit/WebKit/mac/Carbon/ |
HIViewAdapter.m | 112 // Flip rect here and convert to region 113 HIRect rect; 114 rect.origin.x = validRect.origin.x; 115 rect.origin.y = targetBounds.size.height - NSMaxY(validRect); 116 rect.size.height = validRect.size.height; 117 rect.size.width = validRect.size.width; 122 Rect qdRect; 123 qdRect.top = (SInt16)rect.origin.y; 124 qdRect.left = (SInt16)rect.origin.x; 125 qdRect.bottom = CGRectGetMaxY(rect); [all...] |
/external/webkit/WebCore/accessibility/ |
AccessibilityListBoxOption.cpp | 88 IntRect rect; local 90 return rect; 94 return rect; 98 return rect; 103 rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.x(), parentRect.y(), index); 105 return rect;
|
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
PixelDumpSupportMac.mm | 186 CGRect rect = CGRectMake(newFrame.origin.x, newFrame.origin.y, webViewSize.width, webViewSize.height); 189 if (CGGetDisplaysWithRect(rect, 1, &displayID, &count) == kCGErrorSuccess) { 191 rect.origin.x -= bounds.origin.x; 192 rect.origin.y -= bounds.origin.y; 206 glReadPixels(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, flipBuffer); 208 glReadPixels(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, flipBuffer) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 23 import android.graphics.Rect; 103 args = {ViewGroup.class, Rect.class, int.class} 115 Rect rect = new Rect(); local 116 mTopLeft.getDrawingRect(rect); 117 rect.offset(mTopLeft.getWidth() / 2, 0); 118 rect.inset(mTopLeft.getWidth() / 4, mTopLeft.getHeight() / 4); 120 assertNextFocusFromRect(rect, View.FOCUS_LEFT, mTopLeft); 121 assertNextFocusFromRect(rect, View.FOCUS_RIGHT, mTopRight) [all...] |
/external/webkit/WebCore/platform/win/ |
ScrollbarThemeWin.cpp | 71 SOFT_LINK(uxtheme, DrawThemeBackground, HRESULT, WINAPI, (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, const RECT* pRect, const RECT* pClipRect), (hTheme, hdc, iPartId, iStateId, pRect, pClipRect)) 75 // Constants used to figure the drag rect outside which we should snap the 143 // Our desired rect is essentially 17x17. 145 // Our actual rect will shrink to half the available space when 162 // Our desired rect is essentially 17x17. 164 // Our actual rect will shrink to half the available space when 197 // Find the rect within which we shouldn't snap, by expanding the track rect 199 IntRect rect = trackRect(scrollbar) local [all...] |
/external/qemu/android/skin/ |
file.c | 67 background->rect.pos.x = x; 68 background->rect.pos.y = y; 69 background->rect.size.w = skin_image_w( background->image ); 70 background->rect.size.h = skin_image_h( background->image ); 89 display->rect.pos.x = aconfig_int(node, "x", 0); 90 display->rect.pos.y = aconfig_int(node, "y", 0); 91 display->rect.size.w = aconfig_int(node, "width", 0); 92 display->rect.size.h = aconfig_int(node, "height", 0); 95 display->valid = ( display->rect.size.w > 0 && display->rect.size.h > 0 ) [all...] |
/cts/tests/src/android/widget/cts/ |
MyHorizontalScrollView.java | 20 import android.graphics.Rect; 44 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { 45 return super.computeScrollDeltaToGetChildRectOnScreen(rect);
|
MyScrollView.java | 20 import android.graphics.Rect; 39 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { 40 return super.computeScrollDeltaToGetChildRectOnScreen(rect);
|