HomeSort by relevance Sort by last modified time
    Searched refs:logicalWidth (Results 1 - 25 of 36) sorted by null

1 2

  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
WindowFrameTests.java 268 final int logicalWidth = displayInfo.logicalWidth;
271 final int taskLeft = logicalWidth / 4;
273 final int taskRight = logicalWidth / 4 * 3;
281 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight);
289 pf.set(0, 0, logicalWidth, logicalHeight);
291 final int cfRight = logicalWidth / 2;
302 pf.set(0, 0, logicalWidth, logicalHeight);
306 final int insetLeft = logicalWidth / 5;
327 final int logicalWidth = displayInfo.logicalWidth
    [all...]
ScreenDecorWindowTests.java 340 displayInfo.logicalWidth, displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2);
342 final VirtualDisplay display = dm.createVirtualDisplay(name, displayInfo.logicalWidth,
WindowConfigurationTests.java 193 final Rect fullScreenBounds = new Rect(0, 0, mDisplayInfo.logicalWidth,
  /frameworks/base/services/tests/servicestests/src/com/android/server/policy/
PhoneWindowManagerInsetsTest.java 147 equalTo(di.logicalWidth - insets.left - insets.right));
154 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
161 mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
167 return mPolicy.getNonDecorDisplayWidth(di.logicalWidth, di.logicalHeight, di.rotation,
172 return mPolicy.getNonDecorDisplayHeight(di.logicalWidth, di.logicalHeight, di.rotation,
177 return mPolicy.getConfigDisplayWidth(di.logicalWidth, di.logicalHeight, di.rotation,
182 return mPolicy.getConfigDisplayHeight(di.logicalWidth, di.logicalHeight, di.rotation,
PhoneWindowManagerTestBase.java 160 info.logicalWidth = flippedDimensions ? DISPLAY_HEIGHT : DISPLAY_WIDTH;
165 displayCutoutForRotation(rotation), info.logicalWidth,
  /frameworks/base/services/core/java/com/android/server/display/
LogicalDisplay.java 141 mInfo.logicalWidth = mOverrideDisplayInfo.logicalWidth;
260 mBaseDisplayInfo.logicalWidth = deviceInfo.width;
329 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
353 // physWidth / displayInfo.logicalWidth => letter box
361 displayRectWidth = displayInfo.logicalWidth;
364 < physHeight * displayInfo.logicalWidth) {
367 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
370 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;
OverlayDisplayWindow.java 240 0 : mDefaultDisplayInfo.logicalWidth;
248 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
257 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width));
ColorFade.java 765 mSurfaceControl.setPosition(displayInfo.logicalWidth,
770 mSurfaceControl.setPosition(displayInfo.logicalWidth, 0);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DisplayConfig.java 118 public int logicalWidth;
279 logicalWidth = other.logicalWidth;
336 && logicalWidth == other.logicalWidth
377 logicalWidth = other.logicalWidth;
417 other.logicalWidth = logicalWidth;
469 sb.append(logicalWidth);
    [all...]
  /frameworks/base/core/java/android/view/
DisplayInfo.java 118 public int logicalWidth;
305 && logicalWidth == other.logicalWidth
347 logicalWidth = other.logicalWidth;
385 logicalWidth = source.readInt();
432 dest.writeInt(logicalWidth);
540 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight);
545 logicalWidth : logicalHeight;
550 logicalHeight : logicalWidth;
    [all...]
Display.java 681 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
    [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java 37 info.logicalWidth = mMetrics.widthPixels;
  /frameworks/base/services/core/java/com/android/server/wm/
WallpaperWindowToken.java 85 final int dw = displayInfo.logicalWidth;
127 final int dw = displayInfo.logicalWidth;
StackWindowController.java 270 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
272 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
274 mTmpDisplayBounds.set(0, 0, di.logicalWidth, di.logicalHeight);
360 if (bounds == null || (bounds.width() == displayInfo.logicalWidth &&
PinnedStackController.java 250 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
297 mDefaultMinSize, mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
517 mService.mPolicy.getStableInsetsLw(mDisplayInfo.rotation, mDisplayInfo.logicalWidth,
520 mDisplayInfo.logicalWidth - mTmpInsets.right - mScreenEdgeInsets.x,
558 mTmpDisplaySize.set(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
DisplayFrames.java 125 mDisplayWidth = info.logicalWidth;
DockedStackDividerController.java 229 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
237 di.logicalWidth, di.logicalHeight);
244 int right = di.logicalWidth - mTmpRect.right;
467 return mService.mPolicy.isDockSideAllowed(dockSide, mOriginalDockedSide, di.logicalWidth,
    [all...]
TaskStack.java 557 final int displayWidth = displayInfo.logicalWidth;
573 outBounds, displayInfo.logicalWidth, displayInfo.logicalHeight,
    [all...]
DisplayContent.java     [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDisplayManager.java 61 displayInfo.logicalWidth = widthPx;
107 configuration.screenWidthDp = baseDisplayInfo.logicalWidth * DisplayMetrics.DENSITY_DEFAULT
ShadowDisplay.java 318 di -> di.logicalWidth = width);
  /development/tools/winscope/src/
transform_wm.js 122 width: entry.displayInfo.logicalWidth || 0,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 159 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth);
282 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
BootstrapTest.java 82 assertThat(displayInfo.logicalWidth).isEqualTo(480);
116 assertThat(displayInfo.logicalWidth).isEqualTo(960);
  /frameworks/base/core/java/com/android/internal/policy/
DividerSnapAlgorithm.java 96 displayInfo.logicalWidth, displayInfo.logicalHeight,

Completed in 1267 milliseconds

1 2