Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java32 import android.app.ActivityManager.TaskSnapshot;
79 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* isLowResolution */); in testPersistAndLoadSnapshot()
297 TaskSnapshot a = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot()
300 TaskSnapshot b = new TaskSnapshotBuilder() in testIsRealSnapshotPersistAndLoadSnapshot()
308 final TaskSnapshot snapshotA = mLoader.loadTask(1, mTestUserId, in testIsRealSnapshotPersistAndLoadSnapshot()
310 final TaskSnapshot snapshotB = mLoader.loadTask(2, mTestUserId, in testIsRealSnapshotPersistAndLoadSnapshot()
320 TaskSnapshot a = new TaskSnapshotBuilder() in testWindowingModePersistAndLoadSnapshot()
323 TaskSnapshot b = new TaskSnapshotBuilder() in testWindowingModePersistAndLoadSnapshot()
331 final TaskSnapshot snapshotA = mLoader.loadTask(1, mTestUserId, in testWindowingModePersistAndLoadSnapshot()
333 final TaskSnapshot snapshotB = mLoader.loadTask(2, mTestUserId, in testWindowingModePersistAndLoadSnapshot()
[all …]
DTaskSnapshotControllerTest.java146 ActivityManager.TaskSnapshot.Builder builder = in testSnapshotBuilder()
147 new ActivityManager.TaskSnapshot.Builder(); in testSnapshotBuilder()
164 ActivityManager.TaskSnapshot snapshot = builder.build(); in testSnapshotBuilder()
193 final ActivityManager.TaskSnapshot.Builder builder = in testPrepareTaskSnapshot()
194 new ActivityManager.TaskSnapshot.Builder(); in testPrepareTaskSnapshot()
DTaskSnapshotPersisterTestBase.java31 import android.app.ActivityManager.TaskSnapshot;
131 TaskSnapshot createSnapshot() { in createSnapshot()
190 TaskSnapshot build() { in build()
201 return new TaskSnapshot(MOCK_SNAPSHOT_ID, new ComponentName("", ""), buffer, in build()
DTaskSnapshotCacheTest.java26 import android.app.ActivityManager.TaskSnapshot;
50 TaskSnapshot mSnapshot;
DTaskSnapshotLowResDisabledTest.java25 import android.app.ActivityManager.TaskSnapshot;
78 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* isLowResolution */); in testPersistAndLoadSnapshot()
DTaskSnapshotSurfaceTest.java34 import android.app.ActivityManager.TaskSnapshot;
82 final TaskSnapshot snapshot = new TaskSnapshot( in setupSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java20 import android.app.ActivityManager.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.app.ActivityManager.TaskSnapshot;
29 private final TaskSnapshot mSnapshot;
31 SnapshotStartingData(WindowManagerService service, TaskSnapshot snapshot) { in SnapshotStartingData()
DTaskSnapshotController.java27 import android.app.ActivityManager.TaskSnapshot;
184 final TaskSnapshot snapshot; in snapshotTasks()
225 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, in getSnapshot()
243 TaskSnapshot snapshot) { in createStartingSurface()
279 boolean prepareTaskSnapshot(Task task, int pixelFormat, TaskSnapshot.Builder builder) {
342 TaskSnapshot.Builder builder) {
393 TaskSnapshot snapshotTask(Task task) {
398 TaskSnapshot snapshotTask(Task task, int pixelFormat) {
399 TaskSnapshot.Builder builder = new TaskSnapshot.Builder();
471 private TaskSnapshot drawAppThemeSnapshot(Task task) {
[all …]
DTaskSnapshotLoader.java23 import android.app.ActivityManager.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.app.ActivityManager.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()
DRecentsAnimationController.java36 import android.app.ActivityManager.TaskSnapshot;
187 public TaskSnapshot screenshotTask(int taskId) {
612 final TaskSnapshot taskSnapshot = screenshotRecentTask(task, reorderMode);
676 TaskSnapshot screenshotRecentTask(Task task, @ReorderMode int reorderMode) {
681 final TaskSnapshot taskSnapshot = snapshotController.getSnapshot(task.mTaskId,
DTaskSnapshotSurface.java51 import android.app.ActivityManager.TaskSnapshot;
136 private TaskSnapshot mSnapshot;
153 TaskSnapshot snapshot) { in create()
283 TaskSnapshot snapshot, CharSequence title, TaskDescription taskDescription, in TaskSnapshotSurface()
DTaskChangeNotificationController.java21 import android.app.ActivityManager.TaskSnapshot;
152 l.onTaskSnapshotChanged(m.arg1, (TaskSnapshot) m.obj);
493 void notifyTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) { in notifyTaskSnapshotChanged()
/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;
168 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) throws RemoteException { in onTaskSnapshotChanged()
292 new ThumbnailData((TaskSnapshot) msg.obj)); in handleMessage()
DActivityManagerWrapper.java33 import android.app.ActivityManager.TaskSnapshot;
155 ActivityManager.TaskSnapshot snapshot = null; in getTaskThumbnail()
264 public void onAnimationCanceled(TaskSnapshot taskSnapshot) { in startRecentsActivity()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java25 import android.app.ActivityManager.TaskSnapshot;
65 public ThumbnailData(TaskSnapshot snapshot) { in ThumbnailData()
/frameworks/base/core/java/android/view/
DWindowManager.aidl22 parcelable WindowManager.TaskSnapshot;
DIRecentsAnimationController.aidl37 ActivityManager.TaskSnapshot screenshotTask(int taskId); in screenshotTask()
DIRecentsAnimationRunner.aidl46 void onAnimationCanceled(in @nullable ActivityManager.TaskSnapshot taskSnapshot) = 1;
/frameworks/base/core/java/android/app/
DTaskStackListener.java20 import android.app.ActivityManager.TaskSnapshot;
156 public void onTaskSnapshotChanged(int taskId, TaskSnapshot snapshot) throws RemoteException { in onTaskSnapshotChanged()
DActivityManager.aidl31 parcelable ActivityManager.TaskSnapshot;
DITaskStackListener.aidl144 void onTaskSnapshotChanged(int taskId, in ActivityManager.TaskSnapshot snapshot); in onTaskSnapshotChanged()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DRecentsAnimationPerfTest.java27 import android.app.ActivityManager.TaskSnapshot;
211 public void onAnimationCanceled(TaskSnapshot taskSnapshot) throws RemoteException { in testRecentsAnimation()

12