Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/wm/
DStrictModeFlash.java57 final int dw = mLastDW; in drawIfNeeded() local
60 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
72 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded()
78 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
81 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
101 void positionSurface(int dw, int dh) { in positionSurface() argument
102 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
105 mLastDW = dw; in positionSurface()
107 mSurface.setSize(dw, dh); in positionSurface()
DDimSurface.java53 void show(int dw, int dh, int layer, int color) { in show() argument
56 dw + "x" + dh + " layer=" + layer + ")"); in show()
59 mLastDimWidth = dw; in show()
62 mDimSurface.setSize(dw, dh); in show()
68 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color in show()
71 dw + "x" + dh + " layer=" + layer + ")"); in show()
72 mLastDimWidth = dw; in show()
76 mDimSurface.setSize(dw, dh); in show()
DWatermark.java123 void positionSurface(int dw, int dh) { in positionSurface() argument
124 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
125 mLastDW = dw; in positionSurface()
127 mSurface.setSize(dw, dh); in positionSurface()
134 final int dw = mLastDW; in drawIfNeeded() local
138 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
153 int div = (dw+mTextWidth)/deltaX; in drawIfNeeded()
154 int rem = (dw+mTextWidth) - (div*deltaX); in drawIfNeeded()
165 if (x >= dw) { in drawIfNeeded()
166 x -= (dw+mTextWidth); in drawIfNeeded()
DDimAnimator.java62 void show(int dw, int dh) { in show() argument
65 dw + "x" + dh + ")"); in show()
68 mLastDimWidth = dw; in show()
71 mDimSurface.setSize(dw, dh); in show()
76 } else if (mLastDimWidth != dw || mLastDimHeight != dh) { in show()
77 mLastDimWidth = dw; in show()
79 mDimSurface.setSize(dw, dh); in show()
DFakeWindowImpl.java74 void layout(int dw, int dh) { in layout() argument
76 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
82 mWindowHandle.frameRight = dw; in layout()
DAppWindowToken.java196 boolean stepAnimationLocked(long currentTime, int dw, int dh) { in stepAnimationLocked() argument
212 " @ " + currentTime + ": dw=" + dw + " dh=" + dh in stepAnimationLocked()
215 animation.initialize(dw, dh, dw, dh); in stepAnimationLocked()
DWindowManagerService.java1471 final int dw = mAppDisplayWidth; in adjustWallpaperWindowsLocked() local
1726 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
1803 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
1809 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw; in updateWallpaperOffsetLocked()
1890 final int dw = mAppDisplayWidth; in updateWallpaperOffsetLocked() local
1917 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
1931 final int dw = mAppDisplayWidth; in updateWallpaperVisibilityLocked() local
1950 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
5003 int dw, dh; in screenshotApplications() local
5009 dw = mAppDisplayWidth; in screenshotApplications()
[all …]
DWindowState.java884 boolean stepAnimationLocked(long currentTime, int dw, int dh) { in stepAnimationLocked() argument
896 " dw=" + dw + " dh=" + dh + " scale=" + mService.mWindowAnimationScale); in stepAnimationLocked()
897 mAnimation.initialize(mFrame.width(), mFrame.height(), dw, dh); in stepAnimationLocked() local
/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.java236 int dw = r.left + tw + r.right; in placeNumber() local
237 if (dw < mNumberBackground.getMinimumWidth()) { in placeNumber()
238 dw = mNumberBackground.getMinimumWidth(); in placeNumber()
240 mNumberX = w-r.right-((dw-r.right-r.left)/2); in placeNumber()
246 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/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/core/java/android/widget/
DAbsSeekBar.java312 int dw = 0;
315 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
319 dw += mPaddingLeft + mPaddingRight;
322 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
DProgressBar.java1008 int dw = 0; in onMeasure() local
1011 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
1015 dw += mPaddingLeft + mPaddingRight; in onMeasure()
1018 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0), in onMeasure()
/frameworks/base/tools/aapt/tests/
DMockFileFinder.h37 DirectoryWalker* dw) in findFiles() argument
/frameworks/base/opengl/libagl2/src/
Dtexture.cpp125 const unsigned dx, const unsigned dy, const unsigned dw, in CopyTexture() argument
129 if (dw == sw && dw == w && sx == 0 && dx == 0) in CopyTexture()
130 memcpy(dst + dy * dw * bpp, src + sy * sw * bpp, w * h * bpp); in CopyTexture()
133 memcpy(dst + ((dy + y) * dw + dx) * bpp, src + ((sy + y) * sw + sx) * bpp, w * bpp); in CopyTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java285 final int dw = frame.width(); in drawFrameLocked() local
287 final int availw = dw - mBackgroundWidth; in drawFrameLocked()
/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�ʵ�