Home
last modified time | relevance | path

Searched refs:rad (Results 1 – 10 of 10) 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/packages/SystemUI/src/com/android/systemui/qs/
DQSTileBaseView.java88 final int rad = (int)(mIcon.getHeight() * .85f); in updateRippleSize() local
89 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp64 float rad = size / 4; in createContent() local
65 canvas.drawRoundRect(0, 0, size, size, rad, rad, paint); in createContent()
/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/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/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs33 void setRadius(int rad) {
34 radius = rad;
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java699 float rad = mStrokePaint.getStrokeWidth(); in draw()
700 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw()
701 mRect.right + rad, mRect.bottom + rad, in draw()
739 float rad = Math.min(st.mRadius, in draw()
741 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw()
743 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint); in draw()
1692 float rad = 0;
1695 rad = Math.min(st.mRadius,
1698 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 of 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