/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_util.h | 55 GFX_EXPORT Transform ComposeTransform(const DecomposedTransform& decomp);
|
/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 | 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 | 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 | 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/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...] |
/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 | transrt.cpp | 134 UnicodeString decomp; local 136 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 140 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates 141 switch (getType(decomp.charAt(i))) { 142 case 0: t = getType(decomp.charAt(i+1)); 145 case 1: t = getType(decomp.charAt(i-1)); 148 case 2: t = getType(decomp.charAt(i-1)); 180 UnicodeString decomp; local 182 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 191 for (int32_t i = 0; i < decomp [all...] |
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 | 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/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 | transrt.cpp | 134 UnicodeString decomp; local 136 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 140 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates 141 switch (getType(decomp.charAt(i))) { 142 case 0: t = getType(decomp.charAt(i+1)); 145 case 1: t = getType(decomp.charAt(i-1)); 148 case 2: t = getType(decomp.charAt(i-1)); 180 UnicodeString decomp; local 182 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 191 for (int32_t i = 0; i < decomp [all...] |
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 | 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/third_party/icu/source/i18n/ |
H A D | ucol_elm.cpp | 1633 const UChar *decomp; local 1641 decomp = ((enumStruct *)context)->nfcImpl-> 1643 //if((noOfDec = unorm_normalize(comp, len, UNORM_NFD, 0, decomp, 256, status)) > 1 1644 //|| (noOfDec == 1 && *decomp != (UChar)u32)) 1645 if(decomp != NULL) 1649 if(ucol_strcoll(tempColl, comp, len, decomp, noOfDec) != UCOL_EQUAL) { 1655 U16_NEXT(decomp, i, noOfDec, c); 1667 ucol_setText(iter, decomp, noOfDec, status); 1678 el.cPoints = (UChar *)decomp; 1691 ucol_setText(colEl, decomp, noOfDe 1756 UChar decomp[256], comp[256]; local 1871 UChar decomp[256]; local [all...] |
H A D | ucol_elm.h | 124 UChar *decomp; member in struct:__anon12117
|
/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/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/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
|
/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
|
/external/icu/icu4c/source/i18n/ |
H A D | collationbuilder.cpp | 1139 UnicodeString decomp; local 1146 nfd.getDecomposition(composite, decomp); 1147 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, 1183 UChar32 composite, const UnicodeString &decomp, 1187 U_ASSERT(nfdString.char32At(indexAfterLastStarter - 1) == decomp.char32At(0)); 1188 int32_t lastStarterLength = decomp.moveIndex32(0, 1); 1189 if(lastStarterLength == decomp.length()) { 1195 decomp, lastStarterLength, 0x7fffffff) == 0) { 1226 if(decompIndex >= decomp.length()) { break; } 1227 UChar32 decompChar = decomp 1181 mergeCompositeIntoString(const UnicodeString &nfdString, int32_t indexAfterLastStarter, UChar32 composite, const UnicodeString &decomp, UnicodeString &newNFDString, UnicodeString &newString, UErrorCode &errorCode) const argument [all...] |
/external/chromium_org/net/spdy/ |
H A D | spdy_framer.cc | 3080 z_stream* decomp = GetHeaderDecompressor(); local 3081 if (decomp == NULL) { 3090 decomp->next_in = reinterpret_cast<Bytef*>(const_cast<char*>(data)); 3091 decomp->avail_in = len; 3096 while (decomp->avail_in > 0 && processed_successfully) { 3097 decomp->next_out = reinterpret_cast<Bytef*>(buffer); 3098 decomp->avail_out = arraysize(buffer); 3100 int rv = inflate(decomp, Z_SYNC_FLUSH); 3110 if (decomp->adler == dictionary_id) { 3111 rv = inflateSetDictionary(decomp, [all...] |