/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
H A D | PerspectiveTransformOperation.cpp | 51 TransformationMatrix::DecomposedType decomp; local 52 toT.decompose(decomp); 54 if (decomp.perspectiveZ) { 55 double val = -1.0 / decomp.perspectiveZ;
|
H A D | RotateTransformOperation.cpp | 129 TransformationMatrix::DecomposedType decomp; local 130 toT.decompose(decomp); 133 double x = -decomp.quaternionX; 134 double y = -decomp.quaternionY; 135 double z = -decomp.quaternionZ; 143 angle = rad2deg(std::acos(decomp.quaternionW) * 2);
|
H A D | AffineTransform.cpp | 311 bool AffineTransform::decompose(DecomposedType& decomp) const 339 decomp.scaleX = sx; 340 decomp.scaleY = sy; 341 decomp.angle = angle; 342 decomp.remainderA = m.a(); 343 decomp.remainderB = m.b(); 344 decomp.remainderC = m.c(); 345 decomp.remainderD = m.d(); 346 decomp.translateX = m.e(); 347 decomp 352 recompose(const DecomposedType& decomp) argument [all...] |
H A D | TransformationMatrix.cpp | 1453 bool TransformationMatrix::decompose(DecomposedType& decomp) const 1456 memset(&decomp, 0, sizeof(decomp)); 1457 decomp.perspectiveW = 1; 1458 decomp.scaleX = 1; 1459 decomp.scaleY = 1; 1460 decomp.scaleZ = 1; 1463 if (!blink::decompose(m_matrix, decomp)) 1468 void TransformationMatrix::recompose(const DecomposedType& decomp) argument 1473 m_matrix[0][3] = decomp [all...] |
/external/chromium_org/ui/compositor/ |
H A D | debug_utils.cc | 87 gfx::DecomposedTransform decomp; local 89 gfx::DecomposeTransform(&decomp, layer->transform())) { 91 *out << L"translation: " << std::fixed << decomp.translate[0]; 92 *out << L", " << decomp.translate[1]; 96 *out << std::acos(decomp.quaternion[3]) * 360.0 / M_PI; 99 *out << L"scale: " << decomp.scale[0]; 100 *out << L", " << decomp.scale[1];
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | caniter.cpp | 511 const UChar *decomp=decompString.getBuffer(); local 519 U16_NEXT(decomp, decompPos, decompLen, decompCp); 525 if (cp == decompCp) { // if equal, eat another cp from decomp 529 if (decompPos == decompLen) { // done, have all decomp characters! 534 U16_NEXT(decomp, decompPos, decompLen, decompCp); 547 // if the decomp class < the segment class, we fail
|
H A D | normalizer2.cpp | 425 Norm2AllModes() : comp(impl, FALSE), decomp(impl), fcd(impl), fcc(impl, TRUE) {} 429 DecomposeNormalizer2 decomp; member in struct:Norm2AllModes 515 return nfcSingleton!=NULL ? &nfcSingleton->decomp : NULL; 535 return nfkcSingleton!=NULL ? &nfkcSingleton->decomp : NULL; 684 return &allModes->decomp;
|
H A D | normalizer2impl.cpp | 565 const UChar *decomp=NULL; local 570 return decomp; 577 decomp=buffer; 688 // decomp after-boundary: same as hasFCDBoundaryAfter(),
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol_elm.h | 124 UChar *decomp; member in struct:__anon12117
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | canittst.cpp | 178 UnicodeString decomp, comp; local 183 Normalizer::decompose(s, FALSE, 0, decomp, status); 186 // skip characters that don't have either decomp. 188 if (s == decomp && s == comp) { 198 if (item == decomp) gotDecomp = TRUE;
|
H A D | ucdtest.cpp | 359 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode); local 360 if(decomp.length()>1 && decomp[0]==0x49) { 366 errln("[canon start set of 0049] != [all c with canon decomp with 0049]"); 371 // "[canon start set of 0049]", "[all c with canon decomp with 0049]",
|
H A D | regcoll.cpp | 168 String[] decomp = { 180 static const UChar decomp[][CollationRegressionTest::MAX_TOKEN_LEN] = local 195 compareArray(*c, decomp, ARRAY_LENGTH(decomp));
|
H A D | tstnorm.cpp | 168 logln("testing decomp..."); 272 UnicodeString decomp[1][3]; local 273 decomp[0][0] = str("\\u0f77"); 274 decomp[0][1] = str("\\u0f77"); 275 decomp[0][2] = str("\\u0fb2\\u0f71\\u0f80"); 282 staticTest(UNORM_NFD, 0, decomp, ARRAY_LENGTH(decomp), 1); 283 staticTest(UNORM_NFKD, 0, decomp, ARRAY_LENGTH(decomp), 2);
|
/external/icu/icu4c/source/common/ |
H A D | caniter.cpp | 511 const UChar *decomp=decompString.getBuffer(); local 519 U16_NEXT(decomp, decompPos, decompLen, decompCp); 525 if (cp == decompCp) { // if equal, eat another cp from decomp 529 if (decompPos == decompLen) { // done, have all decomp characters! 534 U16_NEXT(decomp, decompPos, decompLen, decompCp); 547 // if the decomp class < the segment class, we fail
|
H A D | normalizer2.cpp | 425 Norm2AllModes() : comp(impl, FALSE), decomp(impl), fcd(impl), fcc(impl, TRUE) {} 429 DecomposeNormalizer2 decomp; member in struct:Norm2AllModes 515 return nfcSingleton!=NULL ? &nfcSingleton->decomp : NULL; 535 return nfkcSingleton!=NULL ? &nfkcSingleton->decomp : NULL; 684 return &allModes->decomp;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | canittst.cpp | 178 UnicodeString decomp, comp; local 183 Normalizer::decompose(s, FALSE, 0, decomp, status); 186 // skip characters that don't have either decomp. 188 if (s == decomp && s == comp) { 198 if (item == decomp) gotDecomp = TRUE;
|
H A D | ucdtest.cpp | 359 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode); local 360 if(decomp.length()>1 && decomp[0]==0x49) { 366 errln("[canon start set of 0049] != [all c with canon decomp with 0049]"); 371 // "[canon start set of 0049]", "[all c with canon decomp with 0049]",
|
H A D | regcoll.cpp | 161 String[] decomp = { 173 static const UChar decomp[][CollationRegressionTest::MAX_TOKEN_LEN] = local 188 compareArray(*c, decomp, ARRAY_LENGTH(decomp));
|
H A D | tstnorm.cpp | 168 logln("testing decomp..."); 272 UnicodeString decomp[1][3]; local 273 decomp[0][0] = str("\\u0f77"); 274 decomp[0][1] = str("\\u0f77"); 275 decomp[0][2] = str("\\u0fb2\\u0f71\\u0f80"); 282 staticTest(UNORM_NFD, 0, decomp, ARRAY_LENGTH(decomp), 1); 283 staticTest(UNORM_NFKD, 0, decomp, ARRAY_LENGTH(decomp), 2);
|
/external/chromium_org/ui/gfx/ |
H A D | transform_util.cc | 118 SkMatrix44 BuildPerspectiveMatrix(const DecomposedTransform& decomp) { argument 122 matrix.setDouble(3, i, decomp.perspective[i]); 126 SkMatrix44 BuildTranslationMatrix(const DecomposedTransform& decomp) { argument 129 matrix.setTranslate(SkDoubleToMScalar(decomp.translate[0]), 130 SkDoubleToMScalar(decomp.translate[1]), 131 SkDoubleToMScalar(decomp.translate[2])); 135 SkMatrix44 BuildSnappedTranslationMatrix(DecomposedTransform decomp) { argument 136 decomp.translate[0] = Round(decomp.translate[0]); 137 decomp 142 BuildRotationMatrix(const DecomposedTransform& decomp) argument 163 BuildSnappedRotationMatrix(const DecomposedTransform& decomp) argument 183 BuildSkewMatrix(const DecomposedTransform& decomp) argument 206 BuildScaleMatrix(const DecomposedTransform& decomp) argument 214 BuildSnappedScaleMatrix(DecomposedTransform decomp) argument 309 DecomposeTransform(DecomposedTransform* decomp, const Transform& transform) argument 436 ComposeTransform(const DecomposedTransform& decomp) argument 449 DecomposedTransform decomp; local [all...] |
H A D | transform_unittest.cc | 1321 DecomposedTransform decomp; local 1323 EXPECT_EQ(0.0, decomp.translate[i]); 1324 EXPECT_EQ(1.0, decomp.scale[i]); 1325 EXPECT_EQ(0.0, decomp.skew[i]); 1326 EXPECT_EQ(0.0, decomp.quaternion[i]); 1327 EXPECT_EQ(0.0, decomp.perspective[i]); 1329 EXPECT_EQ(1.0, decomp.quaternion[3]); 1330 EXPECT_EQ(1.0, decomp.perspective[3]); 1332 Transform composed = ComposeTransform(decomp); 1345 DecomposedTransform decomp; local [all...] |
/external/zlib/src/contrib/blast/ |
H A D | blast.c | 278 local int decomp(struct state *s) function 399 err = 2; /* then skip decomp(), return error */ 401 err = decomp(&s); /* decompress */
|
/external/chromium_org/ui/events/ |
H A D | event.cc | 492 gfx::DecomposedTransform decomp; local 493 bool success = gfx::DecomposeTransform(&decomp, inverted_root_transform); 495 if (decomp.scale[0]) 496 offset_.set_x(offset_.x() * decomp.scale[0]); 497 if (decomp.scale[1]) 498 offset_.set_y(offset_.y() * decomp.scale[1]); 566 gfx::DecomposedTransform decomp; local 567 bool success = gfx::DecomposeTransform(&decomp, inverted_root_transform); 569 if (decomp.scale[0]) 570 radius_x_ *= decomp [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cnormtst.c | 1477 UChar decomp[32]; local 1487 length=unorm2_getDecomposition(n2, 0x20, decomp, LENGTHOF(decomp), &errorCode); 1492 length=unorm2_getDecomposition(n2, 0xe4, decomp, LENGTHOF(decomp), &errorCode); 1493 if(U_FAILURE(errorCode) || length!=2 || decomp[0]!=0x61 || decomp[1]!=0x308 || decomp[2]!=0) { 1497 length=unorm2_getDecomposition(n2, 0xac01, decomp, LENGTHOF(decomp), 1520 UChar decomp[32]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cnormtst.c | 1477 UChar decomp[32]; local 1487 length=unorm2_getDecomposition(n2, 0x20, decomp, LENGTHOF(decomp), &errorCode); 1492 length=unorm2_getDecomposition(n2, 0xe4, decomp, LENGTHOF(decomp), &errorCode); 1493 if(U_FAILURE(errorCode) || length!=2 || decomp[0]!=0x61 || decomp[1]!=0x308 || decomp[2]!=0) { 1497 length=unorm2_getDecomposition(n2, 0xac01, decomp, LENGTHOF(decomp), 1520 UChar decomp[32]; local [all...] |