/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
QuickRejectActivity.java | 55 int count = canvas.getSaveCount(); 59 count = canvas.getSaveCount(); 60 Log.d("OpenGLRenderer", "getSaveCount after save=" + count); 62 count = canvas.getSaveCount(); 65 Log.d("OpenGLRenderer", "count after save=" + canvas.getSaveCount()); 67 Log.d("OpenGLRenderer", "count after save=" + canvas.getSaveCount()); 69 Log.d("OpenGLRenderer", "count after save=" + canvas.getSaveCount()); 71 count = canvas.getSaveCount(); 75 count = canvas.getSaveCount(); 76 Log.d("OpenGLRenderer", "getSaveCount after saveLayer=" + count) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 53 int expectedSaveCount = canvas.getSaveCount(); 58 assertEquals(expectedSaveCount, canvas.getSaveCount()); 63 assertEquals(expectedSaveCount, canvas.getSaveCount()); 69 assertEquals(expectedSaveCount, canvas.getSaveCount()); 91 int beforeSaveCount = canvas.getSaveCount(); 100 assertEquals(beforeSaveCount, canvas.getSaveCount());
|
CanvasTest.java | 807 assertEquals(1, mCanvas.getSaveCount()); 809 assertEquals(2, mCanvas.getSaveCount()); 811 assertEquals(3, mCanvas.getSaveCount()); 813 assertEquals(4, mCanvas.getSaveCount()); 815 assertEquals(5, mCanvas.getSaveCount()); [all...] |
/external/skia/tests/ |
CanvasTest.cpp | 344 int saveCount = canvas->getSaveCount(); 349 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, 359 int saveCount = canvas->getSaveCount(); 362 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, 369 int saveCount = canvas->getSaveCount(); 372 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, 379 int saveCount = canvas->getSaveCount(); 382 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, 443 int baseSaveCount = canvas->getSaveCount(); 446 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 1 == canvas->getSaveCount(), [all...] |
ClipStackTest.cpp | 22 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); 26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); 36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 67 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 69 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 84 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 86 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); [all...] |
PictureTest.cpp | 577 unsigned int getSaveCount() const { return fSaveCount; } 599 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); 638 int beforeSaveCount = canvas.getSaveCount(); 648 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); 720 int expectedSaveCount = canvas->getSaveCount(); 725 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); 737 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); 756 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); 777 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); 789 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); [all...] |
/frameworks/base/libs/hwui/ |
SkiaCanvas.cpp | 85 virtual int getSaveCount() const override; 265 int SkiaCanvas::getSaveCount() const { 266 return mCanvas->getSaveCount(); 283 int currentSaveCount = mCanvas->getSaveCount(); 301 int topClipStackFrame = mCanvas->getClipStack()->getSaveCount(); 313 topClipStackFrame != mCanvas->getClipStack()->getSaveCount()) { 324 while (mCanvas->getSaveCount() > restoreCount) { 385 rec->saveCount = mCanvas->getSaveCount(); 397 if (elem->getSaveCount() < saveCountToBackup) { 401 SkASSERT(elem->getSaveCount() == saveCountToBackup) [all...] |
CanvasState.h | 98 int getSaveCount() const { return mSaveCount; }
|
RecordingCanvas.h | 105 virtual int getSaveCount() const override { return mState.getSaveCount(); }
|
RenderNode.cpp | [all...] |
DisplayListCanvas.h | 128 virtual int getSaveCount() const override { return mState.getSaveCount(); }
|
OpenGLRenderer.h | 291 int getSaveCount() const;
|
DeferredDisplayList.cpp | 405 mComplexClipStackStart = renderer.getSaveCount() - 1;
|
/external/skia/include/core/ |
SkClipStack.h | 81 int getSaveCount() const { return fSaveCount; } 294 int getSaveCount() const { return fSaveCount; }
|
SkCanvas.h | 385 int getSaveCount() const; 389 getSaveCount(). To pop all the way back to the initial matrix/clip context [all...] |
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 182 int saveCount = canvas.getSaveCount();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateImageView.java | 123 int saveCount = canvas.getSaveCount();
|
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 83 static jint getSaveCount(JNIEnv*, jobject, jlong canvasHandle) { 84 return static_cast<jint>(get_canvas(canvasHandle)->getSaveCount()); 107 if (canvas->getSaveCount() <= 1) { // cannot restore anymore 119 if (restoreCount < 1 || restoreCount > canvas->getSaveCount()) { 586 {"native_getSaveCount","!(J)I", (void*) CanvasJNI::getSaveCount},
|
/frameworks/base/libs/hwui/hwui/ |
Canvas.h | 136 virtual int getSaveCount() const = 0;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 101 public int getSaveCount() {
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 165 int saveCount = canvas.getSaveCount();
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
AsyncImageView.java | 387 final int saveCount = canvas.getSaveCount();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 681 int saveCount = canvas.getSaveCount(); 705 int previousSaveCount = canvas.getSaveCount(); [all...] |
/external/skia/src/core/ |
SkCanvas.cpp | 453 fSaveCount = canvas->getSaveCount(); 520 SkASSERT(fCanvas->getSaveCount() == fSaveCount); [all...] |
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 509 const int level = canvas->getNestLevel() + canvas->getSaveCount() - 1;
|