/external/chromium_org/cc/animation/ |
transform_operations.h | 48 SkMScalar progress) const; 56 SkMScalar min_progress, 57 SkMScalar max_progress, 69 void AppendTranslate(SkMScalar x, SkMScalar y, SkMScalar z); 70 void AppendRotate(SkMScalar x, SkMScalar y, SkMScalar z, SkMScalar degrees) [all...] |
transform_operation.h | 35 SkMScalar perspective_depth; 38 SkMScalar x, y; 42 SkMScalar x, y, z; 46 SkMScalar x, y, z; 51 SkMScalar x, y, z; 54 SkMScalar angle; 61 SkMScalar progress, 67 SkMScalar min_progress, 68 SkMScalar max_progress,
|
transform_operation.cc | 22 const SkMScalar kAngleEpsilon = 1e-4f; 37 SkMScalar* axis_x, 38 SkMScalar* axis_y, 39 SkMScalar* axis_z, 40 SkMScalar* angle_from) { 60 SkMScalar length_2 = from->rotate.axis.x * from->rotate.axis.x + 63 SkMScalar other_length_2 = to->rotate.axis.x * to->rotate.axis.x + 70 SkMScalar dot = to->rotate.axis.x * from->rotate.axis.x + 73 SkMScalar error = 87 static SkMScalar BlendSkMScalars(SkMScalar from [all...] |
transform_operations.cc | 39 SkMScalar progress) const { 47 SkMScalar min_progress, 48 SkMScalar max_progress, 104 void TransformOperations::AppendTranslate(SkMScalar x, 105 SkMScalar y, 106 SkMScalar z) { 117 void TransformOperations::AppendRotate(SkMScalar x, 118 SkMScalar y, 119 SkMScalar z, 120 SkMScalar degrees) [all...] |
transform_operations_unittest.cc | 153 SkMScalar x = 1; 154 SkMScalar y = 2; 155 SkMScalar z = 3; 164 SkMScalar x = 1; 165 SkMScalar y = 2; 166 SkMScalar z = 3; 167 SkMScalar degrees = 80; 176 SkMScalar x = 1; 177 SkMScalar y = 2; 178 SkMScalar z = 3 [all...] |
keyframed_animation_curve_unittest.cc | 17 void ExpectTranslateX(SkMScalar translate_x, const gfx::Transform& transform) {
|
/external/chromium_org/ui/gfx/ |
transform.h | 44 Transform(SkMScalar col1row1, 45 SkMScalar col2row1, 46 SkMScalar col3row1, 47 SkMScalar col4row1, 48 SkMScalar col1row2, 49 SkMScalar col2row2, 50 SkMScalar col3row2, 51 SkMScalar col4row2, 52 SkMScalar col1row3, 53 SkMScalar col2row3 [all...] |
transform_util.h | 26 SkMScalar translate[3]; 27 SkMScalar scale[3]; 28 SkMScalar skew[3]; 29 SkMScalar perspective[4]; 30 SkMScalar quaternion[4];
|
transform.cc | 28 const SkMScalar kEpsilon = 1e-8f; 30 SkMScalar TanDegrees(double degrees) { 35 inline bool ApproximatelyZero(SkMScalar x, SkMScalar tolerance) { 39 inline bool ApproximatelyOne(SkMScalar x, SkMScalar tolerance) { 45 Transform::Transform(SkMScalar col1row1, 46 SkMScalar col2row1, 47 SkMScalar col3row1, 48 SkMScalar col4row1 [all...] |
transform_util.cc | 20 SkMScalar Length3(SkMScalar v[3]) { 27 void Scale3(SkMScalar v[3], SkMScalar scale) { 33 SkMScalar Dot(const SkMScalar* a, const SkMScalar* b) { 41 void Combine(SkMScalar* out, 42 const SkMScalar* a, 43 const SkMScalar* b [all...] |
transform_unittest.cc | 144 const SkMScalar kApproxZero = 146 const SkMScalar kApproxOne = 1 - kApproxZero; [all...] |
/external/chromium_org/third_party/skia/include/utils/ |
SkMatrix44.h | 18 typedef double SkMScalar; 32 static const SkMScalar SK_MScalarPI = 3.141592653589793; 37 typedef float SkMScalar; 51 static const SkMScalar SK_MScalarPI = 3.14159265f; 57 static const SkMScalar SK_MScalar1 = 1; 210 inline SkMScalar get(int row, int col) const { 222 inline void set(int row, int col, SkMScalar value) { 263 void setColMajor(const SkMScalar data[]) { this->setColMajorf(data); } 264 void setRowMajor(const SkMScalar data[]) { this->setRowMajorf(data); } 266 void setColMajor(const SkMScalar data[]) { this->setColMajord(data); [all...] |
/external/skia/include/utils/ |
SkMatrix44.h | 18 typedef double SkMScalar; 32 static const SkMScalar SK_MScalarPI = 3.141592653589793; 37 typedef float SkMScalar; 51 static const SkMScalar SK_MScalarPI = 3.14159265f; 57 static const SkMScalar SK_MScalar1 = 1; 210 inline SkMScalar get(int row, int col) const { 222 inline void set(int row, int col, SkMScalar value) { 263 void setColMajor(const SkMScalar data[]) { this->setColMajorf(data); } 264 void setRowMajor(const SkMScalar data[]) { this->setRowMajorf(data); } 266 void setColMajor(const SkMScalar data[]) { this->setColMajord(data); [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkMatrix44.cpp | 10 static inline bool eq4(const SkMScalar* SK_RESTRICT a, 11 const SkMScalar* SK_RESTRICT b) { 24 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; 25 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; 78 const SkMScalar* src = &fMat[0][0]; 89 const SkMScalar* src = &fMat[0][0]; 100 const SkMScalar* src = &fMat[0][0]; 112 const SkMScalar* src = &fMat[0][0]; 124 SkMScalar* dst = &fMat[0][0]; 137 SkMScalar* dst = &fMat[0][0] [all...] |
/external/skia/src/utils/ |
SkMatrix44.cpp | 10 static inline bool eq4(const SkMScalar* SK_RESTRICT a, 11 const SkMScalar* SK_RESTRICT b) { 24 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; 25 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; 78 const SkMScalar* src = &fMat[0][0]; 89 const SkMScalar* src = &fMat[0][0]; 100 const SkMScalar* src = &fMat[0][0]; 112 const SkMScalar* src = &fMat[0][0]; 124 SkMScalar* dst = &fMat[0][0]; 137 SkMScalar* dst = &fMat[0][0] [all...] |
/external/chromium_org/cc/base/ |
math_util.h | 33 HomogeneousCoordinate(SkMScalar x, SkMScalar y, SkMScalar z, SkMScalar w) { 49 SkMScalar inv_w = SK_MScalar1 / w(); 60 SkMScalar inv_w = SK_MScalar1 / w(); 64 SkMScalar x() const { return vec[0]; } 65 SkMScalar y() const { return vec[1]; } 66 SkMScalar z() const { return vec[2]; } 67 SkMScalar w() const { return vec[3]; [all...] |
math_util.cc | 35 SkMScalar z = -(transform.matrix().get(2, 0) * p.x() + 76 SkMScalar w = 0.00001f; 77 SkMScalar t = (w - h1.w()) / (h2.w() - h1.w()); 79 SkMScalar x = (SK_MScalar1 - t) * h1.x() + t * h2.x(); 80 SkMScalar y = (SK_MScalar1 - t) * h1.y() + t * h2.y(); 81 SkMScalar z = (SK_MScalar1 - t) * h1.z() + t * h2.z(); 119 SkMScalar quad[4 * 2]; // input: 4 x 2D points 129 SkMScalar result[4 * 4]; // output: 4 x 4D homogeneous points
|
/external/skia/tests/ |
Matrix44Test.cpp | 20 static bool nearly_equal_mscalar(SkMScalar a, SkMScalar b) { 21 const SkMScalar tolerance = SK_MScalar1 / 200000; 23 return SkTAbs<SkMScalar>(a - b) <= tolerance; 184 SkMScalar data[] = { 198 SkMScalar src2[] = { 1, 2 }; 199 SkMScalar src4[] = { src2[0], src2[1], 0, 1 }; 200 SkMScalar dstA[4], dstB[4]; 248 SkMScalar dx = 0; 249 SkMScalar dy = 0 [all...] |
/external/skia/bench/ |
Matrix44Bench.cpp | 108 SkMScalar fX, fY, fZ; 245 SkMScalar fX, fY, fZ; 270 SkMScalar fX, fY, fZ;
|
/external/chromium_org/content/common/ |
cc_messages.cc | 255 m->WriteBytes(&column_major_data, sizeof(SkMScalar) * 16); 261 if (!m->ReadBytes(iter, &column_major_data, sizeof(SkMScalar) * 16)) 264 reinterpret_cast<const SkMScalar*>(column_major_data));
|
/external/chromium_org/cc/trees/ |
layer_tree_host_common_unittest.cc | [all...] |