Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java112 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth() local
117 return desiredWidth < specSize ? desiredWidth : specSize; in measureWidth()
119 return desiredWidth; in measureWidth()
/aosp14/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java176 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument
177 super.onDesiredSizeChanged(desiredWidth, desiredHeight); in onDesiredSizeChanged()
178 mDesiredWidth = desiredWidth; in onDesiredSizeChanged()
/aosp14/frameworks/base/libs/input/
H A DSpriteController.cpp153 int32_t desiredWidth = update.state.icon.width(); in doUpdateSprites() local
155 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites()
159 update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight); in doUpdateSprites()
160 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMotionHelper.java286 final float desiredWidth = dismissCircleSize * DISMISS_CIRCLE_PERCENT; in animateIntoDismissTarget() local
287 final float desiredHeight = desiredWidth / ratio; in animateIntoDismissTarget()
288 final float destinationX = targetCenter.x - (desiredWidth / 2f); in animateIntoDismissTarget()
299 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DChooserListAdapter.java127 int desiredWidth = textWidth + textView.getPaddingLeft()
129 if (textView.getWidth() > desiredWidth) {
131 params.width = desiredWidth;
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java673 if (lp.desiredWidth < width / curNumItemsPerRow) { in calculateItemFittingMetadata()
757 int desiredWidth; field in IconMenuView.LayoutParams
H A DIconMenuItemView.java283 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
/aosp14/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java460 int desiredWidth = getMeasuredWidth() - widthPadding; in onMeasure() local
461 if (child.getMeasuredWidth() < desiredWidth) { in onMeasure()
463 desiredWidth, MeasureSpec.EXACTLY); in onMeasure()
H A DNumberPicker.java1800 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize() local
1801 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
/aosp14/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java810 public void onDesiredSizeChanged(int desiredWidth, int desiredHeight) { in onDesiredSizeChanged() argument
1568 void doDesiredSizeChanged(int desiredWidth, int desiredHeight) { in doDesiredSizeChanged() argument
1571 + desiredWidth + "," + desiredHeight + "): " + this); in doDesiredSizeChanged()
1572 mIWallpaperEngine.mReqWidth = desiredWidth; in doDesiredSizeChanged()
1574 onDesiredSizeChanged(desiredWidth, desiredHeight); in doDesiredSizeChanged()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...