Searched refs:rippleSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleShaderTest.kt | 42 rippleShader.rippleSize.setMaxSize(expectedMaxWidth, expectedMaxHeight) in setMaxSize_hasCorrectSizes() 44 assertThat(rippleShader.rippleSize.sizes.size).isEqualTo(2) in setMaxSize_hasCorrectSizes() 45 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(rippleShader.rippleSize.initialSize) in setMaxSize_hasCorrectSizes() 46 val maxSize = rippleShader.rippleSize.sizes[1] in setMaxSize_hasCorrectSizes() 58 rippleShader.rippleSize.setSizeAtProgresses(expectedSize0, expectedSize1, expectedSize2) in setSizeAtProgresses_hasCorrectSizes() 60 assertThat(rippleShader.rippleSize.sizes.size).isEqualTo(3) in setSizeAtProgresses_hasCorrectSizes() 61 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(expectedSize0) in setSizeAtProgresses_hasCorrectSizes() 62 assertThat(rippleShader.rippleSize.sizes[1]).isEqualTo(expectedSize1) in setSizeAtProgresses_hasCorrectSizes() 63 assertThat(rippleShader.rippleSize.sizes[2]).isEqualTo(expectedSize2) in setSizeAtProgresses_hasCorrectSizes() 75 rippleShader.rippleSize.setSizeAtProgresses( in setSizeAtProgresses_sizeListIsSortedByT() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleShader.kt | 210 val rippleSize = RippleSize() constant 232 rippleSize.update(value) 234 setFloatUniform("in_size", rippleSize.currentWidth, rippleSize.currentHeight) 235 setFloatUniform("in_thickness", rippleSize.currentHeight * 0.5f) 239 Math.min(rippleSize.currentWidth, rippleSize.currentHeight)
|
D | RippleView.kt | 49 rippleShader.rippleSize.setMaxSize(maxWidth, maxHeight) in <lambda>() 180 rippleShader.rippleSize.setSizeAtProgresses(*targetSizes) in <lambda>() 234 val maskRadius = rippleShader.rippleSize.currentWidth in <lambda>() 237 val maskWidth = rippleShader.rippleSize.currentWidth * 2 in <lambda>() 238 val maskHeight = rippleShader.rippleSize.currentHeight * 2 in <lambda>()
|
D | RippleAnimation.kt | 71 rippleSize.setMaxSize(config.maxWidth, config.maxHeight) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | ReceiverChipRippleView.kt | 101 val ratio = rippleShader.rippleSize.currentHeight / newHeight in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthRippleView.kt | 78 rippleShader.rippleSize.setMaxSize(field * 2f, field * 2f) in <lambda>() 343 rippleShader.rippleSize.currentWidth, ripplePaint) in <lambda>()
|