/frameworks/base/docs/html/training/graphics/opengl/ |
touch.jd | 17 <li><a href="#angle">Expose the Rotation Angle</a></li> 50 an angle of rotation for a shape.</p> 90 <p>Notice that after calculating the rotation angle, this method calls {@link 106 <h2 id="angle">Expose the Rotation Angle</h2> 108 <p>The example code above requires that you expose the rotation angle through your renderer by 122 <p>To apply the rotation generated by touch input, comment out the code that generates an angle and 123 add {@code mAngle}, which contains the touch input generated angle:</p> 132 // float angle = 0.090f * ((int) time) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 53 // Angle of the line p1-p2 57 // Variation of angle at trail cap. 59 // The start angle of trail cap arc at P1. 61 // The end angle of trail cap arc at P2. 79 // Start angle of the trail arcs. 80 final float angle = (float)(aa * RADIAN_TO_DEGREE); local 82 // Sweep angle of the trail arc at P1. 84 // Sweep angle of the trail arc at P2. 93 mPath.arcTo(mArc1, angle, a1); 96 mPath.arcTo(mArc2, angle, a2) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
AffineTransform.cpp | 136 // angle is in degree. Switch to radian 216 AffineTransform& AffineTransform::skewX(double angle) 218 return shear(tan(deg2rad(angle)), 0); 221 AffineTransform& AffineTransform::skewY(double angle) 223 return shear(0, tan(deg2rad(angle))); 324 srA.angle += srA.angle < 0 ? piDouble : -piDouble; 328 srA.angle = fmod(srA.angle, twoPiDouble); 329 srB.angle = fmod(srB.angle, twoPiDouble) 379 double angle = atan2(m.b(), m.a()); local [all...] |
/external/chromium_org/third_party/icu/source/data/unidata/ |
BidiMirroring.txt | 56 00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 57 00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 64 2039; 203A # SINGLE LEFT-POINTING ANGLE QUOTATION MARK 65 203A; 2039 # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK 190 2329; 232A # LEFT-POINTING ANGLE BRACKET 191 232A; 2329 # RIGHT-POINTING ANGLE BRACKET 196 276C; 276D # MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT 197 276D; 276C # MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT 198 276E; 276F # HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT 199 276F; 276E # HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMEN [all...] |
/external/chromium_org/third_party/skia/third_party/harfbuzz/contrib/tables/ |
BidiMirroring.txt | 47 00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 48 00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 55 2039; 203A # SINGLE LEFT-POINTING ANGLE QUOTATION MARK 56 203A; 2039 # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK 181 2329; 232A # LEFT-POINTING ANGLE BRACKET 182 232A; 2329 # RIGHT-POINTING ANGLE BRACKET 187 276C; 276D # MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT 188 276D; 276C # MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT 189 276E; 276F # HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT 190 276F; 276E # HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMEN [all...] |
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
MyGLRenderer.java | 69 // float angle = 0.090f * ((int) time); 91 * Returns the rotation angle of the triangle shape (mTriangle). 93 * @return - A float representing the rotation angle. 100 * Sets the rotation angle of the triangle shape (mTriangle). 102 public void setAngle(float angle) { 103 mAngle = angle;
|
/external/chromium_org/third_party/skia/gm/ |
hairmodes.cpp | 51 for (int angle = 0; angle < 24; ++angle) { 52 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; 53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; 54 paint.setStrokeWidth(SK_Scalar1 * angle * 2 / 24);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleHairModes.cpp | 53 for (int angle = 0; angle < 24; ++angle) { 54 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; 55 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; 56 paint.setStrokeWidth(SK_Scalar1 * angle * 2 / 24);
|
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 67 float angle = 180.f/M_PI * acos(tmp.z()); local 68 if (angle>1e-3) 69 glRotatef(angle, ax.x(), ax.y(), ax.z()); 88 float angle = 180.f/M_PI * acos(tmp.z()); local 89 if (angle>1e-3) 90 glRotatef(angle, ax.x(), ax.y(), ax.z());
|
trackball.cpp | 28 float angle = 2. * acos(cos_angle); local 30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); 32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis)));
|
/external/skia/gm/ |
hairmodes.cpp | 51 for (int angle = 0; angle < 24; ++angle) { 52 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; 53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; 54 paint.setStrokeWidth(SK_Scalar1 * angle * 2 / 24);
|
/external/skia/samplecode/ |
SampleHairModes.cpp | 53 for (int angle = 0; angle < 24; ++angle) { 54 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; 55 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; 56 paint.setStrokeWidth(SK_Scalar1 * angle * 2 / 24);
|
/frameworks/base/core/java/android/util/ |
FloatMath.java | 51 * @param angle to compute the cosine of, in radians 52 * @return the sine of angle 54 public static native float sin(float angle); 59 * @param angle to compute the cosine of, in radians 60 * @return the cosine of angle 62 public static native float cos(float angle);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSMatrix.cpp | 151 PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::rotateAxisAngle(double x, double y, double z, double angle) const 159 if (std::isnan(angle)) 160 angle = 0; 163 return CSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle)); 166 PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::skewX(double angle) const 168 if (std::isnan(angle)) 169 angle = 0; 170 return CSSMatrix::create(TransformationMatrix(m_matrix).skewX(angle)); 173 PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::skewY(double angle) const 175 if (std::isnan(angle)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGMatrix.idl | 42 SVGMatrix rotate(float angle); 46 SVGMatrix skewX(float angle); 47 SVGMatrix skewY(float angle);
|
/frameworks/base/core/res/res/drawable/ |
progress_horizontal.xml | 27 android:angle="270" 41 android:angle="270" 56 android:angle="270"
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
fountain.rs | 56 float angle = rsRand(3.14f * 2.f); 58 np->delta.x = len * sin(angle); 59 np->delta.y = len * cos(angle);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
fountain.rs | 55 float angle = rsRand(3.14f * 2.f); 57 np->delta.x = len * sin(angle); 58 np->delta.y = len * cos(angle);
|
/packages/apps/MusicFX/res/drawable/ |
progress_vertical.xml | 27 android:angle="180" 41 android:angle="180" 58 android:angle="180"
|
/external/chromium_org/base/ |
os_compat_android.cc | 64 // c = cos(angle); 65 // s = sin(angle); 70 // sincos(angle, &s, &c); 94 void sincos(double angle, double* s, double *c) { 95 *c = cos(angle); 96 *s = sin(angle); 100 void sincosf(float angle, float* s, float* c) { 101 *c = cosf(angle); 102 *s = sinf(angle);
|
/external/chromium_org/chrome/ |
angle.isolate | 16 # but ANGLE doesn't contain the rule which extracts this.
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
vector2.h | 62 // Compute the "heading" of a vector - this is the angle in radians between 64 // @return {!number} The "heading" angle in radians. 66 double angle = atan2(y_, x_); local 67 return angle;
|
/external/chromium_org/third_party/angle/projects/src/ |
copy_scripts.vcxproj | 103 <None Include="..\..\src\angle.gyp"/>
108 <Command>call mkdir "$(OutDir)obj\global_intermediate\angle" 2>nul & set ERRORLEVEL=0 & copy /Y "..\..\src\commit_id.py" "$(OutDir)obj\global_intermediate\angle\commit_id.py"</Command>
109 <Message>Copying commit_id.py to $(OutDir)obj/global_intermediate/angle\commit_id.py</Message>
110 <Outputs>$(OutDir)obj\global_intermediate\angle\commit_id.py</Outputs>
114 <Command>call mkdir "$(OutDir)obj\global_intermediate\angle" 2>nul & set ERRORLEVEL=0 & copy /Y "..\..\src\copy_compiler_dll.bat" "$(OutDir)obj\global_intermediate\angle\copy_compiler_dll.bat"</Command>
115 <Message>Copying copy_compiler_dll.bat to $(OutDir)obj/global_intermediate/angle\copy_compiler_dll.bat</Message>
116 <Outputs>$(OutDir)obj\global_intermediate\angle\copy_compiler_dll.bat</Outputs>
|
translator.vcxproj.filters | 12 <None Include="..\..\src\angle.gyp"/>
|
translator_static.vcxproj.filters | 12 <None Include="..\..\src\angle.gyp"/>
|