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

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
RotateFilter.java 128 float cosTheta;
133 cosTheta = (mAngle % 360 == 0) ? 1f:-1f;
135 cosTheta = 0f;
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 121 float cosTheta = (float) Math.cos(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 157 float cosTheta = FloatMath.cos(radian);
159 float cosWidth = cosTheta * srcWidth;
161 float cosHeight = cosTheta * srcHeight;
209 float cosTheta = FloatMath.cos(radian);
213 vertices[0] = cosTheta * base[0] * scale;
219 vertices[2] = cosTheta * base[2] * scale;
227 float cosTheta = FloatMath.cos(radian);
232 vertices[1] = cosTheta * base[1] * scale;
238 vertices[5] = cosTheta * base[5] * scale;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
Matrix2fTest.java 184 float cosTheta = (float)Math.cos((float)theta);
187 rotate[0] = cosTheta;
190 rotate[3] = cosTheta;
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Torus.java 139 float cosTheta = FastMath.cos(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 119 milliseconds