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.java1136 int dw = realdw;
1144 dw = maxw;
1156 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode,
1158 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode,
1161 mDisplayInfo.logicalWidth = dw;
1180 mBaseDisplayRect.set(0, 0, dw, dh);
1196 final int dw = displayInfo.logicalWidth;
1198 config.orientation = (dw <= dh) ? Configuration.ORIENTATION_PORTRAIT :
1202 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation,
1205 (int)(mService.mPolicy.getConfigDisplayHeight(dw, d
1304 computeCompatSmallestWidth(boolean rotated, int uiMode, int dw, int dh, int displayId) argument
1327 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh, int displayId) argument
1341 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument
1381 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode, int displayId) argument
1400 adjustDisplaySizeRanges(DisplayInfo displayInfo, int displayId, int rotation, int uiMode, int dw, int dh) argument
3154 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.cpp967 uint32_t dw = currentWidth - newWidth; local
968 auto halfdw = dw / 2;
970 // Not halfdw because it would subtract 1 too few when dw is odd
971 outCrop.right -= (dw - halfdw);

Completed in 565 milliseconds