Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/java/com/android/server/wm/
DStrictModeFlash.java58 final int dh = mLastDH; in drawIfNeeded() local
60 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
75 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded()
78 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
81 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
101 void positionSurface(int dw, int dh) { in positionSurface() argument
102 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
106 mLastDH = dh; in positionSurface()
107 mSurface.setSize(dw, dh); in positionSurface()
DDimSurface.java53 void show(int dw, int dh, int layer, int color) { in show() argument
56 dw + "x" + dh + " layer=" + layer + ")"); in show()
60 mLastDimHeight = dh; in show()
62 mDimSurface.setSize(dw, dh); in show()
68 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color in show()
71 dw + "x" + dh + " layer=" + layer + ")"); in show()
73 mLastDimHeight = dh; in show()
76 mDimSurface.setSize(dw, dh); in show()
DDimAnimator.java62 void show(int dw, int dh) { in show() argument
65 dw + "x" + dh + ")"); in show()
69 mLastDimHeight = dh; in show()
71 mDimSurface.setSize(dw, dh); in show()
76 } else if (mLastDimWidth != dw || mLastDimHeight != dh) { in show()
78 mLastDimHeight = dh; in show()
79 mDimSurface.setSize(dw, dh); in show()
DWatermark.java123 void positionSurface(int dw, int dh) { in positionSurface() argument
124 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
126 mLastDH = dh; in positionSurface()
127 mSurface.setSize(dw, dh); in positionSurface()
135 final int dh = mLastDH; in drawIfNeeded() local
138 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
162 while (y < (dh+mTextHeight)) { in drawIfNeeded()
DFakeWindowImpl.java74 void layout(int dw, int dh) { in layout() argument
76 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
83 mWindowHandle.frameBottom = dh; in layout()
DAppWindowToken.java196 boolean stepAnimationLocked(long currentTime, int dw, int dh) { in stepAnimationLocked() argument
212 " @ " + currentTime + ": dw=" + dw + " dh=" + dh in stepAnimationLocked()
215 animation.initialize(dw, dh, dw, dh); in stepAnimationLocked()
DWindowManagerService.java1472 final int dh = mAppDisplayHeight; in adjustWallpaperWindowsLocked() local
1726 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
1803 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
1825 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; in updateWallpaperOffsetLocked()
1891 final int dh = mAppDisplayHeight; in updateWallpaperOffsetLocked() local
1917 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
1932 final int dh = mAppDisplayHeight; in updateWallpaperVisibilityLocked() local
1950 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
5003 int dw, dh; in screenshotApplications() local
5010 dh = mAppDisplayHeight; in screenshotApplications()
[all …]
DWindowState.java884 boolean stepAnimationLocked(long currentTime, int dw, int dh) { in stepAnimationLocked() argument
896 " dw=" + dw + " dh=" + dh + " scale=" + mService.mWindowAnimationScale); in stepAnimationLocked()
897 mAnimation.initialize(mFrame.width(), mFrame.height(), dw, dh); in stepAnimationLocked() local
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java313 int dh = 0;
316 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
317 dh = Math.max(thumbHeight, dh);
320 dh += mPaddingTop + mPaddingBottom;
323 resolveSizeAndState(dh, heightMeasureSpec, 0));
DProgressBar.java1009 int dh = 0; in onMeasure() local
1012 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
1016 dh += mPaddingTop + mPaddingBottom; in onMeasure()
1019 resolveSizeAndState(dh, heightMeasureSpec, 0)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java241 int dh = r.top + th + r.bottom; in placeNumber() local
242 if (dh < mNumberBackground.getMinimumWidth()) { in placeNumber()
243 dh = mNumberBackground.getMinimumWidth(); in placeNumber()
245 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()
246 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java51 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin() local
54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java286 final int dh = frame.height(); in drawFrameLocked() local
288 final int availh = dh - mBackgroundHeight; in drawFrameLocked()