Home
last modified time | relevance | path

Searched refs:getWindowConfiguration (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java95 mNavBarWindow.getWindowConfiguration().setRotation(rotation); in setRotation()
96 mStatusBarWindow.getWindowConfiguration().setRotation(rotation); in setRotation()
97 mWindow.getWindowConfiguration().setRotation(rotation); in setRotation()
190 mDisplayContent.getWindowConfiguration().setBounds(mFrames.mUnrestricted); in assertSimulateLayoutSameDisplayFrames()
DSizeCompatTests.java499 final Rect displayBounds = activity.mDisplayContent.getWindowConfiguration().getBounds(); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
500 final Rect appBounds = activity.getWindowConfiguration().getAppBounds(); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
518 assertThat(activity.getWindowConfiguration().getMaxBounds().height()) in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
536 assertThat(activity.getWindowConfiguration().getMaxBounds().height()) in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
612 final Rect currentBounds = mActivity.getWindowConfiguration().getBounds(); in testFixedScreenBoundsWhenDisplaySizeChanged()
782 final Rect currentBounds = mActivity.getWindowConfiguration().getBounds(); in testMoveToDifferentOrientationDisplay()
783 final Rect currentAppBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
784 final Rect originalBounds = new Rect(mActivity.getWindowConfiguration().getBounds()); in testMoveToDifferentOrientationDisplay()
799 final Rect newDisplayBounds = newDisplay.getWindowConfiguration().getBounds(); in testMoveToDifferentOrientationDisplay()
815 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
[all …]
DWindowTokenTests.java215 assertEquals(targetRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
216 assertEquals(targetRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
226 assertEquals(originalRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
228 assertNotEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
232 assertEquals(originalRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
DActivityRecordTests.java2052 .setRotation(activity.getWindowConfiguration().getRotation()) in testIsSnapshotCompatible()
2058 doReturn(task.getWindowConfiguration().getRotation() + 1).when(mDisplayContent) in testIsSnapshotCompatible()
2107 task.getWindowConfiguration().setBounds(taskBounds); in testIsSnapshotCompatibleTaskSizeChanged()
2108 activity.getWindowConfiguration().setBounds(taskBounds); in testIsSnapshotCompatibleTaskSizeChanged()
2121 task.getWindowConfiguration().getBounds().set(0, 0, w, h); in testIsSnapshotCompatibleTaskSizeChanged()
2140 .setRotation((activity.getWindowConfiguration().getRotation() + 1) % 4) in testFixedRotationSnapshotStartingWindow()
3136 rootTask.getWindowConfiguration().setBounds(stackBounds); in testTransitionAnimationBounds()
3137 task.getWindowConfiguration().setBounds(taskBounds); in testTransitionAnimationBounds()
3138 activity.getWindowConfiguration().setBounds(taskBounds); in testTransitionAnimationBounds()
3141 task.getWindowConfiguration().setWindowingMode(WINDOWING_MODE_FREEFORM); in testTransitionAnimationBounds()
[all …]
DTransitionTests.java640 mDisplayContent.getWindowConfiguration().setRotation( in testTargets_noIntermediatesToWallpaper()
641 (mDisplayContent.getWindowConfiguration().getRotation() + 1) % 4); in testTargets_noIntermediatesToWallpaper()
711 final int newRotation = mDisplayContent.getWindowConfiguration().getRotation() + 1; in testOpenActivityInTheSameTaskWithDisplayChange()
713 wc.getWindowConfiguration().setRotation(newRotation); in testOpenActivityInTheSameTaskWithDisplayChange()
1072 final int nextRotation = (wc.getWindowConfiguration().getRotation() + 1) % 4; in testTransitionBounds()
1073 wc.getWindowConfiguration().setRotation(nextRotation); in testTransitionBounds()
1074 wc.getWindowConfiguration().setDisplayRotation(nextRotation); in testTransitionBounds()
1075 final Rect bounds = wc.getWindowConfiguration().getBounds(); in testTransitionBounds()
1077 wc.getWindowConfiguration().setBounds( in testTransitionBounds()
1093 ? app.getWindowConfiguration().getRotation() in testTransitionBounds()
[all …]
DDesktopAppCompatAspectRatioPolicyTests.java439 final Rect appBounds = getTopActivity().getDisplayArea().getWindowConfiguration() in getDisplayAreaAspectRatio()
DAppCompatActivityRobot.java155 mTaskStack.top().getWindowConfiguration().setAppBounds(appBounds); in configureTaskAppBounds()
DRecentTasksTest.java367 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityType_expectRemove()
392 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
/frameworks/base/services/core/java/com/android/server/wm/
DAppCompatDisplayInsets.java68 mIsFloating = container.getWindowConfiguration().tasksAreFloating(); in AppCompatDisplayInsets()
71 final Rect containerBounds = container.getWindowConfiguration().getBounds(); in AppCompatDisplayInsets()
101 ? container.getWindowConfiguration().getRotation() in AppCompatDisplayInsets()
DDesktopAppCompatAspectRatioPolicy.java127 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getSplitScreenAspectRatio()
168 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getDisplayAreaMinAspectRatio()
296 && task.getWindowConfiguration().getWindowingMode() == WINDOWING_MODE_FULLSCREEN; in isFullscreenPortrait()
DAppCompatAspectRatioOverrides.java227 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getSplitScreenAspectRatio()
260 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getDisplaySizeMinAspectRatio()
DAsyncRotationController.java112 mOriginalRotation = displayContent.getWindowConfiguration().getRotation(); in AsyncRotationController()
392 final int currentRotation = mDisplayContent.getWindowConfiguration().getRotation(); in updateRotation()
558 mDisplayContent.getWindowConfiguration().getRotation(), in setupStartTransaction()
DTransition.java515 if (!sibling.getWindowConfiguration().isAlwaysOnTop() && mController.mAtm in isTransientVisible()
849 if (child.getWindowConfiguration().isAlwaysOnTop()) continue; in addOnTopTasks()
859 t -> !t.getWindowConfiguration().isAlwaysOnTop()); in addOnTopTasks()
1573 && changeInfo.mRotation != dc.getWindowConfiguration().getRotation()) { in finishTransition()
3030 int endRotation = target.getWindowConfiguration().getRotation(); in calculateTransitionInfo()
3039 endRotation = parent.getWindowConfiguration().getRotation(); in calculateTransitionInfo()
3047 endRotation = parent.getWindowConfiguration().getRotation(); in calculateTransitionInfo()
3202 final int taskRotation = task.getWindowConfiguration().getDisplayRotation(); in setEndFixedRotationIfNeeded()
3203 final int activityRotation = taskTopRunning.getWindowConfiguration() in setEndFixedRotationIfNeeded()
3224 final int nextRotation = orientationSource.getWindowConfiguration().getDisplayRotation(); in setEndFixedRotationIfNeeded()
[all …]
DWindowToken.java559 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform()
591 getWindowConfiguration().getDisplayRotation()); in getOrCreateFixedRotationLeash()
DTransparentPolicy.java280 final Rect parentBounds = parent.getWindowConfiguration().getBounds(); in start()
DAppCompatAspectRatioPolicy.java269 && parent.getWindowConfiguration().getWindowingMode() == WINDOWING_MODE_FULLSCREEN; in isParentFullscreenPortrait()
DAppCompatLetterboxPolicy.java322 final Rect parentAppBounds = task.getWindowConfiguration().getAppBounds(); in isFreeformActivityMatchParentAppBoundsHeight()
DTask.java1127 display.getWindowConfiguration().getRotation()); in onParentChanged()
2013 final boolean prevPersistTaskBounds = persistTaskBounds(getWindowConfiguration()); in onConfigurationChangedInner()
2059 if (persistTaskBounds(getWindowConfiguration())) { in onConfigurationChangedInner()
2117 final int prevRotation = getWindowConfiguration().getRotation(); in onConfigurationChanged()
2137 final int newRotation = getWindowConfiguration().getRotation(); in onConfigurationChanged()
2412 } else if (!persistTaskBounds(getWindowConfiguration())) { in updateOverrideConfigurationFromLaunchBounds()
2428 && !(allowIndependentBoundsFromParent(getWindowConfiguration()) in updateOverrideConfigurationFromLaunchBounds()
2429 && persistTaskBounds(getWindowConfiguration())); in updateOverrideConfigurationFromLaunchBounds()
2434 if (!hasParentTask && !persistTaskBounds(getWindowConfiguration())) { in updateOverrideConfigurationFromLaunchBounds()
2944 && !(getRootTask().getWindowConfiguration().canResizeTask())) { in setDragResizing()
DContentRecorder.java448 mRecordedWindowContainer.getWindowConfiguration().getWindowingMode()); in startRecordingIfNeeded()
DAbsAppSnapshotController.java486 builder.setRotation(mainWindow.getWindowConfiguration().getRotation()); in drawAppThemeSnapshot()
DConfigurationContainer.java587 public WindowConfiguration getWindowConfiguration() { in getWindowConfiguration() method in ConfigurationContainer
DBackNavigationController.java352 || currentTask.getWindowConfiguration().tasksAreFloating()) { in startBackNavigation()
1170 next.getWindowConfiguration().getRotation()); in initiate()
1760 mBounds, mBounds, t.getWindowConfiguration(), in createRemoteAnimationTarget()
DInsetsPolicy.java436 if (task != null && !task.getWindowConfiguration().tasksAreFloating()) { in adjustInsetsForRoundedCorners()
DWindowContainer.java3243 getWindowConfiguration().getDisplayRotation()); in updateSurfacePosition()
3316 final int rotation = getWindowConfiguration().getDisplayRotation(); in getRelativeDisplayRotation()
3317 final int parentRotation = parent.getWindowConfiguration().getDisplayRotation(); in getRelativeDisplayRotation()
DDisplayContent.java1918 r.getWindowConfiguration().getDisplayRotation()); in handleTopActivityLaunchingInDifferentOrientation()
2026 && r.getWindowConfiguration().getRotation() == rotation) { in setFixedRotationLaunchingApp()
2031 && prevRotatedLaunchingApp.getWindowConfiguration().getRotation() == rotation in setFixedRotationLaunchingApp()
2126 return mDisplayRotation.getRotation() != getWindowConfiguration().getRotation(); in isRotationChanging()
5240 if (!task.getRootTask().getWindowConfiguration().canResizeTask()) { in test()

12