Searched refs:desiredWidth (Results 1 - 10 of 10) sorted by relevance

/frameworks/volley/src/com/android/volley/toolbox/
H A DImageRequest.java152 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight,
162 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight);
167 if (tempBitmap != null && (tempBitmap.getWidth() > desiredWidth ||
170 desiredWidth, desiredHeight, true);
195 * @param desiredWidth Desired width of the bitmap
200 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) {
201 double wr = (double) actualWidth / desiredWidth;
199 findBestSampleSize( int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) argument
/frameworks/base/libs/hwui/
H A DLayer.cpp71 uint32_t desiredWidth = computeIdealWidth(width); local
74 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) {
79 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
81 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
88 setSize(desiredWidth, desiredHeight);
103 stencil->resize(desiredWidth, desiredHeight);
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java115 int desiredWidth = 300 + mPaddingLeft + mPaddingRight;
120 return desiredWidth < specSize ? desiredWidth : specSize;
122 return desiredWidth;
/frameworks/base/services/input/
H A DSpriteController.cpp154 int32_t desiredWidth = update.state.icon.bitmap.width(); local
156 if (update.state.surfaceWidth < desiredWidth
163 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight);
167 desiredWidth, desiredHeight);
169 update.state.surfaceWidth = desiredWidth;
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java472 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
784 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
787 + desiredWidth + "," + desiredHeight + "): " + this);
788 mIWallpaperEngine.mReqWidth = desiredWidth;
790 onDesiredSizeChanged(desiredWidth, desiredHeight);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java667 if (lp.desiredWidth < width / curNumItemsPerRow) {
750 int desiredWidth; field in class:IconMenuView.LayoutParams
H A DIconMenuItemView.java265 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint());
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java208 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument
209 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1042 private float computeScaleFactor(int desiredWidth, int desiredHeight, argument
1064 if (desiredWidth > actualWidth) {
1066 (desiredWidth - mMaxTargetWidth);
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java1562 final int desiredWidth = Math.max(minSize, measuredSize);
1563 return resolveSizeAndState(desiredWidth, measureSpec, 0);

Completed in 670 milliseconds