Home
last modified time | relevance | path

Searched refs:displayInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java286 final DisplayInfo displayInfo = getDisplayInfoLocked(); in configureDisplayInTransactionLocked() local
292 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in configureDisplayInTransactionLocked()
299 orientation = displayInfo.rotation; in configureDisplayInTransactionLocked()
323 if ((displayInfo.flags & Display.FLAG_SCALING_DISABLED) != 0) { in configureDisplayInTransactionLocked()
324 displayRectWidth = displayInfo.logicalWidth; in configureDisplayInTransactionLocked()
325 displayRectHeight = displayInfo.logicalHeight; in configureDisplayInTransactionLocked()
326 } else if (physWidth * displayInfo.logicalHeight in configureDisplayInTransactionLocked()
327 < physHeight * displayInfo.logicalWidth) { in configureDisplayInTransactionLocked()
330 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; in configureDisplayInTransactionLocked()
333 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight; in configureDisplayInTransactionLocked()
DColorFade.java145 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId); in prepare() local
146 mDisplayLayerStack = displayInfo.layerStack; in prepare()
147 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare()
148 mDisplayHeight = displayInfo.getNaturalHeight(); in prepare()
733 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId);
734 switch (displayInfo.rotation) {
740 mSurfaceControl.setPosition(0, displayInfo.logicalHeight);
744 mSurfaceControl.setPosition(displayInfo.logicalWidth,
745 displayInfo.logicalHeight);
749 mSurfaceControl.setPosition(displayInfo.logicalWidth, 0);
/frameworks/base/core/java/android/view/
DDisplay.java288 int displayId, DisplayInfo displayInfo /*not null*/, in Display() argument
292 mDisplayInfo = displayInfo; in Display()
297 mLayerStack = displayInfo.layerStack; in Display()
298 mFlags = displayInfo.flags; in Display()
299 mType = displayInfo.type; in Display()
300 mAddress = displayInfo.address; in Display()
301 mOwnerUid = displayInfo.ownerUid; in Display()
302 mOwnerPackageName = displayInfo.ownerPackageName; in Display()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java199 void updateSurfaceSize(SurfaceHolder surfaceHolder, DisplayInfo displayInfo) { in updateSurfaceSize() argument
207 mBackgroundWidth = displayInfo.logicalWidth; in updateSurfaceSize()
208 mBackgroundHeight = displayInfo.logicalHeight; in updateSurfaceSize()
213 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth); in updateSurfaceSize()
214 int surfaceHeight = Math.max(displayInfo.logicalHeight, mBackgroundHeight); in updateSurfaceSize()
309 DisplayInfo displayInfo = getDefaultDisplayInfo(); in drawFrame() local
310 int newRotation = displayInfo.rotation; in drawFrame()
317 updateSurfaceSize(getSurfaceHolder(), displayInfo); in drawFrame() local
319 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth; in drawFrame()
320 mDisplayHeightAtLastSurfaceSizeUpdate = displayInfo.logicalHeight; in drawFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1834 final DisplayInfo displayInfo = getDefaultDisplayContentLocked().getDisplayInfo(); in adjustWallpaperWindowsLocked() local
1835 final int dw = displayInfo.logicalWidth; in adjustWallpaperWindowsLocked()
1836 final int dh = displayInfo.logicalHeight; in adjustWallpaperWindowsLocked()
2245 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in updateWallpaperOffsetLocked() local
2246 final int dw = displayInfo.logicalWidth; in updateWallpaperOffsetLocked()
2247 final int dh = displayInfo.logicalHeight; in updateWallpaperOffsetLocked()
2327 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in updateWallpaperVisibilityLocked() local
2328 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibilityLocked()
2329 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibilityLocked()
3369 DisplayInfo displayInfo = getDefaultDisplayInfoLocked(); in relayoutWindow() local
[all …]
DWindowStateAnimator.java200 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in WindowStateAnimator() local
201 mAnimDw = displayInfo.appWidth; in WindowStateAnimator()
202 mAnimDh = displayInfo.appHeight; in WindowStateAnimator()
301 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in stepAnimationLocked() local
308 displayInfo.appWidth, displayInfo.appHeight); in stepAnimationLocked()
310 mAnimDw = displayInfo.appWidth; in stepAnimationLocked()
311 mAnimDh = displayInfo.appHeight; in stepAnimationLocked()
1277 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in updateSurfaceWindowCrop() local
1289 displayInfo.logicalWidth - w.mCompatFrame.left, in updateSurfaceWindowCrop()
1290 displayInfo.logicalHeight - w.mCompatFrame.top); in updateSurfaceWindowCrop()
[all …]
DWindowState.java709 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in computeFrameLw() local
711 displayInfo.logicalWidth, displayInfo.logicalHeight, false); in computeFrameLw()
1415 final DisplayInfo displayInfo = displayContent.getDisplayInfo(); in isHiddenFromUserLocked() local
1417 && win.mFrame.right >= displayInfo.appWidth in isHiddenFromUserLocked()
1418 && win.mFrame.bottom >= displayInfo.appHeight) { in isHiddenFromUserLocked()
DScreenRotationAnimation.java213 DisplayInfo displayInfo = displayContent.getDisplayInfo(); in ScreenRotationAnimation() local
221 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()
222 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java178 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay() local
179 if (displayInfo == null) { in getCompatibleDisplay()
182 return new Display(this, displayId, displayInfo, daj); in getCompatibleDisplay()