Home
last modified time | relevance | path

Searched refs:getDisplayContent (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DTask.java121 DisplayContent getDisplayContent() { in getDisplayContent() method in Task
122 return mStack != null ? mStack.getDisplayContent() : null; in getDisplayContent()
188 DisplayContent content = getDisplayContent(); in removeImmediately()
204 final DisplayContent prevDisplayContent = getDisplayContent(); in reparent()
220 final DisplayContent displayContent = stack.getDisplayContent(); in reparent()
237 updateDisplayInfo(getDisplayContent()); in onParentSet()
285 final DisplayContent displayContent = mStack.getDisplayContent(); in setBounds()
421 final DisplayContent displayContent = mStack.getDisplayContent(); in useCurrentBounds()
439 mStack.getDisplayContent().getLogicalDisplayRect(out); in getBounds()
490 final DisplayContent displayContent = mStack.getDisplayContent(); in getDimBounds()
[all …]
DStackWindowController.java76 final DisplayContent dc = mRoot.getDisplayContent(displayId); in StackWindowController()
111 final DisplayContent targetDc = mRoot.getDisplayContent(displayId); in reparent()
138 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in positionChildAt()
159 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in positionChildAtTop()
180 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in positionChildAtBottom()
202 mContainer.getDisplayContent().setLayoutNeeded(); in resize()
268 final DisplayContent displayContent = stack.getDisplayContent(); in adjustConfigurationForBounds()
356 final DisplayContent displayContent = mContainer.getDisplayContent(); in getSmallestWidthForTaskBounds()
DPinnedStackWindowController.java57 final DisplayContent displayContent = mContainer.getDisplayContent(); in getPictureInPictureBounds()
110 mContainer.getDisplayContent().getLogicalDisplayRect(toBounds); in animateResizePinnedStack()
142 mContainer.getDisplayContent().getPinnedStackController(); in setPictureInPictureAspectRatio()
168 mContainer.getDisplayContent().getPinnedStackController().setActions(actions); in setPictureInPictureActions()
DWindowState.java724 final DisplayContent dc = getDisplayContent(); in computeFrameLw()
855 final DisplayMetrics displayMetrics = getDisplayContent().getDisplayMetrics(); in computeFrameLw()
913 getDisplayContent().getLogicalDisplayRect(mTmpRect); in computeFrameLw()
966 final DisplayContent displayContent = getDisplayContent(); in computeFrameLw()
969 getDisplayContent().mWallpaperController.updateWallpaperOffset( in computeFrameLw()
1041 return getDisplayContent().getNeedsMenu(this, bottom); in getNeedsMenuLw()
1185 DisplayContent getDisplayContent() { in getDisplayContent() method in WindowState
1186 return mToken.getDisplayContent(); in getDisplayContent()
1190 final DisplayContent displayContent = getDisplayContent(); in getDisplayInfo()
1196 final DisplayContent displayContent = getDisplayContent(); in getDisplayId()
[all …]
DSplashScreenStartingData.java57 mMergedOverrideConfiguration, atoken.getDisplayContent().getDisplayId()); in createStartingSurface()
DRootWindowContainer.java201 DisplayContent dc = getDisplayContent(displayId); in getDisplayContentOrCreate()
217 DisplayContent getDisplayContent(int displayId) { in getDisplayContent() method in RootWindowContainer
331 final DisplayContent displayContent = getDisplayContent(displayId); in setDisplayOverrideConfigurationIfNeeded()
389 final DisplayContent dc = getDisplayContent(displayId); in updateStackBoundsAfterConfigChange()
688 if (win.getDisplayContent().mWallpaperController.isWallpaperTarget(win)) { in performSurfacePlacement()
776 final DisplayContent displayContent = w.getDisplayContent(); in performSurfacePlacement()
880 final DisplayContent displayContent = w.getDisplayContent(); in handleNotObscuredLocked()
DTaskWindowContainerController.java139 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in reparent()
159 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in resize()
DAppWindowToken.java374 && getDisplayContent().getDisplayId() == DEFAULT_DISPLAY) { in setVisibility()
627 final DisplayContent dc = getDisplayContent(); in destroySurfaces()
1034 final DisplayContent prevDisplayContent = getDisplayContent(); in reparent()
1044 final DisplayContent displayContent = task.getDisplayContent(); in reparent()
1092 final DisplayContent dc = getDisplayContent(); in setAppLayoutChanges()
1120 mService.startFreezingDisplayLocked(false, 0, 0, getDisplayContent()); in startFreezingScreen()
1168 final AppWindowToken fromToken = getDisplayContent().getAppWindowToken(transferFrom); in transferStartingWindow()
1226 getDisplayContent().setLayoutNeeded(); in transferStartingWindow()
DAppWindowContainerController.java249 atoken = createAppWindow(mService, token, voiceInteraction, task.getDisplayContent(), in AppWindowContainerController()
274 final DisplayContent dc = mRoot.getDisplayContent(displayId); in removeContainer()
305 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in reparent()
572 if (mContainer.getDisplayContent().mWallpaperController.getWallpaperTarget() in addStartingWindow()
DWindowManagerService.java1365 if (win.getDisplayContent() == null) { in addWindow()
1476 mRoot.getDisplayContent(displayId).getDockedDividerController().setWindow(win); in addWindow()
1741 final DisplayContent dc = win.getDisplayContent(); in postWindowRemoveCleanupLocked()
1763 ? win.getDisplayContent() : getDefaultDisplayContentLocked(); in setInputMethodWindowLocked()
2103 final DisplayContent dc = win.getDisplayContent(); in relayoutWindow()
2116 win.getDisplayContent().pendingLayoutChanges |= in relayoutWindow()
2135 DisplayInfo displayInfo = win.getDisplayContent().getDisplayInfo(); in relayoutWindow()
2207 } else if (win.getDisplayContent().mWallpaperController.isWallpaperTarget(win)) { in tryStartExitingAnimation()
2291 win.getDisplayContent().pendingLayoutChanges |= in finishDrawingWindow()
2311 final DisplayContent displayContent = atoken.getTask().getDisplayContent(); in applyAnimationLocked()
[all …]
DTaskStack.java153 DisplayContent getDisplayContent() { in getDisplayContent() method in TaskStack
746 getDisplayContent().mDividerControllerLocked in getStackDockedModeBoundsLocked()
1080 getDisplayContent().getContentRect(displayContentRect); in adjustForIME()
1092 getDisplayContent().mDividerControllerLocked.getContentWidth(); in adjustForIME()
1094 getDisplayContent().mDividerControllerLocked.getContentWidthInactive(); in adjustForIME()
DAppWindowAnimator.java250 mAppToken.getDisplayContent().assignWindowLayers(false /* relayoutNeeded */); in updateLayers()
413 mAppToken.getDisplayContent().computeImeTarget(true /* updateImeTarget */); in stepAnimationLocked()
DWindowStateAnimator.java247 final DisplayContent displayContent = win.getDisplayContent(); in WindowStateAnimator()
370 final DisplayContent displayContent = mWin.getDisplayContent(); in stepAnimationLocked()
596 return mWin.getDisplayContent().getDisplay().getLayerStack(); in getLayerStack()
1125 final DisplayContent displayContent = w.getDisplayContent(); in calculateFinalCrop()
1173 final DisplayContent displayContent = w.getDisplayContent(); in calculateCrop()
1273 final DisplayContent displayContent = w.getDisplayContent(); in shouldCropToStackBounds()
1826 mWin.getDisplayContent().adjustForImeIfNeeded(); in applyAnimationLocked()
DWindowToken.java232 DisplayContent getDisplayContent() { in getDisplayContent() method in WindowToken
DWallpaperController.java377 final DisplayContent displayContent = changingTarget.getDisplayContent(); in updateWallpaperOffsetLocked()
550 token.getDisplayContent().assignWindowLayers(false); in updateWallpaperTokens()
DWindowAnimator.java372 if (displayAnimator == null && mService.mRoot.getDisplayContent(displayId) != null) { in getDisplayContentsAnimatorLocked()
DDisplayContent.java726 if (service.mRoot.getDisplayContent(display.getDisplayId()) != null) { in DisplayContent()
728 + " already exists=" + service.mRoot.getDisplayContent(display.getDisplayId()) in DisplayContent()
829 final DisplayContent prevDc = token.getDisplayContent(); in reParentWindowToken()
1721 final DisplayContent prevDc = stack.getDisplayContent(); in moveStackToDisplay()
1828 inputMethod.getDisplayContent().setTouchExcludeRegion(null /* focusedTask */); in setTouchExcludeRegion()
DInputMonitor.java692 if (inDrag && isVisible && w.getDisplayContent().isDefaultDisplay) { in accept()
DTaskSnapshotSurface.java192 View.VISIBLE, token.getDisplayContent().getDisplayId(), tmpRect, tmpRect, in create()
DTaskPositioner.java698 return mTask != null && mTask.getDisplayContent() != null; in isAttachedToDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java176 assertEquals(dc.getDisplayId(), stack.getDisplayContent().getDisplayId()); in testMoveStackBetweenDisplays()
178 assertEquals(dc, stack.getDisplayContent()); in testMoveStackBetweenDisplays()
183 assertEquals(dc, task.getDisplayContent()); in testMoveStackBetweenDisplays()
184 assertEquals(dc, token.getDisplayContent()); in testMoveStackBetweenDisplays()
188 assertEquals(mDisplayContent.getDisplayId(), stack.getDisplayContent().getDisplayId()); in testMoveStackBetweenDisplays()
190 assertEquals(mDisplayContent, stack.getDisplayContent()); in testMoveStackBetweenDisplays()
191 assertEquals(mDisplayContent, task.getDisplayContent()); in testMoveStackBetweenDisplays()
192 assertEquals(mDisplayContent, token.getDisplayContent()); in testMoveStackBetweenDisplays()
DStackWindowControllerTests.java57 assertNull(stack.getDisplayContent()); in testRemoveContainer()
58 assertNull(task.getDisplayContent()); in testRemoveContainer()
107 assertEquals(dc, stack1.getDisplayContent()); in testReparent()
DTaskStackTests.java113 assertNull(stack.getDisplayContent()); in testStackRemoveImmediately()
DTaskWindowContainerControllerTests.java126 assertEquals(mDisplayContent, stack1.getDisplayContent()); in testReparent_BetweenDisplays()
DWindowFrameTests.java311 final DisplayInfo displayInfo = w.getDisplayContent().getDisplayInfo(); in testCalculatePolicyCrop()

12