Searched defs:dh (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DInputConsumerImpl.java70 void layout(int dw, int dh) { argument
71 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
75 mWindowHandle.frameBottom = dh;
H A DStrictModeFlash.java66 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 DEmulatorDisplayOverlay.java121 void positionSurface(int dw, int dh, int rotation) { argument
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
126 mLastDH = dh;
H A DWatermark.java129 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 DCircularDisplayMask.java149 void positionSurface(int dw, int dh, int rotation) { argument
150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
154 mLastDH = dh;
H A DWallpaperController.java161 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 DWindowManagerService.java6121 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 DGLConsumer.cpp953 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);

Completed in 952 milliseconds