Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/wm/
DStrictModeFlash.java58 final int dw = mLastDW; in drawIfNeeded() local
61 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
73 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded()
79 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
82 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
102 void positionSurface(int dw, int dh) { in positionSurface() argument
103 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
106 mLastDW = dw; in positionSurface()
108 mSurface.setSize(dw, dh); in positionSurface()
DDimSurface.java61 void show(int dw, int dh, int layer, int color) { in show() argument
69 dw + "x" + dh + " layer=" + layer + ")"); in show()
72 mLastDimWidth = dw; in show()
75 mDimSurface.setSize(dw, dh); in show()
81 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color in show()
84 dw + "x" + dh + " layer=" + layer + ")"); in show()
85 mLastDimWidth = dw; in show()
89 mDimSurface.setSize(dw, dh); in show()
DWatermark.java126 void positionSurface(int dw, int dh) { in positionSurface() argument
127 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
128 mLastDW = dw; in positionSurface()
130 mSurface.setSize(dw, dh); in positionSurface()
137 final int dw = mLastDW; in drawIfNeeded() local
141 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
156 int div = (dw+mTextWidth)/deltaX; in drawIfNeeded()
157 int rem = (dw+mTextWidth) - (div*deltaX); in drawIfNeeded()
168 if (x >= dw) { in drawIfNeeded()
169 x -= (dw+mTextWidth); in drawIfNeeded()
DDimAnimator.java79 final int dw = (int) (params.mDimWidth * 1.5); in updateParameters() local
85 " DIM " + mDimSurface + ": SHOW pos=(0,0) (" + dw + "x" + dh + ")"); in updateParameters()
88 mLastDimWidth = dw; in updateParameters()
91 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6); in updateParameters()
92 mDimSurface.setSize(dw, dh); in updateParameters()
97 } else if (mLastDimWidth != dw || mLastDimHeight != dh) { in updateParameters()
98 mLastDimWidth = dw; in updateParameters()
100 mDimSurface.setSize(dw, dh); in updateParameters()
102 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6); in updateParameters()
DFakeWindowImpl.java82 void layout(int dw, int dh) { in layout() argument
84 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
90 mWindowHandle.frameRight = dw; in layout()
DAppWindowAnimator.java188 boolean stepAnimationLocked(long currentTime, int dw, int dh) { in stepAnimationLocked() argument
205 " @ " + currentTime + ": dw=" + dw + " dh=" + dh in stepAnimationLocked()
209 animation.initialize(dw, dh, dw, dh); in stepAnimationLocked()
DWindowManagerService.java1598 final int dw = displayInfo.appWidth; in adjustWallpaperWindowsLocked() local
1858 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
1932 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
1938 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw; in updateWallpaperOffsetLocked()
2022 final int dw = displayInfo.appWidth; in updateWallpaperOffsetLocked() local
2047 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
2087 final int dw = displayInfo.appWidth; in updateWallpaperVisibilityLocked() local
2106 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
5791 int dw, dh; in screenshotApplications() local
5802 dw = displayInfo.logicalWidth; in screenshotApplications()
[all …]
/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.cpp85 DirectoryWalker* dw = new SystemDirectoryWalker(); in loadFiles() local
88 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw); in loadFiles()
91 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw); in loadFiles()
93 delete dw; in loadFiles()
DFileFinder.h27 DirectoryWalker* dw) = 0;
58 DirectoryWalker* dw);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java255 int dw = r.left + tw + r.right; in placeNumber() local
256 if (dw < mNumberBackground.getMinimumWidth()) { in placeNumber()
257 dw = mNumberBackground.getMinimumWidth(); in placeNumber()
259 mNumberX = w-r.right-((dw-r.right-r.left)/2); in placeNumber()
265 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/services/java/com/android/server/power/
DElectronBeam.java341 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setVStretchQuad() argument
342 final float w = dw + (dw * a); in setVStretchQuad()
344 final float x = (dw - w) * 0.5f; in setVStretchQuad()
349 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setHStretchQuad() argument
350 final float w = dw + (dw * a); in setHStretchQuad()
352 final float x = (dw - w) * 0.5f; in setHStretchQuad()
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java50 int dw = mDrawable.getIntrinsicWidth(); in drawLeadingMargin() local
54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java316 final int dw = frame.width(); in drawFrameLocked() local
320 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight; in drawFrameLocked()
339 dw + ", " + dh); in drawFrameLocked()
349 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { in drawFrameLocked()
351 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + in drawFrameLocked()
357 final int availw = dw - mBackground.getWidth(); in drawFrameLocked()
365 mLastSurfaceWidth = dw; in drawFrameLocked()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java342 int dw = 0;
345 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
349 dw += mPaddingLeft + mPaddingRight;
352 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
DProgressBar.java1096 int dw = 0; in onMeasure() local
1099 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
1103 dw += mPaddingLeft + mPaddingRight; in onMeasure()
1106 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0), in onMeasure()
/frameworks/base/tools/aapt/tests/
DMockFileFinder.h37 DirectoryWalker* dw) in findFiles() argument
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java284 final int dw = mIcon.getBounds().width(); in onMeasure() local
285 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/native/libs/gui/
DSurfaceTexture.cpp719 int32_t dw = (newWidth - mCurrentCrop.width())/2; in getCurrentCrop() local
720 outCrop.left -=dw; in getCurrentCrop()
721 outCrop.right += dw; in getCurrentCrop()
/frameworks/native/libs/gui/tests/
DSurfaceTexture_test.cpp1119 sp<DisconnectWaiter> dw(new DisconnectWaiter()); in TEST_F() local
1120 mST->getBufferQueue()->consumerConnect(dw); in TEST_F()
1127 dw->waitForFrame(); in TEST_F()
1130 dw->waitForFrame(); in TEST_F()
1135 dw->finishDisconnect(); in TEST_F()
/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�ʵ�