Home
last modified time | relevance | path

Searched refs:SizeAtProgress (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleShaderTest.kt54 val expectedSize0 = RippleShader.SizeAtProgress(t = 0f, width = 100f, height = 100f) in setSizeAtProgresses_hasCorrectSizes()
55 val expectedSize1 = RippleShader.SizeAtProgress(t = 0.2f, width = 1500f, height = 1200f) in setSizeAtProgresses_hasCorrectSizes()
56 val expectedSize2 = RippleShader.SizeAtProgress(t = 0.4f, width = 200f, height = 70f) in setSizeAtProgresses_hasCorrectSizes()
68 val expectedSize0 = RippleShader.SizeAtProgress(t = 0f, width = 100f, height = 100f) in setSizeAtProgresses_sizeListIsSortedByT()
69 val expectedSize1 = RippleShader.SizeAtProgress(t = 0.2f, width = 1500f, height = 1200f) in setSizeAtProgresses_sizeListIsSortedByT()
70 val expectedSize2 = RippleShader.SizeAtProgress(t = 0.4f, width = 200f, height = 70f) in setSizeAtProgresses_sizeListIsSortedByT()
71 val expectedSize3 = RippleShader.SizeAtProgress(t = 0.8f, width = 300f, height = 900f) in setSizeAtProgresses_sizeListIsSortedByT()
72 val expectedSize4 = RippleShader.SizeAtProgress(t = 1f, width = 500f, height = 300f) in setSizeAtProgresses_sizeListIsSortedByT()
93 val expectedSize0 = RippleShader.SizeAtProgress(t = 0f, width = 100f, height = 100f) in update_getsCorrectNextTargetSize()
94 val expectedSize1 = RippleShader.SizeAtProgress(t = 0.2f, width = 1500f, height = 1200f) in update_getsCorrectNextTargetSize()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java53 private RippleShader.SizeAtProgress[] mSizeAtProgressArray;
288 mSizeAtProgressArray = new RippleShader.SizeAtProgress[] { in updateRippleSizeAtProgressList()
291 new RippleShader.SizeAtProgress(0f, 0f, 0f), in updateRippleSizeAtProgressList()
292 new RippleShader.SizeAtProgress(0.3f, width * 0.4f, height * 0.4f), in updateRippleSizeAtProgressList()
293 new RippleShader.SizeAtProgress(1f, maxSize, maxSize) in updateRippleSizeAtProgressList()
297 RippleShader.SizeAtProgress first = mSizeAtProgressArray[0]; in updateRippleSizeAtProgressList()
302 RippleShader.SizeAtProgress second = mSizeAtProgressArray[1]; in updateRippleSizeAtProgressList()
308 RippleShader.SizeAtProgress last = mSizeAtProgressArray[2]; in updateRippleSizeAtProgressList()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt374 data class SizeAtProgress( class
385 @VisibleForTesting var sizes = mutableListOf<SizeAtProgress>()
387 @VisibleForTesting val initialSize = SizeAtProgress(0f, 0f, 0f)
400 setSizeAtProgresses(initialSize, SizeAtProgress(1f, width, height)) in setMaxSize()
408 fun setSizeAtProgresses(vararg sizes: SizeAtProgress) { in setSizeAtProgresses()
DRippleView.kt179 fun setSizeAtProgresses(vararg targetSizes: RippleShader.SizeAtProgress) { in <lambda>()