Home
last modified time | relevance | path

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

/frameworks/base/services/core/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()
DFakeWindowImpl.java80 void layout(int dw, int dh) { in layout() argument
82 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
89 mWindowHandle.frameBottom = dh; in layout()
DDimLayer.java147 final int dw, dh; in adjustSurface() local
151 dh = mBounds.height(); in adjustSurface()
160 dh = (int) (info.logicalHeight * 1.5); in adjustSurface()
163 yPos = -1 * dh / 6; in adjustSurface()
171 mDimSurface.setSize(dw, dh); in adjustSurface()
DEmulatorDisplayOverlay.java116 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
121 mLastDH = dh; in positionSurface()
DCircularDisplayMask.java144 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
149 mLastDH = dh; in positionSurface()
DWindowManagerService.java1726 final int dh = displayInfo.logicalHeight; in adjustWallpaperWindowsLocked() local
1967 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
2072 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
2097 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; in updateWallpaperOffsetLocked()
2172 final int dh = displayInfo.logicalHeight; in updateWallpaperOffsetLocked() local
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
2245 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibilityLocked() local
2263 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
6031 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { in convertCropForSurfaceFlinger() argument
6040 crop.top = dh - crop.bottom; in convertCropForSurfaceFlinger()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java212 final int dh = frame.height(); in updateSurfaceSize() local
213 if (surfaceWidth == dw && surfaceHeight == dh) { in updateSurfaceSize()
326 final int dh = frame.height(); in drawFrame() local
328 || dh != mLastSurfaceHeight; in drawFrame()
347 dw + ", " + dh); in drawFrame()
358 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { in drawFrame()
360 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + in drawFrame()
368 dh / (float) mBackground.getHeight())); in drawFrame()
370 final int availh = dh - (int) (mBackground.getHeight() * mScale); in drawFrame()
378 final int availhUnscaled = dh - mBackground.getHeight(); in drawFrame()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java270 int dh = r.top + th + r.bottom; in placeNumber() local
271 if (dh < mNumberBackground.getMinimumWidth()) { in placeNumber()
272 dh = mNumberBackground.getMinimumWidth(); in placeNumber()
274 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()
275 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java50 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin() local
53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java545 int dh = 0;
548 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
549 dh = Math.max(thumbHeight, dh);
552 dh += mPaddingTop + mPaddingBottom;
555 resolveSizeAndState(dh, heightMeasureSpec, 0));
DProgressBar.java1684 int dh = 0; in onMeasure() local
1687 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
1691 dh += mPaddingTop + mPaddingBottom; in onMeasure()
1694 resolveSizeAndState(dh, heightMeasureSpec, 0)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileView.java92 final int dh = res.getDimensionPixelSize(R.dimen.qs_tile_divider_height); in QSTileView() local
93 mDivider.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, dh)); in QSTileView()
DQSPanel.java474 final int dh = Math.max(mDetail.getMeasuredHeight(), getMeasuredHeight()); in onLayout() local
475 mDetail.layout(0, 0, mDetail.getMeasuredWidth(), dh); in onLayout()
/frameworks/native/libs/gui/
DGLConsumer.cpp893 int32_t dh = (newHeight - mCurrentCrop.height())/2; in getCurrentCrop() local
894 outCrop.top -= dh; in getCurrentCrop()
895 outCrop.bottom += dh; in getCurrentCrop()
/frameworks/base/
Dpreloaded-classes2002 com.android.org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi