Searched defs:restore (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_backup_FileBackupHelperBase.cpp83 RestoreHelperBase* restore = (RestoreHelperBase*)ptr; local
89 err = restore->WriteFile(String8(filename), reader);
101 RestoreHelperBase* restore = (RestoreHelperBase*)ptr; local
104 err = restore->WriteSnapshot(fd);
H A Dandroid_graphics_Canvas.cpp105 static void restore(JNIEnv* env, jobject, jlong canvasHandle, jboolean throwOnUnderflow) { function in namespace:android::CanvasJNI
107 if (canvas->getSaveCount() <= 1) { // cannot restore anymore
109 doThrowISE(env, "Underflow in restore - more restores than saves");
113 canvas->restore();
124 restoreCount = 1; // compat behavior - restore as far as possible
368 canvas->restore();
404 canvas->restore();
587 {"native_restore","!(JZ)V", (void*) CanvasJNI::restore},
/frameworks/base/graphics/java/android/graphics/
H A DCamera.java36 * with a call to {@link #restore()}.
45 * @see #restore()
47 public native void restore(); method in class:Camera
H A DCanvas.java179 * layers, filters, and the save/restore stack are reset with the exception
324 * Restore the current matrix when restore() is called.
329 * Restore the current clip when restore() is called.
353 * Restore everything when restore() is called (standard save flags).
366 * restore() is made, those calls will be forgotten, and the settings that
384 * restore() is made, those calls will be forgotten, and the settings that
388 * to save/restore
408 * Only when the balancing call to restore() is made, is that offscreen
415 * offscreen bitmap is drawn back when restore() is called.
420 * restore() i
520 public void restore() { method in class:Canvas
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java548 public void restore(int blockIndex) throws IOException { method in class:MifareClassic
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java326 transforms.restore(view);
343 transforms.restore(view);
445 public void restore(View view) { method in class:ChangeTransform.Transforms
/frameworks/base/libs/hwui/
H A DCanvasState.cpp132 * Guaranteed to restore without side-effects.
141 // subclass handles restore implementation
147 void CanvasState::restore() { function in class:android::uirenderer::CanvasState
H A DDisplayListCanvas.cpp113 void DisplayListCanvas::restore() { function in class:android::uirenderer::DisplayListCanvas
121 mState.restore();
241 restore();
262 restore();
278 restore();
301 restore();
H A DRecordingCanvas.cpp110 void RecordingCanvas::RecordingCanvas::restore() { function in class:android::uirenderer::RecordingCanvas::RecordingCanvas
111 mState.restore();
127 // operations will be able to store and restore the current clip and transform info, and
457 restore();
478 restore();
494 restore();
H A DSkiaCanvas.cpp87 virtual void restore() override;
275 // The SkiaCanvas::restore operation layers on the capability to preserve
276 // either (or both) the matrix and/or clip state after a SkCanvas::restore
278 // when requested and playing it back after the SkCanvas::restore.
279 void SkiaCanvas::restore() { function in class:android::SkiaCanvas
288 mCanvas->restore();
306 mCanvas->restore();
315 // popped by restore(). If it wasn't, it means it doesn't belong to the
316 // restored canvas frame (SkCanvas lazy save/restore kicked in).
325 this->restore();
[all...]
H A DOpenGLRenderer.cpp536 // operations will be able to store and restore the current clip and transform info, and
738 // Unbind current FBO and restore previous one
771 restore();
837 * by saveLayer's restore
915 restore();
1145 // (Note: saveLayer/restore use colorFilter and alpha, so we just save restore everything)
1149 // always store/restore, since these are just pointers
2031 void OpenGLRenderer::restore() { function in class:android::uirenderer::OpenGLRenderer
2032 mState.restore();
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java79 public abstract void restore(); method in interface:GLCanvas
198 * After LightCycle makes GL calls, this method is called to restore the GL
H A DGLES20Canvas.java138 // Keep track of restore state
466 public void restore() { method in class:GLES20Canvas
681 restore();
782 restore();
836 restore(); // restore matrix and alpha
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp55 /* Directory paths that we will not backup/restore */
110 // directory itself, since the restore file won't
446 fprintf(stderr, "bad token %d in restore file\n", *type);
452 fprintf(stderr, "bad path length %d in restore file\n", pathLen);
457 fprintf(stderr, "truncated path in restore file\n");
466 fprintf(stderr, "bad uid in restore file at '%s'\n", readPath);
471 fprintf(stderr, "bad gid in restore file at '%s'\n", readPath);
476 fprintf(stderr, "bad mode in restore file at '%s'\n", readPath);
481 fprintf(stderr, "bad atime in restore file at '%s'\n", readPath);
487 fprintf(stderr, "bad mtime in restore fil
661 int restore = 0; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java97 public void restore() { method in class:NopCanvas
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java162 /** sets an optional copy of the original content to be used during restore */
241 * upon restore
265 * into the main graphics when {@link #restore()} is called.
270 * upon restore
365 public GcSnapshot restore() { method in class:GcSnapshot
371 * @param saveCount the saveCount or -1 to only restore 1.
548 // restore the current one first.
551 if (size == saveCount + 1) { // this was the only one that needed restore.
/frameworks/av/services/audioflinger/
H A DThreads.h346 // suspend or restore effect according to the type of effect passed. a NULL
580 void restore() function in class:PlaybackThread
582 // if restore() is done without suspend(), get back into
/frameworks/base/core/java/android/view/
H A DWindowManager.java1980 // internal buffer to backup/restore parameters under compatibility mode.
2301 * @see LayoutParams#restore()
2319 void restore() { method in class:WindowManager.LayoutParams
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java243 canvasDelegate.restore();
1138 private void restore() { method in class:Canvas_Delegate
1139 mSnapshot = mSnapshot.restore();

Completed in 442 milliseconds