Home
last modified time | relevance | path

Searched refs:mLastNonFullscreenBounds (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsPersister.java248 if (task.mLastNonFullscreenBounds != null) { in saveTaskToLaunchParam()
249 changed |= !Objects.equals(params.mBounds, task.mLastNonFullscreenBounds); in saveTaskToLaunchParam()
250 params.mBounds.set(task.mLastNonFullscreenBounds); in saveTaskToLaunchParam()
DTask.java319 Rect mLastNonFullscreenBounds = null; field in Task
1849 if (mLastNonFullscreenBounds == null) { in setLastNonFullscreenBounds()
1850 mLastNonFullscreenBounds = new Rect(bounds); in setLastNonFullscreenBounds()
1852 mLastNonFullscreenBounds.set(bounds); in setLastNonFullscreenBounds()
1903 && mLastNonFullscreenBounds != null && !mLastNonFullscreenBounds.isEmpty()) { in onConfigurationChanged()
1906 .setBounds(mLastNonFullscreenBounds); in onConfigurationChanged()
2537 if (mLastNonFullscreenBounds != null) { in updateOverrideConfigurationForStack()
2538 setBounds(mLastNonFullscreenBounds); in updateOverrideConfigurationForStack()
2562 return mLastNonFullscreenBounds; in getLaunchBounds()
4007 if (mLastNonFullscreenBounds != null) {
[all …]
DActivityStack.java2810 if (mLastNonFullscreenBounds != null) { in dumpActivities()
2813 pw.println(task.mLastNonFullscreenBounds); in dumpActivities()
3384 if (mLastNonFullscreenBounds != null) { in dumpDebug()
3385 mLastNonFullscreenBounds.dumpDebug(proto, LAST_NON_FULLSCREEN_BOUNDS); in dumpDebug()
DActivityTaskManagerService.java2345 } else if (task.mLastNonFullscreenBounds != null) { in getTaskBounds()
2346 rect.set(task.mLastNonFullscreenBounds); in getTaskBounds()
DRootWindowContainer.java2181 stack.setLastNonFullscreenBounds(task.mLastNonFullscreenBounds); in moveActivityToPinnedStack()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsControllerTests.java367 assertEquals(expected, task.mLastNonFullscreenBounds); in testLayoutTaskBoundsChangeFixedWindow()
436 if (task.mLastNonFullscreenBounds != null) { in saveTask()
437 mTmpParams.mBounds.set(task.mLastNonFullscreenBounds); in saveTask()
DTaskRecordTests.java112 expected.mLastNonFullscreenBounds = new Rect(50, 50, 100, 100); in testRestoreWindowedTask()
117 assertEquals(expected.mLastNonFullscreenBounds, actual.mLastNonFullscreenBounds); in testRestoreWindowedTask()
230 assertEquals(freeformBounds, task.mLastNonFullscreenBounds); in testBoundsOnModeChangeFreeformToFullscreen()
DLaunchParamsPersisterTests.java122 mTestTask.mLastNonFullscreenBounds = TEST_BOUNDS; in setUp()