Home
last modified time | relevance | path

Searched refs:normalizedPortPosX (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWiredChargingRippleController.kt66 private var normalizedPortPosX: Float = context.resources.getFloat( variable
125 normalizedPortPosX = context.resources.getFloat( in registerCallbacks()
182 width * normalizedPortPosX, height * normalizedPortPosY) in layoutRipple()
186 width * normalizedPortPosY, height * (1 - normalizedPortPosX)) in layoutRipple()
190 width * (1 - normalizedPortPosX), height * (1 - normalizedPortPosY)) in layoutRipple()
194 width * (1 - normalizedPortPosY), height * normalizedPortPosX) in layoutRipple()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/
DWiredChargingRippleControllerTest.kt208 val normalizedPortPosX = in testRipple_layoutsCorrectly() constant
217 expectedCenterY = height * (1 - normalizedPortPosX) in testRipple_layoutsCorrectly()
220 expectedCenterX = width * (1 - normalizedPortPosX) in testRipple_layoutsCorrectly()
225 expectedCenterY = height * normalizedPortPosX in testRipple_layoutsCorrectly()
228 expectedCenterX = width * normalizedPortPosX in testRipple_layoutsCorrectly()