Searched refs:saveLayer (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DLayersActivity.java55 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
65 count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
82 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
99 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
H A DNewLayersActivity.java65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
H A DQuickRejectActivity.java73 count = canvas.saveLayer(0, 0, 10, 10, mBitmapPaint, Canvas.ALL_SAVE_FLAG);
74 Log.d("OpenGLRenderer", "count after saveLayer=" + count);
76 Log.d("OpenGLRenderer", "getSaveCount after saveLayer=" + count);
/frameworks/base/libs/hwui/
H A DCanvas.h74 virtual int saveLayer(float left, float top, float right, float bottom,
H A DOpenGLRenderer.h175 virtual int saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::OpenGLRenderer
177 return saveLayer(left, top, right, bottom, paint, flags, nullptr);
180 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if
182 int saveLayer(float left, float top, float right, float bottom,
855 // List of rectangles to clear after saveLayer() is invoked
H A DDisplayListCanvas.h156 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
162 return saveLayer(left, top, right, bottom, &paint, flags);
H A DSkiaCanvas.cpp63 virtual int saveLayer(float left, float top, float right, float bottom,
278 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, function in class:android::SkiaCanvas
281 int count = mCanvas->saveLayer(&bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag);
H A DSkiaCanvasProxy.cpp155 mCanvas->saveLayer(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, paint, flags);
H A DDisplayListCanvas.cpp135 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::DisplayListCanvas
H A DDisplayListOp.h342 // NOTE: don't bother with actual saveLayer, instead issuing it at flush time
346 // NOTE: don't issue full saveLayer, since that has side effects/is costly. instead just
353 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mArea.bottom,
H A DOpenGLRenderer.cpp522 int OpenGLRenderer::saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::OpenGLRenderer
897 * by saveLayer's restore
1203 // (Note: saveLayer/restore use colorFilter and alpha, so we just save restore everything)
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java364 * omit this flag for any call to <code>saveLayer()</code> and
374 * call to <code>saveLayer()</code> and <code>saveLayerAlpha()</code>
443 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { method in class:Canvas
447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
451 * Convenience for saveLayer(bounds, paint, {@link #ALL_SAVE_FLAG})
453 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { method in class:Canvas
454 return saveLayer(bounds, paint, ALL_SAVE_FLAG);
458 * Helper version of saveLayer() that takes 4 values rather than a RectF.
460 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, method in class:Canvas
468 * Convenience for saveLayer(lef
470 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { method in class:Canvas
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java209 return canvasDelegate.saveLayer(new RectF(l, t, r, b),
930 * layers involved (see {@link #saveLayer(RectF, Paint_Delegate, int)}.
950 * layers involved (see {@link #saveLayer(RectF, Paint_Delegate, int)}.
1025 return saveLayer(rect, paint, saveFlags);
1028 private int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { method in class:Canvas_Delegate
1032 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp81 static jint saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, function in namespace:android::CanvasJNI
85 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint, flags));
676 {"native_saveLayer","(JFFFFJI)I", (void*) CanvasJNI::saveLayer},
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java56 * Handling of layers (created with {@link Canvas#saveLayer(RectF, Paint, int)}) is handled through
75 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}.
237 * This is the equivalent of {@link Canvas#saveLayer(RectF, Paint, int)}
245 * @see Canvas#saveLayer(RectF, Paint, int)
247 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { method in class:GcSnapshot
579 // of saveLayer(), but that doesn't mean there's no layer.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java345 canvas.saveLayer(0, 0, canvas.getWidth(), canvas.getHeight(),
358 * saveLayer/restore draw path.
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java147 private Paint mLayerPaint; // internal, used if we use saveLayer()
559 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
/frameworks/base/core/java/android/view/
H A DView.java11396 * <p>The current implementation of the saveLayer and saveLayerAlpha methods in {@link Canvas}
16266 canvas.saveLayer(left, top, right, top + length, null, flags);
16270 canvas.saveLayer(left, bottom - length, right, bottom, null, flags);
16274 canvas.saveLayer(left, top, left + length, bottom, null, flags);
16278 canvas.saveLayer(right - length, top, right, bottom, null, flags);

Completed in 268 milliseconds