/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 59 final int dh = mLastDH; 61 Rect dirty = new Rect(0, 0, dw, dh); 76 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); 79 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); 82 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); 102 void positionSurface(int dw, int dh) { argument 103 if (mLastDW == dw && mLastDH == dh) { 107 mLastDH = dh; 108 mSurface.setSize(dw, dh); [all...] |
H A D | DimSurface.java | 61 void show(int dw, int dh, int layer, int color) { argument 69 dw + "x" + dh + " layer=" + layer + ")"); 73 mLastDimHeight = dh; 75 mDimSurface.setSize(dw, dh); 81 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color 84 dw + "x" + dh + " layer=" + layer + ")"); 86 mLastDimHeight = dh; 89 mDimSurface.setSize(dw, dh);
|
H A D | DimAnimator.java | 80 final int dh = (int) (params.mDimHeight * 1.5); 85 " DIM " + mDimSurface + ": SHOW pos=(0,0) (" + dw + "x" + dh + ")"); 89 mLastDimHeight = dh; 91 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6); 92 mDimSurface.setSize(dw, dh); 97 } else if (mLastDimWidth != dw || mLastDimHeight != dh) { 99 mLastDimHeight = dh; 100 mDimSurface.setSize(dw, dh); 102 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6);
|
H A D | Watermark.java | 126 void positionSurface(int dw, int dh) { argument 127 if (mLastDW != dw || mLastDH != dh) { 129 mLastDH = dh; 130 mSurface.setSize(dw, dh); 138 final int dh = mLastDH; 141 Rect dirty = new Rect(0, 0, dw, dh); 165 while (y < (dh+mTextHeight)) {
|
H A D | FakeWindowImpl.java | 82 void layout(int dw, int dh) { argument 84 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 91 mWindowHandle.frameBottom = dh;
|
H A D | AppWindowAnimator.java | 188 boolean stepAnimationLocked(long currentTime, int dw, int dh) { argument 205 " @ " + currentTime + ": dw=" + dw + " dh=" + dh 209 animation.initialize(dw, dh, dw, dh);
|
H A D | WindowManagerService.java | 1574 final int dh = displayInfo.appHeight; 1833 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 1907 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument 1929 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; 1998 final int dh = displayInfo.appHeight; 2022 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { 2063 final int dh = displayInfo.appHeight; 2081 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 5754 int dw, dh; 5766 dh 6739 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument 6757 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument 6777 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument 6810 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument 6823 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 | 260 int dh = r.top + th + r.bottom; 261 if (dh < mNumberBackground.getMinimumWidth()) { 262 dh = mNumberBackground.getMinimumWidth(); 264 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); 265 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 | 1097 int dh = 0; 1100 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 1104 dh += mPaddingTop + mPaddingBottom; 1107 resolveSizeAndState(dh, heightMeasureSpec, 0));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 317 final int dh = frame.height(); 320 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight; 335 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 339 dw + ", " + dh); 349 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { 351 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + 358 final int availh = dh - mBackground.getHeight(); 366 mLastSurfaceHeight = dh;
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 345 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument 347 final float h = dh - (dh * a); 349 final float y = (dh - h) * 0.5f; 353 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument 357 final float y = (dh - h) * 0.5f;
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 724 int32_t dh = (newHeight - mCurrentCrop.height())/2; local 725 outCrop.top -= dh; 726 outCrop.bottom += dh;
|