Searched refs:saveCount (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java182 int saveCount = canvas.getSaveCount();
186 canvas.restoreToCount(saveCount);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java368 * Restores the {@link GcSnapshot} to <var>saveCount</var>.
369 * @param saveCount the saveCount or -1 to only restore 1.
373 public GcSnapshot restoreTo(int saveCount) { argument
374 return doRestoreTo(size(), saveCount);
541 private GcSnapshot doRestoreTo(int size, int saveCount) { argument
542 if (size <= saveCount) {
549 if (size == saveCount + 1) { // this was the only one that needed restore.
552 return previous.doRestoreTo(size - 1, saveCount);
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java129 int saveCount = canvas.getSaveCount();
133 canvas.restoreToCount(saveCount);
H A DExpandableListView.java239 int saveCount = 0;
242 saveCount = canvas.save();
333 canvas.restoreToCount(saveCount);
H A DImageView.java969 int saveCount = canvas.getSaveCount();
986 canvas.restoreToCount(saveCount);
H A DAbsListView.java2310 int saveCount = 0;
2313 saveCount = canvas.save();
2334 canvas.restoreToCount(saveCount);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java70 int saveCount = canvas.save();
86 canvas.restoreToCount(saveCount);
H A DRotateDrawable.java74 int saveCount = canvas.save();
90 canvas.restoreToCount(saveCount);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp443 int saveCount = nativeCanvas->save(); local
444 env->SetIntField(surfaceObj, gSurfaceClassInfo.mCanvasSaveCount, saveCount);
472 int saveCount = env->GetIntField(surfaceObj, gSurfaceClassInfo.mCanvasSaveCount); local
473 nativeCanvas->restoreToCount(saveCount);
H A Dandroid_view_GLES20Canvas.cpp222 OpenGLRenderer* renderer, jint saveCount) {
223 renderer->restoreToCount(saveCount);
221 android_view_GLES20Canvas_restoreToCount(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint saveCount) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java263 /*package*/ static void restoreToCount(Canvas thisCanvas, int saveCount) { argument
270 canvasDelegate.restoreTo(saveCount);
1254 * Restores the {@link GcSnapshot} to <var>saveCount</var>
1255 * @param saveCount the saveCount
1257 private void restoreTo(int saveCount) { argument
1258 mSnapshot = mSnapshot.restoreTo(saveCount);
1262 * Restores the {@link GcSnapshot} to <var>saveCount</var>
1263 * @param saveCount the saveCount
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java1175 int saveCount = 0;
1209 saveCount = canvas.save();
1246 canvas.restoreToCount(saveCount);
H A DGLES20Canvas.java676 public void restoreToCount(int saveCount) { argument
677 nRestoreToCount(mRenderer, saveCount);
680 private static native void nRestoreToCount(int renderer, int saveCount); argument
H A DViewGroup.java2776 int saveCount = 0;
2779 saveCount = canvas.save();
2825 canvas.restoreToCount(saveCount);
H A DView.java13678 int saveCount;
13783 saveCount = canvas.getSaveCount();
13850 canvas.restoreToCount(saveCount);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp330 int saveCount = renderer.getSaveCount() - 1; local
359 int restoreCount = saveCount + getInt();
900 int saveCount = renderer.getSaveCount() - 1; local
942 int32_t restoreCount = saveCount + getInt();
1488 void DisplayListRenderer::restoreToCount(int saveCount) { argument
1489 mRestoreSaveCount = saveCount;
1491 OpenGLRenderer::restoreToCount(saveCount);
H A DOpenGLRenderer.h147 virtual void restoreToCount(int saveCount);
H A DDisplayListRenderer.h563 virtual void restoreToCount(int saveCount);
H A DOpenGLRenderer.cpp556 void OpenGLRenderer::restoreToCount(int saveCount) { argument
557 if (saveCount < 1) saveCount = 1;
559 while (mSaveCount > saveCount) {
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java547 int saveCount = canvas.getSaveCount();
555 canvas.restoreToCount(saveCount);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java549 int saveCount = canvas.getSaveCount();
557 canvas.restoreToCount(saveCount);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java409 * count reached saveCount. It is an error for saveCount to be less than 1.
418 * @param saveCount The save level to restore to.
420 public native void restoreToCount(int saveCount); argument
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java4216 int saveCount = canvas.save();
4268 canvas.restoreToCount(saveCount);
4338 int saveCount = canvas.save();
4346 canvas.restoreToCount(saveCount);

Completed in 431 milliseconds