Searched refs:displayInfo (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplay.java317 final DisplayInfo displayInfo = getDisplayInfoLocked();
323 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
330 orientation = displayInfo.rotation;
347 // physWidth / displayInfo.logicalWidth => letter box
348 // or physHeight / displayInfo.logicalHeight => pillar box
354 if ((displayInfo.flags & Display.FLAG_SCALING_DISABLED) != 0) {
355 displayRectWidth = displayInfo.logicalWidth;
356 displayRectHeight = displayInfo.logicalHeight;
357 } else if (physWidth * displayInfo
[all...]
H A DColorFade.java146 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId);
147 mDisplayLayerStack = displayInfo.layerStack;
148 mDisplayWidth = displayInfo.getNaturalWidth();
149 mDisplayHeight = displayInfo.getNaturalHeight();
759 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId);
760 switch (displayInfo.rotation) {
766 mSurfaceControl.setPosition(0, displayInfo.logicalHeight);
770 mSurfaceControl.setPosition(displayInfo.logicalWidth,
771 displayInfo.logicalHeight);
775 mSurfaceControl.setPosition(displayInfo
[all...]
/frameworks/base/core/java/android/view/
H A DDisplay.java367 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, argument
369 this(global, displayId, displayInfo, daj, null /*res*/);
379 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, argument
381 this(global, displayId, displayInfo, null /*daj*/, res);
385 /*@NotNull*/ DisplayInfo displayInfo, DisplayAdjustments daj, Resources res) {
388 mDisplayInfo = displayInfo;
396 mLayerStack = displayInfo.layerStack;
397 mFlags = displayInfo.flags;
398 mType = displayInfo.type;
399 mAddress = displayInfo
384 Display(DisplayManagerGlobal global, int displayId, DisplayInfo displayInfo, DisplayAdjustments daj, Resources res) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWallpaperWindowToken.java91 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo();
92 final int dw = displayInfo.logicalWidth;
93 final int dh = displayInfo.logicalHeight;
132 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo();
133 final int dw = displayInfo.logicalWidth;
134 final int dh = displayInfo.logicalHeight;
H A DPinnedStackController.java278 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo();
279 if (mDisplayInfo.equals(displayInfo)) {
286 mDisplayInfo.copyFrom(displayInfo);
298 mDisplayInfo.copyFrom(displayInfo);
H A DDisplayContent.java1170 final DisplayInfo displayInfo = updateDisplayAndOrientation(config.uiMode);
1172 final int dw = displayInfo.logicalWidth;
1173 final int dh = displayInfo.logicalHeight;
1177 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation,
1180 (int)(mService.mPolicy.getConfigDisplayHeight(dw, dh, displayInfo.rotation,
1183 mService.mPolicy.getNonDecorInsetsLw(displayInfo.rotation, dw, dh, mTmpRect);
1187 config.setAppBounds(leftInset /*left*/, topInset /*top*/, leftInset + displayInfo.appWidth /*right*/,
1188 topInset + displayInfo.appHeight /*bottom*/);
1189 final boolean rotated = (displayInfo.rotation == Surface.ROTATION_90
1190 || displayInfo
1316 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument
1375 adjustDisplaySizeRanges(DisplayInfo displayInfo, int displayId, int rotation, int uiMode, int dw, int dh) argument
[all...]
H A DRootWindowContainer.java234 final DisplayInfo displayInfo = dc.getDisplayInfo();
236 mService.mDisplaySettings.getOverscanLocked(displayInfo.name, displayInfo.uniqueId, rect);
237 displayInfo.overscanLeft = rect.left;
238 displayInfo.overscanTop = rect.top;
239 displayInfo.overscanRight = rect.right;
240 displayInfo.overscanBottom = rect.bottom;
243 displayId, displayInfo);
H A DStackWindowController.java357 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
359 if (bounds == null || (bounds.width() == displayInfo.logicalWidth &&
360 bounds.height() == displayInfo.logicalHeight)) {
H A DWindowStateAnimator.java249 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
250 mAnimDx = displayInfo.appWidth;
251 mAnimDy = displayInfo.appHeight;
384 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
391 displayInfo.appWidth, displayInfo.appHeight);
393 mAnimDx = displayInfo.appWidth;
394 mAnimDy = displayInfo.appHeight;
756 final DisplayInfo displayInfo = w.getDisplayInfo();
757 mTmpSize.right = mTmpSize.left + displayInfo
[all...]
H A DWindowSurfacePlacer.java696 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
724 new Rect(0, 0, displayInfo.appWidth, displayInfo.appHeight);
739 displayInfo.appWidth, displayInfo.appHeight, transit, thumbnailHeader);
H A DWallpaperController.java381 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
382 final int dw = displayInfo.logicalWidth;
383 final int dh = displayInfo.logicalHeight;
H A DWindowManagerService.java1492 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
1500 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, displayInfo.rotation,
1501 displayInfo.logicalWidth, displayInfo.logicalHeight, outContentInsets,
2135 DisplayInfo displayInfo = win.getDisplayContent().getDisplayInfo();
2137 win, displayInfo.logicalWidth, displayInfo.logicalHeight, false);
2312 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
2313 final int width = displayInfo.appWidth;
2314 final int height = displayInfo
[all...]
H A DWindowState.java968 final DisplayInfo displayInfo = displayContent.getDisplayInfo();
970 this, displayInfo.logicalWidth, displayInfo.logicalHeight, false);
1677 final DisplayInfo displayInfo = getDisplayInfo();
1679 && mFrame.right >= displayInfo.appWidth && mFrame.bottom >= displayInfo.appHeight;
3086 final DisplayInfo displayInfo = getDisplayInfo();
3087 mTmpRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
4249 final DisplayInfo displayInfo
[all...]
H A DTaskStack.java515 final DisplayInfo displayInfo = mDisplayContent.getDisplayInfo();
524 final int rotation = displayInfo.rotation;
535 outBounds, displayInfo.logicalWidth, displayInfo.logicalHeight,
H A DScreenRotationAnimation.java232 DisplayInfo displayInfo = displayContent.getDisplayInfo();
240 originalWidth = displayInfo.logicalWidth;
241 originalHeight = displayInfo.logicalHeight;
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowFrameTests.java252 final DisplayInfo displayInfo = sWm.getDefaultDisplayContentLocked().getDisplayInfo();
253 final int logicalWidth = displayInfo.logicalWidth;
254 final int logicalHeight = displayInfo.logicalHeight;
311 final DisplayInfo displayInfo = w.getDisplayContent().getDisplayInfo();
312 final int logicalWidth = displayInfo.logicalWidth;
313 final int logicalHeight = displayInfo.logicalHeight;
319 cf.top += displayInfo.logicalWidth / 10;
320 cf.bottom -= displayInfo.logicalWidth / 5;
362 Math.min(pf.width(), displayInfo.logicalWidth),
363 Math.min(pf.height(), displayInfo
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java177 DisplayInfo displayInfo = getDisplayInfo(displayId);
178 if (displayInfo == null) {
181 return new Display(this, displayId, displayInfo, daj);
195 DisplayInfo displayInfo = getDisplayInfo(displayId);
196 if (displayInfo == null) {
199 return new Display(this, displayId, displayInfo, resources);
/frameworks/base/libs/hwui/
H A DJankTracker.cpp130 JankTracker::JankTracker(const DisplayInfo& displayInfo) { argument
135 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1_s / displayInfo.fps);
137 nsecs_t sfOffset = frameIntervalNanos - (displayInfo.presentationDeadline - 1_ms);
138 nsecs_t offsetDelta = sfOffset - displayInfo.appVsyncOffset;
H A DJankTracker.h75 explicit JankTracker(const DisplayInfo& displayInfo);
/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java85 DisplayInfo displayInfo = new DisplayInfo();
87 Display.DEFAULT_DISPLAY).getDisplayInfo(displayInfo);
93 displayInfo.logicalWidth, displayInfo.logicalHeight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java195 boolean updateSurfaceSize(SurfaceHolder surfaceHolder, DisplayInfo displayInfo, argument
210 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth);
211 int surfaceHeight = Math.max(displayInfo.logicalHeight, mBackgroundHeight);
317 DisplayInfo displayInfo = getDefaultDisplayInfo();
318 int newRotation = displayInfo.rotation;
325 if (!updateSurfaceSize(getSurfaceHolder(), displayInfo, true /* forDraw */)) {
329 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth;
330 mDisplayHeightAtLastSurfaceSizeUpdate = displayInfo.logicalHeight;

Completed in 2421 milliseconds