/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 63 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 D | Watermark.java | 127 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 D | EmulatorDisplayOverlay.java | 116 void positionSurface(int dw, int dh, int rotation) { argument 117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 121 mLastDH = dh;
|
H A D | FakeWindowImpl.java | 81 void layout(int dw, int dh) { argument 83 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 90 mWindowHandle.frameBottom = dh;
|
H A D | DimLayer.java | 147 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 D | CircularDisplayMask.java | 144 void positionSurface(int dw, int dh, int rotation) { argument 145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 149 mLastDH = dh;
|
H A D | WindowManagerService.java | 1704 final int dh = displayInfo.logicalHeight; 1945 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 2050 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument 2075 int availh = wallpaperWin.mFrame.bottom-wallpaperWin.mFrame.top-dh; 2150 final int dh = displayInfo.logicalHeight; 2184 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { 2223 final int dh = displayInfo.logicalHeight; 2241 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); 5939 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument 5948 crop.top = dh 6974 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument 6992 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument 7012 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument 7045 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument 7058 computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 50 int dh = mDrawable.getIntrinsicHeight(); 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 240 final int dh = frame.height(); 241 if (surfaceWidth == dw && surfaceHeight == dh) { 353 final int dh = frame.height(); 354 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight; 369 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 373 dw + ", " + dh); 384 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { 386 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + 394 dh / (float) mBackground.getHeight())); 396 final int availh = dh [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 270 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 D | AbsSeekBar.java | 554 int dh = 0; 557 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 558 dh = Math.max(thumbHeight, dh); 561 dh += mPaddingTop + mPaddingBottom; 564 resolveSizeAndState(dh, heightMeasureSpec, 0));
|
H A D | ProgressBar.java | 1710 int dh = 0; 1713 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 1717 dh += mPaddingTop + mPaddingBottom; 1720 resolveSizeAndState(dh, heightMeasureSpec, 0));
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ProgressBarCompat.java | 810 int dh = 0; 813 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 817 dh += getPaddingTop() + getPaddingBottom(); 820 resolveSize(dh, heightMeasureSpec));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTileView.java | 86 final int dh = res.getDimensionPixelSize(R.dimen.qs_tile_divider_height); 87 mDivider.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, dh));
|
H A D | QSPanel.java | 453 final int dh = Math.max(mDetail.getMeasuredHeight(), getMeasuredHeight()); 454 mDetail.layout(0, 0, mDetail.getMeasuredWidth(), dh);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 893 int32_t dh = (newHeight - mCurrentCrop.height())/2; local 894 outCrop.top -= dh; 895 outCrop.bottom += dh;
|