Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java175 final double rotation1 = turbulencePhase * PI_ROTATE_RIGHT + 1.7 * Math.PI; in setNoisePhase() local
177 (float) Math.cos(rotation1), (float) Math.sin(rotation1)); in setNoisePhase()
/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h106 const float rotation1 = turbulencePhase * PI_ROTATE_RIGHT + 1.7 * PI; in draw() local
107 setUniform2f(effectBuilder, "in_tRotation1", cos(rotation1), sin(rotation1)); in draw()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1964 private static void assertRotationsAreCorrectlyReversed(@Surface.Rotation int rotation1, in assertRotationsAreCorrectlyReversed() argument
1966 if (rotation1 == ROTATION_0) { in assertRotationsAreCorrectlyReversed()
1967 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()
1968 } else if (rotation1 == ROTATION_180) { in assertRotationsAreCorrectlyReversed()
1969 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()
1970 } else if (rotation1 == ROTATION_90) { in assertRotationsAreCorrectlyReversed()
1972 } else if (rotation1 == ROTATION_270) { in assertRotationsAreCorrectlyReversed()
1975 throw new IllegalArgumentException("Unknown rotation: " + rotation1 + ", " + rotation2); in assertRotationsAreCorrectlyReversed()