/frameworks/volley/src/com/android/volley/toolbox/ |
D | ImageRequest.java | 152 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight, in doParse() local 162 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight); in doParse() 167 if (tempBitmap != null && (tempBitmap.getWidth() > desiredWidth || in doParse() 170 desiredWidth, desiredHeight, true); in doParse() 200 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) { in findBestSampleSize() argument 201 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize()
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 118 uint32_t desiredWidth = computeIdealWidth(width); in resize() local 121 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) { in resize() 128 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { in resize() 130 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize); in resize() 137 setSize(desiredWidth, desiredHeight); in resize() 152 stencil->resize(desiredWidth, desiredHeight); in resize()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 115 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth() local 120 return desiredWidth < specSize ? desiredWidth : specSize; in measureWidth() 122 return desiredWidth; in measureWidth()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 168 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 169 super.onDesiredSizeChanged(desiredWidth, desiredHeight); in onDesiredSizeChanged() 170 mDesiredWidth = desiredWidth; in onDesiredSizeChanged()
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 154 int32_t desiredWidth = update.state.icon.bitmap.width(); in doUpdateSprites() local 156 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites() 163 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); in doUpdateSprites() 167 desiredWidth, desiredHeight); in doUpdateSprites() 169 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 493 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 880 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument 883 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged() 884 mIWallpaperEngine.mReqWidth = desiredWidth; in doDesiredSizeChanged() 886 onDesiredSizeChanged(desiredWidth, desiredHeight); in doDesiredSizeChanged()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 667 if (lp.desiredWidth < width / curNumItemsPerRow) { in calculateItemFittingMetadata() 750 int desiredWidth; field in IconMenuView.LayoutParams
|
D | IconMenuItemView.java | 268 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | GlowPadView.java | 1048 private float computeScaleFactor(int desiredWidth, int desiredHeight, 1070 if (desiredWidth > actualWidth) { 1072 (desiredWidth - mMaxTargetWidth);
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1619 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize() local 1620 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|