Home
last modified time | relevance | path

Searched refs:getSnapshot (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java55 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
58 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
66 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
69 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
77 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
80 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
89 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
93 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
97 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
106 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testRestoreFromDisk()
[all …]
DTaskSnapshotPersisterLoaderTest.java68 assertNotNull(snapshot.getSnapshot()); in testPersistAndLoadSnapshot()
165 assertNotNull(snapshot.getSnapshot()); in testLowResolutionPersistAndLoadSnapshot()
/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java74 public GcSnapshot getSnapshot() { in getSnapshot() method in Canvas_Delegate
239 return canvasDelegate.getSnapshot().size(); in nGetSaveCount()
250 canvasDelegate.getSnapshot().translate(dx, dy); in nTranslate()
261 canvasDelegate.getSnapshot().scale(sx, sy); in nScale()
272 canvasDelegate.getSnapshot().rotate(Math.toRadians(degrees)); in nRotate()
284 GcSnapshot g = canvasDelegate.getSnapshot(); in nSkew()
313 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in nConcat()
341 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in nSetMatrix()
412 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
437 AffineTransform transform = canvasDelegate.getSnapshot().getTransform(); in nGetMatrix()
DBaseCanvas_Delegate.java74 public GcSnapshot getSnapshot() { in getSnapshot() method in BaseCanvas_Delegate
461 canvasDelegate.getSnapshot().draw(new GcSnapshot.Drawable() { in nDrawNinePatch()
499 canvasDelegate.getSnapshot().draw((graphics, paint) -> { in nDrawBitmapMatrix()
609 canvasDelegate.getSnapshot().draw(drawable, paintDelegate, compositeOnly, forceSrcMode); in draw()
/frameworks/base/core/java/android/app/
DTaskStackListener.java161 && snapshot != null && snapshot.getSnapshot() != null) { in onTaskSnapshotChanged()
163 snapshot.getSnapshot().destroy(); in onTaskSnapshotChanged()
DActivityManager.java1890 public GraphicBuffer getSnapshot() {
/frameworks/av/media/libnblog/include/media/nblog/
DReader.h54 std::unique_ptr<Snapshot> getSnapshot(bool flush = true);
102 friend std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java187 layoutParams.format = snapshot.getSnapshot().getFormat(); in create()
281 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames()
282 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames()
287 final GraphicBuffer buffer = mSnapshot.getSnapshot(); in drawSnapshot()
377 rect.set(0, 0, mSnapshot.getSnapshot().getWidth(), mSnapshot.getSnapshot().getHeight()); in calculateSnapshotCrop()
DTaskSnapshotController.java190 final GraphicBuffer buffer = snapshot.getSnapshot(); in snapshotTasks()
208 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotController
210 return mCache.getSnapshot(taskId, userId, restoreFromDisk, reducedResolution in getSnapshot()
DTaskSnapshotCache.java58 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotCache
DTaskSnapshotPersister.java366 mSnapshot.getSnapshot(), mSnapshot.getColorSpace()); in writeBuffer()
DRecentsAnimationController.java175 return snapshotController.getSnapshot(taskId, 0 /* userId */,
DAppWindowToken.java2085 mWmService.mTaskSnapshotController.getSnapshot( in addStartingWindow()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java55 thumbnail = Bitmap.wrapHardwareBuffer(snapshot.getSnapshot(), snapshot.getColorSpace()); in ThumbnailData()
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java42 public static AppIdToPackageMap getSnapshot() { in getSnapshot() method in AppIdToPackageMap
/frameworks/av/media/libnblog/
DMerger.cpp86 snapshots[i] = mReaders[i]->getSnapshot(); in merge()
205 snapshots[i] = mReaders[i]->getSnapshot(); in getAndProcessSnapshot()
DReader.cpp62 std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush) in getSnapshot() function in android::NBLog::Reader
226 std::unique_ptr<Snapshot> snapshot = getSnapshot(false /*flush*/); in dump()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java325 mWorkSourceProvider.dump(pw, AppIdToPackageMap.getSnapshot()); in dump()
341 mBinderCallsStats.dump(pw, AppIdToPackageMap.getSnapshot(), verbose); in dump()
DLooperStatsService.java103 AppIdToPackageMap packageMap = AppIdToPackageMap.getSnapshot(); in dump()
/frameworks/native/libs/ui/include_vndk/ui/
DFenceTime.h113 Snapshot getSnapshot() const;
/frameworks/native/libs/ui/include/ui/
DFenceTime.h113 Snapshot getSnapshot() const;
/frameworks/native/libs/gui/
DFrameTimestamps.cpp501 frameTimestamps.gpuCompositionDoneFence->getSnapshot(); in FrameEventsDelta()
505 frameTimestamps.displayPresentFence->getSnapshot(); in FrameEventsDelta()
508 mReleaseFence = frameTimestamps.releaseFence->getSnapshot(); in FrameEventsDelta()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java105 snapshotBuffer = snapshot.getSnapshot(); in provideContextImageLocked()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java148 GcSnapshot snapshot = Canvas_Delegate.getDelegate(canvas).getSnapshot(); in modifyCanvas()
/frameworks/native/libs/ui/
DFenceTime.cpp152 FenceTime::Snapshot FenceTime::getSnapshot() const { in getSnapshot() function in android::FenceTime

12