/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...] |
/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/webkit/Source/WebCore/platform/graphics/android/ |
GaneshRenderer.cpp | 132 SkRect clipRect = SkRect::MakeLTRB(renderInfo.invalRect->fLeft, 136 canvas->clipRect(clipRect);
|
/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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 168 final Rect clipRect = mTempRect; 169 getDrawingRect(clipRect); 172 clipRect.bottom = 180 destCanvas.clipRect(clipRect, Op.REPLACE); 293 canvas.clipRect(mScrollX, mScrollY + getExtendedPaddingTop(), mScrollX + getWidth(),
|
/external/skia/src/utils/ |
SkProxyCanvas.cpp | 54 bool SkProxyCanvas::clipRect(const SkRect& rect, SkRegion::Op op) { 55 return fProxy->clipRect(rect, op);
|
SkDumpCanvas.cpp | 229 bool SkDumpCanvas::clipRect(const SkRect& rect, SkRegion::Op op) { 232 this->dump(kClip_Verb, NULL, "clipRect(%s %s)", str.c_str(), toString(op)); 233 return this->INHERITED::clipRect(rect, op);
|
SkNWayCanvas.cpp | 125 bool SkNWayCanvas::clipRect(const SkRect& rect, SkRegion::Op op) { 128 iter->clipRect(rect, op); 130 return this->INHERITED::clipRect(rect, op);
|
/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 164 SkRect clipRect; 165 clipRect.set(rect.left, rect.top, rect.right, rect.bottom); 166 nativeCanvas->clipRect(clipRect);
|
/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLCanvas.java | 64 public boolean clipRect(int left, int top, int right, int bottom);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
GLCanvasStub.java | 38 public boolean clipRect(int left, int top, int right, int bottom) {
|
/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...] |
GrGpu.cpp | 372 GrIRect clipRect; 398 bounds.roundOut(&clipRect); 399 if (clipRect.isEmpty()) { 400 clipRect.setLTRB(0,0,0,0); 402 r = &clipRect; 423 this->clearStencilClip(clipRect);
|
/external/webkit/Source/WebKit2/UIProcess/gtk/ |
WebViewWidget.cpp | 139 GdkRectangle clipRect; 140 gdk_region_get_clipbox(event->region, &clipRect); 145 webView->paint(widget, clipRect, cr.get()); 153 GdkRectangle clipRect; 155 if (!gdk_cairo_get_clip_rectangle(cr, &clipRect)) 158 webView->paint(widget, clipRect, cr);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
ColorSeekBar.java | 80 canvas.clipRect(left, 0, right, h, Op.DIFFERENCE);
|
CropView.java | 216 canvas.clipRect(left, top, right, bottom);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TransitionView.java | 269 canvas.clipRect(getPaddingLeft(), getPaddingTop(), halfWidth, 281 canvas.clipRect(halfWidth, getPaddingTop(),
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
LayoutRenderer.java | 70 g.clipRect(insets.left, insets.top, 89 g.clipRect(root.left - 1, root.top - 1, root.width + 1, root.height + 1);
|
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 249 public void clipRect(int x, int y, int width, int height) 251 graphics.clipRect(x, y, width, height);
|
/external/webkit/Source/WebCore/rendering/ |
RenderTreeAsText.cpp | 594 const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect, 609 if (!clipRect.contains(layerBounds)) 610 ts << " clip " << clipRect;
|
RenderListBox.cpp | 691 IntRect clipRect = contentBoxRect(); 692 clipRect.move(tx, ty); 693 return clipRect;
|
/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/skia/src/core/ |
SkPictureRecord.cpp | 125 bool SkPictureRecord::clipRect(const SkRect& rect, SkRegion::Op op) { 135 return this->INHERITED::clipRect(rect, op); 150 return this->INHERITED::clipRect(path.getBounds(), op);
|
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...] |