Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
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)
/frameworks/base/core/java/android/service/games/
DGameSessionViewHostConfiguration.java56 public GameSessionViewHostConfiguration(int displayId, int widthPx, int heightPx) { in GameSessionViewHostConfiguration() argument
58 this.mWidthPx = widthPx; in GameSessionViewHostConfiguration()
DGameSession.java144 int widthPx, in attach() argument
151 surfaceControlViewHost.setView(mGameSessionRootView, widthPx, heightPx); in attach()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DLockSection.kt146 var widthPx = windowViewBounds.right.toFloat() in <lambda>() variable
152 widthPx -= (insets.systemWindowInsetLeft + insets.systemWindowInsetRight).toFloat() in <lambda>()
177 x = (widthPx / 2).toInt(), in <lambda>()
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt157 val widthPx = TypedValue.complexToDimensionPixelSize(widthDimen, metrics) in <lambda>() constant
158 assertEquals(widthFloat.roundToInt(), widthPx) in <lambda>()
/frameworks/base/core/java/android/text/method/
DInsertModeTransformationMethod.java123 final int widthPx = (int) Math.ceil( in getPlaceholderText() local
126 singleLinePlaceholder.setSpan(new SingleLinePlaceholderSpan(widthPx), 0, 1, in getPlaceholderText()