HomeSort by relevance Sort by last modified time
    Searched refs:sinTheta (Results 1 - 7 of 7) sorted by null

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
RotateFilter.java 127 float sinTheta;
132 sinTheta = 0f;
136 sinTheta = ((mAngle + 90) % 360 == 0) ? -1f:1f;
145 Point x0 = new Point(0.5f * (-cosTheta + sinTheta + 1f),
146 0.5f * (-sinTheta - cosTheta + 1f));
147 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f),
148 0.5f * (sinTheta - cosTheta + 1f));
149 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f),
150 0.5f * (-sinTheta + cosTheta + 1f));
151 Point x3 = new Point(0.5f * (cosTheta - sinTheta + 1f)
    [all...]
StraightenFilter.java 122 float sinTheta = (float) Math.sin(mAngle * DEGREE_TO_RADIAN);
128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
129 -sinTheta * mWidth - cosTheta * mHeight);
131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
132 sinTheta * mWidth - cosTheta * mHeight);
134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
135 -sinTheta * mWidth + cosTheta * mHeight);
137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight,
138 sinTheta * mWidth + cosTheta * mHeight);
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
RendererUtils.java 158 float sinTheta = FloatMath.sin(radian);
160 float sinWidth = sinTheta * srcWidth;
162 float sinHeight = sinTheta * srcHeight;
210 float sinTheta = FloatMath.sin(radian);
212 float scale = length / (length + sinTheta * base[0]);
218 scale = length / (length + sinTheta * base[2]);
228 float sinTheta = FloatMath.sin(radian);
230 float scale = length / (length + sinTheta * base[1]);
236 scale = length / (length + sinTheta * base[5]);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
Matrix2fTest.java 185 float sinTheta = (float)Math.sin((float)theta);
188 rotate[1] = -sinTheta;
189 rotate[2] = sinTheta;
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Torus.java 140 float sinTheta = FastMath.sin(theta);
141 radialAxis.set(cosTheta, sinTheta, 0);
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
Blend.cpp     [all...]
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
Blend.cpp     [all...]

Completed in 330 milliseconds