Searched refs:getWindowConfiguration (Results 1 – 25 of 39) sorted by relevance
12
95 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()
499 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 …]
215 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()
2052 .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 …]
640 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 …]
439 final Rect appBounds = getTopActivity().getDisplayArea().getWindowConfiguration() in getDisplayAreaAspectRatio()
155 mTaskStack.top().getWindowConfiguration().setAppBounds(appBounds); in configureTaskAppBounds()
367 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityType_expectRemove()392 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
68 mIsFloating = container.getWindowConfiguration().tasksAreFloating(); in AppCompatDisplayInsets()71 final Rect containerBounds = container.getWindowConfiguration().getBounds(); in AppCompatDisplayInsets()101 ? container.getWindowConfiguration().getRotation() in AppCompatDisplayInsets()
127 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()
227 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getSplitScreenAspectRatio()260 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getDisplaySizeMinAspectRatio()
112 mOriginalRotation = displayContent.getWindowConfiguration().getRotation(); in AsyncRotationController()392 final int currentRotation = mDisplayContent.getWindowConfiguration().getRotation(); in updateRotation()558 mDisplayContent.getWindowConfiguration().getRotation(), in setupStartTransaction()
515 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 …]
559 final int originalRotation = getWindowConfiguration().getRotation(); in cancelFixedRotationTransform()591 getWindowConfiguration().getDisplayRotation()); in getOrCreateFixedRotationLeash()
280 final Rect parentBounds = parent.getWindowConfiguration().getBounds(); in start()
269 && parent.getWindowConfiguration().getWindowingMode() == WINDOWING_MODE_FULLSCREEN; in isParentFullscreenPortrait()
322 final Rect parentAppBounds = task.getWindowConfiguration().getAppBounds(); in isFreeformActivityMatchParentAppBoundsHeight()
1127 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()
448 mRecordedWindowContainer.getWindowConfiguration().getWindowingMode()); in startRecordingIfNeeded()
486 builder.setRotation(mainWindow.getWindowConfiguration().getRotation()); in drawAppThemeSnapshot()
587 public WindowConfiguration getWindowConfiguration() { in getWindowConfiguration() method in ConfigurationContainer
352 || currentTask.getWindowConfiguration().tasksAreFloating()) { in startBackNavigation()1170 next.getWindowConfiguration().getRotation()); in initiate()1760 mBounds, mBounds, t.getWindowConfiguration(), in createRemoteAnimationTarget()
436 if (task != null && !task.getWindowConfiguration().tasksAreFloating()) { in adjustInsetsForRoundedCorners()
3243 getWindowConfiguration().getDisplayRotation()); in updateSurfacePosition()3316 final int rotation = getWindowConfiguration().getDisplayRotation(); in getRelativeDisplayRotation()3317 final int parentRotation = parent.getWindowConfiguration().getDisplayRotation(); in getRelativeDisplayRotation()
1918 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()