Searched refs:desiredWidth (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 112 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth() local 117 return desiredWidth < specSize ? desiredWidth : specSize; in measureWidth() 119 return desiredWidth; in measureWidth()
|
/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 | 152 int32_t desiredWidth = update.state.icon.width(); in doUpdateSprites() local 154 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites() 158 update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight); in doUpdateSprites() 159 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_SetDisplayStateTest.cpp | 493 constexpr uint32_t desiredWidth = 1024; in TEST_F() local 509 state.width = desiredWidth; in TEST_F() 523 EXPECT_EQ(desiredWidth, display.getCurrentDisplayState().width); in TEST_F()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 290 final float desiredWidth = dismissCircleSize * DISMISS_CIRCLE_PERCENT; in animateIntoDismissTarget() local 291 final float desiredHeight = desiredWidth / ratio; in animateIntoDismissTarget() 292 final float destinationX = targetCenter.x - (desiredWidth / 2f); in animateIntoDismissTarget() 303 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserListAdapter.java | 125 int desiredWidth = textWidth + textView.getPaddingLeft() 127 if (textView.getWidth() > desiredWidth) { 129 params.width = desiredWidth;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 673 if (lp.desiredWidth < width / curNumItemsPerRow) { in calculateItemFittingMetadata() 757 int desiredWidth; field in IconMenuView.LayoutParams
|
D | IconMenuItemView.java | 283 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 452 int desiredWidth = getMeasuredWidth() - widthPadding; in onMeasure() local 453 if (child.getMeasuredWidth() < desiredWidth) { in onMeasure() 455 desiredWidth, MeasureSpec.EXACTLY); in onMeasure()
|
D | NumberPicker.java | 1800 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize() local 1801 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 789 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument 1516 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument 1519 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged() 1520 mIWallpaperEngine.mReqWidth = desiredWidth; in doDesiredSizeChanged() 1522 onDesiredSizeChanged(desiredWidth, desiredHeight); in doDesiredSizeChanged()
|