Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java66 final int dh = mLastDH; in drawIfNeeded() local
68 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
83 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded()
86 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
89 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
109 void positionSurface(int dw, int dh) { in positionSurface() argument
110 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
114 mLastDH = dh; in positionSurface()
115 mSurfaceControl.setSize(dw, dh); in positionSurface()
DWatermark.java129 void positionSurface(int dw, int dh) { in positionSurface() argument
130 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
132 mLastDH = dh; in positionSurface()
133 mSurfaceControl.setSize(dw, dh); in positionSurface()
141 final int dh = mLastDH; in drawIfNeeded() local
144 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
168 while (y < (dh+mTextHeight)) { in drawIfNeeded()
DWallpaperWindowToken.java75 void updateWallpaperOffset(int dw, int dh, boolean sync) { in updateWallpaperOffset() argument
79 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) { in updateWallpaperOffset()
93 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibility() local
105 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false); in updateWallpaperVisibility()
134 final int dh = displayInfo.logicalHeight; in updateWallpaperWindows() local
140 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false); in updateWallpaperWindows()
DInputConsumerImpl.java71 void layout(int dw, int dh) { in layout() argument
72 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
76 mWindowHandle.frameBottom = dh; in layout()
DDisplayContent.java1113 int dh = realdh; in updateDisplayAndOrientation() local
1126 dh = maxh; in updateDisplayAndOrientation()
1132 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation()
1134 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation()
1138 mDisplayInfo.logicalHeight = dh; in updateDisplayAndOrientation()
1156 mBaseDisplayRect.set(0, 0, dw, dh); in updateDisplayAndOrientation()
1173 final int dh = displayInfo.logicalHeight; in computeScreenConfiguration() local
1174 config.orientation = (dw <= dh) ? Configuration.ORIENTATION_PORTRAIT : in computeScreenConfiguration()
1177 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation, in computeScreenConfiguration()
1180 (int)(mService.mPolicy.getConfigDisplayHeight(dw, dh, displayInfo.rotation, in computeScreenConfiguration()
[all …]
DEmulatorDisplayOverlay.java121 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
126 mLastDH = dh; in positionSurface()
DCircularDisplayMask.java149 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
154 mLastDH = dh; in positionSurface()
DDimLayer.java208 final int dw, dh; in getBoundsForFullscreen() local
215 dh = (int) (info.logicalHeight * 1.5); in getBoundsForFullscreen()
218 yPos = -1 * dh / 6; in getBoundsForFullscreen()
219 outBounds.set((int) xPos, (int) yPos, (int) xPos + dw, (int) yPos + dh); in getBoundsForFullscreen()
DDockedStackDividerController.java226 final int dh = rotated in initSnapAlgorithmForRotations() local
229 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations()
231 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations()
234 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, rotation, in initSnapAlgorithmForRotations()
236 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, rotation, in initSnapAlgorithmForRotations()
238 mService.mPolicy.getNonDecorInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations()
246 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode, in initSnapAlgorithmForRotations()
249 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode, in initSnapAlgorithmForRotations()
253 rotationContext.getResources(), dw, dh, getContentWidth(), in initSnapAlgorithmForRotations()
DWallpaperController.java259 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { in updateWallpaperOffset() argument
284 int availh = wallpaperWin.mFrame.bottom - wallpaperWin.mFrame.top - dh; in updateWallpaperOffset()
383 final int dh = displayInfo.logicalHeight; in updateWallpaperOffsetLocked() local
420 mWallpaperTokens.get(curTokenNdx).updateWallpaperOffset(dw, dh, sync); in updateWallpaperOffsetLocked()
DInputMonitor.java157 void layoutInputConsumers(int dw, int dh) { in layoutInputConsumers() argument
159 mInputConsumers.valueAt(i).layout(dw, dh); in layoutInputConsumers()
/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/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java335 final int dh = frame.height(); in drawFrame() local
337 || dh != mLastSurfaceHeight; in drawFrame()
356 dw + ", " + dh); in drawFrame()
367 dh / (float) mBackground.getHeight())); in drawFrame()
369 final int availh = dh - (int) (mBackground.getHeight() * mScale); in drawFrame()
377 final int availhUnscaled = dh - mBackground.getHeight(); in drawFrame()
386 mLastSurfaceHeight = dh; in drawFrame()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java749 int dh = 0;
752 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
753 dh = Math.max(thumbHeight, dh);
756 dh += mPaddingTop + mPaddingBottom;
759 resolveSizeAndState(dh, heightMeasureSpec, 0));
DProgressBar.java1819 int dh = 0; in onMeasure() local
1824 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
1830 dh += mPaddingTop + mPaddingBottom; in onMeasure()
1833 final int measuredHeight = resolveSizeAndState(dh, heightMeasureSpec, 0); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java448 int dh = r.top + th + r.bottom; in placeNumber() local
449 if (dh < mNumberBackground.getMinimumWidth()) { in placeNumber()
450 dh = mNumberBackground.getMinimumWidth(); in placeNumber()
452 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()
453 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/native/libs/gui/
DGLConsumer.cpp972 uint32_t dh = currentHeight - newHeight; in getCurrentCrop() local
973 auto halfdh = dh / 2; in getCurrentCrop()
976 outCrop.bottom -= (dh - halfdh); in getCurrentCrop()
/frameworks/base/
Dpreloaded-classes2984 com.android.org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi
Dcompiled-classes-phone6163 com.android.org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi
/frameworks/base/services/
Dprofile-classes3585 Lcom/android/org/bouncycastle/jcajce/provider/asymmetric/dh/KeyFactorySpi;