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

/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java62 final int dw = mLastDW;
65 Rect dirty = new Rect(0, 0, dw, dh);
77 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
106 void positionSurface(int dw, int dh) { argument
107 if (mLastDW == dw && mLastDH == dh) {
110 mLastDW = dw;
112 mSurfaceControl.setSize(dw, d
[all...]
H A DWatermark.java127 void positionSurface(int dw, int dh) { argument
128 if (mLastDW != dw || mLastDH != dh) {
129 mLastDW = dw;
131 mSurfaceControl.setSize(dw, dh);
138 final int dw = mLastDW;
142 Rect dirty = new Rect(0, 0, dw, dh);
157 int div = (dw+mTextWidth)/deltaX;
158 int rem = (dw+mTextWidth) - (div*deltaX);
169 if (x >= dw) {
170 x -= (dw
[all...]
H A DEmulatorDisplayOverlay.java116 void positionSurface(int dw, int dh, int rotation) { argument
117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
120 mLastDW = dw;
H A DFakeWindowImpl.java80 void layout(int dw, int dh) { argument
82 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
88 mWindowHandle.frameRight = dw;
H A DDimLayer.java147 final int dw, dh;
150 dw = mBounds.width();
159 dw = (int) (info.logicalWidth * 1.5);
162 xPos = -1 * dw / 6;
171 mDimSurface.setSize(dw, dh);
H A DCircularDisplayMask.java144 void positionSurface(int dw, int dh, int rotation) { argument
145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
148 mLastDW = dw;
H A DWindowManagerService.java1725 final int dw = displayInfo.logicalWidth;
1967 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
2072 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument
2078 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw;
2171 final int dw = displayInfo.logicalWidth;
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2244 final int dw = displayInfo.logicalWidth;
2263 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
6031 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument
6034 crop.top = dw
7080 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
7098 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
7118 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument
7151 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
7164 computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) argument
[all...]
/frameworks/base/tools/aapt/
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
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.h27 DirectoryWalker* dw) = 0;
58 DirectoryWalker* dw);
/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/core/java/android/text/style/
H A DDrawableMarginSpan.java49 int dw = mDrawable.getIntrinsicWidth();
53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java211 final int dw = frame.width();
213 if (surfaceWidth == dw && surfaceHeight == dh) {
325 final int dw = frame.width();
327 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth
343 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
347 dw + ", " + dh);
358 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
360 dw + ", " + dh + ", " + mBackground.getWidth() + ", " +
367 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(),
369 final int availw = dw
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java265 int dw = r.left + tw + r.right;
266 if (dw < mNumberBackground.getMinimumWidth()) {
267 dw = mNumberBackground.getMinimumWidth();
269 mNumberX = w-r.right-((dw-r.right-r.left)/2);
275 mNumberBackground.setBounds(w-dw, h-dh, w, h);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp453 sp<DisconnectWaiter> dw(new DisconnectWaiter());
454 mConsumer->consumerConnect(dw, false);
461 dw->waitForFrame();
464 dw->waitForFrame();
469 dw->finishDisconnect();
/frameworks/base/core/java/android/widget/
H A 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),
H A DProgressBar.java1683 int dw = 0;
1686 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
1690 dw += mPaddingLeft + mPaddingRight;
1693 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java311 final int dw = mIcon.getBounds().width();
312 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java294 final int dw = mIcon.getBounds().width();
295 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/native/libs/gui/
H A DGLConsumer.cpp888 int32_t dw = (newWidth - mCurrentCrop.width())/2; local
889 outCrop.left -=dw;
890 outCrop.right += dw;
/frameworks/base/media/tests/contents/media_api/music/
H A Dtest_amr_ietf.amr458 !��~y �����7�h����k-�<s^N��a�y$P�<|͠5睮��@<Ld[y�}K]8�PI1L�({���q��1��득�<B9�f�������:o0f7F�2�)�I��<4C���j{��*>�����=|a-�D�Ws��`<F�'��Z�����N@����L�;0���u� <B^��3kT����P� �) r��H��/r�<B�kw��kT��Z�X��, �Z���#+\p<B�gG���T��hW�.���6����mp`< �v��y'�.����h���M;����dw �9 <D�W'�(�w�ʵ� �Pnv'q�?2Go�<

Completed in 474 milliseconds