HomeSort by relevance Sort by last modified time
    Searched refs:saveLayerAlpha (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/libs/hwui/tests/common/scenes/
SaveLayerAnimation.cpp 37 canvas.saveLayerAlpha(0, 0, 400, 400, 200, SaveFlags::ClipToLayer);
40 canvas.saveLayerAlpha(100, 100, 300, 300, 128, SaveFlags::ClipToLayer);
48 canvas.saveLayerAlpha(100, 100, 300, 300, 128, SaveFlags::Flags(0)); // unclipped
  /frameworks/base/libs/hwui/tests/unit/
LeakCheckTests.cpp 35 canvas.saveLayerAlpha(0, 0, 100, 100, 128, SaveFlags::ClipToLayer);
55 canvas.saveLayerAlpha(10, 10, 190, 190, 128, (SaveFlags::Flags)(0));
RecordingCanvasTests.cpp 332 canvas.saveLayerAlpha(10, 20, 190, 180, 128, SaveFlags::ClipToLayer);
366 canvas.saveLayerAlpha(10.25f, 10.75f, 89.25f, 89.75f, 128, SaveFlags::ClipToLayer);
396 canvas.saveLayerAlpha(0, 0, 200, 200, 128, SaveFlags::ClipToLayer);
411 canvas.saveLayerAlpha(10, 20, 190, 180, 128, (SaveFlags::Flags)0); // unclipped
445 canvas.saveLayerAlpha(10, 20, 190, 180, 128, (SaveFlags::Flags)0); // unclipped
465 canvas.saveLayerAlpha(100, 100, 300, 300, 128, SaveFlags::ClipToLayer);
491 canvas.saveLayerAlpha(0, 0, 100, 100, 128, SaveFlags::ClipToLayer);
518 canvas.saveLayerAlpha(0, 0, 400, 400, 128, SaveFlags::ClipToLayer);
554 canvas.saveLayerAlpha(0, 0, 200, 200, 128, SaveFlags::ClipToLayer);
    [all...]
FrameBuilderTests.cpp     [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Layers.java 54 canvas.saveLayerAlpha(0, 0, 200, 200, 0x88, LAYER_FLAGS);
  /external/skia/gm/
blend.cpp 31 canvas->saveLayerAlpha(nullptr, 0xFC);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
NopCanvas.java 76 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) {
81 public int saveLayerAlpha(RectF bounds, int alpha) {
86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha,
92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) {
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ExactCanvasTests.java 189 canvas.saveLayerAlpha(10.5f, 10.5f, 79.5f, 79.5f, 255);
201 canvas.saveLayerAlpha(10.5f, 10.5f, 79.5f, 79.5f, 255, 0);
  /frameworks/base/graphics/java/android/graphics/
Canvas.java 347 * <code>saveLayerAlpha()</code> variants. Not passing this flag generally
356 * call to <code>saveLayer()</code> and <code>saveLayerAlpha()</code>
484 public int saveLayerAlpha(@Nullable RectF bounds, int alpha, @Saveflags int saveFlags) {
488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
492 * Convenience for saveLayerAlpha(bounds, alpha, {@link #ALL_SAVE_FLAG})
494 public int saveLayerAlpha(@Nullable RectF bounds, int alpha) {
495 return saveLayerAlpha(bounds, alpha, ALL_SAVE_FLAG);
499 * Helper for saveLayerAlpha() that takes 4 values instead of a RectF.
501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha,
509 * Helper for saveLayerAlpha(left, top, right, bottom, alpha, {@link #ALL_SAVE_FLAG}
    [all...]
  /external/skia/samplecode/
SampleLayers.cpp 84 canvas->saveLayerAlpha(&r, 0x80);
  /frameworks/base/libs/hwui/hwui/
Canvas.h 143 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
AlphaLayersActivity.java 128 canvas.saveLayerAlpha(0.0f, 100.0f, getWidth(), 150.0f, 127,
  /frameworks/support/core-ui/java/android/support/v4/widget/
SwipeProgressBar.java 172 canvas.saveLayerAlpha(mClipRect, 0, 0);
  /frameworks/base/libs/hwui/
RecordingCanvas.h 112 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
DisplayListCanvas.h 135 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
SkiaCanvas.cpp 92 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
353 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom,
  /frameworks/base/core/jni/
android_graphics_Canvas.cpp 99 static jint saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t,
102 return static_cast<jint>(get_canvas(canvasHandle)->saveLayerAlpha(l, t, r, b, alpha, flags));
585 {"native_saveLayerAlpha","!(JFFFFII)I", (void*) CanvasJNI::saveLayerAlpha},
  /cts/tests/tests/graphics/src/android/graphics/cts/
CanvasTest.java 642 mCanvas.saveLayerAlpha(rF, 0xff, Canvas.MATRIX_SAVE_FLAG);
670 mCanvas.saveLayerAlpha(rF, 0xff, Canvas.CLIP_SAVE_FLAG);
697 mCanvas.saveLayerAlpha(rF, 0xff, Canvas.ALL_SAVE_FLAG);
726 mCanvas.saveLayerAlpha(0, 10, 31, 0, 0xff, Canvas.MATRIX_SAVE_FLAG);
754 mCanvas.saveLayerAlpha(0, 10, 31, 0, 0xff, Canvas.CLIP_SAVE_FLAG);
781 mCanvas.saveLayerAlpha(0, 10, 31, 0, 0xff, Canvas.ALL_SAVE_FLAG);
814 mCanvas.saveLayerAlpha(new RectF(), 0, Canvas.ALL_SAVE_FLAG);
    [all...]
  /external/skia/include/core/
SkCanvas.h 336 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha);
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetHostView.java 634 int restoreTo = canvas.saveLayerAlpha(l, t, child.getWidth(), child.getHeight(), alpha,
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListView.java 571 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Canvas_Delegate.java 231 return canvasDelegate.saveLayerAlpha(new RectF(l, t, r, b), alpha, layerFlags);
    [all...]
  /external/skia/src/core/
SkCanvas.cpp     [all...]
  /prebuilts/sdk/21/
android.jar 
  /frameworks/base/core/java/android/view/
View.java     [all...]

Completed in 399 milliseconds

1 2