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

/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java67 final int dw = mLastDW;
70 Rect dirty = new Rect(0, 0, dw, dh);
83 c.clipRect(new Rect(0, 0, dw, mThickness));
93 c.clipRect(new Rect(dw - mThickness, 0, dw, dh));
98 c.clipRect(new Rect(0, dh - mThickness, dw, dh));
119 void positionSurface(int dw, int dh) { argument
120 if (mLastDW == dw && mLastDH == dh) {
123 mLastDW = dw;
125 mSurfaceControl.setSize(dw, d
[all...]
H A DWatermark.java132 void positionSurface(int dw, int dh) { argument
133 if (mLastDW != dw || mLastDH != dh) {
134 mLastDW = dw;
136 mSurfaceControl.setSize(dw, dh);
143 final int dw = mLastDW;
147 Rect dirty = new Rect(0, 0, dw, dh);
162 int div = (dw+mTextWidth)/deltaX;
163 int rem = (dw+mTextWidth) - (div*deltaX);
174 if (x >= dw) {
175 x -= (dw
[all...]
H A DWallpaperWindowToken.java72 void updateWallpaperOffset(int dw, int dh, boolean sync) { argument
76 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) {
85 final int dw = displayInfo.logicalWidth;
99 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false);
127 final int dw = displayInfo.logicalWidth;
134 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false);
H A DEmulatorDisplayOverlay.java117 void positionSurface(int dw, int dh, int rotation) { argument
118 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
121 mLastDW = dw;
H A DCircularDisplayMask.java147 void positionSurface(int dw, int dh, int rotation) { argument
148 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
151 mLastDW = dw;
H A DInputConsumerImpl.java106 void layout(int dw, int dh) { argument
107 mWindowHandle.touchableRegion.set(0, 0, dw, dh);
110 mWindowHandle.frameRight = dw;
H A DDisplayContent.java1176 int dw = realdw;
1184 dw = maxw;
1199 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode,
1201 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode,
1204 mDisplayInfo.logicalWidth = dw;
1230 mBaseDisplayRect.set(0, 0, dw, dh);
1271 final int dw = displayInfo.logicalWidth;
1273 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE;
1280 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation,
1283 (int)(mService.mPolicy.getConfigDisplayHeight(dw, d
1384 computeCompatSmallestWidth(boolean rotated, int uiMode, int dw, int dh, int displayId) argument
1407 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh, int displayId) argument
1421 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument
1461 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode, int displayId) argument
1482 adjustDisplaySizeRanges(DisplayInfo displayInfo, int displayId, int rotation, int uiMode, int dw, int dh) argument
3077 convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) argument
[all...]
H A DDockedStackDividerController.java272 final int dw = rotated
280 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, displayCutout, mTmpRect);
282 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE;
285 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, rotation,
287 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, rotation,
289 mService.mPolicy.getNonDecorInsetsLw(rotation, dw, dh, displayCutout, mTmpRect);
297 config.screenWidthDp = (int) (mService.mPolicy.getConfigDisplayWidth(dw, dh,
299 config.screenHeightDp = (int) (mService.mPolicy.getConfigDisplayHeight(dw, dh,
303 rotationContext.getResources(), dw, dh, getContentWidth(),
H A DWallpaperController.java289 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument
298 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw;
410 final int dw = displayInfo.logicalWidth;
448 mWallpaperTokens.get(curTokenNdx).updateWallpaperOffset(dw, dh, sync);
H A DInputMonitor.java163 void layoutInputConsumers(int dw, int dh) { argument
165 mInputConsumers.valueAt(i).layout(dw, dh);
/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.java89 int dw = mDrawable.getIntrinsicWidth();
93 mDrawable.setBounds(ix, itop, ix + dw, itop + dh);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java287 final int dw = frame.width();
289 boolean surfaceDimensionsChanged = dw != mLastSurfaceWidth
314 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(),
316 final int availw = (int) (mBackground.getWidth() * mScale) - dw;
323 mLastSurfaceWidth = dw;
H A DScreenDecorations.java506 int dw = flipped ? lh : lw;
509 mBoundingPath.set(DisplayCutout.pathFromResources(getResources(), dw, dh));
511 transformPhysicalToLogicalCoordinates(mInfo.rotation, dw, dh, m);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java300 final int dw = mIcon.getBounds().width();
301 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DActionMenuItemView.java293 final int dw = mIcon.getBounds().width();
294 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp481 sp<DisconnectWaiter> dw(new DisconnectWaiter());
482 mConsumer->consumerConnect(dw, false);
489 dw->waitForFrame();
492 dw->waitForFrame();
497 dw->finishDisconnect();
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java748 int dw = 0;
751 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
755 dw += mPaddingLeft + mPaddingRight;
758 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
H A DProgressBar.java1819 int dw = 0;
1824 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
1830 dw += mPaddingLeft + mPaddingRight;
1833 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java469 int dw = r.left + tw + r.right;
470 if (dw < mNumberBackground.getMinimumWidth()) {
471 dw = mNumberBackground.getMinimumWidth();
473 mNumberX = w-r.right-((dw-r.right-r.left)/2);
479 mNumberBackground.setBounds(w-dw, h-dh, w, h);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp894 uint32_t dw = currentWidth - newWidth; local
895 auto halfdw = dw / 2;
897 // Not halfdw because it would subtract 1 too few when dw is odd
898 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 681 milliseconds