Home
last modified time | relevance | path

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

12

/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.java24 import android.app.ActivityManager.TaskSnapshot;
135 final TaskSnapshot snapshot; in snapshotTasks()
163 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot()
173 TaskSnapshot snapshot) { in createStartingSurface()
177 private TaskSnapshot snapshotTask(Task task) { in snapshotTask()
191 return new TaskSnapshot(buffer, top.getConfiguration().orientation, in snapshotTask()
241 private TaskSnapshot drawAppThemeSnapshot(Task task) { in drawAppThemeSnapshot()
269 return new TaskSnapshot(hwBitmap.createGraphicBufferHandle(), in drawAppThemeSnapshot()
DTaskWindowContainerListener.java19 import android.app.ActivityManager.TaskSnapshot;
29 void onSnapshotChanged(TaskSnapshot snapshot); in onSnapshotChanged()
DTaskSnapshotLoader.java23 import android.app.ActivityManager.TaskSnapshot;
66 TaskSnapshot loadTask(int taskId, int userId, boolean reducedResolution) { in loadTask()
90 return new TaskSnapshot(buffer, proto.orientation, in loadTask()
DTaskSnapshotPersister.java24 import android.app.ActivityManager.TaskSnapshot;
101 void persistSnapshot(int taskId, int userId, TaskSnapshot snapshot) { in persistSnapshot()
264 private final TaskSnapshot mSnapshot;
266 StoreWriteQueueItem(int taskId, int userId, TaskSnapshot snapshot) { in StoreWriteQueueItem()
DTaskWindowContainerController.java20 import android.app.ActivityManager.TaskSnapshot;
219 void reportSnapshotChanged(TaskSnapshot snapshot) { in reportSnapshotChanged()
254 listener.onSnapshotChanged((TaskSnapshot) msg.obj); in handleMessage()
DAppWindowContainerController.java33 import android.app.ActivityManager.TaskSnapshot;
531 final TaskSnapshot snapshot = mService.mTaskSnapshotController.getSnapshot( in addStartingWindow()
607 TaskSnapshot snapshot) { in getStartingWindowType()
632 private boolean createSnapshot(TaskSnapshot snapshot) { in createSnapshot()
643 private boolean snapshotOrientationSameAsTask(TaskSnapshot snapshot) { in snapshotOrientationSameAsTask()
DTaskSnapshotSurface.java48 import android.app.ActivityManager.TaskSnapshot;
119 private TaskSnapshot mSnapshot;
131 TaskSnapshot snapshot) { in create()
220 TaskSnapshot snapshot, CharSequence title, int backgroundColor, int statusBarColor, in TaskSnapshotSurface()
DWindowManagerService.java113 import android.app.ActivityManager.TaskSnapshot;
3738 public TaskSnapshot getTaskSnapshot(int taskId, int userId, boolean reducedResolution) { in getTaskSnapshot()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java23 import android.app.ActivityManager.TaskSnapshot;
82 TaskSnapshot createSnapshot() { in createSnapshot()
88 return new TaskSnapshot(buffer, ORIENTATION_PORTRAIT, TEST_INSETS, in createSnapshot()
DTaskSnapshotSurfaceTest.java30 import android.app.ActivityManager.TaskSnapshot;
62 final TaskSnapshot snapshot = new TaskSnapshot(buffer, in setupSurface()
DTaskSnapshotPersisterLoaderTest.java25 import android.app.ActivityManager.TaskSnapshot;
62 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* reduced */); in testPersistAndLoadSnapshot()
DWindowTestUtils.java210 public void onSnapshotChanged(ActivityManager.TaskSnapshot snapshot) { in TestTaskWindowContainerController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DThumbnailData.java19 import android.app.ActivityManager.TaskSnapshot;
35 public static ThumbnailData createFromTaskSnapshot(TaskSnapshot snapshot) { in createFromTaskSnapshot()
/frameworks/base/core/java/android/app/
DTaskStackListener.java19 import android.app.ActivityManager.TaskSnapshot;
97 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) in onTaskSnapshotChanged()
DActivityManager.aidl31 parcelable ActivityManager.TaskSnapshot;
DITaskStackListener.aidl136 void onTaskSnapshotChanged(int taskId, in ActivityManager.TaskSnapshot snapshot); in onTaskSnapshotChanged()
DActivityManager.java2298 public static class TaskSnapshot implements Parcelable { class in ActivityManager
2306 public TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, in TaskSnapshot() method in ActivityManager.TaskSnapshot
2315 private TaskSnapshot(Parcel source) { in TaskSnapshot() method in ActivityManager.TaskSnapshot
2380 public static final Creator<TaskSnapshot> CREATOR = new Creator<TaskSnapshot>() {
2381 public TaskSnapshot createFromParcel(Parcel source) {
2382 return new TaskSnapshot(source);
2384 public TaskSnapshot[] newArray(int size) {
2385 return new TaskSnapshot[size];
DIActivityManager.aidl613 ActivityManager.TaskSnapshot getTaskSnapshot(int taskId, boolean reducedResolution); in getTaskSnapshot()
/frameworks/base/core/java/android/view/
DWindowManager.aidl22 parcelable WindowManager.TaskSnapshot;
/frameworks/base/services/core/java/com/android/server/am/
DTaskChangeNotificationController.java19 import android.app.ActivityManager.TaskSnapshot;
134 l.onTaskSnapshotChanged(m.arg1, (TaskSnapshot) m.obj);
415 void notifyTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { in notifyTaskSnapshotChanged()
DTaskRecord.java25 import android.app.ActivityManager.TaskSnapshot;
484 public void onSnapshotChanged(TaskSnapshot snapshot) { in onSnapshotChanged()
773 TaskSnapshot getSnapshot(boolean reducedResolution) { in getSnapshot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java32 import android.app.ActivityManager.TaskSnapshot;
178 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { } in onTaskSnapshotChanged()
288 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot)
747 ActivityManager.TaskSnapshot snapshot = null; in getThumbnail()
1383 (TaskSnapshot) msg.obj); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java25 import android.app.ActivityManager.TaskSnapshot;
197 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { in onTaskSnapshotChanged()

12