Home
last modified time | relevance | path

Searched refs:lastSnapshotData (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java231 public ActivityManager.RecentTaskInfo.PersistedTaskSnapshotData lastSnapshotData = field in Task
257 lastSnapshotData.set(other.lastSnapshotData); in Task()
286 lastSnapshotData.set(rawTask.lastSnapshotData); in setLastSnapshotData()
293 if (lastSnapshotData.taskSize == null || lastSnapshotData.contentInsets == null) { in getVisibleThumbnailRatio()
297 float availableWidth = lastSnapshotData.taskSize.x; in getVisibleThumbnailRatio()
298 float availableHeight = lastSnapshotData.taskSize.y; in getVisibleThumbnailRatio()
301 (lastSnapshotData.contentInsets.left + lastSnapshotData.contentInsets.right); in getVisibleThumbnailRatio()
303 (lastSnapshotData.contentInsets.top + lastSnapshotData.contentInsets.bottom); in getVisibleThumbnailRatio()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java1114 final RecentTaskInfo.PersistedTaskSnapshotData lastSnapshotData = in testLastSnapshotData_snapshotSaved() local
1115 infos.get(0).lastSnapshotData; in testLastSnapshotData_snapshotSaved()
1116 assertTrue(lastSnapshotData.taskSize.equals(100, 100)); in testLastSnapshotData_snapshotSaved()
1117 assertTrue(lastSnapshotData.bufferSize.equals(80, 80)); in testLastSnapshotData_snapshotSaved()
1128 final RecentTaskInfo.PersistedTaskSnapshotData lastSnapshotData = in testLastSnapshotData_noBuffer() local
1129 infos.get(0).lastSnapshotData; in testLastSnapshotData_noBuffer()
1130 assertTrue(lastSnapshotData.taskSize.equals(100, 100)); in testLastSnapshotData_noBuffer()
1131 assertNull(lastSnapshotData.bufferSize); in testLastSnapshotData_noBuffer()
1140 final RecentTaskInfo.PersistedTaskSnapshotData lastSnapshotData = in testLastSnapshotData_notSet() local
1141 infos.get(0).lastSnapshotData; in testLastSnapshotData_notSet()
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java1884 public PersistedTaskSnapshotData lastSnapshotData = new PersistedTaskSnapshotData(); field in ActivityManager.RecentTaskInfo
1902 lastSnapshotData.taskSize = source.readTypedObject(Point.CREATOR); in readFromParcel()
1903 lastSnapshotData.contentInsets = source.readTypedObject(Rect.CREATOR); in readFromParcel()
1904 lastSnapshotData.bufferSize = source.readTypedObject(Point.CREATOR); in readFromParcel()
1913 dest.writeTypedObject(lastSnapshotData.taskSize, flags); in writeToParcel()
1914 dest.writeTypedObject(lastSnapshotData.contentInsets, flags); in writeToParcel()
1915 dest.writeTypedObject(lastSnapshotData.bufferSize, flags); in writeToParcel()
1984 pw.print(" taskSize=" + lastSnapshotData.taskSize); in dump()
1985 pw.print(" contentInsets=" + lastSnapshotData.contentInsets); in dump()
1986 pw.print(" bufferSize=" + lastSnapshotData.bufferSize); in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java4720 PersistedTaskSnapshotData lastSnapshotData = new PersistedTaskSnapshotData();
4831 lastSnapshotData.taskSize = Point.unflattenFromString(attrValue);
4834 lastSnapshotData.contentInsets = Rect.unflattenFromString(attrValue);
4837 lastSnapshotData.bufferSize = Point.unflattenFromString(attrValue);
4933 .setLastSnapshotData(lastSnapshotData)
8088 private Builder setLastSnapshotData(PersistedTaskSnapshotData lastSnapshotData) {
8089 mLastSnapshotData = lastSnapshotData;
DRecentTasks.java1900 rti.lastSnapshotData.set(tr.mLastTaskSnapshotData); in createRecentTaskInfo()