/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 63 final int dw = mLastDW; in drawIfNeeded() local 66 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() 79 c.clipRect(new Rect(0, 0, dw, mThickness)); in drawIfNeeded() 89 c.clipRect(new Rect(dw - mThickness, 0, dw, dh)); in drawIfNeeded() 94 c.clipRect(new Rect(0, dh - mThickness, dw, dh)); in drawIfNeeded() 115 void positionSurface(int dw, int dh) { in positionSurface() argument 116 if (mLastDW == dw && mLastDH == dh) { in positionSurface() 119 mLastDW = dw; in positionSurface() 121 mSurfaceControl.setBufferSize(dw, dh); in positionSurface()
|
D | Watermark.java | 131 void positionSurface(int dw, int dh) { in positionSurface() argument 132 if (mLastDW != dw || mLastDH != dh) { in positionSurface() 133 mLastDW = dw; in positionSurface() 135 mSurfaceControl.setBufferSize(dw, dh); in positionSurface() 142 final int dw = mLastDW; in drawIfNeeded() local 146 Rect dirty = new Rect(0, 0, dw, dh); in drawIfNeeded() 161 int div = (dw+mTextWidth)/deltaX; in drawIfNeeded() 162 int rem = (dw+mTextWidth) - (div*deltaX); in drawIfNeeded() 173 if (x >= dw) { in drawIfNeeded() 174 x -= (dw+mTextWidth); in drawIfNeeded()
|
D | WallpaperWindowToken.java | 72 void updateWallpaperOffset(int dw, int dh, boolean sync) { in updateWallpaperOffset() argument 76 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) { in updateWallpaperOffset() 85 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibility() local 99 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false); in updateWallpaperVisibility() 127 final int dw = displayInfo.logicalWidth; in updateWallpaperWindows() local 134 wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, false); in updateWallpaperWindows()
|
D | EmulatorDisplayOverlay.java | 115 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument 116 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface() 119 mLastDW = dw; in positionSurface()
|
D | CircularDisplayMask.java | 147 void positionSurface(int dw, int dh, int rotation) { in positionSurface() argument 148 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface() 151 mLastDW = dw; in positionSurface()
|
D | DockedStackDividerController.java | 276 final int dw = rotated in initSnapAlgorithmForRotations() local 285 displayPolicy.getStableInsetsLw(rotation, dw, dh, displayCutout, mTmpRect); in initSnapAlgorithmForRotations() 287 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations() 289 final int appWidth = displayPolicy.getNonDecorDisplayWidth(dw, dh, rotation, in initSnapAlgorithmForRotations() 291 final int appHeight = displayPolicy.getNonDecorDisplayHeight(dw, dh, rotation, in initSnapAlgorithmForRotations() 293 displayPolicy.getNonDecorInsetsLw(rotation, dw, dh, displayCutout, mTmpRect); in initSnapAlgorithmForRotations() 301 config.screenWidthDp = (int) (displayPolicy.getConfigDisplayWidth(dw, dh, rotation, in initSnapAlgorithmForRotations() 303 config.screenHeightDp = (int) (displayPolicy.getConfigDisplayHeight(dw, dh, rotation, in initSnapAlgorithmForRotations() 307 rotationContext.getResources(), dw, dh, getContentWidth(), in initSnapAlgorithmForRotations()
|
D | DisplayContent.java | 1594 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in updateDisplayAndOrientation() local 1601 final int appWidth = mDisplayPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation() 1603 final int appHeight = mDisplayPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation() 1606 mDisplayInfo.logicalWidth = dw; in updateDisplayAndOrientation() 1623 computeSizeRangesAndScreenLayout(mDisplayInfo, rotated, uiMode, dw, dh, in updateDisplayAndOrientation() 1635 mBaseDisplayRect.set(0, 0, dw, dh); in updateDisplayAndOrientation() 1678 final int dw = displayInfo.logicalWidth; in computeScreenConfiguration() local 1680 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in computeScreenConfiguration() 1687 (int)(mDisplayPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation, in computeScreenConfiguration() 1690 (int)(mDisplayPolicy.getConfigDisplayHeight(dw, dh, displayInfo.rotation, in computeScreenConfiguration() [all …]
|
D | InputConsumerImpl.java | 118 void layout(SurfaceControl.Transaction t, int dw, int dh) { in layout() argument 119 mTmpRect.set(0, 0, dw, dh); in layout()
|
D | WallpaperController.java | 285 boolean updateWallpaperOffset(WindowState wallpaperWin, int dw, int dh, boolean sync) { in updateWallpaperOffset() argument 294 int availw = wallpaperWin.getFrameLw().right - wallpaperWin.getFrameLw().left - dw; in updateWallpaperOffset() 402 final int dw = displayInfo.logicalWidth; in updateWallpaperOffsetLocked() local 440 mWallpaperTokens.get(curTokenNdx).updateWallpaperOffset(dw, dh, sync); in updateWallpaperOffsetLocked()
|
D | InputMonitor.java | 194 void layoutInputConsumers(int dw, int dh) { in layoutInputConsumers() argument 198 mInputConsumers.valueAt(i).layout(mInputTransaction, dw, dh); in layoutInputConsumers()
|
D | ActivityRecord.java | 3892 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in CompatDisplayInsets() local 3896 policy.getNonDecorInsetsLw(rotation, dw, dh, cutout, mNonDecorInsets[rotation]); in CompatDisplayInsets() 3904 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in getDisplayBoundsByRotation() local 3906 outBounds.set(0, 0, dw, dh); in getDisplayBoundsByRotation()
|
/frameworks/base/tools/aapt/ |
D | FileFinder.cpp | 43 DirectoryWalker* dw) in findFiles() argument 47 if (!dw->openDir(basePath)) { in findFiles() 55 while ((entry = dw->nextEntry()) != NULL) { in findFiles() 63 DirectoryWalker* copy = dw->clone(); in findFiles() 70 checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore); in findFiles() 75 dw->closeDir(); in findFiles()
|
D | CrunchCache.cpp | 86 DirectoryWalker* dw = new SystemDirectoryWalker(); in loadFiles() local 89 mFileFinder->findFiles(mSourcePath, mExtensions, mSourceFiles,dw); in loadFiles() 92 mFileFinder->findFiles(mDestPath,mExtensions,mDestFiles,dw); in loadFiles() 94 delete dw; in loadFiles()
|
D | FileFinder.h | 27 DirectoryWalker* dw) = 0; 58 DirectoryWalker* dw);
|
/frameworks/base/core/java/android/text/style/ |
D | DrawableMarginSpan.java | 89 int dw = mDrawable.getIntrinsicWidth(); in drawLeadingMargin() local 93 mDrawable.setBounds(ix, itop, ix + dw, itop + dh); in drawLeadingMargin()
|
/frameworks/ml/nn/common/operations/ |
D | HeatmapMaxKeypoint.cpp | 120 for (int32_t dw = -1; dw <= 1; dw++) { in heatmapMaxKeypointFloat32Nhwc() local 123 int32_t w = static_cast<int32_t>(maxIndexWidth) + dw; in heatmapMaxKeypointFloat32Nhwc() 132 localGrid[dh + 1][dw + 1] = heatmapBase[heatmapIndex]; in heatmapMaxKeypointFloat32Nhwc()
|
/frameworks/base/tools/aapt/tests/ |
D | MockFileFinder.h | 37 DirectoryWalker* dw) in findFiles() argument
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 481 sp<DisconnectWaiter> dw(new DisconnectWaiter()); in TEST_F() local 482 mConsumer->consumerConnect(dw, false); in TEST_F() 489 dw->waitForFrame(); in TEST_F() 492 dw->waitForFrame(); in TEST_F() 497 dw->finishDisconnect(); in TEST_F()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.cpp | 381 uint32_t dw = currentWidth - newWidth; in scaleDownCrop() local 382 auto halfdw = dw / 2; in scaleDownCrop() 385 outCrop.right -= (dw - halfdw); in scaleDownCrop()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 302 final int dw = mIcon.getBounds().width(); in onMeasure() local 303 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 504 int dw = r.left + tw + r.right; in placeNumber() local 505 if (dw < mNumberBackground.getMinimumWidth()) { in placeNumber() 506 dw = mNumberBackground.getMinimumWidth(); in placeNumber() 508 mNumberX = w-r.right-((dw-r.right-r.left)/2); in placeNumber() 514 mNumberBackground.setBounds(w-dw, h-dh, w, h); in placeNumber()
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 855 int dw = 0; 858 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); 862 dw += mPaddingLeft + mPaddingRight; 865 setMeasuredDimension(resolveSizeAndState(dw, widthMeasureSpec, 0),
|
D | ProgressBar.java | 2107 int dw = 0; in onMeasure() local 2112 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure() 2118 dw += mPaddingLeft + mPaddingRight; in onMeasure() 2121 final int measuredWidth = resolveSizeAndState(dw, widthMeasureSpec, 0); in onMeasure()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 767 uint32_t dw = currentWidth - newWidth; in scaleDownCrop() local 768 auto halfdw = dw / 2; in scaleDownCrop() 771 outCrop.right -= (dw - halfdw); in scaleDownCrop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 941 int dw = flipped ? lh : lw; in updateBoundingPath() local 944 mBoundingPath.set(DisplayCutout.pathFromResources(getResources(), dw, dh)); in updateBoundingPath() local 946 transformPhysicalToLogicalCoordinates(mInfo.rotation, dw, dh, m); in updateBoundingPath()
|