/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 63 final int dh = mLastDH; 65 Rect dirty = new Rect(0, 0, dw, dh); 80 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); 83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); 86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); 106 void positionSurface(int dw, int dh) { argument 107 if (mLastDW == dw && mLastDH == dh) { 111 mLastDH = dh; 112 mSurfaceControl.setSize(dw, dh); [all...] |
H A D | Watermark.java | 127 void positionSurface(int dw, int dh) { argument 128 if (mLastDW != dw || mLastDH != dh) { 130 mLastDH = dh; 131 mSurfaceControl.setSize(dw, dh); 139 final int dh = mLastDH; 142 Rect dirty = new Rect(0, 0, dw, dh); 166 while (y < (dh+mTextHeight)) {
|
H A D | FakeWindowImpl.java | 83 void layout(int dw, int dh) { argument 85 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 92 mWindowHandle.frameBottom = dh;
|
H A D | DimLayer.java | 167 final int dw, dh; 171 dh = mBounds.height(); 180 dh = (int) (info.logicalHeight * 1.5); 183 yPos = -1 * dh / 6; 189 mDimSurface.setSize(dw, dh);
|
H A D | WindowManagerService.java | 1596 final int dh = displayInfo.logicalHeight; 1825 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 1928 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument 1950 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; 2019 final int dh = displayInfo.logicalHeight; 2043 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { 2079 final int dh = displayInfo.logicalHeight; 2097 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 5524 int dw, dh; 5554 dh 6511 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument 6529 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument 6549 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument 6582 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument 6595 computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 51 int dh = mDrawable.getIntrinsicHeight(); 54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 266 int dh = r.top + th + r.bottom; 267 if (dh < mNumberBackground.getMinimumWidth()) { 268 dh = mNumberBackground.getMinimumWidth(); 270 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); 271 mNumberBackground.setBounds(w-dw, h-dh, w, h);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 343 int dh = 0; 346 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 347 dh = Math.max(thumbHeight, dh); 350 dh += mPaddingTop + mPaddingBottom; 353 resolveSizeAndState(dh, heightMeasureSpec, 0));
|
H A D | ProgressBar.java | 1066 int dh = 0; 1069 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 1073 dh += mPaddingTop + mPaddingBottom; 1076 resolveSizeAndState(dh, heightMeasureSpec, 0));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 305 final int dh = frame.height(); 308 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight; 323 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 327 dw + ", " + dh); 338 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { 340 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + 347 final int availh = dh - mBackground.getHeight(); 355 mLastSurfaceHeight = dh;
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 350 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument 352 final float h = dh - (dh * a); 354 final float y = (dh - h) * 0.5f; 358 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument 362 final float y = (dh - h) * 0.5f;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ProgressBarICS.java | 807 int dh = 0; 810 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 814 dh += getPaddingTop() + getPaddingBottom(); 817 resolveSize(dh, heightMeasureSpec));
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 935 int32_t dh = (newHeight - mCurrentCrop.height())/2; local 936 outCrop.top -= dh; 937 outCrop.bottom += dh;
|