/frameworks/base/tools/aapt/tests/ |
H A D | MockFileFinder.h | 37 DirectoryWalker* dw) 35 findFiles(String8 basePath, Vector<String8>& extensions, KeyedVector<String8,time_t>& fileStore, DirectoryWalker* dw) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputConsumerImpl.java | 70 void layout(int dw, int dh) { argument 71 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 74 mWindowHandle.frameRight = dw;
|
H A D | StrictModeFlash.java | 65 final int dw = mLastDW; 68 Rect dirty = new Rect(0, 0, dw, dh); 80 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); 86 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); 89 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); 109 void positionSurface(int dw, int dh) { argument 110 if (mLastDW == dw && mLastDH == dh) { 113 mLastDW = dw; 115 mSurfaceControl.setSize(dw, d [all...] |
H A D | EmulatorDisplayOverlay.java | 121 void positionSurface(int dw, int dh, int rotation) { argument 122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 125 mLastDW = dw;
|
H A D | Watermark.java | 129 void positionSurface(int dw, int dh) { argument 130 if (mLastDW != dw || mLastDH != dh) { 131 mLastDW = dw; 133 mSurfaceControl.setSize(dw, dh); 140 final int dw = mLastDW; 144 Rect dirty = new Rect(0, 0, dw, dh); 159 int div = (dw+mTextWidth)/deltaX; 160 int rem = (dw+mTextWidth) - (div*deltaX); 171 if (x >= dw) { 172 x -= (dw [all...] |
H A D | CircularDisplayMask.java | 149 void positionSurface(int dw, int dh, int rotation) { argument 150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 153 mLastDW = dw;
|
H A D | WallpaperController.java | 160 final int dw = displayInfo.logicalWidth; 176 updateWallpaperOffset(wallpaper, dw, dh, false); 247 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument 251 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw; 378 final int dw = displayInfo.logicalWidth; 419 if (updateWallpaperOffset(wallpaper, dw, dh, sync)) { 682 final int dw = displayInfo.logicalWidth; 703 updateWallpaperOffset(wallpaper, dw, dh, false);
|
H A D | WindowManagerService.java | 6121 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument 6124 crop.top = dw - crop.right; 6126 crop.bottom = dw - crop.left; 6133 crop.right = dw - crop.left; 6134 crop.left = dw - tmp; 6208 int dw = displayInfo.logicalWidth; 6210 if (dw == 0 || dh == 0) { 6212 + ": returning null. logical widthxheight=" + dw + "x" + dh); 6353 if (!frame.intersect(0, 0, dw, dh)) { 6358 frame.set(0, 0, dw, d 7222 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int uiMode, int dw, int dh) argument 7241 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode) argument 7261 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument 7294 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh) argument 7307 computeCompatSmallestWidth(boolean rotated, int uiMode, DisplayMetrics dm, int dw, int dh) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | CrunchCache.cpp | 86 DirectoryWalker* dw = new SystemDirectoryWalker(); local 89 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw); 92 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw); 94 delete dw;
|
H A D | FileFinder.cpp | 43 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/native/libs/gui/ |
H A D | GLConsumer.cpp | 946 uint32_t dw = currentWidth - newWidth; local 947 auto halfdw = dw / 2; 949 // Not halfdw because it would subtract 1 too few when dw is odd 950 outCrop.right -= (dw - halfdw);
|