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.java63 final int dh = mLastDH; in drawIfNeeded() local
65 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
80 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded()
83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
106 void positionSurface(int dw, int dh) { in positionSurface() argument
107 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
111 mLastDH = dh; in positionSurface()
112 mSurfaceControl.setSize(dw, dh); in positionSurface()
DWatermark.java127 void positionSurface(int dw, int dh) { in positionSurface() argument
128 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
130 mLastDH = dh; in positionSurface()
131 mSurfaceControl.setSize(dw, dh); in positionSurface()
139 final int dh = mLastDH; in drawIfNeeded() local
142 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
166 while (y < (dh+mTextHeight)) { in drawIfNeeded()
DDimLayer.java167 final int dw, dh; in show() local
171 dh = mBounds.height(); in show()
180 dh = (int) (info.logicalHeight * 1.5); in show()
183 yPos = -1 * dh / 6; in show()
189 mDimSurface.setSize(dw, dh); in show()
DFakeWindowImpl.java83 void layout(int dw, int dh) { in layout() argument
85 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
92 mWindowHandle.frameBottom = dh; in layout()
DWindowManagerService.java1603 final int dh = displayInfo.logicalHeight; in adjustWallpaperWindowsLocked() local
1832 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
1935 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
1957 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; in updateWallpaperOffsetLocked()
2026 final int dh = displayInfo.logicalHeight; in updateWallpaperOffsetLocked() local
2050 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
2086 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibilityLocked() local
2104 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
5536 int dw, dh; in screenshotApplications() local
5566 dh = displayInfo.logicalHeight; in screenshotApplications()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java239 final int dh = frame.height(); in updateSurfaceSize() local
240 if (surfaceWidth == dw && surfaceHeight == dh) { in updateSurfaceSize()
352 final int dh = frame.height(); in drawFrame() local
353 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight; in drawFrame()
372 dw + ", " + dh); in drawFrame()
383 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { in drawFrame()
385 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + in drawFrame()
393 dh / (float) mBackground.getHeight())); in drawFrame()
395 final int availh = dh - (int) (mBackground.getHeight() * mScale); in drawFrame()
403 final int availhUnscaled = dh - mBackground.getHeight(); in drawFrame()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java266 int dh = r.top + th + r.bottom; in placeNumber() local
267 if (dh < mNumberBackground.getMinimumWidth()) { in placeNumber()
268 dh = mNumberBackground.getMinimumWidth(); in placeNumber()
270 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()
271 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/core/java/android/widget/
DAbsSeekBar.java343 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));
DProgressBar.java1071 int dh = 0; in onMeasure() local
1074 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
1078 dh += mPaddingTop + mPaddingBottom; in onMeasure()
1081 resolveSizeAndState(dh, heightMeasureSpec, 0)); in onMeasure()
/frameworks/base/services/java/com/android/server/power/
DElectronBeam.java350 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setVStretchQuad() argument
352 final float h = dh - (dh * a); in setVStretchQuad()
354 final float y = (dh - h) * 0.5f; in setVStretchQuad()
358 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setHStretchQuad() argument
362 final float y = (dh - h) * 0.5f; in setHStretchQuad()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DProgressBarICS.java807 int dh = 0; in onMeasure() local
810 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
814 dh += getPaddingTop() + getPaddingBottom(); in onMeasure()
817 resolveSize(dh, heightMeasureSpec)); in onMeasure()
/frameworks/native/libs/gui/
DGLConsumer.cpp935 int32_t dh = (newHeight - mCurrentCrop.height())/2; in getCurrentCrop() local
936 outCrop.top -= dh; in getCurrentCrop()
937 outCrop.bottom += dh; in getCurrentCrop()