Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java76 final int dw = mLastDW; in drawIfNeeded() local
78 mBlastBufferQueue.update(mSurfaceControl, dw, dh, PixelFormat.RGBA_8888); in drawIfNeeded()
91 c.clipRect(new Rect(0, 0, dw, mThickness)); 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()
131 mLastDW = dw; 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()
136 mLastDW = dw; in positionSurface()
138 t.setBufferSize(mSurfaceControl, dw, dh); in positionSurface()
148 final int dw = mLastDW; in drawIfNeeded() local
152 mBlastBufferQueue.update(mSurfaceControl, dw, dh, PixelFormat.RGBA_8888); in drawIfNeeded()
166 int div = (dw + mTextWidth) / deltaX; in drawIfNeeded()
167 int rem = (dw + mTextWidth) - (div * deltaX); in drawIfNeeded()
178 if (x >= dw) { in drawIfNeeded()
179 x -= (dw + mTextWidth); 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()
127 mLastDW = dw; in positionSurface()
DInputConsumerImpl.java107 void layout(SurfaceControl.Transaction t, int dw, int dh) { in layout() argument
108 mTmpRect.set(0, 0, dw, dh); in layout()
DInputMonitor.java192 void layoutInputConsumers(int dw, int dh) { in layoutInputConsumers() argument
193 if (mDisplayWidth == dw && mDisplayHeight == dh) { in layoutInputConsumers()
196 mDisplayWidth = dw; in layoutInputConsumers()
201 mInputConsumers.valueAt(i).layout(mInputTransaction, dw, dh); in layoutInputConsumers()
DDisplayContent.java2176 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in updateDisplayAndOrientation() local
2183 final Rect appFrame = mDisplayPolicy.getDecorInsetsInfo(rotation, dw, dh).mNonDecorFrame; in updateDisplayAndOrientation()
2185 mDisplayInfo.logicalWidth = dw; in updateDisplayAndOrientation()
2205 computeSizeRangesAndScreenLayout(mDisplayInfo, rotated, dw, dh, in updateDisplayAndOrientation()
2291 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in computeScreenConfiguration() local
2293 outConfig.windowConfiguration.setMaxBounds(0, 0, dw, dh); in computeScreenConfiguration()
2295 computeScreenAppConfiguration(outConfig, dw, dh, rotation); in computeScreenConfiguration()
2299 displayInfo.logicalWidth = dw; in computeScreenConfiguration()
2306 computeSizeRangesAndScreenLayout(displayInfo, rotated, dw, dh, in computeScreenConfiguration()
2312 private void computeScreenAppConfiguration(Configuration outConfig, int dw, int dh, in computeScreenAppConfiguration() argument
[all …]
DDisplayPolicy.java2097 final int dw = displayFrames.mWidth; in updateDecorInsetsInfo() local
2100 newInfo.update(mDisplayContent, rotation, dw, dh); in updateDecorInsetsInfo()
2101 final DecorInsets.Info currentInfo = getDecorInsetsInfo(rotation, dw, dh); in updateDecorInsetsInfo()
2109 final int w = flipSize ? dh : dw; in updateDecorInsetsInfo()
2110 final int h = flipSize ? dw : dh; in updateDecorInsetsInfo()
DWindowState.java2889 final int dw = mTmpRect.width(); in getSurfaceTouchableRegion() local
2891 region.set(-dw, -dh, dw + dw, dh + dh); in getSurfaceTouchableRegion()
DActivityRecord.java10185 final int dw = rotated ? display.mBaseDisplayHeight : display.mBaseDisplayWidth;
10188 policy.getDecorInsetsInfo(rotation, dw, dh);
10203 updateInsetsForBounds(unfilledContainerBounds, dw, dh, mNonDecorInsets[rotation]);
10204 updateInsetsForBounds(unfilledContainerBounds, dw, dh, mStableInsets[rotation]);
10234 final int dw = rotated ? mHeight : mWidth;
10236 outBounds.set(0, 0, dw, dh);
/frameworks/base/tools/aapt/
DFileFinder.cpp43 DirectoryWalker* dw) in findFiles() argument
47 if (!dw->openDir(basePath)) { in findFiles()
55 while ((entry = dw->nextEntry()) != NULL) { in findFiles()
63 DirectoryWalker* copy = dw->clone(); in findFiles()
70 checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore); in findFiles()
75 dw->closeDir(); in findFiles()
DCrunchCache.cpp86 DirectoryWalker* dw = new SystemDirectoryWalker(); in loadFiles() local
89 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw); in loadFiles()
92 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw); in loadFiles()
94 delete dw; in loadFiles()
DFileFinder.h27 DirectoryWalker* dw) = 0;
58 DirectoryWalker* dw);
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/
DDumpWriter.h53 explicit ScopedIndent(DumpWriter& dw) : mDw(dw) { mDw.incIndent(); } in ScopedIndent() argument
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java89 int dw = mDrawable.getIntrinsicWidth(); in drawLeadingMargin() local
93 mDrawable.setBounds(ix, itop, ix + dw, itop + dh); in drawLeadingMargin()
/frameworks/base/tools/aapt/tests/
DMockFileFinder.h37 DirectoryWalker* dw) in findFiles() argument
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp481 sp<DisconnectWaiter> dw(new DisconnectWaiter()); in TEST_F() local
482 mConsumer->consumerConnect(dw, false); in TEST_F()
489 dw->waitForFrame(); in TEST_F()
492 dw->waitForFrame(); in TEST_F()
497 dw->finishDisconnect(); in TEST_F()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp369 uint32_t dw = currentWidth - newWidth; in scaleDownCrop() local
370 auto halfdw = dw / 2; in scaleDownCrop()
373 outCrop.right -= (dw - halfdw); in scaleDownCrop()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java303 final int dw = mIcon.getBounds().width(); in onMeasure() local
304 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDisplayCutoutBaseView.kt269 val dw = if (flipped) lh else lw in <lambda>() constant
271 transformPhysicalToLogicalCoordinates(displayInfo.rotation, dw, dh, m) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java549 int dw = r.left + tw + r.right; in placeNumber() local
550 if (dw < mNumberBackground.getMinimumWidth()) { in placeNumber()
551 dw = mNumberBackground.getMinimumWidth(); in placeNumber()
553 mNumberX = w-r.right-((dw-r.right-r.left)/2); in placeNumber()
559 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java885 int dw = 0;
888 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
892 dw += mPaddingLeft + mPaddingRight;
895 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
DProgressBar.java2188 int dw = 0; in onMeasure() local
2193 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
2199 dw += mPaddingLeft + mPaddingRight; in onMeasure()
2202 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure()
/frameworks/native/libs/gui/
DGLConsumer.cpp767 uint32_t dw = currentWidth - newWidth; in scaleDownCrop() local
768 auto halfdw = dw / 2; in scaleDownCrop()
771 outCrop.right -= (dw - halfdw); in scaleDownCrop()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java172 private void setUpDisplaySizeWithApp(int dw, int dh) { in setUpDisplaySizeWithApp() argument
173 final TestDisplayContent.Builder builder = new TestDisplayContent.Builder(mAtm, dw, dh); in setUpDisplaySizeWithApp()
1724 final int dw = 1400; in testGetLetterboxInnerBounds_noScalingApplied() local
1726 setUpDisplaySizeWithApp(dw, dh); in testGetLetterboxInnerBounds_noScalingApplied()
1759 final int scale = dh / dw; in testGetLetterboxInnerBounds_noScalingApplied()
1762 assertEquals(dw, rotatedDisplayBounds.width()); in testGetLetterboxInnerBounds_noScalingApplied()
1766 assertEquals(dw / scale, rotatedActivityBounds.height()); in testGetLetterboxInnerBounds_noScalingApplied()
1774 assertEquals(dw / scale, letterboxDetails.getLetterboxInnerBounds().height()); in testGetLetterboxInnerBounds_noScalingApplied()
1776 assertEquals(dw, letterboxDetails.getLetterboxFullBounds().width()); in testGetLetterboxInnerBounds_noScalingApplied()
1782 final int dw = 1000;
[all …]
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr224 �Z����#+\p<B�gG���T��hW�.���6����mp`< �v��y'�.����h���M;����dw �9 <D�W'�(�w�ʵ�