Searched refs:desiredWidth (Results 1 - 9 of 9) sorted by relevance
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ImageRequest.java | 151 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight, 161 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight); 166 if (tempBitmap != null && (tempBitmap.getWidth() > desiredWidth || 169 desiredWidth, desiredHeight, true); 194 * @param desiredWidth Desired width of the bitmap 199 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) { 200 double wr = (double) actualWidth / desiredWidth; 198 findBestSampleSize( int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) argument
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 115 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; 120 return desiredWidth < specSize ? desiredWidth : specSize; 122 return desiredWidth;
|
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 152 int32_t desiredWidth = update.state.icon.bitmap.width(); local 154 if (update.state.surfaceWidth < desiredWidth 161 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); 165 desiredWidth, desiredHeight); 167 update.state.surfaceWidth = desiredWidth;
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 472 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 D | IconMenuView.java | 667 if (lp.desiredWidth < width / curNumItemsPerRow) { 750 int desiredWidth; field in class:IconMenuView.LayoutParams
|
H A D | IconMenuItemView.java | 265 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 212 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { argument 213 super.onDesiredSizeChanged(desiredWidth, desiredHeight);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 1042 private float computeScaleFactor(int desiredWidth, int desiredHeight, argument 1064 if (desiredWidth > actualWidth) { 1066 (desiredWidth - mMaxTargetWidth);
|
/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 1510 final int desiredWidth = Math.max(minSize, measuredSize); 1511 return resolveSizeAndState(desiredWidth, measureSpec, 0);
|
Completed in 849 milliseconds