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