/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputConsumerImpl.java | 70 void layout(int dw, int dh) { argument 71 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 75 mWindowHandle.frameBottom = dh;
|
H A D | StrictModeFlash.java | 66 final int dh = mLastDH; 68 Rect dirty = new Rect(0, 0, dw, dh); 83 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); 86 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); 89 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); 109 void positionSurface(int dw, int dh) { argument 110 if (mLastDW == dw && mLastDH == dh) { 114 mLastDH = dh; 115 mSurfaceControl.setSize(dw, dh); [all...] |
H A D | EmulatorDisplayOverlay.java | 121 void positionSurface(int dw, int dh, int rotation) { argument 122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 126 mLastDH = dh;
|
H A D | Watermark.java | 129 void positionSurface(int dw, int dh) { argument 130 if (mLastDW != dw || mLastDH != dh) { 132 mLastDH = dh; 133 mSurfaceControl.setSize(dw, dh); 141 final int dh = mLastDH; 144 Rect dirty = new Rect(0, 0, dw, dh); 168 while (y < (dh+mTextHeight)) {
|
H A D | CircularDisplayMask.java | 149 void positionSurface(int dw, int dh, int rotation) { argument 150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 154 mLastDH = dh;
|
H A D | WallpaperController.java | 161 final int dh = displayInfo.logicalHeight; 176 updateWallpaperOffset(wallpaper, dw, dh, false); 247 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument 269 int availh = wallpaperWin.mFrame.bottom - wallpaperWin.mFrame.top - dh; 379 final int dh = displayInfo.logicalHeight; 419 if (updateWallpaperOffset(wallpaper, dw, dh, sync)) { 683 final int dh = displayInfo.logicalHeight; 703 updateWallpaperOffset(wallpaper, dw, dh, false);
|
H A D | WindowManagerService.java | 6121 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument 6130 crop.top = dh - crop.bottom; 6131 crop.bottom = dh - tmp; 6138 crop.left = dh - crop.bottom; 6140 crop.right = dh - tmp; 6209 int dh = displayInfo.logicalHeight; 6210 if (dw == 0 || dh == 0) { 6212 + ": returning null. logical widthxheight=" + dw + "x" + dh); 6353 if (!frame.intersect(0, 0, dw, dh)) { 6358 frame.set(0, 0, dw, dh); 7222 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int uiMode, int dw, int dh) argument 7241 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode) argument 7261 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument 7294 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh) argument 7307 computeCompatSmallestWidth(boolean rotated, int uiMode, DisplayMetrics dm, int dw, int dh) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 953 uint32_t dh = currentHeight - newHeight; local 954 auto halfdh = dh / 2; 956 // Not halfdh because it would subtract 1 too few when dh is odd 957 outCrop.bottom -= (dh - halfdh);
|