Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java62 final int dw = mLastDW; in drawIfNeeded() local
65 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
77 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded()
83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
106 void positionSurface(int dw, int dh) { in positionSurface() argument
107 if (mLastDW == dw && mLastDH == dh) { in positionSurface()
110 mLastDW = dw; in positionSurface()
112 mSurfaceControl.setSize(dw, dh); in positionSurface()
DWatermark.java127 void positionSurface(int dw, int dh) { in positionSurface() argument
128 if (mLastDW != dw || mLastDH != dh) { in positionSurface()
129 mLastDW = dw; in positionSurface()
131 mSurfaceControl.setSize(dw, dh); in positionSurface()
138 final int dw = mLastDW; in drawIfNeeded() local
142 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded()
157 int div = (dw+mTextWidth)/deltaX; in drawIfNeeded()
158 int rem = (dw+mTextWidth) - (div*deltaX); in drawIfNeeded()
169 if (x >= dw) { in drawIfNeeded()
170 x -= (dw+mTextWidth); in drawIfNeeded()
DFakeWindowImpl.java80 void layout(int dw, int dh) { in layout() argument
82 mWindowHandle.touchableRegion.set(0, 0, dw, dh); in layout()
88 mWindowHandle.frameRight = dw; in layout()
DDimLayer.java147 final int dw, dh; in adjustSurface() local
150 dw = mBounds.width(); in adjustSurface()
159 dw = (int) (info.logicalWidth * 1.5); in adjustSurface()
162 xPos = -1 * dw / 6; in adjustSurface()
171 mDimSurface.setSize(dw, dh); in adjustSurface()
DEmulatorDisplayOverlay.java116 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
120 mLastDW = dw; in positionSurface()
DCircularDisplayMask.java144 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument
145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
148 mLastDW = dw; in positionSurface()
DWindowManagerService.java1725 final int dw = displayInfo.logicalWidth; in adjustWallpaperWindowsLocked() local
1967 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in adjustWallpaperWindowsLocked()
2072 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, in updateWallpaperOffsetLocked() argument
2078 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw; in updateWallpaperOffsetLocked()
2171 final int dw = displayInfo.logicalWidth; in updateWallpaperOffsetLocked() local
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) { in updateWallpaperOffsetLocked()
2244 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibilityLocked() local
2263 updateWallpaperOffsetLocked(wallpaper, dw, dh, false); in updateWallpaperVisibilityLocked()
6031 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { in convertCropForSurfaceFlinger() argument
6034 crop.top = dw - crop.right; in convertCropForSurfaceFlinger()
[all …]
/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/
DImageWallpaper.java211 final int dw = frame.width(); in updateSurfaceSize() local
213 if (surfaceWidth == dw && surfaceHeight == dh) { in updateSurfaceSize()
325 final int dw = frame.width(); in drawFrame() local
327 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth in drawFrame()
347 dw + ", " + dh); in drawFrame()
358 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) { in drawFrame()
360 dw + ", " + dh + ", " + mBackground.getWidth() + ", " + in drawFrame()
367 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(), in drawFrame()
369 final int availw = dw - (int) (mBackground.getWidth() * mScale); in drawFrame()
377 final int availwUnscaled = dw - mBackground.getWidth(); in drawFrame()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java265 int dw = r.left + tw + r.right; in placeNumber() local
266 if (dw < mNumberBackground.getMinimumWidth()) { in placeNumber()
267 dw = mNumberBackground.getMinimumWidth(); in placeNumber()
269 mNumberX = w-r.right-((dw-r.right-r.left)/2); in placeNumber()
275 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
/frameworks/base/core/java/android/text/style/
DDrawableMarginSpan.java49 int dw = mDrawable.getIntrinsicWidth(); in drawLeadingMargin() local
53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/tools/aapt/tests/
DMockFileFinder.h37 DirectoryWalker* dw) in findFiles() argument
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp453 sp<DisconnectWaiter> dw(new DisconnectWaiter()); in TEST_F() local
454 mConsumer->consumerConnect(dw, false); in TEST_F()
461 dw->waitForFrame(); in TEST_F()
464 dw->waitForFrame(); in TEST_F()
469 dw->finishDisconnect(); in TEST_F()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java544 int dw = 0;
547 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
551 dw += mPaddingLeft + mPaddingRight;
554 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
DProgressBar.java1683 int dw = 0; in onMeasure() local
1686 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
1690 dw += mPaddingLeft + mPaddingRight; in onMeasure()
1693 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0), in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java311 final int dw = mIcon.getBounds().width(); in onMeasure() local
312 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java294 final int dw = mIcon.getBounds().width(); in onMeasure() local
295 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/native/libs/gui/
DGLConsumer.cpp888 int32_t dw = (newWidth - mCurrentCrop.width())/2; in getCurrentCrop() local
889 outCrop.left -=dw; in getCurrentCrop()
890 outCrop.right += dw; in getCurrentCrop()
/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�ʵ�