Searched refs:dw (Results 1 - 22 of 22) 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.java81 void layout(int dw, int dh) { argument
83 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
89 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.java1703 final int dw = displayInfo.logicalWidth;
1945 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
2050 boolean updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, argument
2056 int availw = wallpaperWin.mFrame.right-wallpaperWin.mFrame.left-dw;
2149 final int dw = displayInfo.logicalWidth;
2184 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2222 final int dw = displayInfo.logicalWidth;
2241 updateWallpaperOffsetLocked(wallpaper, dw, dh, false);
5939 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument
5942 crop.top = dw
6974 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
6992 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
7012 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int dw, int dh, float density, Configuration outConfig) argument
7045 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
7058 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.java239 final int dw = frame.width();
241 if (surfaceWidth == dw && surfaceHeight == dh) {
352 final int dw = frame.width();
354 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth || dh != mLastSurfaceHeight;
369 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
373 dw + ", " + dh);
384 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
386 dw + ", " + dh + ", " + mBackground.getWidth() + ", " +
393 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(),
395 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.java553 int dw = 0;
556 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
560 dw += mPaddingLeft + mPaddingRight;
563 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
H A DProgressBar.java1709 int dw = 0;
1712 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
1716 dw += mPaddingLeft + mPaddingRight;
1719 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarCompat.java809 int dw = 0;
812 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
816 dw += getPaddingLeft() + getPaddingRight();
819 setMeasuredDimension(resolveSize(dw, widthMeasureSpec),
/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 369 milliseconds