Searched refs:boundsWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | SideFpsOverlayViewModelTest.kt | 105 private var boundsWidth: Int = 0 variable in com.android.systemui.biometrics.ui.viewmodel.SideFpsOverlayViewModelTest 212 kosmos.sideFpsOverlayViewModel.setLottieBounds(Rect(0, 0, boundsWidth, boundsHeight)) in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor() 237 assertThat(overlayViewParams!!.x).isEqualTo(displayWidth - boundsWidth) in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor() 255 kosmos.sideFpsOverlayViewModel.setLottieBounds(Rect(0, 0, boundsWidth, boundsHeight)) in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor() 259 assertThat(overlayViewParams!!.x).isEqualTo(displayWidth - boundsWidth) in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor() 411 boundsWidth = 200 in setupTestConfiguration() 413 sensorLocation = SensorLocationInternal("", 2500, 0, boundsWidth / 2) in setupTestConfiguration() 418 boundsWidth = 100 in setupTestConfiguration()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/ |
D | SideFpsOverlayViewBinderTest.kt | 96 private var boundsWidth: Int = 0 variable in com.android.systemui.biometrics.ui.binder.SideFpsOverlayViewBinderTest 352 boundsWidth = 200 in setupTestConfiguration() 354 sensorLocation = SensorLocationInternal("", 2500, 0, boundsWidth / 2) in setupTestConfiguration() 359 boundsWidth = 100 in setupTestConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 163 val boundsWidth = if (clipMode) widgetState.measureWidth else widgetState.width in applyCurrentState() constant 165 child.setLeftTopRightBottom(left, top, left + boundsWidth, top + boundsHeight) in applyCurrentState()
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 480 float boundsWidth; in metrics() local 482 boundsWidth = Math.max(drawBounds.right, w) - Math.min(0, drawBounds.left); in metrics() 484 boundsWidth = Math.max(drawBounds.right, 0) - Math.min(w, drawBounds.left); in metrics() 486 if (Math.abs(w) > boundsWidth) { in metrics() 491 return Math.signum(w) * boundsWidth; in metrics()
|