Home
last modified time | relevance | path

Searched refs:desiredWidth (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java112 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/
DTestWallpaper.java176 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/
DSpriteController.cpp152 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/
DSurfaceFlinger_SetDisplayStateTest.cpp493 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/
DPipMotionHelper.java290 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/
DChooserListAdapter.java125 int desiredWidth = textWidth + textView.getPaddingLeft()
127 if (textView.getWidth() > desiredWidth) {
129 params.width = desiredWidth;
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java673 if (lp.desiredWidth < width / curNumItemsPerRow) { in calculateItemFittingMetadata()
757 int desiredWidth; field in IconMenuView.LayoutParams
DIconMenuItemView.java283 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java452 int desiredWidth = getMeasuredWidth() - widthPadding; in onMeasure() local
453 if (child.getMeasuredWidth() < desiredWidth) { in onMeasure()
455 desiredWidth, MeasureSpec.EXACTLY); in onMeasure()
DNumberPicker.java1800 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/
DWallpaperService.java789 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()