/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RotateFilter.java | 123 float cosTheta; 128 cosTheta = (mAngle % 360 == 0) ? 1f:-1f; 130 cosTheta = 0f; 140 Point x0 = new Point(0.5f * (-cosTheta + sinTheta + 1f), 141 0.5f * (-sinTheta - cosTheta + 1f)); 142 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f), 143 0.5f * (sinTheta - cosTheta + 1f)); 144 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f), 145 0.5f * (-sinTheta + cosTheta + 1f)); 146 Point x3 = new Point(0.5f * (cosTheta - sinTheta + 1f) [all...] |
StraightenFilter.java | 116 float cosTheta = (float) Math.cos(mAngle * DEGREE_TO_RADIAN); 123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, 124 -sinTheta * mWidth - cosTheta * mHeight); 126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, 127 sinTheta * mWidth - cosTheta * mHeight); 129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, 130 -sinTheta * mWidth + cosTheta * mHeight); 132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, 133 sinTheta * mWidth + cosTheta * mHeight);
|
/frameworks/base/libs/hwui/utils/ |
VectorDrawableUtils.cpp | 130 double cosTheta = cos(theta); 134 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); 135 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); 142 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); 143 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); 144 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; 145 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; 184 double cosTheta = cos(thetaD); 188 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; 189 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
PathParser.java | 603 double cosTheta = Math.cos(thetaD); 607 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; 608 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; 609 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; 610 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; 660 cx = cx * cosTheta - cy * sinTheta; 661 cy = tcx * sinTheta + cy * cosTheta; 697 double cosTheta = Math.cos(theta); 701 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); 702 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
PathParser_Delegate.java | 704 double cosTheta = Math.cos(thetaD); 708 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; 709 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; 710 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; 711 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; 765 cx = cx * cosTheta - cy * sinTheta; 766 cy = tcx * sinTheta + cy * cosTheta; [all...] |
/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
DynamicsModifier.java | 272 float cosTheta = MathUtils.cosDeg(theta), sinTheta = MathUtils.sinDeg(theta), 275 TMP_V3.set(cosTheta *sinPhi, cosPhi, sinTheta*sinPhi); 372 float cosTheta = MathUtils.cosDeg(theta), sinTheta = MathUtils.sinDeg(theta), 374 TMP_V3.set(cosTheta *sinPhi, cosPhi, sinTheta*sinPhi).nor().scl(strength); 419 float cosTheta = MathUtils.cosDeg(theta), sinTheta = MathUtils.sinDeg(theta), 421 TMP_V3.set(cosTheta *sinPhi, cosPhi, sinTheta*sinPhi)
|
/external/autotest/client/deps/webgl_mpd/src/resources/ |
J3DI.js | 263 var cosTheta = Math.cos(theta); 267 var y = cosTheta;
|
/prebuilts/sdk/current/support/graphics/drawable/libs/ |
android-support-vectordrawable.jar | |
/development/perftests/panorama/feature_mos/src/mosaic/ |
Blend.cpp | [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | [all...] |
/prebuilts/devtools/tools/lib/ |
asset-studio.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/24.4.0-alpha1/ |
sdk-common-24.4.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/24.4.0-beta3/ |
sdk-common-24.4.0-beta3.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/24.4.0-beta5/ |
sdk-common-24.4.0-beta5.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/24.4.0-beta6/ |
sdk-common-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/24.5.0/ |
sdk-common-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0/ |
sdk-common-25.0.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-alpha1/ |
sdk-common-25.0.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-alpha3/ |
sdk-common-25.0.0-alpha3.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-alpha5/ |
sdk-common-25.0.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-alpha7/ |
sdk-common-25.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-alpha9/ |
sdk-common-25.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-beta2/ |
sdk-common-25.0.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/25.0.0-beta5/ |
sdk-common-25.0.0-beta5.jar | |