Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java34 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 …]
DTaskSnapshotControllerTest.java48 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()
DTaskSnapshotPersisterTestBase.java44 import android.window.TaskSnapshot;
132 TaskSnapshot createSnapshot() { in createSnapshot()
197 TaskSnapshot build() { in build()
208 return new TaskSnapshot(MOCK_SNAPSHOT_ID, mTopActivityComponent, in build()
DTaskSnapshotSurfaceTest.java54 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()
DTaskSnapshotCacheTest.java26 import android.window.TaskSnapshot;
50 TaskSnapshot mSnapshot;
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java20 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()
DSnapshotStartingData.java19 import android.window.TaskSnapshot;
29 private final TaskSnapshot mSnapshot;
31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot, int typeParams) { in SnapshotStartingData()
DTaskSnapshotController.java45 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 …]
DTaskSnapshotLoader.java23 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()
DTaskSnapshotPersister.java26 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/
DTaskSnapshot.java38 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(
DTaskSnapshot.aidl4 parcelable TaskSnapshot;
DStartingWindowInfo.java168 public TaskSnapshot mTaskSnapshot;
206 mTaskSnapshot = source.readTypedObject(TaskSnapshot.CREATOR); in readFromParcel()
/frameworks/base/core/java/android/view/
DIRecentsAnimationRunner.aidl23 import android.window.TaskSnapshot;
46 void onAnimationCanceled(in @nullable TaskSnapshot taskSnapshot) = 1;
DIRecentsAnimationController.aidl24 import android.window.TaskSnapshot;
39 TaskSnapshot screenshotTask(int taskId); in screenshotTask()
DWindowManager.aidl22 parcelable WindowManager.TaskSnapshot;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java25 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/
DTaskStackListenerCallback.java22 import android.window.TaskSnapshot;
57 default void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { } in onTaskSnapshotChanged()
/frameworks/base/core/java/android/app/
DITaskStackListener.aidl21 import android.window.TaskSnapshot;
145 void onTaskSnapshotChanged(int taskId, in TaskSnapshot snapshot); in onTaskSnapshotChanged()
DTaskStackListener.java25 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/
DRecentsAnimationControllerCompat.java24 import android.window.TaskSnapshot;
42 TaskSnapshot snapshot = mAnimationController.screenshotTask(taskId); in screenshotTask()
DTaskStackChangeListeners.java28 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/
DPhoneStartingWindowTypeAlgorithm.java38 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/
DTaskSnapshotWindowTest.java45 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/
DTaskStackListenerImplTest.java34 import android.window.TaskSnapshot;
156 TaskSnapshot snapshot = mock(TaskSnapshot.class); in testOnTaskSnapshotChanged()

123