Home
last modified time | relevance | path

Searched refs:rad (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rs37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) {
38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad));
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) {
45 * sigmoid(pillDistance(p1, p2, img) - rad * (1 + angle / 2)));
57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
58 return (short) (max * sigmoid(cylinderDistance(p1, p2, img) - rad));
61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
65 * sigmoid(cylinderDistance(p1, p2, img) - rad * (1 + angle / 5)));
77 static short circle(float3 center, float circleRadius, float3 normal, float rad,
80 * sigmoid(distanceCircle(center, circleRadius, normal, img) - rad));
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java424 double rad = Math.toRadians(degrees); in native_preRotate() local
425 float sin = (float) Math.sin(rad); in native_preRotate()
426 float cos = (float) Math.cos(rad); in native_preRotate()
996 double rad = Math.toRadians(degrees); in getRotate() local
997 float sin = (float)Math.sin(rad); in getRotate()
998 float cos = (float)Math.cos(rad); in getRotate()
1008 double rad = Math.toRadians(degrees); in setRotate() local
1009 float sin = (float)Math.sin(rad); in setRotate()
1010 float cos = (float)Math.cos(rad); in setRotate()
1038 double rad = Math.toRadians(degrees); in getRotate() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileView.java289 final int rad = (int)(mIcon.getHeight() * 1.25f); in updateRippleSize() local
290 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs33 void setRadius(int rad) {
34 radius = rad;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rs33 void setRadius(int rad) {
34 radius = rad;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold.rs33 void setRadius(int rad) {
34 radius = rad;
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java558 float rad = mStrokePaint.getStrokeWidth(); in draw()
559 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw()
560 mRect.right + rad, mRect.bottom + rad, in draw()
598 float rad = Math.min(st.mRadius, in draw()
600 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw()
602 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint); in draw()
1518 float rad = 0;
1521 rad = Math.min(st.mRadius,
1524 outline.setRoundRect(bounds, rad);
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_motion.jd117 <td rowspan="3">rad/s</td>
131 <td rowspan="6">rad/s</td>
341 <p>The gyroscope measures the rate or rotation in rad/s around a device's x, y,
Dsensors_overview.jd146 <td>Measures a device's rate of rotation in rad/s around each of the three