Searched refs:clipRect (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java71 canvas.clipRect(bounds);
H A DClipDrawable.java208 canvas.clipRect(r);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas.java280 * @see android.graphics.Canvas#clipRect(float, float, float, float, android.graphics.Region.Op)
283 public boolean clipRect(float left, float top, float right, float bottom, Op op) { method in class:Canvas
284 return clipRect(left, top, right, bottom);
288 * @see android.graphics.Canvas#clipRect(float, float, float, float)
291 public boolean clipRect(float left, float top, float right, float bottom) { method in class:Canvas
292 getGraphics2d().clipRect((int)left, (int)top, (int)(right-left), (int)(bottom-top));
297 * @see android.graphics.Canvas#clipRect(int, int, int, int)
300 public boolean clipRect(int left, int top, int right, int bottom) { method in class:Canvas
301 getGraphics2d().clipRect(left, top, right-left, bottom-top);
306 * @see android.graphics.Canvas#clipRect(androi
309 public boolean clipRect(Rect rect, Op op) { method in class:Canvas
317 public boolean clipRect(Rect rect) { method in class:Canvas
325 public boolean clipRect(RectF rect, Op op) { method in class:Canvas
333 public boolean clipRect(RectF rect) { method in class:Canvas
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_ViewRoot.cpp69 canvas->clipRect(r, SkRegion::kReplace_Op);
/frameworks/base/awt/java/awt/
H A DGraphics.java77 res.clipRect(0, 0, width, height);
367 public abstract void clipRect(int x, int y, int width, int height); method in class:Graphics
H A DComponent.java4957 Rectangle clipRect = event.getUpdateRect();
4958 if ((clipRect.width <= 0) || (clipRect.height <= 0)) {
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java247 * calls to translate,scale,rotate,skew,concat or clipRect,clipPath
259 * clipRect,clipPath will all operate as usual, but when the balancing
274 * scale, rotate, skew, concat or clipRect, clipPath all operate on this
306 * scale, rotate, skew, concat or clipRect, clipPath all operate on this
463 public boolean clipRect(RectF rect, Region.Op op) { method in class:Canvas
477 public boolean clipRect(Rect rect, Region.Op op) { method in class:Canvas
490 public native boolean clipRect(RectF rect); method in class:Canvas
499 public native boolean clipRect(Rect rect); method in class:Canvas
516 public boolean clipRect(float left, float top, float right, float bottom, method in class:Canvas
535 public native boolean clipRect(floa method in class:Canvas
551 public native boolean clipRect(int left, int top, method in class:Canvas
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DVerticalTextSpinner.java287 canvas.clipRect(topLeft, topTop, topRight, topBottom);
301 canvas.clipRect(selectorLeft, selectorTop + SELECTOR_ARROW_HEIGHT,
322 canvas.clipRect(bottomLeft, bottomTop, bottomRight, bottomBottom);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp237 return c->clipRect(r);
246 return GraphicsJNI::getNativeCanvas(env, jcanvas)->clipRect(r);
254 return c->clipRect(*GraphicsJNI::jrectf_to_rect(env, rectf, &tmp));
262 return c->clipRect(*GraphicsJNI::jrect_to_rect(env, rect, &tmp));
265 static jboolean clipRect(JNIEnv* env, jobject, SkCanvas* canvas, function in class:android::SkCanvasGlue
271 return canvas->clipRect(rect, (SkRegion::Op)op);
893 {"clipRect","(FFFF)Z", (void*) SkCanvasGlue::clipRect_FFFF},
894 {"clipRect","(IIII)Z", (void*) SkCanvasGlue::clipRect_IIII},
895 {"clipRect","(Landroid/graphics/RectF;)Z",
897 {"clipRect","(Landroi
[all...]
/frameworks/base/awt/com/android/internal/awt/
H A DAndroidGraphics2D.java506 mC.clipRect(new Rect(0, 0, mC.getWidth(), mC.getHeight()));
726 mC.clipRect(x, y, x + width, y + height);
736 public void clipRect(int x, int y, int width, int height) { method in class:AndroidGraphics2D
740 mC.clipRect(new Rect(x, y, x + width, y + height), Region.Op.INTERSECT);
1158 mC.clipRect(x, y, x + width, y + height, Region.Op.REPLACE);
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java242 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
403 canvas.clipRect(bounds);
H A DImageView.java835 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
H A DAbsListView.java1312 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
H A DListView.java2954 canvas.clipRect(bounds);
H A DTextView.java3902 canvas.clipRect(clipLeft, clipTop, clipRight, clipBottom);
/frameworks/base/core/java/android/view/
H A DViewGroup.java1239 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop,
1507 canvas.clipRect(sx, sy, sx + (cr - cl), sy + (cb - ct));
1510 canvas.clipRect(0, 0, cr - cl, cb - ct);
1512 canvas.clipRect(0, 0, cache.getWidth(), cache.getHeight());
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DCommonGraphics2D.java197 public void clipRect(int x, int y, int width, int height) { method in class:CommonGraphics2D
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java580 canvas.clipRect(mDirtyRect, Op.REPLACE);
/frameworks/base/core/java/android/webkit/
H A DWebView.java2572 canvas.clipRect(clip, Region.Op.DIFFERENCE);
2595 canvas.clipRect(scrollFrame);

Completed in 823 milliseconds