Searched refs:widthPx (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 526 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/ |
D | GameSessionViewHostConfiguration.java | 56 public GameSessionViewHostConfiguration(int displayId, int widthPx, int heightPx) { in GameSessionViewHostConfiguration() argument 58 this.mWidthPx = widthPx; in GameSessionViewHostConfiguration()
|
D | GameSession.java | 144 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/ |
D | LockSection.kt | 146 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/ |
D | TypedValueTest.kt | 157 val widthPx = TypedValue.complexToDimensionPixelSize(widthDimen, metrics) in <lambda>() constant 158 assertEquals(widthFloat.roundToInt(), widthPx) in <lambda>()
|
/frameworks/base/core/java/android/text/method/ |
D | InsertModeTransformationMethod.java | 123 final int widthPx = (int) Math.ceil( in getPlaceholderText() local 126 singleLinePlaceholder.setSpan(new SingleLinePlaceholderSpan(widthPx), 0, 1, in getPlaceholderText()
|