/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 34 import android.window.TaskSnapshot; 80 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* isLowResolution */); in testPersistAndLoadSnapshot() 298 TaskSnapshot a = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot() 301 TaskSnapshot b = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot() 309 final TaskSnapshot snapshotA = mLoader.loadTask(1, mTestUserId, in testIsRealSnapshotPersistAndLoadSnapshot() 311 final TaskSnapshot snapshotB = mLoader.loadTask(2, mTestUserId, in testIsRealSnapshotPersistAndLoadSnapshot() 321 TaskSnapshot a = new TaskSnapshotBuilder() in testWindowingModePersistAndLoadSnapshot() 324 TaskSnapshot b = new TaskSnapshotBuilder() in testWindowingModePersistAndLoadSnapshot() 332 final TaskSnapshot snapshotA = mLoader.loadTask(1, mTestUserId, in testWindowingModePersistAndLoadSnapshot() 334 final TaskSnapshot snapshotB = mLoader.loadTask(2, mTestUserId, in testWindowingModePersistAndLoadSnapshot() [all …]
|
D | TaskSnapshotControllerTest.java | 48 import android.window.TaskSnapshot; 150 TaskSnapshot.Builder builder = in testSnapshotBuilder() 151 new TaskSnapshot.Builder(); in testSnapshotBuilder() 168 TaskSnapshot snapshot = builder.build(); in testSnapshotBuilder() 201 final TaskSnapshot.Builder builder = new TaskSnapshot.Builder(); in testCreateTaskSnapshotWithExcludingIme() 221 final TaskSnapshot.Builder builder = new TaskSnapshot.Builder(); in testCreateTaskSnapshotWithIncludingIme() 230 final TaskSnapshot snapshot = builder.build(); in testCreateTaskSnapshotWithIncludingIme() 245 final TaskSnapshot.Builder builder = in testPrepareTaskSnapshot() 246 new TaskSnapshot.Builder(); in testPrepareTaskSnapshot()
|
D | TaskSnapshotPersisterTestBase.java | 44 import android.window.TaskSnapshot; 132 TaskSnapshot createSnapshot() { in createSnapshot() 197 TaskSnapshot build() { in build() 208 return new TaskSnapshot(MOCK_SNAPSHOT_ID, mTopActivityComponent, in build()
|
D | TaskSnapshotSurfaceTest.java | 54 import android.window.TaskSnapshot; 88 final TaskSnapshot snapshot = createTaskSnapshot(width, height, taskSize, contentInsets); in setupSurface() 95 private TaskSnapshot createTaskSnapshot(int width, int height, in createTaskSnapshot() 99 return new TaskSnapshot( in createTaskSnapshot() 140 TaskSnapshot taskSnapshot = createTaskSnapshot(task.x, task.y, task, new Rect()); in createSurface_asTrustedOverlay()
|
D | TaskSnapshotCacheTest.java | 26 import android.window.TaskSnapshot; 50 TaskSnapshot mSnapshot;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 20 import android.window.TaskSnapshot; 46 void putSnapshot(Task task, TaskSnapshot snapshot) { in putSnapshot() 59 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() 80 private TaskSnapshot tryRestoreFromDisk(int taskId, int userId, boolean isLowResolution) { in tryRestoreFromDisk() 81 final TaskSnapshot snapshot = mLoader.loadTask(taskId, userId, isLowResolution); in tryRestoreFromDisk() 135 final TaskSnapshot snapshot; 140 CacheEntry(TaskSnapshot snapshot, ActivityRecord topApp) { in CacheEntry()
|
D | SnapshotStartingData.java | 19 import android.window.TaskSnapshot; 29 private final TaskSnapshot mSnapshot; 31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot, int typeParams) { in SnapshotStartingData()
|
D | TaskSnapshotController.java | 45 import android.window.TaskSnapshot; 181 final TaskSnapshot snapshot; in snapshotTasks() 223 TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot() 241 TaskSnapshot snapshot) { in createStartingSurface() 277 boolean prepareTaskSnapshot(Task task, int pixelFormat, TaskSnapshot.Builder builder) { 361 TaskSnapshot.Builder builder) { 371 float scaleFraction, TaskSnapshot.Builder builder) { 414 float scaleFraction, int pixelFormat, Point outTaskSize, TaskSnapshot.Builder builder) { 465 TaskSnapshot snapshotTask(Task task) { 470 TaskSnapshot snapshotTask(Task task, int pixelFormat) { [all …]
|
D | TaskSnapshotLoader.java | 23 import android.window.TaskSnapshot; 139 TaskSnapshot loadTask(int taskId, int userId, boolean loadLowResolutionBitmap) { in loadTask() 196 return new TaskSnapshot(proto.id, topActivityComponent, buffer, in loadTask()
|
D | TaskSnapshotPersister.java | 26 import android.window.TaskSnapshot; 134 void persistSnapshot(int taskId, int userId, TaskSnapshot snapshot) { in persistSnapshot() 330 private final TaskSnapshot mSnapshot; 332 StoreWriteQueueItem(int taskId, int userId, TaskSnapshot snapshot) { in StoreWriteQueueItem()
|
/frameworks/base/core/java/android/window/ |
D | TaskSnapshot.java | 38 public class TaskSnapshot implements Parcelable { class 67 public TaskSnapshot(long id, in TaskSnapshot() method in TaskSnapshot 90 private TaskSnapshot(Parcel source) { 273 public static final @NonNull Creator<TaskSnapshot> CREATOR = new Creator<TaskSnapshot>() { 274 public TaskSnapshot createFromParcel(Parcel source) { 275 return new TaskSnapshot(source); 277 public TaskSnapshot[] newArray(int size) { 278 return new TaskSnapshot[size]; 380 public TaskSnapshot build() { 381 return new TaskSnapshot(
|
D | TaskSnapshot.aidl | 4 parcelable TaskSnapshot;
|
D | StartingWindowInfo.java | 168 public TaskSnapshot mTaskSnapshot; 206 mTaskSnapshot = source.readTypedObject(TaskSnapshot.CREATOR); in readFromParcel()
|
/frameworks/base/core/java/android/view/ |
D | IRecentsAnimationRunner.aidl | 23 import android.window.TaskSnapshot; 46 void onAnimationCanceled(in @nullable TaskSnapshot taskSnapshot) = 1;
|
D | IRecentsAnimationController.aidl | 24 import android.window.TaskSnapshot; 39 TaskSnapshot screenshotTask(int taskId); in screenshotTask()
|
D | WindowManager.aidl | 22 parcelable WindowManager.TaskSnapshot;
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.java | 25 import android.window.TaskSnapshot; 64 private static Bitmap makeThumbnail(TaskSnapshot snapshot) { in makeThumbnail() 83 public ThumbnailData(TaskSnapshot snapshot) { in ThumbnailData()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | TaskStackListenerCallback.java | 22 import android.window.TaskSnapshot; 57 default void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { } in onTaskSnapshotChanged()
|
/frameworks/base/core/java/android/app/ |
D | ITaskStackListener.aidl | 21 import android.window.TaskSnapshot; 145 void onTaskSnapshotChanged(int taskId, in TaskSnapshot snapshot); in onTaskSnapshotChanged()
|
D | TaskStackListener.java | 25 import android.window.TaskSnapshot; 156 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) throws RemoteException { in onTaskSnapshotChanged()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RecentsAnimationControllerCompat.java | 24 import android.window.TaskSnapshot; 42 TaskSnapshot snapshot = mAnimationController.screenshotTask(taskId); in screenshotTask()
|
D | TaskStackChangeListeners.java | 28 import android.window.TaskSnapshot; 219 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { in onTaskSnapshotChanged() 295 final TaskSnapshot snapshot = (TaskSnapshot) msg.obj; in handleMessage()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/phone/ |
D | PhoneStartingWindowTypeAlgorithm.java | 38 import android.window.TaskSnapshot; 110 final TaskSnapshot snapshot = windowInfo.mTaskSnapshot; in isSnapshotCompatible()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/ |
D | TaskSnapshotWindowTest.java | 45 import android.window.TaskSnapshot; 81 final TaskSnapshot snapshot = createTaskSnapshot(width, height, taskSize, contentInsets); in setupSurface() 90 private TaskSnapshot createTaskSnapshot(int width, int height, Point taskSize, in createTaskSnapshot() 94 return new TaskSnapshot( in createTaskSnapshot()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | TaskStackListenerImplTest.java | 34 import android.window.TaskSnapshot; 156 TaskSnapshot snapshot = mock(TaskSnapshot.class); in testOnTaskSnapshotChanged()
|