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