Home
last modified time | relevance | path

Searched refs:maker (Results 1 – 25 of 81) sorted by relevance

1234

/external/skia/src/animator/
DSkDrawSaveLayer.cpp33 bool SkSaveLayer::draw(SkAnimateMaker& maker) in draw() argument
38 SkPaint* save = maker.fPaint; in draw()
44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint, SkCanvas::kHasAlphaLayer_SaveFlag); in draw()
47 maker.fCanvas->saveLayer(&bounds->fRect, save, SkCanvas::kHasAlphaLayer_SaveFlag); in draw()
48 SkPaint local = SkPaint(*maker.fPaint); in draw()
49 maker.fPaint = &local; in draw()
50 bool result = INHERITED::draw(maker); in draw()
51 maker.fPaint = save; in draw()
52 maker.fCanvas->restore(); in draw()
57 void SkSaveLayer::dump(SkAnimateMaker* maker) in dump() argument
[all …]
DSkDisplayApply.cpp73 void SkApply::activate(SkAnimateMaker& maker) { in activate() argument
82 fActive = new SkActive(*this, maker); in activate()
84 maker.appendActive(fActive); in activate()
163 SkDisplayable* SkApply::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
166 SkApply* result = (SkApply*) INHERITED::deepCopy(maker); in deepCopy()
170 SkAnimateBase* anim = (SkAnimateBase*) (*animPtr)->deepCopy(maker); in deepCopy()
172 maker->helperAdd(anim); in deepCopy()
186 bool SkApply::draw(SkAnimateMaker& maker) { in draw() argument
192 enable(maker); in draw()
194 activate(maker); in draw()
[all …]
DSkDrawGroup.cpp84 SkDisplayable* SkGroup::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
85 SkDisplayable* copy = INHERITED::deepCopy(maker); in deepCopy()
88 SkDisplayable* deeperCopy = displayable->deepCopy(maker); in deepCopy()
89 ((SkGroup*)copy)->add(*maker, deeperCopy); in deepCopy()
105 bool SkGroup::draw(SkAnimateMaker& maker) { in draw() argument
106 bool conditionTrue = ifCondition(maker, this, condition); in draw()
117 maker.validate(); in draw()
118 result |= drawable->draw(maker); in draw()
119 maker.validate(); in draw()
125 void SkGroup::dump(SkAnimateMaker* maker) { in dump() argument
[all …]
DSkDisplayMovie.cpp54 SkDisplayable* SkDisplayMovie::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
55 SkDisplayMovie* copy = (SkDisplayMovie*) INHERITED::deepCopy(maker); in deepCopy()
74 bool SkDisplayMovie::draw(SkAnimateMaker& maker) { in draw() argument
78 enable(maker); in draw()
79 maker.fCanvas->save(); in draw()
80 SkPaint local = SkPaint(*maker.fPaint); in draw()
81 bool result = fMovie.draw(maker.fCanvas, &local, in draw()
82 maker.fDisplayList.getTime()) != SkAnimator::kNotDifferent; in draw()
83 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); in draw()
84 maker.fCanvas->restore(); in draw()
[all …]
DSkDrawGradient.cpp35 … SkGradientUnitMapper(SkAnimateMaker* maker, const char* script) : fMaker(maker), fScript(script) { in SkGradientUnitMapper() argument
107 void SkGradient::dumpRest(SkAnimateMaker* maker) { in dumpRest() argument
108 dumpAttrs(maker); in dumpRest()
118 color->dump(maker); in dumpRest()
121 dumpChildren(maker, closedYet); //dumps the matrix if it has one in dumpRest()
125 void SkGradient::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
128 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsDontMatchColors); in onEndElement()
132 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustStartWithZero); in onEndElement()
136 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustEndWithOne); in onEndElement()
141 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustIncrease); in onEndElement()
[all …]
DSkDisplayInclude.cpp47 void SkInclude::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
48 maker.fInInclude = true; in onEndElement()
49 if (src.size() == 0 || maker.decodeURI(src.c_str()) == false) { in onEndElement()
50 if (maker.getErrorCode() != SkXMLParserError::kNoError || maker.getNativeCode() != -1) { in onEndElement()
51 maker.setInnerError(&maker, src); in onEndElement()
52 maker.setErrorCode(SkDisplayXMLParserError::kInInclude); in onEndElement()
54 maker.setErrorNoun(src); in onEndElement()
55 maker.setErrorCode(SkDisplayXMLParserError::kIncludeNameUnknownOrMissing); in onEndElement()
58 maker.fInInclude = false; in onEndElement()
DSkDisplayAdd.cpp40 SkDisplayable* SkAdd::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
45 SkAdd* copy = (SkAdd*) INHERITED::deepCopy(maker); in deepCopy()
51 bool SkAdd::draw(SkAnimateMaker& maker) { in draw() argument
55 use->draw(maker); in draw()
60 void SkAdd::dump(SkAnimateMaker* maker) { in dump() argument
61 dumpBase(maker); in dump()
62 dumpAttrs(maker); in dump()
71 use->dump(maker); in dump()
74 dumpEnd(maker); in dump()
78 bool SkAdd::enable(SkAnimateMaker& maker ) { in enable() argument
[all …]
DSkDrawTo.cpp35 bool SkDrawTo::draw(SkAnimateMaker& maker) { in draw() argument
39 SkCanvas* save = maker.fCanvas; in draw()
40 maker.fCanvas = &canvas; in draw()
41 INHERITED::draw(maker); in draw()
42 maker.fCanvas = save; in draw()
48 void SkDrawTo::dump(SkAnimateMaker* maker) { in dump() argument
49 dumpBase(maker); in dump()
50 dumpAttrs(maker); in dump()
53 dumpDrawables(maker); in dump()
DSkAnimateField.cpp36 void SkAnimate::dump(SkAnimateMaker* maker) { in dump() argument
37 INHERITED::dump(maker); //from animateBase in dump()
75 bool SkAnimate::resolveCommon(SkAnimateMaker& maker) { in resolveCommon() argument
78 INHERITED::onEndElement(maker); in resolveCommon()
79 return maker.hasError() == false; in resolveCommon()
82 void SkAnimate::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
83 bool resolved = resolveCommon(maker); in onEndElement()
85 maker.setErrorNoun(field); in onEndElement()
86 maker.setErrorCode(SkDisplayXMLParserError::kFieldNotInTarget); in onEndElement()
93 fFieldInfo->setValue(maker, &fValues, 0, 0, NULL, outType, to); in onEndElement()
[all …]
DSkDrawPath.cpp48 bool SkDrawPath::add(SkAnimateMaker& maker, SkDisplayable* child) { in add() argument
53 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingToPath); in add()
69 bool SkDrawPath::draw(SkAnimateMaker& maker) { in draw() argument
71 SkBoundableAuto boundable(this, maker); in draw()
72 maker.fCanvas->drawPath(path, *maker.fPaint); in draw()
81 void SkDrawPath::dump(SkAnimateMaker* maker) { in dump() argument
82 dumpBase(maker); in dump()
83 dumpAttrs(maker); in dump()
91 (*part)->dump(maker); in dump()
95 dumpEnd(maker); in dump()
[all …]
DSkDump.cpp39 bool SkDump::enable(SkAnimateMaker& maker ) { in enable() argument
41 return evaluate(maker); in enable()
44 hasAttr |= maker.fDumpEvents = true; in enable()
46 hasAttr |= maker.fDumpPosts = true; in enable()
48 hasAttr |= maker.fDumpGConditions = true; in enable()
50 maker.fEvents.dump(maker); in enable()
52 maker.dump(name.c_str()); in enable()
54 maker.fDisplayList.dump(&maker); in enable()
58 bool SkDump::evaluate(SkAnimateMaker &maker) { in evaluate() argument
59 SkAnimatorScript scriptEngine(maker, NULL, SkType_Int); in evaluate()
[all …]
DSkDisplayBounds.cpp27 bool SkDisplayBounds::draw(SkAnimateMaker& maker) { in draw() argument
28 maker.fDisplayList.fUnionBounds = SkToBool(inval); in draw()
29 maker.fDisplayList.fDrawBounds = false; in draw()
31 bool result = INHERITED::draw(maker); in draw()
32 maker.fDisplayList.fUnionBounds = false; in draw()
33 maker.fDisplayList.fDrawBounds = true; in draw()
35 SkIRect& rect = maker.fDisplayList.fInvalBounds; in draw()
36 maker.fDisplayList.fHasUnion = true; in draw()
DSkDisplayPost.cpp66 void SkPost::dump(SkAnimateMaker* maker) { in dump() argument
67 dumpBase(maker); in dump()
94 } else if (fSinkID != maker->getAnimator()->getSinkID() && fSinkID != 0) { in dump()
167 dumpEnd(maker); in dump()
174 bool SkPost::enable(SkAnimateMaker& maker ) { in enable() argument
175 if (maker.hasError()) in enable()
187 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingDataToPost); in enable()
193 if (maker.fDumpPosts) { in enable()
195 dump(&maker); in enable()
199 SkMSec time = maker.getAppTime(); in enable()
[all …]
DSkDrawBitmap.cpp34 bool SkBaseBitmap::draw(SkAnimateMaker& maker) { in draw() argument
35 SkBoundableAuto boundable(this, maker); in draw()
36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); in draw()
67 void SkDrawBitmap::dump(SkAnimateMaker* maker) { in dump() argument
68 dumpBase(maker); in dump()
69 dumpAttrs(maker); in dump()
88 void SkDrawBitmap::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
143 SkDisplayable* SkImage::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
144 SkDisplayable* copy = INHERITED::deepCopy(maker); in deepCopy()
153 bool SkImage::draw(SkAnimateMaker& maker) { in draw() argument
[all …]
DSkDrawPaint.cpp93 bool SkDrawPaint::add(SkAnimateMaker* maker, SkDisplayable* child) { in add() argument
96 if (part->add() && maker) in add()
97 maker->setErrorCode(SkDisplayXMLParserError::kErrorAddingToPaint); in add()
101 SkDisplayable* SkDrawPaint::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
104 SkDrawPaint* copy = (SkDrawPaint*) INHERITED::deepCopy(maker); in deepCopy()
106 tempColor = (SkDrawColor*) color->deepCopy(maker); in deepCopy()
113 bool SkDrawPaint::draw(SkAnimateMaker& maker) { in draw() argument
114 SkPaint* paint = maker.fPaint; in draw()
120 void SkDrawPaint::dump(SkAnimateMaker* maker) { in dump() argument
121 dumpBase(maker); in dump()
[all …]
DSkDrawRectangle.cpp48 bool SkDrawRect::draw(SkAnimateMaker& maker) { in draw() argument
49 SkBoundableAuto boundable(this, maker); in draw()
50 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw()
55 void SkDrawRect::dump(SkAnimateMaker* maker) { in dump() argument
56 dumpBase(maker); in dump()
129 bool SkRoundRect::draw(SkAnimateMaker& maker) { in draw() argument
130 SkBoundableAuto boundable(this, maker); in draw()
131 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw()
136 void SkRoundRect::dump(SkAnimateMaker* maker) { in dump() argument
137 dumpBase(maker); in dump()
DSkAnimateSet.cpp39 void SkSet::dump(SkAnimateMaker* maker) { in dump() argument
40 INHERITED::dump(maker); in dump()
54 void SkSet::refresh(SkAnimateMaker& maker) { in refresh() argument
55 fFieldInfo->setValue(maker, &fValues, 0, fFieldInfo->fCount, NULL, in refresh()
59 void SkSet::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
60 if (resolveCommon(maker) == false) in onEndElement()
63 maker.setErrorCode(SkDisplayXMLParserError::kFieldNotInTarget); in onEndElement()
89 …fFieldInfo->setValue(maker, &fValues, fFieldOffset, comps, this, outType, formula.size() > 0 ? for… in onEndElement()
DSkDrawTextBox.cpp46 void SkDrawTextBox::dump(SkAnimateMaker* maker) in dump() argument
48 dumpBase(maker); in dump()
49 dumpAttrs(maker); in dump()
70 bool SkDrawTextBox::draw(SkAnimateMaker& maker) in draw() argument
77 SkBoundableAuto boundable(this, maker); in draw()
78 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint); in draw()
DSkDrawText.cpp38 bool SkText::draw(SkAnimateMaker& maker) { in draw() argument
39 SkBoundableAuto boundable(this, maker); in draw()
40 maker.fCanvas->drawText(text.c_str(), text.size(), x, y, *maker.fPaint); in draw()
45 void SkText::dump(SkAnimateMaker* maker) { in dump() argument
46 INHERITED::dump(maker); in dump()
DSkAnimateBase.cpp61 SkDisplayable* SkAnimateBase::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
62 SkAnimateBase* result = (SkAnimateBase*) INHERITED::deepCopy(maker); in deepCopy()
74 void SkAnimateBase::dump(SkAnimateMaker* maker) { in dump() argument
75 dumpBase(maker); in dump()
143 void SkAnimateBase::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument
145 setTarget(maker); in onEndElement()
162 SkAnimatorScript::EvaluateInt(maker, this, scriptStr.c_str(), &fFieldOffset); in onEndElement()
211 void SkAnimateBase::setTarget(SkAnimateMaker& maker) { in setTarget() argument
213 SkAnimatorScript engine(maker, this, SkType_Displayable); in setTarget()
219 else if (maker.find(target.c_str(), (SkDisplayable**) &fTarget) == false) { in setTarget()
[all …]
DSkDisplayType.cpp74 SkDisplayable* SkDisplayType::CreateInstance(SkAnimateMaker* maker, SkDisplayTypes type) { in CreateInstance() argument
203 SkExtras** end = maker->fExtras.end(); in CreateInstance()
204 for (SkExtras** extraPtr = maker->fExtras.begin(); extraPtr < end; extraPtr++) { in CreateInstance()
227 const SkMemberInfo* SkDisplayType::GetMembers(SkAnimateMaker* maker, in GetMembers() argument
359 if (maker) { in GetMembers()
360 SkExtras** end = maker->fExtras.end(); in GetMembers()
361 for (SkExtras** extraPtr = maker->fExtras.begin(); extraPtr < end; extraPtr++) { in GetMembers()
373 const SkMemberInfo* SkDisplayType::GetMember(SkAnimateMaker* maker, in GetMember() argument
376 const SkMemberInfo* info = GetMembers(maker, type, &infoCount); in GetMember()
529 SkDisplayTypes SkDisplayType::Find(SkAnimateMaker* maker, const SkMemberInfo* match) { in Find() argument
[all …]
DSkDisplayable.cpp70 SkDisplayable* SkDisplayable::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument
76 SkDisplayable* copy = SkDisplayType::CreateInstance(maker, type); in deepCopy()
111 if (SkDisplayType::IsDisplayable(maker, info->fType)) { in deepCopy()
115 SkDisplayable* deeper = (*displayable)->deepCopy(maker); in deepCopy()
137 void SkDisplayable::dump(SkAnimateMaker* maker) { in dump() argument
138 dumpBase(maker); in dump()
140 this->dumpAttrs(maker); in dump()
141 this->dumpChildren(maker); in dump()
145 void SkDisplayable::dumpAttrs(SkAnimateMaker* maker) { in dumpAttrs() argument
151 SkDisplayable* blankCopy = SkDisplayType::CreateInstance(maker, type); in dumpAttrs()
[all …]
DSkDisplayEvent.cpp85 void SkDisplayEvent::dumpEvent(SkAnimateMaker* maker) { in dumpEvent() argument
86 dumpBase(maker); in dumpEvent()
119 bool SkDisplayEvent::enableEvent(SkAnimateMaker& maker) in enableEvent() argument
121 maker.fActiveEvent = this; in enableEvent()
127 if (maker.fDumpEvents) { in enableEvent()
129 dumpEvent(&maker); in enableEvent()
132 SkDisplayList& displayList = maker.fDisplayList; in enableEvent()
139 if (displayable->enable(maker)) in enableEvent()
141 if (maker.hasError()) in enableEvent()
175 void SkDisplayEvent::onEndElement(SkAnimateMaker& maker) in onEndElement() argument
[all …]
DSkDrawFull.cpp14 bool SkFull::draw(SkAnimateMaker& maker) { in draw() argument
15 SkBoundableAuto boundable(this, maker); in draw()
16 maker.fCanvas->drawPaint(*maker.fPaint); in draw()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dfactory.py92 maker = test.TestPort
95 maker = dryrun.DryRunPort
98 maker = mock_drt.MockDRTPort
101 maker = mac.MacPort
104 maker = win.WinPort
107 maker = gtk.GtkPort
110 maker = qt.QtPort
113 maker = chromium_gpu.get
116 maker = chromium_mac.ChromiumMacPort
119 maker = chromium_linux.ChromiumLinuxPort
[all …]

1234