/frameworks/base/libs/hwui/ |
D | CanvasState.cpp | 157 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { in clipRect() function in android::uirenderer::CanvasState 180 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); in setClippingOutline() 222 Rect clipRect(currentClipRect()); in calculateQuickRejectForScissor() local 223 clipRect.snapToPixelBoundaries(); in calculateQuickRejectForScissor() 225 if (!clipRect.intersects(r)) return true; in calculateQuickRejectForScissor() 229 *clipRequired = !clipRect.contains(r); in calculateQuickRejectForScissor() 250 Rect clipRect(currentClipRect()); in quickRejectConservative() local 251 clipRect.snapToPixelBoundaries(); in quickRejectConservative() 253 if (!clipRect.intersects(r)) return true; in quickRejectConservative()
|
D | RenderProperties.cpp | 175 Rect clipRect; in debugOutputProperties() local 176 getClippingRectForFlags(clipFlags, &clipRect); in debugOutputProperties() 178 (int)clipRect.left, (int)clipRect.top, (int)clipRect.right, (int)clipRect.bottom); in debugOutputProperties()
|
D | Snapshot.cpp | 247 const Rect& clipRect(mClipArea->getClipRect()); in dump() local 249 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple()); in dump()
|
D | RenderNode.cpp | 447 Rect clipRect; in setViewProperties() local 448 properties().getClippingRectForFlags(clipFlags, &clipRect); in setViewProperties() 450 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, in setViewProperties() 869 const Rect& clipRect = renderer.getLocalClipBounds(); in issueOperations() local 872 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom); in issueOperations()
|
D | SkiaCanvas.cpp | 80 virtual bool clipRect(float left, float top, float right, float bottom, 169 virtual void clipRect(const SkRect& rect, SkRegion::Op op, bool antialias) { in clipRect() function in android::ClipCopier 170 m_dstCanvas->clipRect(rect, op, antialias); in clipRect() 420 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { in clipRect() function in android::SkiaCanvas 422 mCanvas->clipRect(rect, op); in clipRect() 440 mCanvas->clipRect(SkRect::MakeEmpty(), op); in clipRegion()
|
D | CanvasState.h | 120 bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
|
D | OpenGLRenderer.cpp | 201 clip = &(snapshot->layer->clipRect); in startTilingCurrentClip() 728 layer->clipRect.set(clip); in createFboLayer() 956 clipRect(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kIntersect_Op); in composeLayerRegion() 1233 void OpenGLRenderer::setupMergedMultiDraw(const Rect* clipRect) { in setupMergedMultiDraw() argument 1234 if (clipRect != nullptr) { in setupMergedMultiDraw() 1235 … writableSnapshot()->setClip(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); in setupMergedMultiDraw() 1240 bool enableScissor = (clipRect != nullptr) || mScissorOptimizationDisabled; in setupMergedMultiDraw() 1280 startTiling(layer->clipRect, layer->layer.getHeight()); in attachStencilBufferToLayer() 2181 bool OpenGLRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { 2182 return mState.clipRect(left, top, right, bottom, op);
|
D | Canvas.h | 98 virtual bool clipRect(float left, float top, float right, float bottom,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 77 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded() 80 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded() 83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded() 86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
|
D | WindowStateAnimator.java | 1309 final Rect clipRect = mTmpClipRect; in updateSurfaceWindowCrop() local 1312 clipRect.set((mHasClipRect && !fullscreen) ? mClipRect : w.mSystemDecorRect); in updateSurfaceWindowCrop() 1316 clipRect.left -= attrs.surfaceInsets.left; in updateSurfaceWindowCrop() 1317 clipRect.top -= attrs.surfaceInsets.top; in updateSurfaceWindowCrop() 1318 clipRect.right += attrs.surfaceInsets.right; in updateSurfaceWindowCrop() 1319 clipRect.bottom += attrs.surfaceInsets.bottom; in updateSurfaceWindowCrop() 1325 clipRect.intersect(mClipRect); in updateSurfaceWindowCrop() 1330 clipRect.offset(attrs.surfaceInsets.left, attrs.surfaceInsets.top); in updateSurfaceWindowCrop() 1332 if (!clipRect.equals(mLastClipRect)) { in updateSurfaceWindowCrop() 1333 mLastClipRect.set(clipRect); in updateSurfaceWindowCrop() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | AlphaLayersActivity.java | 87 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 97 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 107 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw() 117 canvas.clipRect(20.0f, 0.0f, 40.0f, 20.0f); in dispatchDraw()
|
D | BitmapMeshActivity.java | 77 canvas.clipRect(0.0f, 0.0f, 80.0f, 80.0f); in onDraw()
|
D | QuickRejectActivity.java | 82 canvas.clipRect(0.0f, 0.0f, 40.0f, 40.0f); in onDraw()
|
D | TextActivity.java | 152 canvas.clipRect(150.0f, 220.0f, 450.0f, 320.0f); in onDraw()
|
/frameworks/base/libs/hwui/unit_tests/ |
D | ClipAreaTests.cpp | 104 Rect clipRect(area.getClipRect()); in TEST() local 105 clipRect.dump("clipRect"); in TEST() 108 EXPECT_EQ(expected, clipRect); in TEST()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | HorizontalGridView.java | 330 canvas.clipRect(lowEdge + (mFadingLowEdge ? mLowFadeShaderLength : 0), 0, in draw() 344 tmpCanvas.clipRect(0, 0, mLowFadeShaderLength, getHeight()); in draw() 364 tmpCanvas.clipRect(0, 0, mHighFadeShaderLength, getHeight()); in draw()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 83 canvas.clipRect(newBounds, Op.REPLACE); in drawShadow() 85 canvas.clipRect(clipBounds, Op.REPLACE); in drawShadow()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeProgressBar.java | 145 canvas.clipRect(mBounds); in draw() 228 canvas.clipRect(mBounds); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardPreviewContainer.java | 38 canvas.clipRect(0, getHeight() - getPaddingBottom(), getWidth(), getHeight());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 67 canvas.clipRect(bounds); in draw()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 203 final Rect clipRect = (Rect) values.values.get(PROPNAME_CLIP); in getBestRect() local 204 if (clipRect == null) { in getBestRect() 207 return clipRect; in getBestRect()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 691 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() method in Canvas 704 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() method in Canvas 716 public boolean clipRect(@NonNull RectF rect) { in clipRect() method in Canvas 728 public boolean clipRect(@NonNull Rect rect) { in clipRect() method in Canvas 748 public boolean clipRect(float left, float top, float right, float bottom, in clipRect() method in Canvas 766 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() method in Canvas 784 public boolean clipRect(int left, int top, int right, int bottom) { in clipRect() method in Canvas
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | StickyHeaderListView.java | 123 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfDocument.cpp | 97 canvas->clipRect(page->mContentRect); in write()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 157 can.clipRect(0, 0, mVertical ? size : can.getWidth(), mVertical ? can.getHeight() : size); in onDraw()
|