/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 65 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 D | Watermark.java | 129 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 D | InputConsumerImpl.java | 70 void layout(int dw, int dh) { argument 71 mWindowHandle.touchableRegion.set(0, 0, dw, dh); 74 mWindowHandle.frameRight = dw;
|
H A D | CircularDisplayMask.java | 149 void positionSurface(int dw, int dh, int rotation) { argument 150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 153 mLastDW = dw;
|
H A D | EmulatorDisplayOverlay.java | 121 void positionSurface(int dw, int dh, int rotation) { argument 122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { 125 mLastDW = dw;
|
H A D | DimLayer.java | 206 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 D | WallpaperController.java | 160 final int dw = displayInfo.logicalWidth; 176 updateWallpaperOffset(wallpaper, dw, dh, false); 247 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { argument 251 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw; 378 final int dw = displayInfo.logicalWidth; 419 if (updateWallpaperOffset(wallpaper, dw, dh, sync)) { 682 final int dw = displayInfo.logicalWidth; 703 updateWallpaperOffset(wallpaper, dw, dh, false);
|
H A D | DockedStackDividerController.java | 198 final int dw = rotated 204 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect); 206 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; 208 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode) / 211 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode) / 215 rotationContext.getResources(), dw, dh, getContentWidth(),
|
H A D | WindowSurfacePlacer.java | 608 final int dw = displayInfo.logicalWidth; 663 mService.mPolicy.beginPostLayoutPolicyLw(dw, dh); 902 final int dw = displayInfo.logicalWidth; 906 mService.mInputConsumer.layout(dw, dh); 910 mService.mWallpaperInputConsumer.layout(dw, dh); 919 + displayContent.layoutNeeded + " dw=" + dw + " dh=" + dh); 922 mService.mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mService.mRotation, 927 mService.mScreenRect.set(0, 0, dw, dh);
|
H A D | WindowManagerService.java | 6121 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument 6124 crop.top = dw - crop.right; 6126 crop.bottom = dw - crop.left; 6133 crop.right = dw - crop.left; 6134 crop.left = dw - tmp; 6208 int dw = displayInfo.logicalWidth; 6210 if (dw == 0 || dh == 0) { 6212 + ": returning null. logical widthxheight=" + dw + "x" + dh); 6353 if (!frame.intersect(0, 0, dw, dh)) { 6358 frame.set(0, 0, dw, d 7222 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int uiMode, int dw, int dh) argument 7241 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, int uiMode) argument 7261 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument 7294 reduceCompatConfigWidthSize(int curSize, int rotation, int uiMode, DisplayMetrics dm, int dw, int dh) argument 7307 computeCompatSmallestWidth(boolean rotated, int uiMode, DisplayMetrics dm, int dw, int dh) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | FileFinder.cpp | 43 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 D | CrunchCache.cpp | 86 DirectoryWalker* dw = new SystemDirectoryWalker(); local 89 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw); 92 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw); 94 delete dw;
|
H A D | FileFinder.h | 27 DirectoryWalker* dw) = 0; 58 DirectoryWalker* dw);
|
/frameworks/base/tools/aapt/tests/ |
H A D | MockFileFinder.h | 37 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 D | DrawableMarginSpan.java | 49 int dw = mDrawable.getIntrinsicWidth(); 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 297 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 D | SurfaceTextureGL_test.cpp | 482 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 D | ImageWallpaper.java | 345 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 D | AbsSeekBar.java | 729 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 D | ProgressBar.java | 1798 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 D | ActionMenuItemView.java | 323 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 D | ActionMenuItemView.java | 305 final int dw = mIcon.getBounds().width(); 306 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 946 uint32_t dw = currentWidth - newWidth; local 947 auto halfdw = dw / 2; 949 // Not halfdw because it would subtract 1 too few when dw is odd 950 outCrop.right -= (dw - halfdw);
|
/frameworks/base/media/tests/contents/media_api/music/ |
H A D | test_amr_ietf.amr | 458 !��~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�<
|