Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rscript37 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/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp61 float rad = size / 4; in createContent() local
62 canvas.drawRoundRect(0, 0, size, size, rad, rad, paint); in createContent()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java430 double rad = Math.toRadians(degrees); in nPreRotate() local
431 float sin = (float) Math.sin(rad); in nPreRotate()
432 float cos = (float) Math.cos(rad); in nPreRotate()
1012 double rad = Math.toRadians(degrees); in getRotate() local
1013 float sin = (float)Math.sin(rad); in getRotate()
1014 float cos = (float)Math.cos(rad); in getRotate()
1024 double rad = Math.toRadians(degrees); in setRotate() local
1025 float sin = (float)Math.sin(rad); in setRotate()
1026 float cos = (float)Math.cos(rad); in setRotate()
1054 double rad = Math.toRadians(degrees); in getRotate() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java149 final int rad = (int) (mIcon.getHeight() * .85f); in updateRippleSize() local
150 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java759 float rad = mStrokePaint.getStrokeWidth(); in draw()
760 canvas.saveLayer(mRect.left - rad, mRect.top - rad, in draw()
761 mRect.right + rad, mRect.bottom + rad, in draw()
799 float rad = Math.min(st.mRadius, in draw()
801 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw()
803 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint); in draw()
1869 float rad = 0; in getOutline() local
1872 rad = Math.min(st.mRadius, in getOutline()
1875 outline.setRoundRect(bounds, rad); in getOutline()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript33 void setRadius(int rad) {
34 radius = rad;
Dthreshold.rscript33 void setRadius(int rad) {
34 radius = rad;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript33 void setRadius(int rad) {
34 radius = rad;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript33 void setRadius(int rad) {
34 radius = rad;