/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasFrontendTests.cpp | 59 skiaCanvas.save(); in TEST() 60 opCanvas.save(SaveFlags::MatrixClip); in TEST() 87 skiaCanvas.save(); in TEST() 88 opCanvas.save(SaveFlags::Matrix); in TEST() 100 skiaCanvas.save(); in TEST() 101 opCanvas.save(SaveFlags::Matrix); in TEST() 108 skiaCanvas.save(); in TEST() 109 opCanvas.save(SaveFlags::Matrix); in TEST() 141 opCanvas.save(); in TEST() 146 opCanvas.save(); in TEST() [all …]
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyStoreTest.java | 71 mTertiaryKeyStore.save(packageName, packageKey); in load_loadsAKeyThatWasSaved() 84 mTertiaryKeyStore.save(packageName, packageKey); in load_doesNotLoadAKeyForAnotherSecondary() 105 mTertiaryKeyStore.save(packageName, packageKey); in load_throwsIfHasWrongBackupKey() 133 mTertiaryKeyStore.save(packageName, oldKey); in save_overwritesPreviousKey() 136 mTertiaryKeyStore.save(packageName, newKey); in save_overwritesPreviousKey() 149 IllegalArgumentException.class, () -> mTertiaryKeyStore.save("", generateAesKey())); in save_throwsForEmptyApplicationName() 157 () -> mTertiaryKeyStore.save("com/android/example", generateAesKey())); in save_throwsForBadApplicationName() 175 mTertiaryKeyStore.save(package1, key1); in getAll_returnsAllKeysSaved() 176 mTertiaryKeyStore.save(package2, key2); in getAll_returnsAllKeysSaved() 177 mTertiaryKeyStore.save(package3, key3); in getAll_returnsAllKeysSaved() [all …]
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | CanvasOpBench.cpp | 41 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestore() 42 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestore() 56 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestoreWithReuse() 57 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_saverestoreWithReuse() 74 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_simpleBitmapView() 82 canvas.save(SaveFlags::MatrixClip); in BM_CanvasOpBuffer_record_simpleBitmapView()
|
D | DisplayListCanvasBench.cpp | 65 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_saverestore() 66 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_saverestore() 104 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_simpleBitmapView() 109 canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_record_simpleBitmapView() 134 int clipRestoreCount = canvas->save(SaveFlags::MatrixClip); in BM_SkiaDisplayListCanvas_basicViewGroupDraw()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColoredRectsActivity.java | 79 canvas.save(); in onDraw() 93 canvas.save(); in onDraw() 94 canvas.save(); in onDraw() 99 canvas.save(); in onDraw() 104 canvas.save(); in onDraw() 110 canvas.save(); in onDraw() 116 canvas.save(); in onDraw()
|
D | ShapesActivity.java | 82 canvas.save(); in onDraw() 93 canvas.save(); in onDraw() 104 canvas.save(); in onDraw() 115 canvas.save(); in onDraw() 126 canvas.save(); in onDraw() 137 canvas.save(); in onDraw() 148 canvas.save(); in onDraw()
|
D | QuickRejectActivity.java | 57 count = canvas.save(); in onDraw() 64 canvas.save(); in onDraw() 66 canvas.save(); in onDraw() 68 canvas.save(); in onDraw() 81 canvas.save(); in onDraw()
|
D | Lines2Activity.java | 104 canvas.save(); in onDraw() 112 canvas.save(); in onDraw() 121 canvas.save(); in onDraw() 132 canvas.save(); in onDraw() 140 canvas.save(); in onDraw() 149 canvas.save(); in onDraw() 158 canvas.save(); in onDraw() 181 canvas.save(); in onDraw() 204 canvas.save(); in onDraw() 227 canvas.save(); in onDraw()
|
D | AlphaLayersActivity.java | 86 canvas.save(); in dispatchDraw() 93 canvas.save(); in dispatchDraw() 101 canvas.save(); in dispatchDraw() 109 canvas.save(); in dispatchDraw() 121 final int restoreTo = canvas.save(); in dispatchDraw()
|
D | XfermodeActivity.java | 61 canvas.save(); in onDraw() 82 canvas.save(); in onDraw() 103 canvas.save(); in onDraw() 130 canvas.save(); in drawRects()
|
D | ScaledPathsActivity.java | 68 canvas.save(); in onDraw() 77 canvas.save(); in onDraw() 85 canvas.save(); in drawPath()
|
D | ScaledTextActivity.java | 103 canvas.save(); in onDraw() 119 canvas.save(); in onDraw() 125 canvas.save(); in onDraw()
|
D | LinesActivity.java | 118 canvas.save(); in onDraw() 150 canvas.save(); in onDraw() 157 canvas.save(); in onDraw()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 55 int save = canvas.save(); in testBasicViewGroupDraw() local 62 canvas.restoreToCount(save); in testBasicViewGroupDraw() 83 canvas.save(); in testRecordSimpleBitmapView() 88 canvas.save(); in testRecordSimpleBitmapView()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 89 c.save(); in drawIfNeeded() 94 c.save(); in drawIfNeeded() 99 c.save(); in drawIfNeeded() 104 c.save(); in drawIfNeeded()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 86 public boolean save() { in save() method in GestureLibraries.FileGestureLibrary 103 mStore.save(new FileOutputStream(file), true); in save() 110 mStore.save(new FileOutputStream(mFd), true); in save() 158 public boolean save() { in save() method in GestureLibraries.ResourceGestureLibrary
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutDumpFiles.java | 45 public boolean save(String filename, Consumer<PrintWriter> dumper) { in save() method in ShortcutDumpFiles 71 public boolean save(String filename, byte[] utf8bytes) { in save() method in ShortcutDumpFiles 72 return save(filename, pw -> pw.println(StandardCharsets.UTF_8.decode( in save()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | PaintMeasureDrawPerfTest.java | 112 final int save = canvas.save(); in timeDraw() local 119 canvas.restoreToCount(save); in timeDraw()
|
D | StaticLayoutCreateDrawPerfTest.java | 124 int save = canvas.save(); in timeDraw() local 131 canvas.restoreToCount(save); in timeDraw()
|
D | BoringLayoutCreateDrawPerfTest.java | 125 final int save = canvas.save(); in timeDraw() local 132 canvas.restoreToCount(save); in timeDraw()
|
D | TextViewSetTextMeasurePerfTest.java | 133 int save = canvas.save(); in timeDraw() local 142 canvas.restoreToCount(save); in timeDraw()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 103 canvas.save(); in paintRoundedBorders() 109 canvas.save(); in paintRoundedBorders() 115 canvas.save(); in paintRoundedBorders()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ShapeAnimation.cpp | 68 int outerCount = canvas.save(SaveFlags::MatrixClip); in createContent() 78 int middleCount = canvas.save(SaveFlags::MatrixClip); in createContent() 80 int innerCount = canvas.save(SaveFlags::MatrixClip); in createContent()
|
D | ClippingAnimation.cpp | 33 canvas.save(SaveFlags::MatrixClip); in createContent() 44 canvas.save(SaveFlags::MatrixClip); in createContent()
|
/frameworks/native/libs/binder/tests/ |
D | binderAllocationLimits.cpp | 39 static MallocHooks save() { in save() function 52 static const MallocHooks orig_malloc_hooks = MallocHooks::save(); 91 MallocHooks before = MallocHooks::save(); in OnMalloc()
|