Home
last modified time | relevance | path

Searched refs:rotation2 (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleShader.java179 final double rotation2 = turbulencePhase * PI_ROTATE_LEFT + 2 * Math.PI; in setNoisePhase() local
181 (float) Math.cos(rotation2), (float) Math.sin(rotation2)); in setNoisePhase()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DAnimatedDrawables.h108 const float rotation2 = turbulencePhase * PI_ROTATE_LEFT + 2 * PI; in draw() local
109 setUniform2f(effectBuilder, "in_tRotation2", cos(rotation2), sin(rotation2)); in draw()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayContentTests.java1956 @Surface.Rotation int rotation2) { in assertRotationsAreCorrectlyReversed() argument
1958 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()
1960 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()
1962 assertEquals(ROTATION_270, rotation2); in assertRotationsAreCorrectlyReversed()
1964 assertEquals(ROTATION_90, rotation2); in assertRotationsAreCorrectlyReversed()
1966 throw new IllegalArgumentException("Unknown rotation: " + rotation1 + ", " + rotation2); in assertRotationsAreCorrectlyReversed()