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

1 2 3 4 5 6 7 8 9

  /external/skia/tests/
ClipCubicTest.cpp 57 SkIRect clipRect;
62 clipRect.set(-2, -2, 6, 14);
63 clipper.setClip(clipRect);
70 clipRect.set(-2, 0, 6, 14);
71 clipper.setClip(clipRect);
78 clipRect.set(-2, -2, 6, 12);
79 clipper.setClip(clipRect);
86 clipRect.set(-2, 14, 6, 20);
87 clipper.setClip(clipRect);
92 clipRect.set(-2, 1, 6, 14)
    [all...]
  /frameworks/base/libs/hwui/
Snapshot.h 48 clipRect = &mClipRectRoot;
67 mClipRectRoot.set(*s->clipRect);
68 clipRect = &mClipRectRoot;
70 clipRect = s->clipRect;
141 clipped = clipRect->intersect(r);
143 clipRect->setEmpty();
148 clipped = clipRect->unionWith(r);
155 clipRect->set(r);
171 clipRect->set(left, top, right, bottom)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Clipping.java 50 canvas.clipRect(0, 0, 100, 100);
74 canvas.clipRect(10, 10, 90, 90);
75 canvas.clipRect(30, 30, 70, 70, Region.Op.DIFFERENCE);
90 canvas.clipRect(0, 0, 60, 60);
91 canvas.clipRect(40, 40, 100, 100, Region.Op.UNION);
97 canvas.clipRect(0, 0, 60, 60);
98 canvas.clipRect(40, 40, 100, 100, Region.Op.XOR);
104 canvas.clipRect(0, 0, 60, 60);
105 canvas.clipRect(40, 40, 100, 100, Region.Op.REVERSE_DIFFERENCE);
PathFillTypes.java 54 canvas.clipRect(0, 0, 120, 120);
  /external/webkit/Source/WebCore/platform/graphics/qt/
ContextShadowQt.cpp 115 QRect clipRect;
118 clipRect = p->clipBoundingRect().toAlignedRect();
120 clipRect = p->clipRegion().boundingRect();
123 clipRect = p->transform().inverted().mapRect(p->window());
126 IntRect clip(clipRect.x(), clipRect.y(), clipRect.width(), clipRect.height());
  /external/skia/src/core/
SkScan_Path.cpp 207 // of the spans it is given (clipped to the left/right of the cliprect)
275 const SkIRect* clipRect, SkEdge* list[], int shiftUp) {
282 if (clipRect) {
284 r.set(clipRect->fLeft >> shiftUp, clipRect->fTop >> shiftUp,
285 clipRect->fRight >> shiftUp, clipRect->fBottom >> shiftUp);
292 if (edge->setLine(pts[0], pts[1], clipRect, shiftUp)) {
304 if (clipRect) {
326 if (((SkCubicEdge*)edge)->setCubic(p, clipRect, shiftUp)
    [all...]
SkScanPriv.h 38 // clipRect == null means path is entirely inside the clip
39 void sk_fill_path(const SkPath& path, const SkIRect* clipRect,
  /external/skia/src/animator/
SkDrawClip.cpp 41 maker.fCanvas->clipRect(rect->fRect);
  /external/webkit/Source/WebKit/chromium/public/
WebWidgetClient.h 49 // Called when a region of the WebWidget, given by clipRect, should be
51 virtual void didScrollRect(int dx, int dy, const WebRect& clipRect) { }
  /external/webkit/Source/WebCore/platform/
HostWindow.h 48 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
  /frameworks/base/services/java/com/android/server/wm/
StrictModeFlash.java 72 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
75 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE);
78 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
81 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
  /external/webkit/Source/WebKit/wince/
WebView.cpp 233 void WebView::paint(HDC hDC, const IntRect& clipRect)
239 OwnPtr<HRGN> clipRgn(CreateRectRgn(clipRect.x(), clipRect.y(), clipRect.maxX(), clipRect.maxY()));
245 frameView->paint(&gc, clipRect);
257 IntRect clipRect(updateRect);
269 paint(m_doubleBufferDC.get(), clipRect);
271 BitBlt(hDC, clipRect.x(), clipRect.y(), clipRect.width(), clipRect.height(), m_doubleBufferDC.get(), clipRect.x(), clipRect.y(), SRCC (…)
    [all...]
  /external/webkit/Source/WebCore/plugins/symbian/
PluginViewSymbian.cpp 153 IntRect clipRect(rect);
154 clipRect.intersect(frameRect());
155 context->clip(clipRect);
278 m_npWindow.clipRect.left = max(0, m_clipRect.x());
279 m_npWindow.clipRect.top = max(0, m_clipRect.y());
280 m_npWindow.clipRect.right = m_clipRect.x() + m_clipRect.width();
281 m_npWindow.clipRect.bottom = m_clipRect.y() + m_clipRect.height();
288 m_npWindow.clipRect.left = 0;
289 m_npWindow.clipRect.top = 0;
290 m_npWindow.clipRect.right = m_windowRect.width()
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
GraphicsContextWin.cpp 152 void GraphicsContextPlatformPrivate::clip(const FloatRect& clipRect)
156 IntersectClipRect(m_hdc, clipRect.x(), clipRect.y(), clipRect.maxX(), clipRect.maxY());
  /external/skia/include/core/
SkBlitter.h 83 called with coordinates that have been clipped by the specified clipRect.
88 void init(SkBlitter* blitter, const SkIRect& clipRect) {
89 SkASSERT(!clipRect.isEmpty());
91 fClipRect = clipRect;
  /external/webkit/Source/WebCore/platform/graphics/android/
GaneshRenderer.cpp 132 SkRect clipRect = SkRect::MakeLTRB(renderInfo.invalRect->fLeft,
136 canvas->clipRect(clipRect);
  /packages/apps/Launcher2/src/com/android/launcher2/
BubbleTextView.java 169 final Rect clipRect = mTempRect;
170 getDrawingRect(clipRect);
173 clipRect.bottom =
181 destCanvas.clipRect(clipRect, Op.REPLACE);
294 canvas.clipRect(mScrollX, mScrollY + getExtendedPaddingTop(), mScrollX + getWidth(),
  /external/skia/gpu/src/
GrInOrderDrawBuffer.cpp 108 GrRect clipRect = fClip.getRect(0);
114 if (0 >= clipRect.fLeft) {
115 clipRect.fLeft = GR_ScalarMin;
117 if (target->width() <= clipRect.fRight) {
118 clipRect.fRight = GR_ScalarMax;
120 if (0 >= clipRect.top()) {
121 clipRect.fTop = GR_ScalarMin;
123 if (target->height() <= clipRect.fBottom) {
124 clipRect.fBottom = GR_ScalarMax;
130 if (!clipRect.contains(p))
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
WebPluginContainerImpl.cpp 288 // scroll() only uses the second rectangle, clipRect, and ignores the first
304 IntRect windowRect, clipRect;
306 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects);
308 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible());
556 IntRect& clipRect,
563 clipRect = windowClipRect();
564 clipRect.move(-windowRect.x(), -windowRect.y());
575 IntRect clipRect =
584 clipRect.intersect(
588 return clipRect;
    [all...]
  /external/webkit/Source/WebCore/rendering/
LayoutState.cpp 72 IntRect clipRect(toPoint(m_paintOffset) + renderer->view()->layoutDelta(), layer->size());
74 m_clipRect.intersect(clipRect);
76 m_clipRect = clipRect;
  /external/webkit/Source/WebKit/win/WebCoreSupport/
EmbeddedWidget.cpp 167 IntRect clipRect(m_windowRect);
172 clipRect.intersect(parentView->windowClipRectForLayer(layer, true));
174 return clipRect;
  /external/webkit/Source/WebKit2/WebProcess/WebPage/ca/
LayerTreeHostCA.cpp 173 void LayerTreeHostCA::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& graphicsContext, GraphicsLayerPaintingPhase, const IntRect& clipRect)
176 m_webPage->drawRect(graphicsContext, clipRect);
181 m_webPage->drawPageOverlay(graphicsContext, clipRect);
  /external/webkit/Source/WebKit/wx/WebKitSupport/
ChromeClientWx.h 104 virtual void scrollBackingStore(int dx, int dy, const IntRect& scrollViewRect, const IntRect& clipRect);
110 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect);
  /external/webkit/Source/WebCore/platform/graphics/wince/
GraphicsContextWinCE.cpp 818 RECT clipRect;
820 clipRect.left = startX;
821 clipRect.right = endX;
823 clipRect.left = endX;
824 clipRect.right = startX;
827 clipRect.top = startY;
828 clipRect.bottom = endY;
830 clipRect.top = endY;
831 clipRect.bottom = startY;
838 clipRgn.set(CreateRectRgn(clipRect.left, clipRect.top, clipRect.right, clipRect.bottom))
    [all...]
  /external/skia/samplecode/
SamplePathClip.cpp 54 canvas->clipRect(r);

Completed in 544 milliseconds

1 2 3 4 5 6 7 8 9