1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/animator/SkCondensedRelease.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,1365 @@ 1.4 + 1.5 +/* 1.6 + * Copyright 2006 The Android Open Source Project 1.7 + * 1.8 + * Use of this source code is governed by a BSD-style license that can be 1.9 + * found in the LICENSE file. 1.10 + */ 1.11 + 1.12 + 1.13 +#include "SkTypes.h" 1.14 +#ifndef SK_BUILD_FOR_UNIX 1.15 +#ifdef SK_RELEASE 1.16 +// This file was automatically generated. 1.17 +// To change it, edit the file with the matching debug info. 1.18 +// Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. 1.19 + 1.20 +static const char gMathStrings[] = 1.21 + "E\0" 1.22 + "LN10\0" 1.23 + "LN2\0" 1.24 + "LOG10E\0" 1.25 + "LOG2E\0" 1.26 + "PI\0" 1.27 + "SQRT1_2\0" 1.28 + "SQRT2\0" 1.29 + "abs\0" 1.30 + "acos\0" 1.31 + "asin\0" 1.32 + "atan\0" 1.33 + "atan2\0" 1.34 + "ceil\0" 1.35 + "cos\0" 1.36 + "exp\0" 1.37 + "floor\0" 1.38 + "log\0" 1.39 + "max\0" 1.40 + "min\0" 1.41 + "pow\0" 1.42 + "random\0" 1.43 + "round\0" 1.44 + "sin\0" 1.45 + "sqrt\0" 1.46 + "tan" 1.47 +; 1.48 + 1.49 +static const SkMemberInfo gMathInfo[] = { 1.50 + {0, -1, 67, 98}, 1.51 + {2, -2, 67, 98}, 1.52 + {7, -3, 67, 98}, 1.53 + {11, -4, 67, 98}, 1.54 + {18, -5, 67, 98}, 1.55 + {24, -6, 67, 98}, 1.56 + {27, -7, 67, 98}, 1.57 + {35, -8, 67, 98}, 1.58 + {41, -1, 66, 98}, 1.59 + {45, -2, 66, 98}, 1.60 + {50, -3, 66, 98}, 1.61 + {55, -4, 66, 98}, 1.62 + {60, -5, 66, 98}, 1.63 + {66, -6, 66, 98}, 1.64 + {71, -7, 66, 98}, 1.65 + {75, -8, 66, 98}, 1.66 + {79, -9, 66, 98}, 1.67 + {85, -10, 66, 98}, 1.68 + {89, -11, 66, 98}, 1.69 + {93, -12, 66, 98}, 1.70 + {97, -13, 66, 98}, 1.71 + {101, -14, 66, 98}, 1.72 + {108, -15, 66, 98}, 1.73 + {114, -16, 66, 98}, 1.74 + {118, -17, 66, 98}, 1.75 + {123, -18, 66, 98} 1.76 +}; 1.77 + 1.78 +static const char gAddStrings[] = 1.79 + "inPlace\0" 1.80 + "offset\0" 1.81 + "use\0" 1.82 + "where" 1.83 +; 1.84 + 1.85 +static const SkMemberInfo gAddInfo[] = { 1.86 + {0, 4, 26, 1}, 1.87 + {8, 8, 96, 1}, 1.88 + {15, 12, 37, 1}, 1.89 + {19, 16, 37, 1} 1.90 +}; 1.91 + 1.92 +static const char gAddCircleStrings[] = 1.93 + "\0" 1.94 + "radius\0" 1.95 + "x\0" 1.96 + "y" 1.97 +; 1.98 + 1.99 +static const SkMemberInfo gAddCircleInfo[] = { 1.100 + {0, 3, 18, 1}, 1.101 + {1, 12, 98, 1}, 1.102 + {8, 16, 98, 1}, 1.103 + {10, 20, 98, 1} 1.104 +}; 1.105 + 1.106 +static const char gUnknown1Strings[] = 1.107 + "direction" 1.108 +; 1.109 + 1.110 +static const SkMemberInfo gUnknown1Info[] = { 1.111 + {0, 8, 75, 1} 1.112 +}; 1.113 + 1.114 +static const char gAddOvalStrings[] = 1.115 + "" 1.116 +; 1.117 + 1.118 +static const SkMemberInfo gAddOvalInfo[] = { 1.119 + {0, 6, 18, 5} 1.120 +}; 1.121 + 1.122 +static const char gAddPathStrings[] = 1.123 + "matrix\0" 1.124 + "path" 1.125 +; 1.126 + 1.127 +static const SkMemberInfo gAddPathInfo[] = { 1.128 + {0, 8, 65, 1}, 1.129 + {7, 12, 74, 1} 1.130 +}; 1.131 + 1.132 +static const char gAddRectangleStrings[] = 1.133 + "\0" 1.134 + "bottom\0" 1.135 + "left\0" 1.136 + "right\0" 1.137 + "top" 1.138 +; 1.139 + 1.140 +static const SkMemberInfo gAddRectangleInfo[] = { 1.141 + {0, 3, 18, 1}, 1.142 + {1, 24, 98, 1}, 1.143 + {8, 12, 98, 1}, 1.144 + {13, 20, 98, 1}, 1.145 + {19, 16, 98, 1} 1.146 +}; 1.147 + 1.148 +static const char gAddRoundRectStrings[] = 1.149 + "\0" 1.150 + "rx\0" 1.151 + "ry" 1.152 +; 1.153 + 1.154 +static const SkMemberInfo gAddRoundRectInfo[] = { 1.155 + {0, 6, 18, 5}, 1.156 + {1, 28, 98, 1}, 1.157 + {4, 32, 98, 1} 1.158 +}; 1.159 + 1.160 +static const char gUnknown2Strings[] = 1.161 + "begin\0" 1.162 + "blend\0" 1.163 + "dur\0" 1.164 + "dynamic\0" 1.165 + "field\0" 1.166 + "formula\0" 1.167 + "from\0" 1.168 + "mirror\0" 1.169 + "repeat\0" 1.170 + "reset\0" 1.171 + "target\0" 1.172 + "to\0" 1.173 + "values" 1.174 +; 1.175 + 1.176 +static const SkMemberInfo gUnknown2Info[] = { 1.177 + {0, 4, 71, 1}, 1.178 + {6, 8, 119, 98}, 1.179 + {12, 16, 71, 1}, 1.180 + {16, -1, 67, 26}, 1.181 + {24, 20, 108, 1}, 1.182 + {30, 24, 40, 1}, 1.183 + {38, 28, 40, 1}, 1.184 + {43, -2, 67, 26}, 1.185 + {50, 32, 98, 1}, 1.186 + {57, -3, 67, 26}, 1.187 + {63, 36, 40, 1}, 1.188 + {70, 40, 40, 1}, 1.189 + {73, -4, 67, 40} 1.190 +}; 1.191 + 1.192 +static const char gAnimateFieldStrings[] = 1.193 + "" 1.194 +; 1.195 + 1.196 +static const SkMemberInfo gAnimateFieldInfo[] = { 1.197 + {0, 8, 18, 13} 1.198 +}; 1.199 + 1.200 +static const char gApplyStrings[] = 1.201 + "animator\0" 1.202 + "begin\0" 1.203 + "dontDraw\0" 1.204 + "dynamicScope\0" 1.205 + "interval\0" 1.206 + "mode\0" 1.207 + "pickup\0" 1.208 + "restore\0" 1.209 + "scope\0" 1.210 + "step\0" 1.211 + "steps\0" 1.212 + "time\0" 1.213 + "transition" 1.214 +; 1.215 + 1.216 +static const SkMemberInfo gApplyInfo[] = { 1.217 + {0, -1, 67, 10}, 1.218 + {9, 4, 71, 1}, 1.219 + {15, 8, 26, 1}, 1.220 + {24, 12, 108, 1}, 1.221 + {37, 16, 71, 1}, 1.222 + {46, 20, 13, 1}, 1.223 + {51, 24, 26, 1}, 1.224 + {58, 28, 26, 1}, 1.225 + {66, 32, 37, 1}, 1.226 + {72, -2, 67, 96}, 1.227 + {77, 36, 96, 1}, 1.228 + {83, -3, 67, 71}, 1.229 + {88, 40, 14, 1} 1.230 +}; 1.231 + 1.232 +static const char gUnknown3Strings[] = 1.233 + "x\0" 1.234 + "y" 1.235 +; 1.236 + 1.237 +static const SkMemberInfo gUnknown3Info[] = { 1.238 + {0, 36, 98, 1}, 1.239 + {2, 40, 98, 1} 1.240 +}; 1.241 + 1.242 +static const char gBitmapStrings[] = 1.243 + "\0" 1.244 + "erase\0" 1.245 + "format\0" 1.246 + "height\0" 1.247 + "rowBytes\0" 1.248 + "width" 1.249 +; 1.250 + 1.251 +static const SkMemberInfo gDrawBitmapInfo[] = { 1.252 + {0, 11, 18, 2}, 1.253 + {1, -1, 67, 15}, 1.254 + {7, 44, 21, 1}, 1.255 + {14, 48, 96, 1}, 1.256 + {21, 52, 96, 1}, 1.257 + {30, 56, 96, 1} 1.258 +}; 1.259 + 1.260 +static const char gBitmapShaderStrings[] = 1.261 + "\0" 1.262 + "filterType\0" 1.263 + "image" 1.264 +; 1.265 + 1.266 +static const SkMemberInfo gDrawBitmapShaderInfo[] = { 1.267 + {0, 66, 18, 2}, 1.268 + {1, 16, 47, 1}, 1.269 + {12, 20, 17, 1} 1.270 +}; 1.271 + 1.272 +static const char gBlurStrings[] = 1.273 + "blurStyle\0" 1.274 + "radius" 1.275 +; 1.276 + 1.277 +static const SkMemberInfo gDrawBlurInfo[] = { 1.278 + {0, 12, 63, 1}, 1.279 + {10, 8, 98, 1} 1.280 +}; 1.281 + 1.282 +static const char gBoundsStrings[] = 1.283 + "\0" 1.284 + "inval" 1.285 +; 1.286 + 1.287 +static const SkMemberInfo gDisplayBoundsInfo[] = { 1.288 + {0, 57, 18, 7}, 1.289 + {1, 32, 26, 1} 1.290 +}; 1.291 + 1.292 +static const char gClipStrings[] = 1.293 + "path\0" 1.294 + "rectangle" 1.295 +; 1.296 + 1.297 +static const SkMemberInfo gDrawClipInfo[] = { 1.298 + {0, 8, 74, 1}, 1.299 + {5, 4, 91, 1} 1.300 +}; 1.301 + 1.302 +static const char gColorStrings[] = 1.303 + "alpha\0" 1.304 + "blue\0" 1.305 + "color\0" 1.306 + "green\0" 1.307 + "hue\0" 1.308 + "red\0" 1.309 + "saturation\0" 1.310 + "value" 1.311 +; 1.312 + 1.313 +static const SkMemberInfo gDrawColorInfo[] = { 1.314 + {0, -1, 67, 98}, 1.315 + {6, -2, 67, 98}, 1.316 + {11, 8, 15, 1}, 1.317 + {17, -3, 67, 98}, 1.318 + {23, -4, 67, 98}, 1.319 + {27, -5, 67, 98}, 1.320 + {31, -6, 67, 98}, 1.321 + {42, -7, 67, 98} 1.322 +}; 1.323 + 1.324 +static const char gCubicToStrings[] = 1.325 + "x1\0" 1.326 + "x2\0" 1.327 + "x3\0" 1.328 + "y1\0" 1.329 + "y2\0" 1.330 + "y3" 1.331 +; 1.332 + 1.333 +static const SkMemberInfo gCubicToInfo[] = { 1.334 + {0, 8, 98, 1}, 1.335 + {3, 16, 98, 1}, 1.336 + {6, 24, 98, 1}, 1.337 + {9, 12, 98, 1}, 1.338 + {12, 20, 98, 1}, 1.339 + {15, 28, 98, 1} 1.340 +}; 1.341 + 1.342 +static const char gDashStrings[] = 1.343 + "intervals\0" 1.344 + "phase" 1.345 +; 1.346 + 1.347 +static const SkMemberInfo gDashInfo[] = { 1.348 + {0, 8, 119, 98}, 1.349 + {10, 16, 98, 1} 1.350 +}; 1.351 + 1.352 +static const char gDataStrings[] = 1.353 + "\0" 1.354 + "name" 1.355 +; 1.356 + 1.357 +static const SkMemberInfo gDataInfo[] = { 1.358 + {0, 32, 18, 3}, 1.359 + {1, 16, 108, 1} 1.360 +}; 1.361 + 1.362 +static const char gDiscreteStrings[] = 1.363 + "deviation\0" 1.364 + "segLength" 1.365 +; 1.366 + 1.367 +static const SkMemberInfo gDiscreteInfo[] = { 1.368 + {0, 8, 98, 1}, 1.369 + {10, 12, 98, 1} 1.370 +}; 1.371 + 1.372 +static const char gDrawToStrings[] = 1.373 + "drawOnce\0" 1.374 + "use" 1.375 +; 1.376 + 1.377 +static const SkMemberInfo gDrawToInfo[] = { 1.378 + {0, 36, 26, 1}, 1.379 + {9, 40, 19, 1} 1.380 +}; 1.381 + 1.382 +static const char gEmbossStrings[] = 1.383 + "ambient\0" 1.384 + "direction\0" 1.385 + "radius\0" 1.386 + "specular" 1.387 +; 1.388 + 1.389 +static const SkMemberInfo gDrawEmbossInfo[] = { 1.390 + {0, -1, 67, 98}, 1.391 + {8, 8, 119, 98}, 1.392 + {18, 16, 98, 1}, 1.393 + {25, -2, 67, 98} 1.394 +}; 1.395 + 1.396 +static const char gEventStrings[] = 1.397 + "code\0" 1.398 + "disable\0" 1.399 + "key\0" 1.400 + "keys\0" 1.401 + "kind\0" 1.402 + "target\0" 1.403 + "x\0" 1.404 + "y" 1.405 +; 1.406 + 1.407 +static const SkMemberInfo gDisplayEventInfo[] = { 1.408 + {0, 4, 43, 1}, 1.409 + {5, 8, 26, 1}, 1.410 + {13, -1, 67, 108}, 1.411 + {17, -2, 67, 108}, 1.412 + {22, 12, 44, 1}, 1.413 + {27, 16, 108, 1}, 1.414 + {34, 20, 98, 1}, 1.415 + {36, 24, 98, 1} 1.416 +}; 1.417 + 1.418 +static const char gFromPathStrings[] = 1.419 + "mode\0" 1.420 + "offset\0" 1.421 + "path" 1.422 +; 1.423 + 1.424 +static const SkMemberInfo gFromPathInfo[] = { 1.425 + {0, 8, 49, 1}, 1.426 + {5, 12, 98, 1}, 1.427 + {12, 16, 74, 1} 1.428 +}; 1.429 + 1.430 +static const char gUnknown4Strings[] = 1.431 + "\0" 1.432 + "offsets\0" 1.433 + "unitMapper" 1.434 +; 1.435 + 1.436 +static const SkMemberInfo gUnknown4Info[] = { 1.437 + {0, 66, 18, 2}, 1.438 + {1, 16, 119, 98}, 1.439 + {9, 24, 108, 1} 1.440 +}; 1.441 + 1.442 +static const char gGStrings[] = 1.443 + "condition\0" 1.444 + "enableCondition" 1.445 +; 1.446 + 1.447 +static const SkMemberInfo gGInfo[] = { 1.448 + {0, 4, 40, 1}, 1.449 + {10, 8, 40, 1} 1.450 +}; 1.451 + 1.452 +static const char gHitClearStrings[] = 1.453 + "targets" 1.454 +; 1.455 + 1.456 +static const SkMemberInfo gHitClearInfo[] = { 1.457 + {0, 4, 119, 36} 1.458 +}; 1.459 + 1.460 +static const char gHitTestStrings[] = 1.461 + "bullets\0" 1.462 + "hits\0" 1.463 + "targets\0" 1.464 + "value" 1.465 +; 1.466 + 1.467 +static const SkMemberInfo gHitTestInfo[] = { 1.468 + {0, 4, 119, 36}, 1.469 + {8, 12, 119, 96}, 1.470 + {13, 20, 119, 36}, 1.471 + {21, 28, 26, 1} 1.472 +}; 1.473 + 1.474 +static const char gImageStrings[] = 1.475 + "\0" 1.476 + "base64\0" 1.477 + "src" 1.478 +; 1.479 + 1.480 +static const SkMemberInfo gImageInfo[] = { 1.481 + {0, 11, 18, 2}, 1.482 + {1, 44, 16, 2}, 1.483 + {8, 52, 108, 1} 1.484 +}; 1.485 + 1.486 +static const char gIncludeStrings[] = 1.487 + "src" 1.488 +; 1.489 + 1.490 +static const SkMemberInfo gIncludeInfo[] = { 1.491 + {0, 4, 108, 1} 1.492 +}; 1.493 + 1.494 +static const char gInputStrings[] = 1.495 + "s32\0" 1.496 + "scalar\0" 1.497 + "string" 1.498 +; 1.499 + 1.500 +static const SkMemberInfo gInputInfo[] = { 1.501 + {0, 4, 96, 1}, 1.502 + {4, 8, 98, 1}, 1.503 + {11, 12, 108, 1} 1.504 +}; 1.505 + 1.506 +static const char gLineStrings[] = 1.507 + "x1\0" 1.508 + "x2\0" 1.509 + "y1\0" 1.510 + "y2" 1.511 +; 1.512 + 1.513 +static const SkMemberInfo gLineInfo[] = { 1.514 + {0, 12, 98, 1}, 1.515 + {3, 16, 98, 1}, 1.516 + {6, 20, 98, 1}, 1.517 + {9, 24, 98, 1} 1.518 +}; 1.519 + 1.520 +static const char gLineToStrings[] = 1.521 + "x\0" 1.522 + "y" 1.523 +; 1.524 + 1.525 +static const SkMemberInfo gLineToInfo[] = { 1.526 + {0, 8, 98, 1}, 1.527 + {2, 12, 98, 1} 1.528 +}; 1.529 + 1.530 +static const char gLinearGradientStrings[] = 1.531 + "\0" 1.532 + "points" 1.533 +; 1.534 + 1.535 +static const SkMemberInfo gLinearGradientInfo[] = { 1.536 + {0, 26, 18, 3}, 1.537 + {1, 48, 77, 4} 1.538 +}; 1.539 + 1.540 +static const char gMatrixStrings[] = 1.541 + "matrix\0" 1.542 + "perspectX\0" 1.543 + "perspectY\0" 1.544 + "rotate\0" 1.545 + "scale\0" 1.546 + "scaleX\0" 1.547 + "scaleY\0" 1.548 + "skewX\0" 1.549 + "skewY\0" 1.550 + "translate\0" 1.551 + "translateX\0" 1.552 + "translateY" 1.553 +; 1.554 + 1.555 +static const SkMemberInfo gDrawMatrixInfo[] = { 1.556 + {0, 4, 119, 98}, 1.557 + {7, -1, 67, 98}, 1.558 + {17, -2, 67, 98}, 1.559 + {27, -3, 67, 98}, 1.560 + {34, -4, 67, 98}, 1.561 + {40, -5, 67, 98}, 1.562 + {47, -6, 67, 98}, 1.563 + {54, -7, 67, 98}, 1.564 + {60, -8, 67, 98}, 1.565 + {66, -9, 67, 77}, 1.566 + {76, -10, 67, 98}, 1.567 + {87, -11, 67, 98} 1.568 +}; 1.569 + 1.570 +static const char gMoveStrings[] = 1.571 + "" 1.572 +; 1.573 + 1.574 +static const SkMemberInfo gMoveInfo[] = { 1.575 + {0, 1, 18, 4} 1.576 +}; 1.577 + 1.578 +static const char gMoveToStrings[] = 1.579 + "x\0" 1.580 + "y" 1.581 +; 1.582 + 1.583 +static const SkMemberInfo gMoveToInfo[] = { 1.584 + {0, 8, 98, 1}, 1.585 + {2, 12, 98, 1} 1.586 +}; 1.587 + 1.588 +static const char gMovieStrings[] = 1.589 + "src" 1.590 +; 1.591 + 1.592 +static const SkMemberInfo gMovieInfo[] = { 1.593 + {0, 4, 108, 1} 1.594 +}; 1.595 + 1.596 +static const char gOvalStrings[] = 1.597 + "" 1.598 +; 1.599 + 1.600 +static const SkMemberInfo gOvalInfo[] = { 1.601 + {0, 57, 18, 7} 1.602 +}; 1.603 + 1.604 +static const char gPaintStrings[] = 1.605 + "antiAlias\0" 1.606 + "ascent\0" 1.607 + "color\0" 1.608 + "descent\0" 1.609 + "filterType\0" 1.610 + "linearText\0" 1.611 + "maskFilter\0" 1.612 + "measureText\0" 1.613 + "pathEffect\0" 1.614 + "shader\0" 1.615 + "strikeThru\0" 1.616 + "stroke\0" 1.617 + "strokeCap\0" 1.618 + "strokeJoin\0" 1.619 + "strokeMiter\0" 1.620 + "strokeWidth\0" 1.621 + "style\0" 1.622 + "textAlign\0" 1.623 + "textScaleX\0" 1.624 + "textSize\0" 1.625 + "textSkewX\0" 1.626 + "textTracking\0" 1.627 + "typeface\0" 1.628 + "underline\0" 1.629 + "xfermode" 1.630 +; 1.631 + 1.632 +static const SkMemberInfo gDrawPaintInfo[] = { 1.633 + {0, 4, 26, 1}, 1.634 + {10, -1, 67, 98}, 1.635 + {17, 8, 31, 1}, 1.636 + {23, -2, 67, 98}, 1.637 + {31, 12, 47, 1}, 1.638 + {42, 16, 26, 1}, 1.639 + {53, 20, 62, 1}, 1.640 + {64, -1, 66, 98}, 1.641 + {76, 24, 76, 1}, 1.642 + {87, 28, 102, 1}, 1.643 + {94, 32, 26, 1}, 1.644 + {105, 36, 26, 1}, 1.645 + {112, 40, 27, 1}, 1.646 + {122, 44, 58, 1}, 1.647 + {133, 48, 98, 1}, 1.648 + {145, 52, 98, 1}, 1.649 + {157, 56, 109, 1}, 1.650 + {163, 60, 9, 1}, 1.651 + {173, 64, 98, 1}, 1.652 + {184, 68, 98, 1}, 1.653 + {193, 72, 98, 1}, 1.654 + {203, 76, 98, 1}, 1.655 + {216, 80, 120, 1}, 1.656 + {225, 84, 26, 1}, 1.657 + {235, 88, 121, 1} 1.658 +}; 1.659 + 1.660 +static const char gPathStrings[] = 1.661 + "d\0" 1.662 + "fillType\0" 1.663 + "length" 1.664 +; 1.665 + 1.666 +static const SkMemberInfo gDrawPathInfo[] = { 1.667 + {0, 32, 108, 1}, 1.668 + {2, -1, 67, 46}, 1.669 + {11, -2, 67, 98} 1.670 +}; 1.671 + 1.672 +static const char gUnknown5Strings[] = 1.673 + "x\0" 1.674 + "y\0" 1.675 + "z" 1.676 +; 1.677 + 1.678 +static const SkMemberInfo gUnknown5Info[] = { 1.679 + {0, 0, 98, 1}, 1.680 + {2, 4, 98, 1}, 1.681 + {4, 8, 98, 1} 1.682 +}; 1.683 + 1.684 +static const char gPointStrings[] = 1.685 + "x\0" 1.686 + "y" 1.687 +; 1.688 + 1.689 +static const SkMemberInfo gDrawPointInfo[] = { 1.690 + {0, 4, 98, 1}, 1.691 + {2, 8, 98, 1} 1.692 +}; 1.693 + 1.694 +static const char gPolyToPolyStrings[] = 1.695 + "destination\0" 1.696 + "source" 1.697 +; 1.698 + 1.699 +static const SkMemberInfo gPolyToPolyInfo[] = { 1.700 + {0, 12, 80, 1}, 1.701 + {12, 8, 80, 1} 1.702 +}; 1.703 + 1.704 +static const char gPolygonStrings[] = 1.705 + "" 1.706 +; 1.707 + 1.708 +static const SkMemberInfo gPolygonInfo[] = { 1.709 + {0, 47, 18, 1} 1.710 +}; 1.711 + 1.712 +static const char gPolylineStrings[] = 1.713 + "points" 1.714 +; 1.715 + 1.716 +static const SkMemberInfo gPolylineInfo[] = { 1.717 + {0, 56, 119, 98} 1.718 +}; 1.719 + 1.720 +static const char gPostStrings[] = 1.721 + "delay\0" 1.722 + "initialized\0" 1.723 + "mode\0" 1.724 + "sink\0" 1.725 + "target\0" 1.726 + "type" 1.727 +; 1.728 + 1.729 +static const SkMemberInfo gPostInfo[] = { 1.730 + {0, 4, 71, 1}, 1.731 + {6, 8, 26, 1}, 1.732 + {18, 12, 45, 1}, 1.733 + {23, -1, 67, 108}, 1.734 + {28, -2, 67, 108}, 1.735 + {35, -3, 67, 108} 1.736 +}; 1.737 + 1.738 +static const char gQuadToStrings[] = 1.739 + "x1\0" 1.740 + "x2\0" 1.741 + "y1\0" 1.742 + "y2" 1.743 +; 1.744 + 1.745 +static const SkMemberInfo gQuadToInfo[] = { 1.746 + {0, 8, 98, 1}, 1.747 + {3, 16, 98, 1}, 1.748 + {6, 12, 98, 1}, 1.749 + {9, 20, 98, 1} 1.750 +}; 1.751 + 1.752 +static const char gRCubicToStrings[] = 1.753 + "" 1.754 +; 1.755 + 1.756 +static const SkMemberInfo gRCubicToInfo[] = { 1.757 + {0, 18, 18, 6} 1.758 +}; 1.759 + 1.760 +static const char gRLineToStrings[] = 1.761 + "" 1.762 +; 1.763 + 1.764 +static const SkMemberInfo gRLineToInfo[] = { 1.765 + {0, 34, 18, 2} 1.766 +}; 1.767 + 1.768 +static const char gRMoveToStrings[] = 1.769 + "" 1.770 +; 1.771 + 1.772 +static const SkMemberInfo gRMoveToInfo[] = { 1.773 + {0, 38, 18, 2} 1.774 +}; 1.775 + 1.776 +static const char gRQuadToStrings[] = 1.777 + "" 1.778 +; 1.779 + 1.780 +static const SkMemberInfo gRQuadToInfo[] = { 1.781 + {0, 49, 18, 4} 1.782 +}; 1.783 + 1.784 +static const char gRadialGradientStrings[] = 1.785 + "\0" 1.786 + "center\0" 1.787 + "radius" 1.788 +; 1.789 + 1.790 +static const SkMemberInfo gRadialGradientInfo[] = { 1.791 + {0, 26, 18, 3}, 1.792 + {1, 48, 77, 2}, 1.793 + {8, 56, 98, 1} 1.794 +}; 1.795 + 1.796 +static const char gRandomStrings[] = 1.797 + "blend\0" 1.798 + "max\0" 1.799 + "min\0" 1.800 + "random\0" 1.801 + "seed" 1.802 +; 1.803 + 1.804 +static const SkMemberInfo gDisplayRandomInfo[] = { 1.805 + {0, 4, 98, 1}, 1.806 + {6, 12, 98, 1}, 1.807 + {10, 8, 98, 1}, 1.808 + {14, 1, 67, 98}, 1.809 + {21, -2, 67, 96} 1.810 +}; 1.811 + 1.812 +static const char gRectToRectStrings[] = 1.813 + "destination\0" 1.814 + "source" 1.815 +; 1.816 + 1.817 +static const SkMemberInfo gRectToRectInfo[] = { 1.818 + {0, 12, 91, 1}, 1.819 + {12, 8, 91, 1} 1.820 +}; 1.821 + 1.822 +static const char gRectangleStrings[] = 1.823 + "bottom\0" 1.824 + "height\0" 1.825 + "left\0" 1.826 + "needsRedraw\0" 1.827 + "right\0" 1.828 + "top\0" 1.829 + "width" 1.830 +; 1.831 + 1.832 +static const SkMemberInfo gRectangleInfo[] = { 1.833 + {0, 24, 98, 1}, 1.834 + {7, -1, 67, 98}, 1.835 + {14, 12, 98, 1}, 1.836 + {19, -2, 67, 26}, 1.837 + {31, 20, 98, 1}, 1.838 + {37, 16, 98, 1}, 1.839 + {41, -3, 67, 98} 1.840 +}; 1.841 + 1.842 +static const char gRemoveStrings[] = 1.843 + "offset\0" 1.844 + "where" 1.845 +; 1.846 + 1.847 +static const SkMemberInfo gRemoveInfo[] = { 1.848 + {0, 8, 96, 1}, 1.849 + {7, 16, 37, 1} 1.850 +}; 1.851 + 1.852 +static const char gReplaceStrings[] = 1.853 + "" 1.854 +; 1.855 + 1.856 +static const SkMemberInfo gReplaceInfo[] = { 1.857 + {0, 1, 18, 4} 1.858 +}; 1.859 + 1.860 +static const char gRotateStrings[] = 1.861 + "center\0" 1.862 + "degrees" 1.863 +; 1.864 + 1.865 +static const SkMemberInfo gRotateInfo[] = { 1.866 + {0, 12, 77, 2}, 1.867 + {7, 8, 98, 1} 1.868 +}; 1.869 + 1.870 +static const char gRoundRectStrings[] = 1.871 + "\0" 1.872 + "rx\0" 1.873 + "ry" 1.874 +; 1.875 + 1.876 +static const SkMemberInfo gRoundRectInfo[] = { 1.877 + {0, 57, 18, 7}, 1.878 + {1, 32, 98, 1}, 1.879 + {4, 36, 98, 1} 1.880 +}; 1.881 + 1.882 +static const char gS32Strings[] = 1.883 + "value" 1.884 +; 1.885 + 1.886 +static const SkMemberInfo gS32Info[] = { 1.887 + {0, 4, 96, 1} 1.888 +}; 1.889 + 1.890 +static const char gScalarStrings[] = 1.891 + "value" 1.892 +; 1.893 + 1.894 +static const SkMemberInfo gScalarInfo[] = { 1.895 + {0, 4, 98, 1} 1.896 +}; 1.897 + 1.898 +static const char gScaleStrings[] = 1.899 + "center\0" 1.900 + "x\0" 1.901 + "y" 1.902 +; 1.903 + 1.904 +static const SkMemberInfo gScaleInfo[] = { 1.905 + {0, 16, 77, 2}, 1.906 + {7, 8, 98, 1}, 1.907 + {9, 12, 98, 1} 1.908 +}; 1.909 + 1.910 +static const char gSetStrings[] = 1.911 + "begin\0" 1.912 + "dur\0" 1.913 + "dynamic\0" 1.914 + "field\0" 1.915 + "formula\0" 1.916 + "reset\0" 1.917 + "target\0" 1.918 + "to" 1.919 +; 1.920 + 1.921 +static const SkMemberInfo gSetInfo[] = { 1.922 + {0, 4, 71, 1}, 1.923 + {6, 16, 71, 1}, 1.924 + {10, -1, 67, 26}, 1.925 + {18, 20, 108, 1}, 1.926 + {24, 24, 40, 1}, 1.927 + {32, -3, 67, 26}, 1.928 + {38, 36, 40, 1}, 1.929 + {45, 40, 40, 1} 1.930 +}; 1.931 + 1.932 +static const char gShaderStrings[] = 1.933 + "matrix\0" 1.934 + "tileMode" 1.935 +; 1.936 + 1.937 +static const SkMemberInfo gShaderInfo[] = { 1.938 + {0, 8, 65, 1}, 1.939 + {7, 12, 116, 1} 1.940 +}; 1.941 + 1.942 +static const char gSkewStrings[] = 1.943 + "center\0" 1.944 + "x\0" 1.945 + "y" 1.946 +; 1.947 + 1.948 +static const SkMemberInfo gSkewInfo[] = { 1.949 + {0, 16, 77, 2}, 1.950 + {7, 8, 98, 1}, 1.951 + {9, 12, 98, 1} 1.952 +}; 1.953 + 1.954 +static const char g3D_CameraStrings[] = 1.955 + "axis\0" 1.956 + "hackHeight\0" 1.957 + "hackWidth\0" 1.958 + "location\0" 1.959 + "observer\0" 1.960 + "patch\0" 1.961 + "zenith" 1.962 +; 1.963 + 1.964 +static const SkMemberInfo g3D_CameraInfo[] = { 1.965 + {0, 24, 106, 3}, 1.966 + {5, 8, 98, 1}, 1.967 + {16, 4, 98, 1}, 1.968 + {26, 12, 106, 3}, 1.969 + {35, 48, 106, 3}, 1.970 + {44, 96, 105, 1}, 1.971 + {50, 36, 106, 3} 1.972 +}; 1.973 + 1.974 +static const char g3D_PatchStrings[] = 1.975 + "origin\0" 1.976 + "rotateDegrees\0" 1.977 + "u\0" 1.978 + "v" 1.979 +; 1.980 + 1.981 +static const SkMemberInfo g3D_PatchInfo[] = { 1.982 + {0, 28, 106, 3}, 1.983 + {7, -1, 66, 98}, 1.984 + {21, 4, 106, 3}, 1.985 + {23, 16, 106, 3} 1.986 +}; 1.987 + 1.988 +static const char gUnknown6Strings[] = 1.989 + "x\0" 1.990 + "y\0" 1.991 + "z" 1.992 +; 1.993 + 1.994 +static const SkMemberInfo gUnknown6Info[] = { 1.995 + {0, 0, 98, 1}, 1.996 + {2, 4, 98, 1}, 1.997 + {4, 8, 98, 1} 1.998 +}; 1.999 + 1.1000 +static const char gSnapshotStrings[] = 1.1001 + "filename\0" 1.1002 + "quality\0" 1.1003 + "sequence\0" 1.1004 + "type" 1.1005 +; 1.1006 + 1.1007 +static const SkMemberInfo gSnapshotInfo[] = { 1.1008 + {0, 4, 108, 1}, 1.1009 + {9, 8, 98, 1}, 1.1010 + {17, 12, 26, 1}, 1.1011 + {26, 16, 20, 1} 1.1012 +}; 1.1013 + 1.1014 +static const char gStringStrings[] = 1.1015 + "length\0" 1.1016 + "slice\0" 1.1017 + "value" 1.1018 +; 1.1019 + 1.1020 +static const SkMemberInfo gStringInfo[] = { 1.1021 + {0, -1, 67, 96}, 1.1022 + {7, -1, 66, 108}, 1.1023 + {13, 4, 108, 1} 1.1024 +}; 1.1025 + 1.1026 +static const char gTextStrings[] = 1.1027 + "length\0" 1.1028 + "text\0" 1.1029 + "x\0" 1.1030 + "y" 1.1031 +; 1.1032 + 1.1033 +static const SkMemberInfo gTextInfo[] = { 1.1034 + {0, -1, 67, 96}, 1.1035 + {7, 12, 108, 1}, 1.1036 + {12, 16, 98, 1}, 1.1037 + {14, 20, 98, 1} 1.1038 +}; 1.1039 + 1.1040 +static const char gTextBoxStrings[] = 1.1041 + "\0" 1.1042 + "mode\0" 1.1043 + "spacingAdd\0" 1.1044 + "spacingAlign\0" 1.1045 + "spacingMul\0" 1.1046 + "text" 1.1047 +; 1.1048 + 1.1049 +static const SkMemberInfo gTextBoxInfo[] = { 1.1050 + {0, 57, 18, 7}, 1.1051 + {1, 44, 113, 1}, 1.1052 + {6, 40, 98, 1}, 1.1053 + {17, 48, 112, 1}, 1.1054 + {30, 36, 98, 1}, 1.1055 + {41, 32, 108, 1} 1.1056 +}; 1.1057 + 1.1058 +static const char gTextOnPathStrings[] = 1.1059 + "offset\0" 1.1060 + "path\0" 1.1061 + "text" 1.1062 +; 1.1063 + 1.1064 +static const SkMemberInfo gTextOnPathInfo[] = { 1.1065 + {0, 12, 98, 1}, 1.1066 + {7, 16, 74, 1}, 1.1067 + {12, 20, 110, 1} 1.1068 +}; 1.1069 + 1.1070 +static const char gTextToPathStrings[] = 1.1071 + "path\0" 1.1072 + "text" 1.1073 +; 1.1074 + 1.1075 +static const SkMemberInfo gTextToPathInfo[] = { 1.1076 + {0, 4, 74, 1}, 1.1077 + {5, 8, 110, 1} 1.1078 +}; 1.1079 + 1.1080 +static const char gTranslateStrings[] = 1.1081 + "x\0" 1.1082 + "y" 1.1083 +; 1.1084 + 1.1085 +static const SkMemberInfo gTranslateInfo[] = { 1.1086 + {0, 8, 98, 1}, 1.1087 + {2, 12, 98, 1} 1.1088 +}; 1.1089 + 1.1090 +static const char gTypedArrayStrings[] = 1.1091 + "length\0" 1.1092 + "values" 1.1093 +; 1.1094 + 1.1095 +static const SkMemberInfo gTypedArrayInfo[] = { 1.1096 + {0, -1, 67, 96}, 1.1097 + {7, 4, 119, 0} 1.1098 +}; 1.1099 + 1.1100 +static const char gTypefaceStrings[] = 1.1101 + "fontName" 1.1102 +; 1.1103 + 1.1104 +static const SkMemberInfo gTypefaceInfo[] = { 1.1105 + {0, 8, 108, 1} 1.1106 +}; 1.1107 + 1.1108 +static const SkMemberInfo* const gInfoTables[] = { 1.1109 + gMathInfo, 1.1110 + gAddInfo, 1.1111 + gAddCircleInfo, 1.1112 + gUnknown1Info, 1.1113 + gAddOvalInfo, 1.1114 + gAddPathInfo, 1.1115 + gAddRectangleInfo, 1.1116 + gAddRoundRectInfo, 1.1117 + gUnknown2Info, 1.1118 + gAnimateFieldInfo, 1.1119 + gApplyInfo, 1.1120 + gUnknown3Info, 1.1121 + gDrawBitmapInfo, 1.1122 + gDrawBitmapShaderInfo, 1.1123 + gDrawBlurInfo, 1.1124 + gDisplayBoundsInfo, 1.1125 + gDrawClipInfo, 1.1126 + gDrawColorInfo, 1.1127 + gCubicToInfo, 1.1128 + gDashInfo, 1.1129 + gDataInfo, 1.1130 + gDiscreteInfo, 1.1131 + gDrawToInfo, 1.1132 + gDrawEmbossInfo, 1.1133 + gDisplayEventInfo, 1.1134 + gFromPathInfo, 1.1135 + gUnknown4Info, 1.1136 + gGInfo, 1.1137 + gHitClearInfo, 1.1138 + gHitTestInfo, 1.1139 + gImageInfo, 1.1140 + gIncludeInfo, 1.1141 + gInputInfo, 1.1142 + gLineInfo, 1.1143 + gLineToInfo, 1.1144 + gLinearGradientInfo, 1.1145 + gDrawMatrixInfo, 1.1146 + gMoveInfo, 1.1147 + gMoveToInfo, 1.1148 + gMovieInfo, 1.1149 + gOvalInfo, 1.1150 + gDrawPaintInfo, 1.1151 + gDrawPathInfo, 1.1152 + gUnknown5Info, 1.1153 + gDrawPointInfo, 1.1154 + gPolyToPolyInfo, 1.1155 + gPolygonInfo, 1.1156 + gPolylineInfo, 1.1157 + gPostInfo, 1.1158 + gQuadToInfo, 1.1159 + gRCubicToInfo, 1.1160 + gRLineToInfo, 1.1161 + gRMoveToInfo, 1.1162 + gRQuadToInfo, 1.1163 + gRadialGradientInfo, 1.1164 + gDisplayRandomInfo, 1.1165 + gRectToRectInfo, 1.1166 + gRectangleInfo, 1.1167 + gRemoveInfo, 1.1168 + gReplaceInfo, 1.1169 + gRotateInfo, 1.1170 + gRoundRectInfo, 1.1171 + gS32Info, 1.1172 + gScalarInfo, 1.1173 + gScaleInfo, 1.1174 + gSetInfo, 1.1175 + gShaderInfo, 1.1176 + gSkewInfo, 1.1177 + g3D_CameraInfo, 1.1178 + g3D_PatchInfo, 1.1179 + gUnknown6Info, 1.1180 + gSnapshotInfo, 1.1181 + gStringInfo, 1.1182 + gTextInfo, 1.1183 + gTextBoxInfo, 1.1184 + gTextOnPathInfo, 1.1185 + gTextToPathInfo, 1.1186 + gTranslateInfo, 1.1187 + gTypedArrayInfo, 1.1188 + gTypefaceInfo, 1.1189 +}; 1.1190 + 1.1191 +static const unsigned char gInfoCounts[] = { 1.1192 + 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, 1.1193 + 2,2,2,2,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1,2, 1.1194 + 1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7,2, 1.1195 + 1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2,2, 1.1196 + 1 1.1197 +}; 1.1198 + 1.1199 +static const unsigned char gTypeIDs[] = { 1.1200 + 1, // Math 1.1201 + 2, // Add 1.1202 + 3, // AddCircle 1.1203 + 4, // Unknown1 1.1204 + 5, // AddOval 1.1205 + 6, // AddPath 1.1206 + 7, // AddRectangle 1.1207 + 8, // AddRoundRect 1.1208 + 10, // Unknown2 1.1209 + 11, // AnimateField 1.1210 + 12, // Apply 1.1211 + 17, // Unknown3 1.1212 + 19, // Bitmap 1.1213 + 22, // BitmapShader 1.1214 + 23, // Blur 1.1215 + 25, // Bounds 1.1216 + 29, // Clip 1.1217 + 31, // Color 1.1218 + 32, // CubicTo 1.1219 + 33, // Dash 1.1220 + 34, // Data 1.1221 + 35, // Discrete 1.1222 + 38, // DrawTo 1.1223 + 41, // Emboss 1.1224 + 42, // Event 1.1225 + 48, // FromPath 1.1226 + 51, // Unknown4 1.1227 + 52, // G 1.1228 + 53, // HitClear 1.1229 + 54, // HitTest 1.1230 + 55, // Image 1.1231 + 56, // Include 1.1232 + 57, // Input 1.1233 + 59, // Line 1.1234 + 60, // LineTo 1.1235 + 61, // LinearGradient 1.1236 + 65, // Matrix 1.1237 + 68, // Move 1.1238 + 69, // MoveTo 1.1239 + 70, // Movie 1.1240 + 72, // Oval 1.1241 + 73, // Paint 1.1242 + 74, // Path 1.1243 + 77, // Unknown5 1.1244 + 78, // Point 1.1245 + 79, // PolyToPoly 1.1246 + 80, // Polygon 1.1247 + 81, // Polyline 1.1248 + 82, // Post 1.1249 + 83, // QuadTo 1.1250 + 84, // RCubicTo 1.1251 + 85, // RLineTo 1.1252 + 86, // RMoveTo 1.1253 + 87, // RQuadTo 1.1254 + 88, // RadialGradient 1.1255 + 89, // Random 1.1256 + 90, // RectToRect 1.1257 + 91, // Rectangle 1.1258 + 92, // Remove 1.1259 + 93, // Replace 1.1260 + 94, // Rotate 1.1261 + 95, // RoundRect 1.1262 + 96, // S32 1.1263 + 98, // Scalar 1.1264 + 99, // Scale 1.1265 + 101, // Set 1.1266 + 102, // Shader 1.1267 + 103, // Skew 1.1268 + 104, // 3D_Camera 1.1269 + 105, // 3D_Patch 1.1270 + 106, // Unknown6 1.1271 + 107, // Snapshot 1.1272 + 108, // String 1.1273 + 110, // Text 1.1274 + 111, // TextBox 1.1275 + 114, // TextOnPath 1.1276 + 115, // TextToPath 1.1277 + 117, // Translate 1.1278 + 119, // TypedArray 1.1279 + 120, // Typeface 1.1280 + 1.1281 +}; 1.1282 + 1.1283 +static const int kTypeIDs = 80; 1.1284 + 1.1285 +static const char* const gInfoNames[] = { 1.1286 + gMathStrings, 1.1287 + gAddStrings, 1.1288 + gAddCircleStrings, 1.1289 + gUnknown1Strings, 1.1290 + gAddOvalStrings, 1.1291 + gAddPathStrings, 1.1292 + gAddRectangleStrings, 1.1293 + gAddRoundRectStrings, 1.1294 + gUnknown2Strings, 1.1295 + gAnimateFieldStrings, 1.1296 + gApplyStrings, 1.1297 + gUnknown3Strings, 1.1298 + gBitmapStrings, 1.1299 + gBitmapShaderStrings, 1.1300 + gBlurStrings, 1.1301 + gBoundsStrings, 1.1302 + gClipStrings, 1.1303 + gColorStrings, 1.1304 + gCubicToStrings, 1.1305 + gDashStrings, 1.1306 + gDataStrings, 1.1307 + gDiscreteStrings, 1.1308 + gDrawToStrings, 1.1309 + gEmbossStrings, 1.1310 + gEventStrings, 1.1311 + gFromPathStrings, 1.1312 + gUnknown4Strings, 1.1313 + gGStrings, 1.1314 + gHitClearStrings, 1.1315 + gHitTestStrings, 1.1316 + gImageStrings, 1.1317 + gIncludeStrings, 1.1318 + gInputStrings, 1.1319 + gLineStrings, 1.1320 + gLineToStrings, 1.1321 + gLinearGradientStrings, 1.1322 + gMatrixStrings, 1.1323 + gMoveStrings, 1.1324 + gMoveToStrings, 1.1325 + gMovieStrings, 1.1326 + gOvalStrings, 1.1327 + gPaintStrings, 1.1328 + gPathStrings, 1.1329 + gUnknown5Strings, 1.1330 + gPointStrings, 1.1331 + gPolyToPolyStrings, 1.1332 + gPolygonStrings, 1.1333 + gPolylineStrings, 1.1334 + gPostStrings, 1.1335 + gQuadToStrings, 1.1336 + gRCubicToStrings, 1.1337 + gRLineToStrings, 1.1338 + gRMoveToStrings, 1.1339 + gRQuadToStrings, 1.1340 + gRadialGradientStrings, 1.1341 + gRandomStrings, 1.1342 + gRectToRectStrings, 1.1343 + gRectangleStrings, 1.1344 + gRemoveStrings, 1.1345 + gReplaceStrings, 1.1346 + gRotateStrings, 1.1347 + gRoundRectStrings, 1.1348 + gS32Strings, 1.1349 + gScalarStrings, 1.1350 + gScaleStrings, 1.1351 + gSetStrings, 1.1352 + gShaderStrings, 1.1353 + gSkewStrings, 1.1354 + g3D_CameraStrings, 1.1355 + g3D_PatchStrings, 1.1356 + gUnknown6Strings, 1.1357 + gSnapshotStrings, 1.1358 + gStringStrings, 1.1359 + gTextStrings, 1.1360 + gTextBoxStrings, 1.1361 + gTextOnPathStrings, 1.1362 + gTextToPathStrings, 1.1363 + gTranslateStrings, 1.1364 + gTypedArrayStrings, 1.1365 + gTypefaceStrings 1.1366 +}; 1.1367 +#endif 1.1368 +#endif