1 /* libs/graphics/animator/SkCondensedRelease.cpp 2 ** 3 ** Copyright 2006, The Android Open Source Project 4 ** 5 ** Licensed under the Apache License, Version 2.0 (the "License"); 6 ** you may not use this file except in compliance with the License. 7 ** You may obtain a copy of the License at 8 ** 9 ** http://www.apache.org/licenses/LICENSE-2.0 10 ** 11 ** Unless required by applicable law or agreed to in writing, software 12 ** distributed under the License is distributed on an "AS IS" BASIS, 13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ** See the License for the specific language governing permissions and 15 ** limitations under the License. 16 */ 17 18 #include "SkTypes.h" 19 #ifndef SK_BUILD_FOR_UNIX 20 #ifdef SK_RELEASE 21 // This file was automatically generated. 22 // To change it, edit the file with the matching debug info. 23 // Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. 24 25 static const char gMathStrings[] = 26 "E\0" 27 "LN10\0" 28 "LN2\0" 29 "LOG10E\0" 30 "LOG2E\0" 31 "PI\0" 32 "SQRT1_2\0" 33 "SQRT2\0" 34 "abs\0" 35 "acos\0" 36 "asin\0" 37 "atan\0" 38 "atan2\0" 39 "ceil\0" 40 "cos\0" 41 "exp\0" 42 "floor\0" 43 "log\0" 44 "max\0" 45 "min\0" 46 "pow\0" 47 "random\0" 48 "round\0" 49 "sin\0" 50 "sqrt\0" 51 "tan" 52 ; 53 54 static const SkMemberInfo gMathInfo[] = { 55 {0, -1, 67, 98}, 56 {2, -2, 67, 98}, 57 {7, -3, 67, 98}, 58 {11, -4, 67, 98}, 59 {18, -5, 67, 98}, 60 {24, -6, 67, 98}, 61 {27, -7, 67, 98}, 62 {35, -8, 67, 98}, 63 {41, -1, 66, 98}, 64 {45, -2, 66, 98}, 65 {50, -3, 66, 98}, 66 {55, -4, 66, 98}, 67 {60, -5, 66, 98}, 68 {66, -6, 66, 98}, 69 {71, -7, 66, 98}, 70 {75, -8, 66, 98}, 71 {79, -9, 66, 98}, 72 {85, -10, 66, 98}, 73 {89, -11, 66, 98}, 74 {93, -12, 66, 98}, 75 {97, -13, 66, 98}, 76 {101, -14, 66, 98}, 77 {108, -15, 66, 98}, 78 {114, -16, 66, 98}, 79 {118, -17, 66, 98}, 80 {123, -18, 66, 98} 81 }; 82 83 static const char gAddStrings[] = 84 "inPlace\0" 85 "offset\0" 86 "use\0" 87 "where" 88 ; 89 90 static const SkMemberInfo gAddInfo[] = { 91 {0, 4, 26, 1}, 92 {8, 8, 96, 1}, 93 {15, 12, 37, 1}, 94 {19, 16, 37, 1} 95 }; 96 97 static const char gAddCircleStrings[] = 98 "\0" 99 "radius\0" 100 "x\0" 101 "y" 102 ; 103 104 static const SkMemberInfo gAddCircleInfo[] = { 105 {0, 3, 18, 1}, 106 {1, 12, 98, 1}, 107 {8, 16, 98, 1}, 108 {10, 20, 98, 1} 109 }; 110 111 static const char gUnknown1Strings[] = 112 "direction" 113 ; 114 115 static const SkMemberInfo gUnknown1Info[] = { 116 {0, 8, 75, 1} 117 }; 118 119 static const char gAddOvalStrings[] = 120 "" 121 ; 122 123 static const SkMemberInfo gAddOvalInfo[] = { 124 {0, 6, 18, 5} 125 }; 126 127 static const char gAddPathStrings[] = 128 "matrix\0" 129 "path" 130 ; 131 132 static const SkMemberInfo gAddPathInfo[] = { 133 {0, 8, 65, 1}, 134 {7, 12, 74, 1} 135 }; 136 137 static const char gAddRectangleStrings[] = 138 "\0" 139 "bottom\0" 140 "left\0" 141 "right\0" 142 "top" 143 ; 144 145 static const SkMemberInfo gAddRectangleInfo[] = { 146 {0, 3, 18, 1}, 147 {1, 24, 98, 1}, 148 {8, 12, 98, 1}, 149 {13, 20, 98, 1}, 150 {19, 16, 98, 1} 151 }; 152 153 static const char gAddRoundRectStrings[] = 154 "\0" 155 "rx\0" 156 "ry" 157 ; 158 159 static const SkMemberInfo gAddRoundRectInfo[] = { 160 {0, 6, 18, 5}, 161 {1, 28, 98, 1}, 162 {4, 32, 98, 1} 163 }; 164 165 static const char gUnknown2Strings[] = 166 "begin\0" 167 "blend\0" 168 "dur\0" 169 "dynamic\0" 170 "field\0" 171 "formula\0" 172 "from\0" 173 "mirror\0" 174 "repeat\0" 175 "reset\0" 176 "target\0" 177 "to\0" 178 "values" 179 ; 180 181 static const SkMemberInfo gUnknown2Info[] = { 182 {0, 4, 71, 1}, 183 {6, 8, 119, 98}, 184 {12, 16, 71, 1}, 185 {16, -1, 67, 26}, 186 {24, 20, 108, 1}, 187 {30, 24, 40, 1}, 188 {38, 28, 40, 1}, 189 {43, -2, 67, 26}, 190 {50, 32, 98, 1}, 191 {57, -3, 67, 26}, 192 {63, 36, 40, 1}, 193 {70, 40, 40, 1}, 194 {73, -4, 67, 40} 195 }; 196 197 static const char gAnimateFieldStrings[] = 198 "" 199 ; 200 201 static const SkMemberInfo gAnimateFieldInfo[] = { 202 {0, 8, 18, 13} 203 }; 204 205 static const char gApplyStrings[] = 206 "animator\0" 207 "begin\0" 208 "dontDraw\0" 209 "dynamicScope\0" 210 "interval\0" 211 "mode\0" 212 "pickup\0" 213 "restore\0" 214 "scope\0" 215 "step\0" 216 "steps\0" 217 "time\0" 218 "transition" 219 ; 220 221 static const SkMemberInfo gApplyInfo[] = { 222 {0, -1, 67, 10}, 223 {9, 4, 71, 1}, 224 {15, 8, 26, 1}, 225 {24, 12, 108, 1}, 226 {37, 16, 71, 1}, 227 {46, 20, 13, 1}, 228 {51, 24, 26, 1}, 229 {58, 28, 26, 1}, 230 {66, 32, 37, 1}, 231 {72, -2, 67, 96}, 232 {77, 36, 96, 1}, 233 {83, -3, 67, 71}, 234 {88, 40, 14, 1} 235 }; 236 237 static const char gUnknown3Strings[] = 238 "x\0" 239 "y" 240 ; 241 242 static const SkMemberInfo gUnknown3Info[] = { 243 {0, 36, 98, 1}, 244 {2, 40, 98, 1} 245 }; 246 247 static const char gBitmapStrings[] = 248 "\0" 249 "erase\0" 250 "format\0" 251 "height\0" 252 "rowBytes\0" 253 "width" 254 ; 255 256 static const SkMemberInfo gDrawBitmapInfo[] = { 257 {0, 11, 18, 2}, 258 {1, -1, 67, 15}, 259 {7, 44, 21, 1}, 260 {14, 48, 96, 1}, 261 {21, 52, 96, 1}, 262 {30, 56, 96, 1} 263 }; 264 265 static const char gBitmapShaderStrings[] = 266 "\0" 267 "filterType\0" 268 "image" 269 ; 270 271 static const SkMemberInfo gDrawBitmapShaderInfo[] = { 272 {0, 66, 18, 2}, 273 {1, 16, 47, 1}, 274 {12, 20, 17, 1} 275 }; 276 277 static const char gBlurStrings[] = 278 "blurStyle\0" 279 "radius" 280 ; 281 282 static const SkMemberInfo gDrawBlurInfo[] = { 283 {0, 12, 63, 1}, 284 {10, 8, 98, 1} 285 }; 286 287 static const char gBoundsStrings[] = 288 "\0" 289 "inval" 290 ; 291 292 static const SkMemberInfo gDisplayBoundsInfo[] = { 293 {0, 57, 18, 7}, 294 {1, 32, 26, 1} 295 }; 296 297 static const char gClipStrings[] = 298 "path\0" 299 "rectangle" 300 ; 301 302 static const SkMemberInfo gDrawClipInfo[] = { 303 {0, 8, 74, 1}, 304 {5, 4, 91, 1} 305 }; 306 307 static const char gColorStrings[] = 308 "alpha\0" 309 "blue\0" 310 "color\0" 311 "green\0" 312 "hue\0" 313 "red\0" 314 "saturation\0" 315 "value" 316 ; 317 318 static const SkMemberInfo gDrawColorInfo[] = { 319 {0, -1, 67, 98}, 320 {6, -2, 67, 98}, 321 {11, 8, 15, 1}, 322 {17, -3, 67, 98}, 323 {23, -4, 67, 98}, 324 {27, -5, 67, 98}, 325 {31, -6, 67, 98}, 326 {42, -7, 67, 98} 327 }; 328 329 static const char gCubicToStrings[] = 330 "x1\0" 331 "x2\0" 332 "x3\0" 333 "y1\0" 334 "y2\0" 335 "y3" 336 ; 337 338 static const SkMemberInfo gCubicToInfo[] = { 339 {0, 8, 98, 1}, 340 {3, 16, 98, 1}, 341 {6, 24, 98, 1}, 342 {9, 12, 98, 1}, 343 {12, 20, 98, 1}, 344 {15, 28, 98, 1} 345 }; 346 347 static const char gDashStrings[] = 348 "intervals\0" 349 "phase" 350 ; 351 352 static const SkMemberInfo gDashInfo[] = { 353 {0, 8, 119, 98}, 354 {10, 16, 98, 1} 355 }; 356 357 static const char gDataStrings[] = 358 "\0" 359 "name" 360 ; 361 362 static const SkMemberInfo gDataInfo[] = { 363 {0, 32, 18, 3}, 364 {1, 16, 108, 1} 365 }; 366 367 static const char gDiscreteStrings[] = 368 "deviation\0" 369 "segLength" 370 ; 371 372 static const SkMemberInfo gDiscreteInfo[] = { 373 {0, 8, 98, 1}, 374 {10, 12, 98, 1} 375 }; 376 377 static const char gDrawToStrings[] = 378 "drawOnce\0" 379 "use" 380 ; 381 382 static const SkMemberInfo gDrawToInfo[] = { 383 {0, 36, 26, 1}, 384 {9, 40, 19, 1} 385 }; 386 387 static const char gEmbossStrings[] = 388 "ambient\0" 389 "direction\0" 390 "radius\0" 391 "specular" 392 ; 393 394 static const SkMemberInfo gDrawEmbossInfo[] = { 395 {0, -1, 67, 98}, 396 {8, 8, 119, 98}, 397 {18, 16, 98, 1}, 398 {25, -2, 67, 98} 399 }; 400 401 static const char gEventStrings[] = 402 "code\0" 403 "disable\0" 404 "key\0" 405 "keys\0" 406 "kind\0" 407 "target\0" 408 "x\0" 409 "y" 410 ; 411 412 static const SkMemberInfo gDisplayEventInfo[] = { 413 {0, 4, 43, 1}, 414 {5, 8, 26, 1}, 415 {13, -1, 67, 108}, 416 {17, -2, 67, 108}, 417 {22, 12, 44, 1}, 418 {27, 16, 108, 1}, 419 {34, 20, 98, 1}, 420 {36, 24, 98, 1} 421 }; 422 423 static const char gFromPathStrings[] = 424 "mode\0" 425 "offset\0" 426 "path" 427 ; 428 429 static const SkMemberInfo gFromPathInfo[] = { 430 {0, 8, 49, 1}, 431 {5, 12, 98, 1}, 432 {12, 16, 74, 1} 433 }; 434 435 static const char gUnknown4Strings[] = 436 "\0" 437 "offsets\0" 438 "unitMapper" 439 ; 440 441 static const SkMemberInfo gUnknown4Info[] = { 442 {0, 66, 18, 2}, 443 {1, 16, 119, 98}, 444 {9, 24, 108, 1} 445 }; 446 447 static const char gGStrings[] = 448 "condition\0" 449 "enableCondition" 450 ; 451 452 static const SkMemberInfo gGInfo[] = { 453 {0, 4, 40, 1}, 454 {10, 8, 40, 1} 455 }; 456 457 static const char gHitClearStrings[] = 458 "targets" 459 ; 460 461 static const SkMemberInfo gHitClearInfo[] = { 462 {0, 4, 119, 36} 463 }; 464 465 static const char gHitTestStrings[] = 466 "bullets\0" 467 "hits\0" 468 "targets\0" 469 "value" 470 ; 471 472 static const SkMemberInfo gHitTestInfo[] = { 473 {0, 4, 119, 36}, 474 {8, 12, 119, 96}, 475 {13, 20, 119, 36}, 476 {21, 28, 26, 1} 477 }; 478 479 static const char gImageStrings[] = 480 "\0" 481 "base64\0" 482 "src" 483 ; 484 485 static const SkMemberInfo gImageInfo[] = { 486 {0, 11, 18, 2}, 487 {1, 44, 16, 2}, 488 {8, 52, 108, 1} 489 }; 490 491 static const char gIncludeStrings[] = 492 "src" 493 ; 494 495 static const SkMemberInfo gIncludeInfo[] = { 496 {0, 4, 108, 1} 497 }; 498 499 static const char gInputStrings[] = 500 "s32\0" 501 "scalar\0" 502 "string" 503 ; 504 505 static const SkMemberInfo gInputInfo[] = { 506 {0, 4, 96, 1}, 507 {4, 8, 98, 1}, 508 {11, 12, 108, 1} 509 }; 510 511 static const char gLineStrings[] = 512 "x1\0" 513 "x2\0" 514 "y1\0" 515 "y2" 516 ; 517 518 static const SkMemberInfo gLineInfo[] = { 519 {0, 12, 98, 1}, 520 {3, 16, 98, 1}, 521 {6, 20, 98, 1}, 522 {9, 24, 98, 1} 523 }; 524 525 static const char gLineToStrings[] = 526 "x\0" 527 "y" 528 ; 529 530 static const SkMemberInfo gLineToInfo[] = { 531 {0, 8, 98, 1}, 532 {2, 12, 98, 1} 533 }; 534 535 static const char gLinearGradientStrings[] = 536 "\0" 537 "points" 538 ; 539 540 static const SkMemberInfo gLinearGradientInfo[] = { 541 {0, 26, 18, 3}, 542 {1, 48, 77, 4} 543 }; 544 545 static const char gMatrixStrings[] = 546 "matrix\0" 547 "perspectX\0" 548 "perspectY\0" 549 "rotate\0" 550 "scale\0" 551 "scaleX\0" 552 "scaleY\0" 553 "skewX\0" 554 "skewY\0" 555 "translate\0" 556 "translateX\0" 557 "translateY" 558 ; 559 560 static const SkMemberInfo gDrawMatrixInfo[] = { 561 {0, 4, 119, 98}, 562 {7, -1, 67, 98}, 563 {17, -2, 67, 98}, 564 {27, -3, 67, 98}, 565 {34, -4, 67, 98}, 566 {40, -5, 67, 98}, 567 {47, -6, 67, 98}, 568 {54, -7, 67, 98}, 569 {60, -8, 67, 98}, 570 {66, -9, 67, 77}, 571 {76, -10, 67, 98}, 572 {87, -11, 67, 98} 573 }; 574 575 static const char gMoveStrings[] = 576 "" 577 ; 578 579 static const SkMemberInfo gMoveInfo[] = { 580 {0, 1, 18, 4} 581 }; 582 583 static const char gMoveToStrings[] = 584 "x\0" 585 "y" 586 ; 587 588 static const SkMemberInfo gMoveToInfo[] = { 589 {0, 8, 98, 1}, 590 {2, 12, 98, 1} 591 }; 592 593 static const char gMovieStrings[] = 594 "src" 595 ; 596 597 static const SkMemberInfo gMovieInfo[] = { 598 {0, 4, 108, 1} 599 }; 600 601 static const char gOvalStrings[] = 602 "" 603 ; 604 605 static const SkMemberInfo gOvalInfo[] = { 606 {0, 57, 18, 7} 607 }; 608 609 static const char gPaintStrings[] = 610 "antiAlias\0" 611 "ascent\0" 612 "color\0" 613 "descent\0" 614 "filterType\0" 615 "linearText\0" 616 "maskFilter\0" 617 "measureText\0" 618 "pathEffect\0" 619 "shader\0" 620 "strikeThru\0" 621 "stroke\0" 622 "strokeCap\0" 623 "strokeJoin\0" 624 "strokeMiter\0" 625 "strokeWidth\0" 626 "style\0" 627 "textAlign\0" 628 "textScaleX\0" 629 "textSize\0" 630 "textSkewX\0" 631 "textTracking\0" 632 "typeface\0" 633 "underline\0" 634 "xfermode" 635 ; 636 637 static const SkMemberInfo gDrawPaintInfo[] = { 638 {0, 4, 26, 1}, 639 {10, -1, 67, 98}, 640 {17, 8, 31, 1}, 641 {23, -2, 67, 98}, 642 {31, 12, 47, 1}, 643 {42, 16, 26, 1}, 644 {53, 20, 62, 1}, 645 {64, -1, 66, 98}, 646 {76, 24, 76, 1}, 647 {87, 28, 102, 1}, 648 {94, 32, 26, 1}, 649 {105, 36, 26, 1}, 650 {112, 40, 27, 1}, 651 {122, 44, 58, 1}, 652 {133, 48, 98, 1}, 653 {145, 52, 98, 1}, 654 {157, 56, 109, 1}, 655 {163, 60, 9, 1}, 656 {173, 64, 98, 1}, 657 {184, 68, 98, 1}, 658 {193, 72, 98, 1}, 659 {203, 76, 98, 1}, 660 {216, 80, 120, 1}, 661 {225, 84, 26, 1}, 662 {235, 88, 121, 1} 663 }; 664 665 static const char gPathStrings[] = 666 "d\0" 667 "fillType\0" 668 "length" 669 ; 670 671 static const SkMemberInfo gDrawPathInfo[] = { 672 {0, 32, 108, 1}, 673 {2, -1, 67, 46}, 674 {11, -2, 67, 98} 675 }; 676 677 static const char gUnknown5Strings[] = 678 "x\0" 679 "y\0" 680 "z" 681 ; 682 683 static const SkMemberInfo gUnknown5Info[] = { 684 {0, 0, 98, 1}, 685 {2, 4, 98, 1}, 686 {4, 8, 98, 1} 687 }; 688 689 static const char gPointStrings[] = 690 "x\0" 691 "y" 692 ; 693 694 static const SkMemberInfo gDrawPointInfo[] = { 695 {0, 4, 98, 1}, 696 {2, 8, 98, 1} 697 }; 698 699 static const char gPolyToPolyStrings[] = 700 "destination\0" 701 "source" 702 ; 703 704 static const SkMemberInfo gPolyToPolyInfo[] = { 705 {0, 12, 80, 1}, 706 {12, 8, 80, 1} 707 }; 708 709 static const char gPolygonStrings[] = 710 "" 711 ; 712 713 static const SkMemberInfo gPolygonInfo[] = { 714 {0, 47, 18, 1} 715 }; 716 717 static const char gPolylineStrings[] = 718 "points" 719 ; 720 721 static const SkMemberInfo gPolylineInfo[] = { 722 {0, 56, 119, 98} 723 }; 724 725 static const char gPostStrings[] = 726 "delay\0" 727 "initialized\0" 728 "mode\0" 729 "sink\0" 730 "target\0" 731 "type" 732 ; 733 734 static const SkMemberInfo gPostInfo[] = { 735 {0, 4, 71, 1}, 736 {6, 8, 26, 1}, 737 {18, 12, 45, 1}, 738 {23, -1, 67, 108}, 739 {28, -2, 67, 108}, 740 {35, -3, 67, 108} 741 }; 742 743 static const char gQuadToStrings[] = 744 "x1\0" 745 "x2\0" 746 "y1\0" 747 "y2" 748 ; 749 750 static const SkMemberInfo gQuadToInfo[] = { 751 {0, 8, 98, 1}, 752 {3, 16, 98, 1}, 753 {6, 12, 98, 1}, 754 {9, 20, 98, 1} 755 }; 756 757 static const char gRCubicToStrings[] = 758 "" 759 ; 760 761 static const SkMemberInfo gRCubicToInfo[] = { 762 {0, 18, 18, 6} 763 }; 764 765 static const char gRLineToStrings[] = 766 "" 767 ; 768 769 static const SkMemberInfo gRLineToInfo[] = { 770 {0, 34, 18, 2} 771 }; 772 773 static const char gRMoveToStrings[] = 774 "" 775 ; 776 777 static const SkMemberInfo gRMoveToInfo[] = { 778 {0, 38, 18, 2} 779 }; 780 781 static const char gRQuadToStrings[] = 782 "" 783 ; 784 785 static const SkMemberInfo gRQuadToInfo[] = { 786 {0, 49, 18, 4} 787 }; 788 789 static const char gRadialGradientStrings[] = 790 "\0" 791 "center\0" 792 "radius" 793 ; 794 795 static const SkMemberInfo gRadialGradientInfo[] = { 796 {0, 26, 18, 3}, 797 {1, 48, 77, 2}, 798 {8, 56, 98, 1} 799 }; 800 801 static const char gRandomStrings[] = 802 "blend\0" 803 "max\0" 804 "min\0" 805 "random\0" 806 "seed" 807 ; 808 809 static const SkMemberInfo gDisplayRandomInfo[] = { 810 {0, 4, 98, 1}, 811 {6, 12, 98, 1}, 812 {10, 8, 98, 1}, 813 {14, 1, 67, 98}, 814 {21, -2, 67, 96} 815 }; 816 817 static const char gRectToRectStrings[] = 818 "destination\0" 819 "source" 820 ; 821 822 static const SkMemberInfo gRectToRectInfo[] = { 823 {0, 12, 91, 1}, 824 {12, 8, 91, 1} 825 }; 826 827 static const char gRectangleStrings[] = 828 "bottom\0" 829 "height\0" 830 "left\0" 831 "needsRedraw\0" 832 "right\0" 833 "top\0" 834 "width" 835 ; 836 837 static const SkMemberInfo gRectangleInfo[] = { 838 {0, 24, 98, 1}, 839 {7, -1, 67, 98}, 840 {14, 12, 98, 1}, 841 {19, -2, 67, 26}, 842 {31, 20, 98, 1}, 843 {37, 16, 98, 1}, 844 {41, -3, 67, 98} 845 }; 846 847 static const char gRemoveStrings[] = 848 "offset\0" 849 "where" 850 ; 851 852 static const SkMemberInfo gRemoveInfo[] = { 853 {0, 8, 96, 1}, 854 {7, 16, 37, 1} 855 }; 856 857 static const char gReplaceStrings[] = 858 "" 859 ; 860 861 static const SkMemberInfo gReplaceInfo[] = { 862 {0, 1, 18, 4} 863 }; 864 865 static const char gRotateStrings[] = 866 "center\0" 867 "degrees" 868 ; 869 870 static const SkMemberInfo gRotateInfo[] = { 871 {0, 12, 77, 2}, 872 {7, 8, 98, 1} 873 }; 874 875 static const char gRoundRectStrings[] = 876 "\0" 877 "rx\0" 878 "ry" 879 ; 880 881 static const SkMemberInfo gRoundRectInfo[] = { 882 {0, 57, 18, 7}, 883 {1, 32, 98, 1}, 884 {4, 36, 98, 1} 885 }; 886 887 static const char gS32Strings[] = 888 "value" 889 ; 890 891 static const SkMemberInfo gS32Info[] = { 892 {0, 4, 96, 1} 893 }; 894 895 static const char gScalarStrings[] = 896 "value" 897 ; 898 899 static const SkMemberInfo gScalarInfo[] = { 900 {0, 4, 98, 1} 901 }; 902 903 static const char gScaleStrings[] = 904 "center\0" 905 "x\0" 906 "y" 907 ; 908 909 static const SkMemberInfo gScaleInfo[] = { 910 {0, 16, 77, 2}, 911 {7, 8, 98, 1}, 912 {9, 12, 98, 1} 913 }; 914 915 static const char gSetStrings[] = 916 "begin\0" 917 "dur\0" 918 "dynamic\0" 919 "field\0" 920 "formula\0" 921 "reset\0" 922 "target\0" 923 "to" 924 ; 925 926 static const SkMemberInfo gSetInfo[] = { 927 {0, 4, 71, 1}, 928 {6, 16, 71, 1}, 929 {10, -1, 67, 26}, 930 {18, 20, 108, 1}, 931 {24, 24, 40, 1}, 932 {32, -3, 67, 26}, 933 {38, 36, 40, 1}, 934 {45, 40, 40, 1} 935 }; 936 937 static const char gShaderStrings[] = 938 "matrix\0" 939 "tileMode" 940 ; 941 942 static const SkMemberInfo gShaderInfo[] = { 943 {0, 8, 65, 1}, 944 {7, 12, 116, 1} 945 }; 946 947 static const char gSkewStrings[] = 948 "center\0" 949 "x\0" 950 "y" 951 ; 952 953 static const SkMemberInfo gSkewInfo[] = { 954 {0, 16, 77, 2}, 955 {7, 8, 98, 1}, 956 {9, 12, 98, 1} 957 }; 958 959 static const char g3D_CameraStrings[] = 960 "axis\0" 961 "hackHeight\0" 962 "hackWidth\0" 963 "location\0" 964 "observer\0" 965 "patch\0" 966 "zenith" 967 ; 968 969 static const SkMemberInfo g3D_CameraInfo[] = { 970 {0, 24, 106, 3}, 971 {5, 8, 98, 1}, 972 {16, 4, 98, 1}, 973 {26, 12, 106, 3}, 974 {35, 48, 106, 3}, 975 {44, 96, 105, 1}, 976 {50, 36, 106, 3} 977 }; 978 979 static const char g3D_PatchStrings[] = 980 "origin\0" 981 "rotateDegrees\0" 982 "u\0" 983 "v" 984 ; 985 986 static const SkMemberInfo g3D_PatchInfo[] = { 987 {0, 28, 106, 3}, 988 {7, -1, 66, 98}, 989 {21, 4, 106, 3}, 990 {23, 16, 106, 3} 991 }; 992 993 static const char gUnknown6Strings[] = 994 "x\0" 995 "y\0" 996 "z" 997 ; 998 999 static const SkMemberInfo gUnknown6Info[] = { 1000 {0, 0, 98, 1}, 1001 {2, 4, 98, 1}, 1002 {4, 8, 98, 1} 1003 }; 1004 1005 static const char gSnapshotStrings[] = 1006 "filename\0" 1007 "quality\0" 1008 "sequence\0" 1009 "type" 1010 ; 1011 1012 static const SkMemberInfo gSnapshotInfo[] = { 1013 {0, 4, 108, 1}, 1014 {9, 8, 98, 1}, 1015 {17, 12, 26, 1}, 1016 {26, 16, 20, 1} 1017 }; 1018 1019 static const char gStringStrings[] = 1020 "length\0" 1021 "slice\0" 1022 "value" 1023 ; 1024 1025 static const SkMemberInfo gStringInfo[] = { 1026 {0, -1, 67, 96}, 1027 {7, -1, 66, 108}, 1028 {13, 4, 108, 1} 1029 }; 1030 1031 static const char gTextStrings[] = 1032 "length\0" 1033 "text\0" 1034 "x\0" 1035 "y" 1036 ; 1037 1038 static const SkMemberInfo gTextInfo[] = { 1039 {0, -1, 67, 96}, 1040 {7, 12, 108, 1}, 1041 {12, 16, 98, 1}, 1042 {14, 20, 98, 1} 1043 }; 1044 1045 static const char gTextBoxStrings[] = 1046 "\0" 1047 "mode\0" 1048 "spacingAdd\0" 1049 "spacingAlign\0" 1050 "spacingMul\0" 1051 "text" 1052 ; 1053 1054 static const SkMemberInfo gTextBoxInfo[] = { 1055 {0, 57, 18, 7}, 1056 {1, 44, 113, 1}, 1057 {6, 40, 98, 1}, 1058 {17, 48, 112, 1}, 1059 {30, 36, 98, 1}, 1060 {41, 32, 108, 1} 1061 }; 1062 1063 static const char gTextOnPathStrings[] = 1064 "offset\0" 1065 "path\0" 1066 "text" 1067 ; 1068 1069 static const SkMemberInfo gTextOnPathInfo[] = { 1070 {0, 12, 98, 1}, 1071 {7, 16, 74, 1}, 1072 {12, 20, 110, 1} 1073 }; 1074 1075 static const char gTextToPathStrings[] = 1076 "path\0" 1077 "text" 1078 ; 1079 1080 static const SkMemberInfo gTextToPathInfo[] = { 1081 {0, 4, 74, 1}, 1082 {5, 8, 110, 1} 1083 }; 1084 1085 static const char gTranslateStrings[] = 1086 "x\0" 1087 "y" 1088 ; 1089 1090 static const SkMemberInfo gTranslateInfo[] = { 1091 {0, 8, 98, 1}, 1092 {2, 12, 98, 1} 1093 }; 1094 1095 static const char gTypedArrayStrings[] = 1096 "length\0" 1097 "values" 1098 ; 1099 1100 static const SkMemberInfo gTypedArrayInfo[] = { 1101 {0, -1, 67, 96}, 1102 {7, 4, 119, 0} 1103 }; 1104 1105 static const char gTypefaceStrings[] = 1106 "fontName" 1107 ; 1108 1109 static const SkMemberInfo gTypefaceInfo[] = { 1110 {0, 8, 108, 1} 1111 }; 1112 1113 static const SkMemberInfo* const gInfoTables[] = { 1114 gMathInfo, 1115 gAddInfo, 1116 gAddCircleInfo, 1117 gUnknown1Info, 1118 gAddOvalInfo, 1119 gAddPathInfo, 1120 gAddRectangleInfo, 1121 gAddRoundRectInfo, 1122 gUnknown2Info, 1123 gAnimateFieldInfo, 1124 gApplyInfo, 1125 gUnknown3Info, 1126 gDrawBitmapInfo, 1127 gDrawBitmapShaderInfo, 1128 gDrawBlurInfo, 1129 gDisplayBoundsInfo, 1130 gDrawClipInfo, 1131 gDrawColorInfo, 1132 gCubicToInfo, 1133 gDashInfo, 1134 gDataInfo, 1135 gDiscreteInfo, 1136 gDrawToInfo, 1137 gDrawEmbossInfo, 1138 gDisplayEventInfo, 1139 gFromPathInfo, 1140 gUnknown4Info, 1141 gGInfo, 1142 gHitClearInfo, 1143 gHitTestInfo, 1144 gImageInfo, 1145 gIncludeInfo, 1146 gInputInfo, 1147 gLineInfo, 1148 gLineToInfo, 1149 gLinearGradientInfo, 1150 gDrawMatrixInfo, 1151 gMoveInfo, 1152 gMoveToInfo, 1153 gMovieInfo, 1154 gOvalInfo, 1155 gDrawPaintInfo, 1156 gDrawPathInfo, 1157 gUnknown5Info, 1158 gDrawPointInfo, 1159 gPolyToPolyInfo, 1160 gPolygonInfo, 1161 gPolylineInfo, 1162 gPostInfo, 1163 gQuadToInfo, 1164 gRCubicToInfo, 1165 gRLineToInfo, 1166 gRMoveToInfo, 1167 gRQuadToInfo, 1168 gRadialGradientInfo, 1169 gDisplayRandomInfo, 1170 gRectToRectInfo, 1171 gRectangleInfo, 1172 gRemoveInfo, 1173 gReplaceInfo, 1174 gRotateInfo, 1175 gRoundRectInfo, 1176 gS32Info, 1177 gScalarInfo, 1178 gScaleInfo, 1179 gSetInfo, 1180 gShaderInfo, 1181 gSkewInfo, 1182 g3D_CameraInfo, 1183 g3D_PatchInfo, 1184 gUnknown6Info, 1185 gSnapshotInfo, 1186 gStringInfo, 1187 gTextInfo, 1188 gTextBoxInfo, 1189 gTextOnPathInfo, 1190 gTextToPathInfo, 1191 gTranslateInfo, 1192 gTypedArrayInfo, 1193 gTypefaceInfo, 1194 }; 1195 1196 static const unsigned char gInfoCounts[] = { 1197 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, 1198 2,2,2,2,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1,2, 1199 1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7,2, 1200 1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2,2, 1201 1 1202 }; 1203 1204 static const unsigned char gTypeIDs[] = { 1205 1, // Math 1206 2, // Add 1207 3, // AddCircle 1208 4, // Unknown1 1209 5, // AddOval 1210 6, // AddPath 1211 7, // AddRectangle 1212 8, // AddRoundRect 1213 10, // Unknown2 1214 11, // AnimateField 1215 12, // Apply 1216 17, // Unknown3 1217 19, // Bitmap 1218 22, // BitmapShader 1219 23, // Blur 1220 25, // Bounds 1221 29, // Clip 1222 31, // Color 1223 32, // CubicTo 1224 33, // Dash 1225 34, // Data 1226 35, // Discrete 1227 38, // DrawTo 1228 41, // Emboss 1229 42, // Event 1230 48, // FromPath 1231 51, // Unknown4 1232 52, // G 1233 53, // HitClear 1234 54, // HitTest 1235 55, // Image 1236 56, // Include 1237 57, // Input 1238 59, // Line 1239 60, // LineTo 1240 61, // LinearGradient 1241 65, // Matrix 1242 68, // Move 1243 69, // MoveTo 1244 70, // Movie 1245 72, // Oval 1246 73, // Paint 1247 74, // Path 1248 77, // Unknown5 1249 78, // Point 1250 79, // PolyToPoly 1251 80, // Polygon 1252 81, // Polyline 1253 82, // Post 1254 83, // QuadTo 1255 84, // RCubicTo 1256 85, // RLineTo 1257 86, // RMoveTo 1258 87, // RQuadTo 1259 88, // RadialGradient 1260 89, // Random 1261 90, // RectToRect 1262 91, // Rectangle 1263 92, // Remove 1264 93, // Replace 1265 94, // Rotate 1266 95, // RoundRect 1267 96, // S32 1268 98, // Scalar 1269 99, // Scale 1270 101, // Set 1271 102, // Shader 1272 103, // Skew 1273 104, // 3D_Camera 1274 105, // 3D_Patch 1275 106, // Unknown6 1276 107, // Snapshot 1277 108, // String 1278 110, // Text 1279 111, // TextBox 1280 114, // TextOnPath 1281 115, // TextToPath 1282 117, // Translate 1283 119, // TypedArray 1284 120, // Typeface 1285 1286 }; 1287 1288 static const int kTypeIDs = 80; 1289 1290 static const char* const gInfoNames[] = { 1291 gMathStrings, 1292 gAddStrings, 1293 gAddCircleStrings, 1294 gUnknown1Strings, 1295 gAddOvalStrings, 1296 gAddPathStrings, 1297 gAddRectangleStrings, 1298 gAddRoundRectStrings, 1299 gUnknown2Strings, 1300 gAnimateFieldStrings, 1301 gApplyStrings, 1302 gUnknown3Strings, 1303 gBitmapStrings, 1304 gBitmapShaderStrings, 1305 gBlurStrings, 1306 gBoundsStrings, 1307 gClipStrings, 1308 gColorStrings, 1309 gCubicToStrings, 1310 gDashStrings, 1311 gDataStrings, 1312 gDiscreteStrings, 1313 gDrawToStrings, 1314 gEmbossStrings, 1315 gEventStrings, 1316 gFromPathStrings, 1317 gUnknown4Strings, 1318 gGStrings, 1319 gHitClearStrings, 1320 gHitTestStrings, 1321 gImageStrings, 1322 gIncludeStrings, 1323 gInputStrings, 1324 gLineStrings, 1325 gLineToStrings, 1326 gLinearGradientStrings, 1327 gMatrixStrings, 1328 gMoveStrings, 1329 gMoveToStrings, 1330 gMovieStrings, 1331 gOvalStrings, 1332 gPaintStrings, 1333 gPathStrings, 1334 gUnknown5Strings, 1335 gPointStrings, 1336 gPolyToPolyStrings, 1337 gPolygonStrings, 1338 gPolylineStrings, 1339 gPostStrings, 1340 gQuadToStrings, 1341 gRCubicToStrings, 1342 gRLineToStrings, 1343 gRMoveToStrings, 1344 gRQuadToStrings, 1345 gRadialGradientStrings, 1346 gRandomStrings, 1347 gRectToRectStrings, 1348 gRectangleStrings, 1349 gRemoveStrings, 1350 gReplaceStrings, 1351 gRotateStrings, 1352 gRoundRectStrings, 1353 gS32Strings, 1354 gScalarStrings, 1355 gScaleStrings, 1356 gSetStrings, 1357 gShaderStrings, 1358 gSkewStrings, 1359 g3D_CameraStrings, 1360 g3D_PatchStrings, 1361 gUnknown6Strings, 1362 gSnapshotStrings, 1363 gStringStrings, 1364 gTextStrings, 1365 gTextBoxStrings, 1366 gTextOnPathStrings, 1367 gTextToPathStrings, 1368 gTranslateStrings, 1369 gTypedArrayStrings, 1370 gTypefaceStrings 1371 }; 1372 #endif 1373 #endif 1374 1375