Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java68 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
71 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
79 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
82 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
90 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
93 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
102 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
106 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
110 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
119 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testRestoreFromDisk()
[all …]
DTaskSnapshotLowResDisabledTest.java82 assertNotNull(snapshot.getSnapshot()); in testPersistAndLoadSnapshot()
132 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
136 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
140 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
144 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
148 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
DTaskSnapshotControllerTest.java176 assertSame(buffer, snapshot.getSnapshot()); in testSnapshotBuilder()
/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java74 public GcSnapshot getSnapshot() { in getSnapshot() method in Canvas_Delegate
245 return canvasDelegate.getSnapshot().size(); in nGetSaveCount()
256 canvasDelegate.getSnapshot().translate(dx, dy); in nTranslate()
267 canvasDelegate.getSnapshot().scale(sx, sy); in nScale()
278 canvasDelegate.getSnapshot().rotate(Math.toRadians(degrees)); in nRotate()
290 GcSnapshot g = canvasDelegate.getSnapshot(); in nSkew()
319 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in nConcat()
347 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in nSetMatrix()
418 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds(); in nGetClipBounds()
443 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/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java217 layoutParams.format = snapshot.getSnapshot().getFormat(); in create()
328 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames()
329 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames()
357 mSurface.attachAndQueueBufferWithColorSpace(mSnapshot.getSnapshot(), in drawSizeMatchSnapshot()
366 final GraphicBuffer buffer = mSnapshot.getSnapshot(); in drawSizeMismatchSnapshot()
428 rect.set(0, 0, mSnapshot.getSnapshot().getWidth(), mSnapshot.getSnapshot().getHeight()); in calculateSnapshotCrop()
431 final float scaleX = (float) mSnapshot.getSnapshot().getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotCrop()
433 (float) mSnapshot.getSnapshot().getHeight() / mSnapshot.getTaskSize().y; in calculateSnapshotCrop()
452 final float scaleX = (float) mSnapshot.getSnapshot().getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotFrame()
454 (float) mSnapshot.getSnapshot().getHeight() / mSnapshot.getTaskSize().y; in calculateSnapshotFrame()
DTaskSnapshotCache.java59 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotCache
DTaskSnapshotController.java204 final GraphicBuffer buffer = snapshot.getSnapshot(); in snapshotTasks()
225 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() method in TaskSnapshotController
227 return mCache.getSnapshot(taskId, userId, restoreFromDisk, isLowResolution in getSnapshot()
DRecentsAnimationController.java205 return snapshotController.getSnapshot(taskId, 0 /* userId */,
681 final TaskSnapshot taskSnapshot = snapshotController.getSnapshot(task.mTaskId,
688 new SurfaceControl.ScreenshotGraphicBuffer(taskSnapshot.getSnapshot(),
DTaskSnapshotPersister.java407 mSnapshot.getSnapshot(), mSnapshot.getColorSpace()); in writeBuffer()
/frameworks/base/core/java/android/app/
DTaskStackListener.java158 && snapshot != null && snapshot.getSnapshot() != null) { in onTaskSnapshotChanged()
160 snapshot.getSnapshot().destroy(); in onTaskSnapshotChanged()
/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/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.cpp67 std::unique_ptr<Snapshot> Reader::getSnapshot(bool flush) in getSnapshot() function in android::NBLog::Reader
232 std::unique_ptr<Snapshot> snapshot = getSnapshot(false /*flush*/); in dump()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java66 final GraphicBuffer buffer = snapshot.getSnapshot(); in ThumbnailData()
/frameworks/native/libs/ui/include/ui/
DFenceTime.h113 Snapshot getSnapshot() const;
/frameworks/native/libs/ui/include_vndk/ui/
DFenceTime.h113 Snapshot getSnapshot() const;
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java333 mWorkSourceProvider.dump(pw, AppIdToPackageMap.getSnapshot()); in dump()
349 mBinderCallsStats.dump(pw, AppIdToPackageMap.getSnapshot(), verbose); in dump()
DLooperStatsService.java103 AppIdToPackageMap packageMap = AppIdToPackageMap.getSnapshot(); in dump()
/frameworks/native/libs/gui/
DFrameTimestamps.cpp513 frameTimestamps.gpuCompositionDoneFence->getSnapshot(); in FrameEventsDelta()
517 frameTimestamps.displayPresentFence->getSnapshot(); in FrameEventsDelta()
520 mReleaseFence = frameTimestamps.releaseFence->getSnapshot(); in FrameEventsDelta()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java148 GcSnapshot snapshot = Canvas_Delegate.getDelegate(canvas).getSnapshot(); in modifyCanvas()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java168 snapshotBuffer = snapshot.getSnapshot(); in provideContextImage()
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp244 handle->gpuCompositionDoneFence->getSnapshot().fence, in addCallbackHandle()
/frameworks/native/libs/ui/
DFenceTime.cpp152 FenceTime::Snapshot FenceTime::getSnapshot() const { in getSnapshot() function in android::FenceTime

12