Searched refs:dh (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java63 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 DWatermark.java127 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 DEmulatorDisplayOverlay.java116 void positionSurface(int dw, int dh, int rotation) { argument
117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
121 mLastDH = dh;
H A DFakeWindowImpl.java80 void layout(int dw, int dh) { argument
82 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
89 mWindowHandle.frameBottom = dh;
H A DDimLayer.java147 final int dw, dh;
151 dh = mBounds.height();
160 dh = (int) (info.logicalHeight * 1.5);
163 yPos = -1 * dh / 6;
171 mDimSurface.setSize(dw, dh);
H A DCircularDisplayMask.java144 void positionSurface(int dw, int dh, int rotation) { argument
145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
149 mLastDH = dh;
H A DWindowManagerService.java1726 final int dh = displayInfo.logicalHeight;
1967 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
2072 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument
2097 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh;
2172 final int dh = displayInfo.logicalHeight;
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2245 final int dh = displayInfo.logicalHeight;
2263 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
6031 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument
6040 crop.top = dh
7080 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
7098 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
7118 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument
7151 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
7164 computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java50 int dh = mDrawable.getIntrinsicHeight();
53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java212 final int dh = frame.height();
213 if (surfaceWidth == dw && surfaceHeight == dh) {
326 final int dh = frame.height();
328 || dh != mLastSurfaceHeight;
343 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
347 dw + ", " + dh);
358 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
360 dw + ", " + dh + ", " + mBackground.getWidth() + ", " +
368 dh / (float) mBackground.getHeight()));
370 final int availh = dh
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java270 int dh = r.top + th + r.bottom;
271 if (dh < mNumberBackground.getMinimumWidth()) {
272 dh = mNumberBackground.getMinimumWidth();
274 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2);
275 mNumberBackground.setBounds(w-dw, h-dh, w, h);
/frameworks/base/core/java/android/widget/
H A 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));
H A DProgressBar.java1684 int dh = 0;
1687 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
1691 dh += mPaddingTop + mPaddingBottom;
1694 resolveSizeAndState(dh, heightMeasureSpec, 0));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java92 final int dh = res.getDimensionPixelSize(R.dimen.qs_tile_divider_height);
93 mDivider.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, dh));
H A DQSPanel.java474 final int dh = Math.max(mDetail.getMeasuredHeight(), getMeasuredHeight());
475 mDetail.layout(0, 0, mDetail.getMeasuredWidth(), dh);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp893 int32_t dh = (newHeight - mCurrentCrop.height())/2; local
894 outCrop.top -= dh;
895 outCrop.bottom += dh;

Completed in 242 milliseconds