Home
last modified time | relevance | path

Searched refs:radius2 (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPathTools.kt42 fun createStar(radius1: Float, radius2: Float, points: Int): Path { in createStar()
46 lineTo(radius2 * cos(angleStep * (0.5f)), radius2 * sin(angleStep * (0.5f))) in createStar()
49 lineTo(radius2 * cos(angleStep * (i + 0.5f)), radius2 * sin(angleStep * (i + 0.5f))) in createStar()
DVisibleUniverse.kt159 radius2 = star.radius + 250, in drawStar()
175 radius2 = star.radius + 200, in drawStar()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh21 static float alpha, radius2, factor;
42 radius2 = radius*radius;
43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
54 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFisheyeFilter.java161 float radius2 = radius * radius; in updateProgramParams() local
163 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams()
167 mProgram.setHostValue("radius2",radius2); in updateProgramParams()