/external/neven/Embedded/common/src/b_BasicEm/ |
Phase.h | 24 * This data type represents a phase or angle value and takes advantage 29 * The phase data type is to be used whereever an angle is needed. 123 * Computes phase from a 2d vector as angle enclosed between vector and (0,0). 124 * It is vec = ( cos( angle ), sin( angle ) );
|
/external/ceres-solver/internal/ceres/ |
rotation_test.cc | 135 *result_listener << "Null axis/angle"; 197 // Transforms a zero axis/angle to a quaternion. 241 // Transforms a unit quaternion to an axis angle. 250 // Transforms a quaternion that rotates by pi about the Y axis to an axis angle. 260 // angle. 302 const double angle = sqrt(angle_axis[0] * angle_axis[0] + local 305 EXPECT_LE(angle, kPi); 310 // Takes a bunch of random axis/angle values, converts them to quaternions, 325 // Angle in [-pi, pi). 343 // Takes a bunch of random quaternions, converts them to axis/angle, [all...] |
/external/chromium_org/cc/animation/ |
transform_operation.cc | 56 *angle_from = from->rotate.angle; 81 // the angle. 82 *angle_from = dot > 0 ? from->rotate.angle : -from->rotate.angle; 126 SkMScalar to_angle = IsOperationIdentity(to) ? 0 : to->rotate.angle; 246 // We will have at most 6 angles to test (excluding from->angle and 247 // to->angle). 255 SkMScalar from_angle = from ? from->rotate.angle : 0.f; 256 SkMScalar to_angle = to ? to->rotate.angle : 0.f;
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
PannerNode.cpp | 308 void PannerNode::setConeInnerAngle(double angle) 310 if (coneInnerAngle() == angle) 315 m_coneEffect.setInnerAngle(angle); 319 void PannerNode::setConeOuterAngle(double angle) 321 if (coneOuterAngle() == angle) 326 m_coneEffect.setOuterAngle(angle); 330 void PannerNode::setConeOuterGain(double angle) 332 if (coneOuterGain() == angle) 337 m_coneEffect.setOuterGain(angle);
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 75 typedef int32_t Angle; 88 #define ANGLE_FROM_FLOAT(x) (Angle)((x)*ANGLE_PI/M_PI) 92 # define ANGLE_FROM_FIXED(x) (Angle)((x) >> (FIXED_BITS - ANGLE_BITS)) 95 # define ANGLE_FROM_FIXED(x) (Angle)((x) << (ANGLE_BITS - FIXED_BITS)) 110 static __inline__ Fixed angle_sin( Angle a ) 115 static __inline__ Fixed angle_cos( Angle a )
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MatrixPaletteRenderer.java | 345 float angle = unitAngle * 135f; local 357 // matrix 1: rotate by "angle" 358 gl.glRotatef(angle, 0, 0, 1.0f); 393 double angle = Math.PI * 2 * i / uSteps; local 394 float x = radius * (float) Math.cos(angle); 396 float z = radius * (float) Math.sin(angle);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 137 * @param rot angle of rotation about rectangle center 161 float angle = getUnrotated(rotatedRect, center, unrotated); local 162 return pointInRotatedRect(point, unrotated, angle); 251 float angle = (float) (Math.atan(dy / dx) * 180 / Math.PI); local 253 m.setRotate(-angle, center[0], center[1]); 257 return angle;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 272 double angle = Math.PI * i / 180.; local 273 float x = cx + (float) (rx * Math.cos(angle)); 274 float y = cy + (float) (ry * Math.sin(angle)); 290 double angle = Math.PI * i / 180.; local 292 float x = cx + (float) (rx * Math.cos(angle)); 293 float y = cy + (float) (ry * Math.sin(angle));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/extensions/ |
XKBgeom.h | 124 short angle; member in struct:_XkbShapeDoodad 139 short angle; member in struct:_XkbTextDoodad 155 short angle; member in struct:_XkbIndicatorDoodad 176 short angle; member in struct:_XkbLogoDoodad 192 short angle; member in struct:_XkbAnyDoodad 238 short angle; member in struct:_XkbSection
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
XKBgeom.h | 124 short angle; member in struct:_XkbShapeDoodad 139 short angle; member in struct:_XkbTextDoodad 155 short angle; member in struct:_XkbIndicatorDoodad 176 short angle; member in struct:_XkbLogoDoodad 192 short angle; member in struct:_XkbAnyDoodad 238 short angle; member in struct:_XkbSection
|
/external/libhevc/common/ |
ihevc_chroma_intra_pred_filters.c | 747 * Intraprediction for mode 2 (sw angle) with reference neighboring samples 794 /* For the angle 45, replication is done from the corresponding angle */ 795 /* intra_pred_ang = tan(angle) in q5 format */ 814 * Intraprediction for mode 34 (ne angle) and mode 18 (nw angle) with 860 /* For mode 18, angle is -45degree */ 863 /* For mode 34, angle is 45degree */ 866 /* For the angle 45 and -45, replication is done from the corresponding angle */ [all...] |
ihevc_intra_pred_filters.c | 1055 * Intraprediction for mode 2 (sw angle) with reference neighboring samples 1099 /* For the angle 45, replication is done from the corresponding angle */ 1100 /* intra_pred_ang = tan(angle) in q5 format */ [all...] |
/frameworks/native/libs/input/tests/ |
InputEvent_test.cpp | 521 static void setRotationMatrix(float matrix[9], float angle) { 522 float sin = sinf(angle); 523 float cos = cosf(angle); 537 // Each point 'i' is a point on a circle of radius ROTATION centered at (3,2) at an angle 540 // and check rotation. We set the orientation to the same angle. 551 float angle = float(i * ARC * PI_180); local 555 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); 556 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2); 557 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, angle); 583 float angle = float((i * ARC + ROTATION) * PI_180) local [all...] |
/frameworks/base/libs/hwui/ |
SpotShadow.cpp | 78 * For each vertex, we need to keep track of its angle, whether it is penumbra or 82 // The angle to the vertex from the centroid. 88 void set(float angle, bool isPenumbra, int index) { 89 mAngle = angle; 96 * Calculate the angle between and x and a y coordinate. 99 static float angle(const Vector2& point, const Vector2& center) { function in namespace:android::uirenderer 386 float pivot = angle(points[p], center); 388 while (angle(points[i], center) > pivot) { 391 while (angle(points[j], center) < pivot) { 545 double angle = 2 * i * M_PI / points local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 103 public void setAngle(float angle) { 104 mAngle = angle;
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
quat.js | 102 * Sets a quat from the given angle and rotation axis, 107 * @param {Number} rad the angle in radians 168 * Rotates a quaternion by the given angle around the X axis 172 * @param {number} rad angle (in radians) to rotate 189 * Rotates a quaternion by the given angle around the Y axis 193 * @param {number} rad angle (in radians) to rotate 210 * Rotates a quaternion by the given angle around the Z axis 214 * @param {number} rad angle (in radians) to rotate
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-raytrace.js | 362 // var angle = 1-dot(view, tri.normal); 363 // angle *= angle; 364 // angle *= angle; 365 // angle *= angle; 366 //grey.reflection = angle;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-raytrace.js | 362 // var angle = 1-dot(view, tri.normal); 363 // angle *= angle; 364 // angle *= angle; 365 // angle *= angle; 366 //grey.reflection = angle;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
3d-raytrace.js | 362 // var angle = 1-dot(view, tri.normal); 363 // angle *= angle; 364 // angle *= angle; 365 // angle *= angle; 366 //grey.reflection = angle;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGMarkerData.h | 39 , angle(useAngle) 45 float angle; member in struct:WebCore::MarkerPosition
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAngle.h | 41 static PassRefPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle) 43 return adoptRef(new SVGMarkerOrientEnumeration(angle));
|
SVGPathElement.h | 73 PassRefPtr<SVGPathSegArcAbs> createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag); 74 PassRefPtr<SVGPathSegArcRel> createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag);
|
SVGPathParser.cpp | 241 float angle; local 245 if (!m_source->parseArcToSegment(rx, ry, angle, largeArc, sweep, targetPoint)) 278 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep); 280 m_consumer->arcTo(rx, ry, angle, largeArc, sweep, targetPoint, m_mode); 412 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatPoint& point2, bool largeArcFlag, bool sweepFlag) 418 pointTransform.rotate(-angle); 436 pointTransform.rotate(-angle); 464 pointTransform.rotate(angle);
|
SVGPathStringBuilder.cpp | 122 void SVGPathStringBuilder::arcTo(float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, const FloatPoint& targetPoint, PathCoordinateMode mode) 127 appendFloat(m_stringBuilder, angle);
|
SVGTransformTearOff.cpp | 91 void SVGTransformTearOff::setRotate(float angle, float cx, float cy, ExceptionState& exceptionState) 98 target()->setRotate(angle, cx, cy);
|