/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | LayersActivity.java | 55 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 D | NewLayersActivity.java | 65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
|
H A D | QuickRejectActivity.java | 73 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 D | Renderer.h | 139 virtual int saveLayer(float left, float top, float right, float bottom, 146 return saveLayer(left, top, right, bottom, &paint, flags);
|
H A D | OpenGLRenderer.h | 155 virtual int saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::OpenGLRenderer 157 return saveLayer(left, top, right, bottom, paint, flags, NULL); 160 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if 162 int saveLayer(float left, float top, float right, float bottom, 990 // List of rectangles to clear after saveLayer() is invoked
|
H A D | DisplayListRenderer.h | 79 virtual int saveLayer(float left, float top, float right, float bottom,
|
H A D | DisplayListRenderer.cpp | 118 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::DisplayListRenderer
|
H A D | DisplayListOp.h | 351 // NOTE: don't bother with actual saveLayer, instead issuing it at flush time 355 // NOTE: don't issue full saveLayer, since that has side effects/is costly. instead just 362 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mArea.bottom,
|
H A D | OpenGLRenderer.cpp | 644 int OpenGLRenderer::saveLayer(float left, float top, float right, float bottom, function in class:android::uirenderer::OpenGLRenderer 1054 * by saveLayer's restore 1416 // (Note: saveLayer/restore use colorFilter and alpha, so we just save restore everything)
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 732 final int restoreToCount = needsLayer ? canvas.saveLayer(bounds.left, bounds.top, 750 // TODO: We can avoid saveLayer here if we push the xfermode into 753 saveCount = canvas.saveLayer(bounds.left, bounds.top, bounds.right, 793 // TODO: We can avoid saveLayer here if we're only drawing one 795 restoreToCount = canvas.saveLayer(bounds.left, bounds.top, 821 final int restoreToCount = canvas.saveLayer(bounds.left, bounds.top,
|
H A D | GradientDrawable.java | 142 private Paint mLayerPaint; // internal, used if we use saveLayer() 550 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 58 virtual int saveLayer(float left, float top, float right, float bottom,
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 413 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { method in class:Canvas 417 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 421 * Convenience for saveLayer(bounds, paint, {@link #ALL_SAVE_FLAG}) 423 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { method in class:Canvas 424 return saveLayer(bounds, paint, ALL_SAVE_FLAG); 428 * Helper version of saveLayer() that takes 4 values rather than a RectF. 430 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, method in class:Canvas 438 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 440 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { method in class:Canvas 441 return saveLayer(lef [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 205 return canvasDelegate.saveLayer(new RectF(l, t, r, b), 924 * layers involved (see {@link #saveLayer(RectF, Paint_Delegate, int)}. 944 * layers involved (see {@link #saveLayer(RectF, Paint_Delegate, int)}. 1019 return saveLayer(rect, paint, saveFlags); 1022 private int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { method in class:Canvas_Delegate 1026 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SkiaCanvas.cpp | 68 virtual int saveLayer(float left, float top, float right, float bottom, 288 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, function in class:android::SkiaCanvas 291 int count = mCanvas->saveLayer(&bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag);
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { method in class:GLES20Canvas 447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 457 public int saveLayer(float left, float top, float right, float bottom, Paint paint, method in class:GLES20Canvas
|
H A D | View.java | 10399 * <p>The current implementation of the saveLayer and saveLayerAlpha methods in {@link Canvas} 15006 canvas.saveLayer(scrollX, scrollY, 15201 canvas.saveLayer(left, top, right, top + length, null, flags); 15205 canvas.saveLayer(left, bottom - length, right, bottom, null, flags); 15209 canvas.saveLayer(left, top, left + length, bottom, null, flags); 15213 canvas.saveLayer(right - length, top, right, bottom, null, flags);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 77 static jint saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, function in namespace:android::CanvasJNI 81 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint, flags)); 691 {"native_saveLayer","(JFFFFJI)I", (void*) CanvasJNI::saveLayer},
|
H A D | android_view_GLES20Canvas.cpp | 211 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags); 219 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 55 * Handling of layers (created with {@link Canvas#saveLayer(RectF, Paint, int)}) is handled through 74 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}. 236 * This is the equivalent of {@link Canvas#saveLayer(RectF, Paint, int)} 244 * @see Canvas#saveLayer(RectF, Paint, int) 246 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { method in class:GcSnapshot 578 // of saveLayer(), but that doesn't mean there's no layer.
|