Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java77 final int dh = mLastDH; in drawIfNeeded() local
78 mBlastBufferQueue.update(mSurfaceControl, dw, dh, PixelFormat.RGBA_8888); in drawIfNeeded()
96 c.clipRect(new Rect(0, 0, mThickness, dh)); in drawIfNeeded()
101 c.clipRect(new Rect(dw - mThickness, 0, dw, dh)); in drawIfNeeded()
106 c.clipRect(new Rect(0, dh - mThickness, dw, dh)); in drawIfNeeded()
127 void positionSurface(int dw, int dh, SurfaceControl.Transaction t) { in positionSurface() argument
128 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
132 mLastDH = dh; in positionSurface()
133 t.setBufferSize(mSurfaceControl, dw, dh); in positionSurface()
DWatermark.java134 void positionSurface(int dw, int dh, SurfaceControl.Transaction t) { in positionSurface() argument
135 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
137 mLastDH = dh; in positionSurface()
138 t.setBufferSize(mSurfaceControl, dw, dh); in positionSurface()
149 final int dh = mLastDH; in drawIfNeeded() local
152 mBlastBufferQueue.update(mSurfaceControl, dw, dh, PixelFormat.RGBA_8888); in drawIfNeeded()
175 while (y < (dh + mTextHeight)) { in drawIfNeeded()
DEmulatorDisplayOverlay.java123 void positionSurface(int dw, int dh, int rotation, SurfaceControl.Transaction t) { in positionSurface() argument
124 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
128 mLastDH = dh; in positionSurface()
DInputConsumerImpl.java109 void layout(SurfaceControl.Transaction t, int dw, int dh) { in layout() argument
110 mTmpRect.set(0, 0, dw, dh); in layout()
DInputMonitor.java197 void layoutInputConsumers(int dw, int dh) { in layoutInputConsumers() argument
198 if (mDisplayWidth == dw && mDisplayHeight == dh) { in layoutInputConsumers()
202 mDisplayHeight = dh; in layoutInputConsumers()
206 mInputConsumers.get(i).layout(mInputTransaction, dw, dh); in layoutInputConsumers()
DConfigurationContainer.java248 final int dh = rotated in applySizeOverrideIfNeeded() local
259 .getDecorInsetsInfo(rotation, dw, dh).mOverrideNonDecorInsets); in applySizeOverrideIfNeeded()
278 displayContent.computeSizeRanges(info, rotated, dw, dh, in applySizeOverrideIfNeeded()
DDisplayContent.java2272 final int dh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in updateDisplayAndOrientation() local
2279 final Rect appFrame = mDisplayPolicy.getDecorInsetsInfo(rotation, dw, dh).mNonDecorFrame; in updateDisplayAndOrientation()
2282 mDisplayInfo.logicalHeight = dh; in updateDisplayAndOrientation()
2302 computeSizeRanges(mDisplayInfo, rotated, dw, dh, mDisplayMetrics.density, outConfig, in updateDisplayAndOrientation()
2425 final int dh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in computeScreenConfiguration() local
2426 outConfig.windowConfiguration.setMaxBounds(0, 0, dw, dh); in computeScreenConfiguration()
2428 computeScreenAppConfiguration(outConfig, dw, dh, rotation); in computeScreenConfiguration()
2433 displayInfo.logicalHeight = dh; in computeScreenConfiguration()
2439 computeSizeRanges(displayInfo, rotated, dw, dh, mDisplayMetrics.density, outConfig, in computeScreenConfiguration()
2445 private void computeScreenAppConfiguration(Configuration outConfig, int dw, int dh, in computeScreenAppConfiguration() argument
[all …]
DDisplayPolicy.java2121 final int dh = displayFrames.mHeight;
2123 final InsetsState newInsetsState = newInfo.update(mDisplayContent, rotation, dw, dh);
2124 final DecorInsets.Info currentInfo = getDecorInsetsInfo(rotation, dw, dh);
2135 final int w = flipSize ? dh : dw;
2136 final int h = flipSize ? dw : dh;
DWindowState.java2698 final int dh = mTmpRect.height(); in getSurfaceTouchableRegion() local
2699 region.set(-dw, -dh, dw + dw, dh + dh); in getSurfaceTouchableRegion()
DTaskFragment.java2262 final int dh = rotated ? dc.mBaseDisplayWidth : dc.mBaseDisplayHeight; in resolveTmpOverrides() local
2264 .getDecorInsetsInfo(rotation, dw, dh); in resolveTmpOverrides()
DActivityRecord.java10853 final int dh = rotated ? display.mBaseDisplayWidth : display.mBaseDisplayHeight;
10855 policy.getDecorInsetsInfo(rotation, dw, dh);
10875 updateInsetsForBounds(unfilledContainerBounds, dw, dh, mNonDecorInsets[rotation]);
10876 updateInsetsForBounds(unfilledContainerBounds, dw, dh, mStableInsets[rotation]);
10907 final int dh = rotated ? mWidth : mHeight;
10908 outBounds.set(0, 0, dw, dh);
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryAttributionDrawable.kt56 val dh = scale * dr.intrinsicHeight in updateBoundsInner() constant
60 val padTop = (bounds.height() - dh) / 2 in updateBoundsInner()
65 (bounds.top + padTop + dh).roundToInt() in updateBoundsInner()
72 ceil(bounds.top + dh).toInt() in updateBoundsInner()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DChildSaProposalUtils.java67 for (int dh : dhGroupArray) { in fromPersistableBundle()
68 builder.addDhGroup(dh); in fromPersistableBundle()
DIkeSaProposalUtils.java75 for (int dh : dhGroupArray) { in fromPersistableBundle()
76 builder.addDhGroup(dh); in fromPersistableBundle()
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java90 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin() local
93 mDrawable.setBounds(ix, itop, ix + dw, itop + dh); in drawLeadingMargin()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java886 int dh = 0;
889 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
890 dh = Math.max(thumbHeight, dh);
893 dh += mPaddingTop + mPaddingBottom;
896 resolveSizeAndState(dh, heightMeasureSpec, 0));
DProgressBar.java2198 int dh = 0; in onMeasure() local
2203 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); in onMeasure()
2209 dh += mPaddingTop + mPaddingBottom; in onMeasure()
2212 final int measuredHeight = resolveSizeAndState(dh, heightMeasureSpec, 0); in onMeasure()
DMagnifier.java1132 final float dh = h - h0; in fillMeshMatrix() local
1141 final float hl = h0 + dh * colIndex / mMeshWidth; in fillMeshMatrix()
1144 final float hr = h - dh * colIndex / mMeshWidth; in fillMeshMatrix()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp378 uint32_t dh = currentHeight - newHeight; in scaleDownCrop() local
379 auto halfdh = dh / 2; in scaleDownCrop()
382 outCrop.bottom -= (dh - halfdh); in scaleDownCrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDisplayCutoutBaseView.kt272 val dh = if (flipped) lw else lh in <lambda>() constant
273 transformPhysicalToLogicalCoordinates(displayInfo.rotation, dw, dh, m) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java668 int dh = r.top + th + r.bottom; in placeNumber() local
669 if (dh < mNumberBackground.getMinimumWidth()) { in placeNumber()
670 dh = mNumberBackground.getMinimumWidth(); in placeNumber()
672 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()
673 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java191 private void setUpDisplaySizeWithApp(int dw, int dh) { in setUpDisplaySizeWithApp() argument
192 final TestDisplayContent.Builder builder = new TestDisplayContent.Builder(mAtm, dw, dh); in setUpDisplaySizeWithApp()
346 final int dh = 2000; in testRepositionLandscapeImmersiveAppWithDisplayCutout() local
348 final TestDisplayContent display = new TestDisplayContent.Builder(mAtm, dw, dh) in testRepositionLandscapeImmersiveAppWithDisplayCutout()
380 assertTrue(bounds.top > cutoutHeight && bounds.bottom < dh); in testRepositionLandscapeImmersiveAppWithDisplayCutout()
384 doubleClick.accept(dh - 10); in testRepositionLandscapeImmersiveAppWithDisplayCutout()
385 assertEquals(dh, innerBoundsOf.apply(activity).bottom); in testRepositionLandscapeImmersiveAppWithDisplayCutout()
1338 final int dh = 1800; in testOverrideMinAspectRatioLowerThanManifest() local
1340 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1400, dh) in testOverrideMinAspectRatioLowerThanManifest()
1356 dh - notchHeight, appBounds.height()); in testOverrideMinAspectRatioLowerThanManifest()
[all …]
/frameworks/native/libs/gui/
DGLConsumer.cpp774 uint32_t dh = currentHeight - newHeight; in scaleDownCrop() local
775 auto halfdh = dh / 2; in scaleDownCrop()
778 outCrop.bottom -= (dh - halfdh); in scaleDownCrop()
/frameworks/base/services/tests/mockingservicestests/res/raw/
Dbackup_telephony_with_password71 …�`��SJ���X��x��AY-��a�'%�ُ���P��A#l��*ZW./�Y��4�CN��R��Z�7�O=��6 �����dhϡ:8Dj�M/� yިg��p�rR…
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dindex91271 …q�������}!=��zcL���#���v^�/�u��H������A ����������D|e���iu^�q��˿D���dh:"������qG��ʗV�…

12