Home
last modified time | relevance | path

Searched refs:getWindowingMode (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java352 public int getWindowingMode() { in getWindowingMode() method in ConfigurationContainer
353 return mFullConfiguration.windowConfiguration.getWindowingMode(); in getWindowingMode()
358 return mRequestedOverrideConfiguration.windowConfiguration.getWindowingMode(); in getRequestedOverrideWindowingMode()
393 mFullConfiguration.windowConfiguration.getWindowingMode(); in inMultiWindowMode()
401 mFullConfiguration.windowConfiguration.getWindowingMode(); in inSplitScreenWindowingMode()
410 mFullConfiguration.windowConfiguration.getWindowingMode(); in inSplitScreenSecondaryWindowingMode()
416 return mFullConfiguration.windowConfiguration.getWindowingMode() in inSplitScreenPrimaryWindowingMode()
431 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in inPinnedWindowingMode()
435 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_FREEFORM; in inFreeformWindowingMode()
510 final int thisWindowingMode = getWindowingMode(); in isCompatible()
[all …]
DDragResizeMode.java41 return stack.getWindowingMode() == WINDOWING_MODE_FREEFORM; in isModeAllowedForStack()
DActivityDisplay.java494 ? currentFocus.getWindowingMode() : WINDOWING_MODE_UNDEFINED; in getNextFocusableStack()
652 if (stack.getWindowingMode() != windowingMode) { in removeStacksInWindowingModes()
695 final int windowingMode = stack.getWindowingMode(); in addStackReferenceIfNeeded()
814 final int displayWindowingMode = getWindowingMode(); in isWindowingModeSupported()
855 windowingMode = task.getWindowingMode(); in resolveWindowingMode()
858 windowingMode = r.getWindowingMode(); in resolveWindowingMode()
862 windowingMode = getWindowingMode(); in resolveWindowingMode()
945 if (windowingMode == current.getWindowingMode()) { in getTopStackInWindowingMode()
1044 if (!r.isState(RESUMED) || r.getWindowingMode() != WINDOWING_MODE_FULLSCREEN) { in handleActivitySizeCompatModeIfNeeded()
1279 final int winMode = s.getWindowingMode(); in moveStackBehindBottomMostVisibleStack()
DActivityMetricsLogger.java294 @WindowingMode int windowingMode = stack.getWindowingMode(); in logWindowState()
297 windowingMode = stack.getWindowingMode(); in logWindowState()
382 ? launchedActivity.getWindowingMode() in notifyActivityLaunched()
515 activityRecord.getWindowingMode()); in notifyVisibilityChanged()
543 r.getWindowingMode()); in checkVisibility()
568 mWindowingModeTransitionInfo.remove(r.getWindowingMode()); in checkVisibility()
800 r.getWindowingMode()); in logAppTransitionReportedDrawn()
DTaskStack.java732 final int prevWindowingMode = getWindowingMode(); in onConfigurationChanged()
738 final int windowingMode = getWindowingMode(); in onConfigurationChanged()
1116 mWmService.setResizeDimLayer(false, getWindowingMode(), 1.0f); in resetAdjustedForIme()
1322 mWmService.setResizeDimLayer(true, getWindowingMode(), alpha); in updateAdjustedBounds()
1480 if (task.getWindowingMode() == WINDOWING_MODE_FULLSCREEN) { in findTaskForResizePoint()
1914 final int windowingMode = getWindowingMode(); in canSpecifyOrientation()
DTaskSnapshotController.java317 true /* isRealSnapshot */, task.getWindowingMode(), getSystemUiVisibility(task), in snapshotTask()
410 mFullSnapshotScale, false /* isRealSnapshot */, task.getWindowingMode(), in drawAppThemeSnapshot()
DLaunchParamsPersister.java234 changed |= params.mWindowingMode != stack.getWindowingMode(); in saveTaskToLaunchParam()
235 params.mWindowingMode = stack.getWindowingMode(); in saveTaskToLaunchParam()
DTaskLaunchParamsModifier.java154 + display.getWindowingMode()); in calculate()
254 outParams.mWindowingMode = launchMode == display.getWindowingMode() in calculate()
268 : display.getWindowingMode(); in calculate()
DLaunchParamsController.java145 && mTmpParams.mWindowingMode != task.getStack().getWindowingMode()) { in layoutTask()
DInputManagerCallback.java221 if (displayContent.getWindowingMode() == WINDOWING_MODE_FREEFORM) { in getPointerDisplayId()
DTaskRecord.java707 final int toStackWindowingMode = toStack.getWindowingMode(); in reparent()
711 && replaceWindowsOnTaskMove(getWindowingMode(), toStackWindowingMode); in reparent()
826 supervisor.handleNonResizableTaskIfNeeded(this, preferredStack.getWindowingMode(), in reparent()
1919 final int windowingMode = getWindowingMode(); in saveLaunchingStateIfNeeded()
2089 int windowingMode = inOutConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides()
2091 windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides()
2203 getRequestedOverrideConfiguration().windowConfiguration.getWindowingMode(); in resolveOverrideConfiguration()
2205 windowingMode = newParentConfig.windowConfiguration.getWindowingMode(); in resolveOverrideConfiguration()
2342 final int windowingMode = getWindowingMode(); in getLaunchBounds()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskInfoCompat.java33 public static int getWindowingMode(TaskInfo info) { in getWindowingMode() method in TaskInfoCompat
34 return info.configuration.windowConfiguration.getWindowingMode(); in getWindowingMode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java131 mPrimaryDisplay.getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_NoFreeformSupport()
141 mPrimaryDisplay.getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_NoDesktopMode()
152 mPrimaryDisplay.getWindowingMode()); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_HasDesktopMode()
163 mPrimaryDisplay.getWindowingMode()); in testPrimaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc()
176 mPrimaryDisplay.getWindowingMode()); in testPrimaryDisplayUpdateToFreeform_HasFreeformSupport_IsPc()
184 mSecondaryDisplay.getWindowingMode()); in testSecondaryDisplayDefaultToFullscreen_NoFreeformSupport()
194 mSecondaryDisplay.getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_NoDesktopMode()
205 mSecondaryDisplay.getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_HasDesktopMode()
216 mSecondaryDisplay.getWindowingMode()); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc()
DRootWindowContainerTests.java96 mWm.getDefaultDisplayContentLocked().getWindowingMode()); in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
104 mWm.getDefaultDisplayContentLocked().getWindowingMode()); in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
DTaskSnapshotPersisterLoaderTest.java201 assertEquals(WINDOWING_MODE_FULLSCREEN, a.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
202 assertEquals(WINDOWING_MODE_PINNED, b.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
210 assertEquals(WINDOWING_MODE_FULLSCREEN, snapshotA.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
211 assertEquals(WINDOWING_MODE_PINNED, snapshotB.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
DConfigurationContainerTests.java217 assertEquals(WINDOWING_MODE_UNDEFINED, root.getWindowingMode()); in testSetWindowingMode()
218 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode()
221 assertEquals(WINDOWING_MODE_FULLSCREEN, root.getWindowingMode()); in testSetWindowingMode()
222 assertEquals(WINDOWING_MODE_FREEFORM, child.getWindowingMode()); in testSetWindowingMode()
DAppChangeTransitionTests.java145 assertEquals(WINDOWING_MODE_FREEFORM, mTask.getWindowingMode()); in testNoChangeWhenMoveDisplay()
152 assertEquals(WINDOWING_MODE_FULLSCREEN, mTask.getWindowingMode()); in testNoChangeWhenMoveDisplay()
DActivityStackSupervisorTests.java129 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
142 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityMetricsLaunchObserverTests.java163 mActivityMetricsLogger.notifyWindowsDrawn(mActivityRecord.getWindowingMode(), in testOnActivityLaunchFinished()
206 mActivityMetricsLogger.notifyWindowsDrawn(mActivityRecordTrampoline.getWindowingMode(), in testOnActivityLaunchFinishedTrampoline()
DActivityStackTests.java163 assertEquals(WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, primarySplitScreen.getWindowingMode()); in testPrimarySplitScreenRestoresWhenMovedToBack()
173 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testPrimarySplitScreenRestoresWhenMovedToBack()
189 assertEquals(WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, primarySplitScreen.getWindowingMode()); in testPrimarySplitScreenRestoresPreviousWhenMovedToBack()
208 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testStackInheritsDisplayWindowingMode()
213 assertEquals(WINDOWING_MODE_FREEFORM, primarySplitScreen.getWindowingMode()); in testStackInheritsDisplayWindowingMode()
223 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testStackOverridesDisplayWindowingMode()
233 assertEquals(WINDOWING_MODE_FULLSCREEN, primarySplitScreen.getWindowingMode()); in testStackOverridesDisplayWindowingMode()
DLaunchParamsControllerTests.java305 final int beforeWindowMode = task.getStack().getWindowingMode(); in testLayoutTaskWindowingModeChange()
310 final int afterWindowMode = task.getStack().getWindowingMode(); in testLayoutTaskWindowingModeChange()
426 mTmpParams.mWindowingMode = task.getWindowingMode(); in saveTask()
DWindowConfigurationTests.java123 winConfig2.setWindowingMode(winConfig1.getWindowingMode()); in testConfigurationCompareTo()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java62 windowingMode = snapshot.getWindowingMode(); in ThumbnailData()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java114 final int windowingMode = t.configuration.windowConfiguration.getWindowingMode(); in preloadPlan()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl516 int getWindowingMode(int displayId); in getWindowingMode() method

123