Searched refs:logicalWidth (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowFrameTests.java253 final int logicalWidth = displayInfo.logicalWidth;
256 final int taskLeft = logicalWidth / 4;
258 final int taskRight = logicalWidth / 4 * 3;
266 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight);
274 pf.set(0, 0, logicalWidth, logicalHeight);
276 final int cfRight = logicalWidth / 2;
287 pf.set(0, 0, logicalWidth, logicalHeight);
291 final int insetLeft = logicalWidth / 5;
312 final int logicalWidth
[all...]
H A DAppBoundsTests.java118 final Rect fullScreenBounds = new Rect(0, 0, mDisplayInfo.logicalWidth,
/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplay.java141 mInfo.logicalWidth = mOverrideDisplayInfo.logicalWidth;
256 mBaseDisplayInfo.logicalWidth = deviceInfo.width;
323 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
347 // physWidth / displayInfo.logicalWidth => letter box
355 displayRectWidth = displayInfo.logicalWidth;
358 < physHeight * displayInfo.logicalWidth) {
361 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
364 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;
H A DOverlayDisplayWindow.java240 0 : mDefaultDisplayInfo.logicalWidth;
248 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
257 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width));
H A DColorFade.java770 mSurfaceControl.setPosition(displayInfo.logicalWidth,
775 mSurfaceControl.setPosition(displayInfo.logicalWidth, 0);
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java111 public int logicalWidth; field in class:DisplayInfo
291 && logicalWidth == other.logicalWidth
332 logicalWidth = other.logicalWidth;
369 logicalWidth = source.readInt();
415 dest.writeInt(logicalWidth);
522 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight);
527 logicalWidth : logicalHeight;
532 logicalHeight : logicalWidth;
[all...]
H A DDisplay.java662 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
959 outSize.x = mDisplayInfo.logicalWidth;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
H A DWindowManagerImpl.java36 info.logicalWidth = mMetrics.widthPixels;
/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedStackController.java234 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
255 mDefaultMinSize, mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
434 mService.mPolicy.getStableInsetsLw(mDisplayInfo.rotation, mDisplayInfo.logicalWidth,
437 mDisplayInfo.logicalWidth - mTmpInsets.right - mScreenEdgeInsets.x,
473 mTmpDisplaySize.set(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
H A DStackWindowController.java272 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
274 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
276 mTmpDisplayBounds.set(0, 0, di.logicalWidth, di.logicalHeight);
359 if (bounds == null || (bounds.width() == displayInfo.logicalWidth &&
H A DWallpaperWindowToken.java92 final int dw = displayInfo.logicalWidth;
133 final int dw = displayInfo.logicalWidth;
H A DDimLayer.java214 dw = (int) (info.logicalWidth * 1.5);
H A DTaskStack.java520 final int displayWidth = mDisplayContent.getDisplayInfo().logicalWidth;
535 outBounds, displayInfo.logicalWidth, displayInfo.logicalHeight,
827 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
830 di.logicalWidth,
H A DDisplayContent.java1038 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight)) {
1137 mDisplayInfo.logicalWidth = dw;
1172 final int dw = displayInfo.logicalWidth;
1589 updateBaseDisplayMetrics(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight,
1591 mInitialDisplayWidth = mDisplayInfo.logicalWidth;
1602 int width = mDisplayInfo.logicalWidth;
1632 final int newWidth = rotated ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth;
1633 final int newHeight = rotated ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight;
2108 pw.print(mDisplayInfo.logicalWidth);
2697 final int dw = mDisplayInfo.logicalWidth;
[all...]
H A DDockedStackDividerController.java190 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
198 di.logicalWidth, di.logicalHeight);
203 0, di.logicalWidth, di.logicalHeight);
H A DWallpaperController.java382 final int dw = displayInfo.logicalWidth;
H A DWindowState.java793 mTmpRect.set(0, 0, dc.getDisplayInfo().logicalWidth, dc.getDisplayInfo().logicalHeight);
970 this, displayInfo.logicalWidth, displayInfo.logicalHeight, false);
3087 mTmpRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
4257 displayInfo.logicalWidth - mCompatFrame.left,
4296 Math.max(width, displayInfo.logicalWidth),
H A DRootWindowContainer.java578 final int defaultDw = defaultInfo.logicalWidth;
H A DScreenRotationAnimation.java240 originalWidth = displayInfo.logicalWidth;
H A DWindowManagerService.java1501 displayInfo.logicalWidth, displayInfo.logicalHeight, outContentInsets,
2137 win, displayInfo.logicalWidth, displayInfo.logicalHeight, false);
2322 displayInfo.logicalWidth, displayInfo.logicalHeight);
6062 getTransitionAnimationScaleLocked(), displayInfo.logicalWidth,
7056 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, outInsets);
H A DWindowStateAnimator.java757 mTmpSize.right = mTmpSize.left + displayInfo.logicalWidth;
/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java93 displayInfo.logicalWidth, displayInfo.logicalHeight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java210 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth);
329 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth;
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java878 mDisplayWidth = info.logicalWidth;

Completed in 2139 milliseconds