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

/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java58 final int dw = mLastDW;
61 Rect dirty = new Rect(0, 0, dw, dh);
73 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
79 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
82 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
102 void positionSurface(int dw, int dh) { argument
103 if (mLastDW == dw && mLastDH == dh) {
106 mLastDW = dw;
108 mSurface.setSize(dw, d
[all...]
H A DDimSurface.java61 void show(int dw, int dh, int layer, int color) { argument
69 dw + "x" + dh + " layer=" + layer + ")");
72 mLastDimWidth = dw;
75 mDimSurface.setSize(dw, dh);
81 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color
84 dw + "x" + dh + " layer=" + layer + ")");
85 mLastDimWidth = dw;
89 mDimSurface.setSize(dw, dh);
H A DWatermark.java126 void positionSurface(int dw, int dh) { argument
127 if (mLastDW != dw || mLastDH != dh) {
128 mLastDW = dw;
130 mSurface.setSize(dw, dh);
137 final int dw = mLastDW;
141 Rect dirty = new Rect(0, 0, dw, dh);
156 int div = (dw+mTextWidth)/deltaX;
157 int rem = (dw+mTextWidth) - (div*deltaX);
168 if (x >= dw) {
169 x -= (dw
[all...]
H A DDimAnimator.java79 final int dw = (int) (params.mDimWidth * 1.5);
85 " DIM " + mDimSurface + ": SHOW pos=(0,0) (" + dw + "x" + dh + ")");
88 mLastDimWidth = dw;
91 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6);
92 mDimSurface.setSize(dw, dh);
97 } else if (mLastDimWidth != dw || mLastDimHeight != dh) {
98 mLastDimWidth = dw;
100 mDimSurface.setSize(dw, dh);
102 mDimSurface.setPosition(-1 * dw / 6, -1 * dh /6);
H A DFakeWindowImpl.java82 void layout(int dw, int dh) { argument
84 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
90 mWindowHandle.frameRight = dw;
H A DAppWindowAnimator.java188 boolean stepAnimationLocked(long currentTime, int dw, int dh) { argument
205 " @ " + currentTime + ": dw=" + dw + " dh=" + dh
209 animation.initialize(dw, dh, dw, dh);
H A DWindowManagerService.java1598 final int dw = displayInfo.appWidth;
1858 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
1932 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument
1938 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw;
2022 final int dw = displayInfo.appWidth;
2047 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2087 final int dw = displayInfo.appWidth;
2106 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
5791 int dw, dh;
5802 dw
6790 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
6808 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
6828 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument
6861 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
6874 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.java50 int dw = mDrawable.getIntrinsicWidth();
54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java255 int dw = r.left + tw + r.right;
256 if (dw < mNumberBackground.getMinimumWidth()) {
257 dw = mNumberBackground.getMinimumWidth();
259 mNumberX = w-r.right-((dw-r.right-r.left)/2);
265 mNumberBackground.setBounds(w-dw, h-dh, w, h);
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java341 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument
342 final float w = dw + (dw * a);
344 final float x = (dw - w) * 0.5f;
349 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { argument
350 final float w = dw + (dw * a);
352 final float x = (dw - w) * 0.5f;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java316 final int dw = frame.width();
320 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight;
335 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
339 dw + ", " + dh);
349 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
351 dw + ", " + dh + ", " + mBackground.getWidth() + ", " +
357 final int availw = dw - mBackground.getWidth();
365 mLastSurfaceWidth = dw;
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java342 int dw = 0;
345 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
349 dw += mPaddingLeft + mPaddingRight;
352 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
H A DProgressBar.java1096 int dw = 0;
1099 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
1103 dw += mPaddingLeft + mPaddingRight;
1106 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java284 final int dw = mIcon.getBounds().width();
285 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp719 int32_t dw = (newWidth - mCurrentCrop.width())/2; local
720 outCrop.left -=dw;
721 outCrop.right += dw;
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp1119 sp<DisconnectWaiter> dw(new DisconnectWaiter());
1120 mST->getBufferQueue()->consumerConnect(dw);
1127 dw->waitForFrame();
1130 dw->waitForFrame();
1135 dw->finishDisconnect();
/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 401 milliseconds