Searched defs:dw (Results 1 - 13 of 13) 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/core/java/com/android/server/wm/
H A DInputConsumerImpl.java71 void layout(int dw, int dh) { argument
72 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
75 mWindowHandle.frameRight = dw;
H A DStrictModeFlash.java65 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 DEmulatorDisplayOverlay.java121 void positionSurface(int dw, int dh, int rotation) { argument
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
125 mLastDW = dw;
H A DWatermark.java129 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 DCircularDisplayMask.java149 void positionSurface(int dw, int dh, int rotation) { argument
150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
153 mLastDW = dw;
H A DWallpaperWindowToken.java75 void updateWallpaperOffset(int dw, int dh, boolean sync) { argument
79 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) {
92 final int dw = displayInfo.logicalWidth;
105 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false);
133 final int dw = displayInfo.logicalWidth;
140 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false);
H A DInputMonitor.java157 void layoutInputConsumers(int dw, int dh) { argument
159 mInputConsumers.valueAt(i).layout(dw, dh);
H A DWallpaperController.java259 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument
266 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw;
382 final int dw = displayInfo.logicalWidth;
420 mWallpaperTokens.get(curTokenNdx).updateWallpaperOffset(dw, dh, sync);
H A DDisplayContent.java1112 int dw = realdw;
1120 dw = maxw;
1132 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode,
1134 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode,
1137 mDisplayInfo.logicalWidth = dw;
1156 mBaseDisplayRect.set(0, 0, dw, dh);
1172 final int dw = displayInfo.logicalWidth;
1174 config.orientation = (dw <= dh) ? Configuration.ORIENTATION_PORTRAIT :
1177 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation,
1180 (int)(mService.mPolicy.getConfigDisplayHeight(dw, d
1279 computeCompatSmallestWidth(boolean rotated, int uiMode, int dw, int dh, int displayId) argument
1302 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh, int displayId) argument
1316 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument
1356 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode, int displayId) argument
1375 adjustDisplaySizeRanges(DisplayInfo displayInfo, int displayId, int rotation, int uiMode, int dw, int dh) argument
3122 convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) argument
[all...]
/frameworks/base/tools/aapt/
H A DCrunchCache.cpp86 DirectoryWalker* dw = new SystemDirectoryWalker(); local
89 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw);
92 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw);
94 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/native/libs/gui/
H A DGLConsumer.cpp965 uint32_t dw = currentWidth - newWidth; local
966 auto halfdw = dw / 2;
968 // Not halfdw because it would subtract 1 too few when dw is odd
969 outCrop.right -= (dw - halfdw);

Completed in 985 milliseconds