/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/core/jni/android/graphics/ |
D | ImageDecoder.cpp | 202 jint desiredWidth, jint desiredHeight, jobject jsubset, in ImageDecoder_nDecodeBitmap() argument 208 const SkISize desiredSize = SkISize::Make(desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 363 desiredWidth = subset.width(); in ImageDecoder_nDecodeBitmap() 366 SkImageInfo scaledInfo = bitmapInfo.makeWH(desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 382 desiredWidth, desiredHeight); in ImageDecoder_nDecodeBitmap() 394 float scaleX = (float) desiredWidth / decodeInfo.width(); in ImageDecoder_nDecodeBitmap()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 176 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 177 super.onDesiredSizeChanged(desiredWidth, desiredHeight); in onDesiredSizeChanged() 178 mDesiredWidth = desiredWidth; in onDesiredSizeChanged()
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 158 int32_t desiredWidth = update.state.icon.bitmap.width(); in doUpdateSprites() local 160 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites() 165 desiredWidth, desiredHeight); in doUpdateSprites() 166 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | PagingIndicator.java | 377 int desiredWidth = getDesiredWidth(); in onMeasure() local 384 width = Math.min(desiredWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 388 width = desiredWidth; in onMeasure()
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | CircledImageView.java | 320 float desiredWidth = radius * 2; in onMeasure() local 334 width = (int) Math.min(desiredWidth, widthSize); in onMeasure() 336 width = (int) desiredWidth; in onMeasure()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 578 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 1045 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument 1048 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged() 1049 mIWallpaperEngine.mReqWidth = desiredWidth; in doDesiredSizeChanged() 1051 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 | 279 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 348 int desiredWidth = getMeasuredWidth() - widthPadding; in onMeasure() local 349 if (child.getMeasuredWidth() < desiredWidth) { in onMeasure() 351 desiredWidth, MeasureSpec.EXACTLY); in onMeasure()
|
D | NumberPicker.java | 1707 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize() local 1708 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 2211 constexpr uint32_t desiredWidth = 1024; in TEST_F() local 2227 state.width = desiredWidth; in TEST_F() 2241 EXPECT_EQ(desiredWidth, display.getCurrentDisplayState().width); in TEST_F()
|