Lines Matching refs:dh

1726         final int dh = displayInfo.logicalHeight;
1967 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
2072 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh,
2097 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh;
2172 final int dh = displayInfo.logicalHeight;
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2245 final int dh = displayInfo.logicalHeight;
2263 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
6031 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) {
6040 crop.top = dh - crop.bottom;
6041 crop.bottom = dh - tmp;
6048 crop.left = dh - crop.bottom;
6050 crop.right = dh - tmp;
6081 int dh = displayInfo.logicalHeight;
6082 if (dw == 0 || dh == 0) {
6084 + ": returning null. logical widthxheight=" + dw + "x" + dh);
6228 frame.intersect(0, 0, dw, dh);
6250 convertCropForSurfaceFlinger(crop, rot, dw, dh);
6253 Slog.i(TAG, "Screenshot: " + dw + "x" + dh + " from " + minLayer + " to "
6273 Slog.w(TAG, "Screenshot failure taking screenshot for (" + dw + "x" + dh
7080 private void adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) {
7082 final int width = mPolicy.getConfigDisplayWidth(dw, dh, rotation);
7089 final int height = mPolicy.getConfigDisplayHeight(dw, dh, rotation);
7099 int dw, int dh) {
7102 int w = mPolicy.getNonDecorDisplayWidth(dw, dh, rotation);
7103 int h = mPolicy.getNonDecorDisplayHeight(dw, dh, rotation);
7119 int dw, int dh, float density, Configuration outConfig) {
7128 unrotDw = dh;
7132 unrotDh = dh;
7152 int dw, int dh) {
7154 dm.noncompatWidthPixels = mPolicy.getNonDecorDisplayWidth(dw, dh, rotation);
7155 dm.noncompatHeightPixels = mPolicy.getNonDecorDisplayHeight(dw, dh, rotation);
7164 private int computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) {
7170 unrotDw = dh;
7174 unrotDh = dh;
7199 int dh = realdh;
7212 dh = maxh;
7218 config.orientation = (dw <= dh) ? Configuration.ORIENTATION_PORTRAIT :
7223 final int appWidth = mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation);
7224 final int appHeight = mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation);
7229 displayInfo.logicalHeight = dh;
7248 config.screenWidthDp = (int)(mPolicy.getConfigDisplayWidth(dw, dh, mRotation)
7250 config.screenHeightDp = (int)(mPolicy.getConfigDisplayHeight(dw, dh, mRotation)
7252 computeSizeRangesAndScreenLayout(displayInfo, rotated, dw, dh, dm.density, config);
7256 config.compatSmallestScreenWidthDp = computeCompatSmallestWidth(rotated, dm, dw, dh);
8827 final int dh = displayInfo.logicalHeight;
8831 mFakeWindows.get(i).layout(dw, dh);
8840 + displayContent.layoutNeeded + " dw=" + dw + " dh=" + dh);
8845 mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mRotation);
8849 mScreenRect.set(0, 0, dw, dh);
9668 final int dh = displayInfo.logicalHeight;
9727 mPolicy.beginPostLayoutPolicyLw(dw, dh);