Searched defs:dw (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tools/aapt/tests/
H A DMockFileFinder.h37 DirectoryWalker* dw)
35 findFiles(String8 basePath, Vector<String8>& extensions, KeyedVector<String8,time_t>& fileStore, DirectoryWalker* dw) argument
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java58 final int dw = mLastDW;
61 Rect dirty = new Rect(0, 0, dw, dh);
73 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
79 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
82 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
102 void positionSurface(int dw, int dh) { argument
103 if (mLastDW == dw && mLastDH == dh) {
106 mLastDW = dw;
108 mSurface.setSize(dw, d
[all...]
H A DDimSurface.java61 void show(int dw, int dh, int layer, int color) { argument
69 dw + "x" + dh + " layer=" + layer + ")");
72 mLastDimWidth = dw;
75 mDimSurface.setSize(dw, dh);
81 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color
84 dw + "x" + dh + " layer=" + layer + ")");
85 mLastDimWidth = dw;
89 mDimSurface.setSize(dw, dh);
H A DFakeWindowImpl.java82 void layout(int dw, int dh) { argument
84 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
90 mWindowHandle.frameRight = dw;
H A DWatermark.java126 void positionSurface(int dw, int dh) { argument
127 if (mLastDW != dw || mLastDH != dh) {
128 mLastDW = dw;
130 mSurface.setSize(dw, dh);
137 final int dw = mLastDW;
141 Rect dirty = new Rect(0, 0, dw, dh);
156 int div = (dw+mTextWidth)/deltaX;
157 int rem = (dw+mTextWidth) - (div*deltaX);
168 if (x >= dw) {
169 x -= (dw
[all...]
H A DAppWindowAnimator.java188 boolean stepAnimationLocked(long currentTime, int dw, int dh) { argument
205 " @ " + currentTime + ": dw=" + dw + " dh=" + dh
209 animation.initialize(dw, dh, dw, dh);
H A DWindowManagerService.java1573 final int dw = displayInfo.appWidth;
1833 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
1907 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument
1913 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw;
1997 final int dw = displayInfo.appWidth;
2022 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2062 final int dw = displayInfo.appWidth;
2081 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
5754 int dw, dh;
5765 dw
6739 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
6757 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
6777 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument
6810 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
6823 computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) argument
[all...]
/frameworks/base/tools/aapt/
H A DCrunchCache.cpp85 DirectoryWalker* dw = new SystemDirectoryWalker(); local
88 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw);
91 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw);
93 delete dw;
H A DFileFinder.cpp43 DirectoryWalker* dw)
47 if (!dw->openDir(basePath)) {
55 while ((entry = dw->nextEntry()) != NULL) {
63 DirectoryWalker* copy = dw->clone();
70 checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore);
75 dw->closeDir();
41 findFiles(String8 basePath, Vector<String8>& extensions, KeyedVector<String8,time_t>& fileStore, DirectoryWalker* dw) argument
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java345 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument
346 final float w = dw + (dw * a);
348 final float x = (dw - w) * 0.5f;
353 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument
354 final float w = dw + (dw * a);
356 final float x = (dw - w) * 0.5f;
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp719 int32_t dw = (newWidth - mCurrentCrop.width())/2; local
720 outCrop.left -=dw;
721 outCrop.right += dw;

Completed in 1292 milliseconds