Home
last modified time | relevance | path

Searched refs:widthPx (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
H A DExpandable.kt526 private fun createInsetRoundedRect(widthPx: Float, roundedRect: RoundRect) =
528 left = widthPx,
529 top = widthPx,
530 right = roundedRect.width - widthPx,
531 bottom = roundedRect.height - widthPx,
532 topLeftCornerRadius = roundedRect.topLeftCornerRadius.shrink(widthPx),
533 topRightCornerRadius = roundedRect.topRightCornerRadius.shrink(widthPx),
534 bottomLeftCornerRadius = roundedRect.bottomLeftCornerRadius.shrink(widthPx),
535 bottomRightCornerRadius = roundedRect.bottomRightCornerRadius.shrink(widthPx)
/aosp14/frameworks/base/core/java/android/service/games/
H A DGameSessionViewHostConfiguration.java56 public GameSessionViewHostConfiguration(int displayId, int widthPx, int heightPx) { in GameSessionViewHostConfiguration() argument
58 this.mWidthPx = widthPx; in GameSessionViewHostConfiguration()
H A DGameSession.java144 int widthPx, in attach() argument
151 surfaceControlViewHost.setView(mGameSessionRootView, widthPx, heightPx); in attach()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DTypedValueTest.kt157 val widthPx = TypedValue.complexToDimensionPixelSize(widthDimen, metrics) regex
158 assertEquals(widthFloat.roundToInt(), widthPx)
/aosp14/frameworks/base/core/java/android/text/method/
H A DInsertModeTransformationMethod.java123 final int widthPx = (int) Math.ceil( in getPlaceholderText() local
126 singleLinePlaceholder.setSpan(new SingleLinePlaceholderSpan(widthPx), 0, 1, in getPlaceholderText()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java3575 private void setViewBounds(View view, int widthPx, int heightPx) {
3578 lp = new LayoutParams(widthPx, heightPx);
3582 lp.width = widthPx;