Home
last modified time | relevance | path

Searched refs:TaskSnapshot (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java28 import android.app.ActivityManager.TaskSnapshot;
65 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* reduced */); in testPersistAndLoadSnapshot()
148 TaskSnapshot a = new TaskSnapshotBuilder() in testLowResolutionPersistAndLoadSnapshot()
162 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, true /* reduced */); in testLowResolutionPersistAndLoadSnapshot()
168 final TaskSnapshot snapshotNotExist = mLoader.loadTask(1, mTestUserId, false /* reduced */); in testLowResolutionPersistAndLoadSnapshot()
174 TaskSnapshot a = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot()
177 TaskSnapshot b = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot()
185 final TaskSnapshot snapshotA = mLoader.loadTask(1, mTestUserId, false /* reduced */); in testIsRealSnapshotPersistAndLoadSnapshot()
186 final TaskSnapshot snapshotB = mLoader.loadTask(2, mTestUserId, false /* reduced */); in testIsRealSnapshotPersistAndLoadSnapshot()
195 TaskSnapshot a = new TaskSnapshotBuilder() in testWindowingModePersistAndLoadSnapshot()
[all …]
DTaskSnapshotPersisterTestBase.java29 import android.app.ActivityManager.TaskSnapshot;
103 TaskSnapshot createSnapshot() { in createSnapshot()
150 TaskSnapshot build() { in build()
156 return new TaskSnapshot(new ComponentName("", ""), buffer, in build()
DTaskSnapshotSurfaceTest.java34 import android.app.ActivityManager.TaskSnapshot;
67 final TaskSnapshot snapshot = new TaskSnapshot(new ComponentName("", ""), buffer, in setupSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java20 import android.app.ActivityManager.TaskSnapshot;
45 void putSnapshot(Task task, TaskSnapshot snapshot) { in putSnapshot()
58 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot()
79 private TaskSnapshot tryRestoreFromDisk(int taskId, int userId, boolean reducedResolution) { in tryRestoreFromDisk()
80 final TaskSnapshot snapshot = mLoader.loadTask(taskId, userId, reducedResolution); in tryRestoreFromDisk()
134 final TaskSnapshot snapshot;
139 CacheEntry(TaskSnapshot snapshot, AppWindowToken topApp) { in CacheEntry()
DSnapshotStartingData.java19 import android.app.ActivityManager.TaskSnapshot;
29 private final TaskSnapshot mSnapshot;
31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot) { in SnapshotStartingData()
DTaskSnapshotController.java27 import android.app.ActivityManager.TaskSnapshot;
175 final TaskSnapshot snapshot; in snapshotTasks()
208 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot()
219 TaskSnapshot snapshot) { in createStartingSurface()
270 @Nullable private TaskSnapshot snapshotTask(Task task) { in snapshotTask()
312 return new TaskSnapshot( in snapshotTask()
374 private TaskSnapshot drawAppThemeSnapshot(Task task) { in drawAppThemeSnapshot()
407 return new TaskSnapshot(topChild.mActivityComponent, hwBitmap.createGraphicBufferHandle(), in drawAppThemeSnapshot()
DTaskSnapshotLoader.java22 import android.app.ActivityManager.TaskSnapshot;
66 TaskSnapshot loadTask(int taskId, int userId, boolean reducedResolution) { in loadTask()
95 return new TaskSnapshot(topActivityComponent, buffer, bitmap.getColorSpace(), in loadTask()
DTaskSnapshotPersister.java26 import android.app.ActivityManager.TaskSnapshot;
118 void persistSnapshot(int taskId, int userId, TaskSnapshot snapshot) { in persistSnapshot()
314 private final TaskSnapshot mSnapshot;
316 StoreWriteQueueItem(int taskId, int userId, TaskSnapshot snapshot) { in StoreWriteQueueItem()
DTaskSnapshotSurface.java51 import android.app.ActivityManager.TaskSnapshot;
126 private TaskSnapshot mSnapshot;
138 TaskSnapshot snapshot) { in create()
236 TaskSnapshot snapshot, CharSequence title, TaskDescription taskDescription, in TaskSnapshotSurface()
DTaskChangeNotificationController.java21 import android.app.ActivityManager.TaskSnapshot;
153 l.onTaskSnapshotChanged(m.arg1, (TaskSnapshot) m.obj);
476 void notifyTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { in notifyTaskSnapshotChanged()
DRecentsAnimationController.java36 import android.app.ActivityManager.TaskSnapshot;
178 public TaskSnapshot screenshotTask(int taskId) {
DActivityTaskManagerInternal.java562 public abstract ActivityManager.TaskSnapshot getTaskSnapshotNoRestore(int taskId, in getTaskSnapshotNoRestore()
DAppWindowToken.java2100 final ActivityManager.TaskSnapshot snapshot = in addStartingWindow()
2179 private boolean createSnapshot(ActivityManager.TaskSnapshot snapshot) { in createSnapshot()
2264 ActivityManager.TaskSnapshot snapshot) { in getStartingWindowType()
2288 private boolean snapshotOrientationSameAsTask(ActivityManager.TaskSnapshot snapshot) { in snapshotOrientationSameAsTask()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java23 import android.app.ActivityManager.TaskSnapshot;
54 public ThumbnailData(TaskSnapshot snapshot) { in ThumbnailData()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRecentsAnimationControllerCompat.java19 import android.app.ActivityManager.TaskSnapshot;
40 TaskSnapshot snapshot = mAnimationController.screenshotTask(taskId); in screenshotTask()
DTaskStackChangeListeners.java20 import android.app.ActivityManager.TaskSnapshot;
166 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) throws RemoteException { in onTaskSnapshotChanged()
266 new ThumbnailData((TaskSnapshot) msg.obj)); in handleMessage()
DActivityManagerWrapper.java148 ActivityManager.TaskSnapshot snapshot = null; in getTaskThumbnail()
/frameworks/base/core/java/android/app/
DTaskStackListener.java19 import android.app.ActivityManager.TaskSnapshot;
164 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) throws RemoteException { in onTaskSnapshotChanged()
DActivityManager.aidl31 parcelable ActivityManager.TaskSnapshot;
DITaskStackListener.aidl151 void onTaskSnapshotChanged(int taskId, in ActivityManager.TaskSnapshot snapshot); in onTaskSnapshotChanged()
DTaskInfo.java154 public ActivityManager.TaskSnapshot getTaskSnapshot(boolean reducedResolution) { in getTaskSnapshot()
DActivityManager.java1831 public static class TaskSnapshot implements Parcelable { class in ActivityManager
1851 public TaskSnapshot(@NonNull ComponentName topActivityComponent, GraphicBuffer snapshot, in TaskSnapshot() method in ActivityManager.TaskSnapshot
1869 private TaskSnapshot(Parcel source) {
2009 …ic static final @android.annotation.NonNull Creator<TaskSnapshot> CREATOR = new Creator<TaskSnapsh…
2010 public TaskSnapshot createFromParcel(Parcel source) {
2011 return new TaskSnapshot(source);
2013 public TaskSnapshot[] newArray(int size) {
2014 return new TaskSnapshot[size];
/frameworks/base/core/java/android/view/
DWindowManager.aidl22 parcelable WindowManager.TaskSnapshot;
DIRecentsAnimationController.aidl37 ActivityManager.TaskSnapshot screenshotTask(int taskId); in screenshotTask()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java106 ActivityManager.TaskSnapshot snapshot = in provideContextImageLocked()

12