HomeSort by relevance Sort by last modified time
    Searched refs:rect (Results 151 - 175 of 597) sorted by null

1 2 3 4 5 67 8 91011>>

  /development/ide/xcode/ports/
SkBitmap_Mac.cpp 128 CGRect rect; local
129 rect.origin.x = rect.origin.y = 0;
130 rect.size.width = bm.width();
131 rect.size.height = bm.height();
133 CGContextDrawImage(cg, rect, image);
  /external/skia/src/images/
SkFlipPixelRef.cpp 82 static void copyRect(const SkBitmap& dst, const SkIRect& rect,
84 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift);
88 const size_t bytes = rect.width() << shift;
90 int height = rect.height();
124 copyRect(dst, iter.rect(), srcAddr, shift);
  /external/skia/src/utils/mac/
SkBitmap_Mac.cpp 128 CGRect rect; local
129 rect.origin.x = rect.origin.y = 0;
130 rect.size.width = bm.width();
131 rect.size.height = bm.height();
133 CGContextDrawImage(cg, rect, image);
  /external/webkit/WebKit/chromium/src/mac/
WebScreenInfoFactory.mm 53 static WebRect toUserSpace(const NSRect& rect, NSWindow* destination)
55 CGRect userRect = NSRectToCGRect(rect);
87 results.rect =
  /external/webkit/WebCore/html/
DataGridColumn.h 79 const IntRect& rect() const { return m_rect; } function in class:WebCore::DataGridColumn
80 void setRect(const IntRect& rect) { m_rect = rect; }
  /external/webkit/WebCore/platform/graphics/gtk/
IconGtk.cpp 113 void Icon::paint(GraphicsContext* context, const IntRect& rect)
121 gdk_cairo_set_source_pixbuf(cr, m_icon, rect.x(), rect.y());
  /external/webkit/WebCore/rendering/
RenderScrollbar.cpp 243 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect)
248 partRenderer->paintIntoRect(graphicsContext, x(), y(), rect);
316 IntRect rect = oldRect; local
318 rect.setX(rect.x() + partRenderer->marginLeft());
319 rect.setWidth(rect.width() - (partRenderer->marginLeft() + partRenderer->marginRight()));
321 rect.setY(rect.y() + partRenderer->marginTop());
322 rect.setHeight(rect.height() - (partRenderer->marginTop() + partRenderer->marginBottom()))
    [all...]
RenderSVGText.cpp 131 // FIXME: crawling up the parent chain to map each rect is very inefficient
214 FloatRect rect = filterBoundingBoxForRenderer(this); local
215 if (!rect.isEmpty())
216 repaintRect = rect;
218 rect = clipperBoundingBoxForRenderer(this);
219 if (!rect.isEmpty())
220 repaintRect.intersect(rect);
222 rect = maskerBoundingBoxForRenderer(this);
223 if (!rect.isEmpty())
224 repaintRect.intersect(rect);
    [all...]
  /frameworks/base/core/java/android/text/style/
DynamicDrawableSpan.java 22 import android.graphics.Rect;
81 Rect rect = d.getBounds(); local
84 fm.ascent = -rect.bottom;
91 return rect.right;
  /external/webkit/WebCore/loader/
CachedImage.cpp 202 return m_image->rect();
208 bool hasWidth = m_image->rect().width() > 0;
209 bool hasHeight = m_image->rect().height() > 0;
211 int width = static_cast<int>(m_image->rect().width() * widthMultiplier);
212 int height = static_cast<int>(m_image->rect().height() * heightMultiplier);
218 int x = static_cast<int>(m_image->rect().x() * widthMultiplier);
219 int y = static_cast<int>(m_image->rect().y() * heightMultiplier);
385 void CachedImage::changedInRect(const Image* image, const IntRect& rect)
388 notifyObservers(&rect);
  /external/webkit/WebCore/platform/graphics/openvg/
PainterOpenVG.cpp 627 void PainterOpenVG::intersectScissorRect(const FloatRect& rect)
638 m_state->scissorRect.intersect(FloatRect(enclosingIntRect(rect)));
641 m_state->scissorRect = FloatRect(enclosingIntRect(rect));
647 void PainterOpenVG::intersectClipRect(const FloatRect& rect)
654 intersectScissorRect(rect);
664 m_state->surfaceTransformationMatrix.mapQuad(FloatQuad(rect));
675 void PainterOpenVG::drawRect(const FloatRect& rect, VGbitfield specifiedPaintModes)
700 if (vguRect(path, rect.x(), rect.y(), rect.width(), rect.height()) == VGU_NO_ERROR)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PathDashPathEffectTest.java 65 RectF rect = new RectF(0, HEIGHT / 2 - SQUARE, 0, HEIGHT / 2 + SQUARE); local
67 rect.left = i - SQUARE;
68 rect.right = i + SQUARE;
69 canvas.drawRect(rect, p);
  /external/qemu/android/skin/
trackball.h 16 #include "android/skin/rect.h"
32 extern void skin_trackball_rect ( SkinTrackBall* ball, SDL_Rect* rect );
  /external/webkit/WebCore/platform/
Widget.cpp 109 IntRect Widget::convertFromRootToContainingWindow(const Widget*, const IntRect& rect)
111 return rect;
114 IntRect Widget::convertFromContainingWindowToRoot(const Widget*, const IntRect& rect)
116 return rect;
  /external/webkit/WebCore/platform/graphics/mac/
IconMac.mm 77 void Icon::paint(GraphicsContext* context, const IntRect& rect)
84 [m_nsImage.get() drawInRect:rect
  /external/webkit/WebKit/mac/WebInspector/
WebNodeHighlight.h 55 - (void)setNeedsUpdateInTargetViewRect:(NSRect)rect;
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RectShape.java 50 protected final RectF rect() { method in class:RectShape
  /external/webkit/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 198 void GraphicsContext::drawRect(const IntRect& rect)
204 m_data->context->DrawRectangle(rect.x(), rect.y(), rect.width(), rect.height());
221 void GraphicsContext::drawEllipse(const IntRect& rect)
227 m_data->context->DrawEllipse(rect.x(), rect.y(), rect.width(), rect.height())
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
GraphicsLayerAndroid.cpp 403 FloatRect rect = m_invalidatedRects[i]; local
404 if (repaint(rect))
417 FloatRect rect(0, 0, m_size.width(), m_size.height());
418 setNeedsDisplayInRect(rect);
448 bool GraphicsLayerAndroid::repaint(const FloatRect& rect)
451 this, rect.x(), rect.y(), rect.width(), rect.height(),
461 if ((rect.width() > 0.5) && (rect.height() > 0.5))
    [all...]
  /external/webkit/WebCore/platform/mac/
WidgetMac.mm 156 void Widget::setFrameRect(const IntRect& rect)
158 m_frame = rect;
165 NSRect f = rect;
292 IntRect Widget::convertFromRootToContainingWindow(const Widget* rootWidget, const IntRect& rect)
295 return rect;
298 return enclosingIntRect([rootWidget->platformWidget() convertRect:rect toView:nil]);
301 return rect;
304 IntRect Widget::convertFromContainingWindowToRoot(const Widget* rootWidget, const IntRect& rect)
307 return rect;
310 return enclosingIntRect([rootWidget->platformWidget() convertRect:rect fromView:nil])
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 33 import android.graphics.Rect;
139 Rect rect = foreground.getBounds(); local
141 assertEquals(mFrameLayout.getHeight(), rect.bottom - rect.top);
142 assertEquals(mFrameLayout.getWidth(), rect.right - rect.left);
161 rect = newForeground.getBounds();
163 assertEquals(foreground.getIntrinsicHeight(), rect.bottom - rect.top)
376 Rect rect = drawable.getBounds(); local
    [all...]
  /sdk/ninepatch/src/com/android/ninepatch/
NinePatch.java 262 for (Rectangle rect : mFixed) {
263 if (rect.y > start) {
268 remainderHorizontal += rect.width;
271 remainderVertical += rect.height;
273 start = rect.y;
285 for (Rectangle rect : mHorizontalPatches) {
286 if (rect.x > start) {
287 mHorizontalPatchesSum += rect.width;
288 start = rect.x;
293 for (Rectangle rect : mPatches)
    [all...]
  /sdk/ddms/app/src/com/android/ddms/
UIThread.java 514 Rectangle rect = mDisplay.getClientArea(); local
516 if (w > rect.width) {
517 w = rect.width;
518 prefs.setValue(PrefsDialog.SHELL_WIDTH, rect.width);
520 if (h > rect.height) {
521 h = rect.height;
522 prefs.setValue(PrefsDialog.SHELL_HEIGHT, rect.height);
525 if (x < rect.x) {
526 x = rect.x;
527 prefs.setValue(PrefsDialog.SHELL_X, rect.x)
582 Rectangle rect = mDisplay.getClientArea(); local
    [all...]
  /external/webkit/WebCore/platform/graphics/wince/
GraphicsContextWince.cpp 126 template<class Transform, class Rect, class Value> static inline Rect mapRect(const Rect& rect, const Transform& transform)
130 r = rect.right() - 1;
131 b = rect.bottom() - 1;
132 transform.map(rect.x(), rect.y(), x, y);
133 transform.map(rect.x(), b, x + 1, y + 1);
135 transform.map(r, rect.y(), x + 3, y + 3)
452 const RECT& rect() const { return m_bmpRect; } function in class:WebCore::TransparentLayerDC
890 RECT rect = { winPoints[0].x, winPoints[0].y, winPoints[0].x, winPoints[0].y }; local
1038 RECT rect = trRect; local
1465 IntRect rect = m_data->mapRect(intRect); local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11wm_c.h 38 extern int X11_GetMonitorRect(_THIS, SDL_Rect *rect);

Completed in 345 milliseconds

1 2 3 4 5 67 8 91011>>