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

/frameworks/base/services/core/java/com/android/server/wm/
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 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 DInputConsumerImpl.java70 void layout(int dw, int dh) { argument
71 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
74 mWindowHandle.frameRight = dw;
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 DEmulatorDisplayOverlay.java121 void positionSurface(int dw, int dh, int rotation) { argument
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
125 mLastDW = dw;
H A DDimLayer.java206 final int dw, dh;
212 dw = (int) (info.logicalWidth * 1.5);
215 xPos = -1 * dw / 6;
217 outBounds.set((int) xPos, (int) yPos, (int) xPos + dw, (int) yPos + dh);
H A DWallpaperController.java160 final int dw = displayInfo.logicalWidth;
176 updateWallpaperOffset(wallpaper, dw, dh, false);
247 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument
254 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw;
381 final int dw = displayInfo.logicalWidth;
422 if (updateWallpaperOffset(wallpaper, dw, dh, sync)) {
706 final int dw = displayInfo.logicalWidth;
727 updateWallpaperOffset(wallpaper, dw, dh, false);
H A DDockedStackDividerController.java200 final int dw = rotated
206 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect);
208 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE;
210 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode) /
213 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode) /
217 rotationContext.getResources(), dw, dh, getContentWidth(),
H A DWindowSurfacePlacer.java612 final int dw = displayInfo.logicalWidth;
667 mService.mPolicy.beginPostLayoutPolicyLw(dw, dh);
904 final int dw = displayInfo.logicalWidth;
908 mService.mInputConsumer.layout(dw, dh);
912 mService.mWallpaperInputConsumer.layout(dw, dh);
921 + displayContent.layoutNeeded + " dw=" + dw + " dh=" + dh);
924 mService.mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mService.mRotation,
929 mService.mScreenRect.set(0, 0, dw, dh);
H A DWindowManagerService.java6303 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument
6306 crop.top = dw - crop.right;
6308 crop.bottom = dw - crop.left;
6315 crop.right = dw - crop.left;
6316 crop.left = dw - tmp;
6418 int dw = displayInfo.logicalWidth;
6420 if (dw == 0 || dh == 0) {
6422 + ": returning null. logical widthxheight=" + dw + "x" + dh);
6574 if (!frame.intersect(0, 0, dw, dh)) {
6579 frame.set(0, 0, dw, d
7505 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int uiMode, int dw, int dh) argument
7524 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode) argument
7544 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument
7577 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh) argument
7590 computeCompatSmallestWidth(boolean rotated, int uiMode, 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.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.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/statusbar/
H A DStatusBarIconView.java297 int dw = r.left + tw + r.right;
298 if (dw < mNumberBackground.getMinimumWidth()) {
299 dw = mNumberBackground.getMinimumWidth();
301 mNumberX = w-r.right-((dw-r.right-r.left)/2);
307 mNumberBackground.setBounds(w-dw, h-dh, w, h);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp482 sp<DisconnectWaiter> dw(new DisconnectWaiter());
483 mConsumer->consumerConnect(dw, false);
490 dw->waitForFrame();
493 dw->waitForFrame();
498 dw->finishDisconnect();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java345 final int dw = frame.width();
347 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth
363 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
367 dw + ", " + dh);
378 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(),
380 final int availw = dw - (int) (mBackground.getWidth() * mScale);
388 final int availwUnscaled = dw - mBackground.getWidth();
397 mLastSurfaceWidth = dw;
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java729 int dw = 0;
732 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
736 dw += mPaddingLeft + mPaddingRight;
739 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
H A DProgressBar.java1798 int dw = 0;
1803 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
1809 dw += mPaddingLeft + mPaddingRight;
1812 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java323 final int dw = mIcon.getBounds().width();
324 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DActionMenuItemView.java307 final int dw = mIcon.getBounds().width();
308 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/native/libs/gui/
H A DGLConsumer.cpp947 uint32_t dw = currentWidth - newWidth; local
948 auto halfdw = dw / 2;
950 // Not halfdw because it would subtract 1 too few when dw is odd
951 outCrop.right -= (dw - halfdw);
/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 462 milliseconds