/external/skia/src/animator/ |
D | SkDrawSaveLayer.cpp | 41 bool SkSaveLayer::draw(SkAnimateMaker& maker) in draw() argument 46 SkPaint* save = maker.fPaint; in draw() 52 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint, SkCanvas::kHasAlphaLayer_SaveFlag); in draw() 55 maker.fCanvas->saveLayer(&bounds->fRect, save, SkCanvas::kHasAlphaLayer_SaveFlag); in draw() 56 SkPaint local = SkPaint(*maker.fPaint); in draw() 57 maker.fPaint = &local; in draw() 58 bool result = INHERITED::draw(maker); in draw() 59 maker.fPaint = save; in draw() 60 maker.fCanvas->restore(); in draw() 65 void SkSaveLayer::dump(SkAnimateMaker* maker) in dump() argument [all …]
|
D | SkDisplayApply.cpp | 81 void SkApply::activate(SkAnimateMaker& maker) { in activate() argument 90 fActive = new SkActive(*this, maker); in activate() 92 maker.appendActive(fActive); in activate() 170 SkDisplayable* SkApply::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 173 SkApply* result = (SkApply*) INHERITED::deepCopy(maker); in deepCopy() 177 SkAnimateBase* anim = (SkAnimateBase*) (*animPtr)->deepCopy(maker); in deepCopy() 179 maker->helperAdd(anim); in deepCopy() 193 bool SkApply::draw(SkAnimateMaker& maker) { in draw() argument 199 enable(maker); in draw() 201 activate(maker); in draw() [all …]
|
D | SkDrawGroup.cpp | 92 SkDisplayable* SkGroup::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 93 SkDisplayable* copy = INHERITED::deepCopy(maker); in deepCopy() 96 SkDisplayable* deeperCopy = displayable->deepCopy(maker); in deepCopy() 97 ((SkGroup*)copy)->add(*maker, deeperCopy); in deepCopy() 113 bool SkGroup::draw(SkAnimateMaker& maker) { in draw() argument 114 bool conditionTrue = ifCondition(maker, this, condition); in draw() 125 maker.validate(); in draw() 126 result |= drawable->draw(maker); in draw() 127 maker.validate(); in draw() 133 void SkGroup::dump(SkAnimateMaker* maker) { in dump() argument [all …]
|
D | SkDisplayMovie.cpp | 62 SkDisplayable* SkDisplayMovie::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 63 SkDisplayMovie* copy = (SkDisplayMovie*) INHERITED::deepCopy(maker); in deepCopy() 82 bool SkDisplayMovie::draw(SkAnimateMaker& maker) { in draw() argument 86 enable(maker); in draw() 87 maker.fCanvas->save(); in draw() 88 SkPaint local = SkPaint(*maker.fPaint); in draw() 89 bool result = fMovie.draw(maker.fCanvas, &local, in draw() 90 maker.fDisplayList.getTime()) != SkAnimator::kNotDifferent; in draw() 91 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); in draw() 92 maker.fCanvas->restore(); in draw() [all …]
|
D | SkDrawGradient.cpp | 43 … SkGradientUnitMapper(SkAnimateMaker* maker, const char* script) : fMaker(maker), fScript(script) { in SkGradientUnitMapper() argument 115 void SkGradient::dumpRest(SkAnimateMaker* maker) { in dumpRest() argument 116 dumpAttrs(maker); in dumpRest() 126 color->dump(maker); in dumpRest() 129 dumpChildren(maker, closedYet); //dumps the matrix if it has one in dumpRest() 133 void SkGradient::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 136 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsDontMatchColors); in onEndElement() 140 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustStartWithZero); in onEndElement() 144 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustEndWithOne); in onEndElement() 149 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustIncrease); in onEndElement() [all …]
|
D | SkDisplayInclude.cpp | 55 void SkInclude::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 56 maker.fInInclude = true; in onEndElement() 57 if (src.size() == 0 || maker.decodeURI(src.c_str()) == false) { in onEndElement() 58 if (maker.getErrorCode() != SkXMLParserError::kNoError || maker.getNativeCode() != -1) { in onEndElement() 59 maker.setInnerError(&maker, src); in onEndElement() 60 maker.setErrorCode(SkDisplayXMLParserError::kInInclude); in onEndElement() 62 maker.setErrorNoun(src); in onEndElement() 63 maker.setErrorCode(SkDisplayXMLParserError::kIncludeNameUnknownOrMissing); in onEndElement() 66 maker.fInInclude = false; in onEndElement()
|
D | SkDisplayAdd.cpp | 48 SkDisplayable* SkAdd::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 53 SkAdd* copy = (SkAdd*) INHERITED::deepCopy(maker); in deepCopy() 59 bool SkAdd::draw(SkAnimateMaker& maker) { in draw() argument 63 use->draw(maker); in draw() 68 void SkAdd::dump(SkAnimateMaker* maker) { in dump() argument 69 dumpBase(maker); in dump() 70 dumpAttrs(maker); in dump() 79 use->dump(maker); in dump() 82 dumpEnd(maker); in dump() 86 bool SkAdd::enable(SkAnimateMaker& maker ) { in enable() argument [all …]
|
D | SkDrawTo.cpp | 43 bool SkDrawTo::draw(SkAnimateMaker& maker) { in draw() argument 47 SkCanvas* save = maker.fCanvas; in draw() 48 maker.fCanvas = &canvas; in draw() 49 INHERITED::draw(maker); in draw() 50 maker.fCanvas = save; in draw() 56 void SkDrawTo::dump(SkAnimateMaker* maker) { in dump() argument 57 dumpBase(maker); in dump() 58 dumpAttrs(maker); in dump() 61 dumpDrawables(maker); in dump()
|
D | SkAnimateField.cpp | 44 void SkAnimate::dump(SkAnimateMaker* maker) { in dump() argument 45 INHERITED::dump(maker); //from animateBase in dump() 83 bool SkAnimate::resolveCommon(SkAnimateMaker& maker) { in resolveCommon() argument 86 INHERITED::onEndElement(maker); in resolveCommon() 87 return maker.hasError() == false; in resolveCommon() 90 void SkAnimate::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 91 bool resolved = resolveCommon(maker); in onEndElement() 93 maker.setErrorNoun(field); in onEndElement() 94 maker.setErrorCode(SkDisplayXMLParserError::kFieldNotInTarget); in onEndElement() 101 fFieldInfo->setValue(maker, &fValues, 0, 0, NULL, outType, to); in onEndElement() [all …]
|
D | SkDrawPath.cpp | 56 bool SkDrawPath::add(SkAnimateMaker& maker, SkDisplayable* child) { in add() argument 61 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingToPath); in add() 77 bool SkDrawPath::draw(SkAnimateMaker& maker) { in draw() argument 79 SkBoundableAuto boundable(this, maker); in draw() 80 maker.fCanvas->drawPath(path, *maker.fPaint); in draw() 89 void SkDrawPath::dump(SkAnimateMaker* maker) { in dump() argument 90 dumpBase(maker); in dump() 91 dumpAttrs(maker); in dump() 99 (*part)->dump(maker); in dump() 103 dumpEnd(maker); in dump() [all …]
|
D | SkDump.cpp | 47 bool SkDump::enable(SkAnimateMaker& maker ) { in enable() argument 49 return evaluate(maker); in enable() 52 hasAttr |= maker.fDumpEvents = true; in enable() 54 hasAttr |= maker.fDumpPosts = true; in enable() 56 hasAttr |= maker.fDumpGConditions = true; in enable() 58 maker.fEvents.dump(maker); in enable() 60 maker.dump(name.c_str()); in enable() 62 maker.fDisplayList.dump(&maker); in enable() 66 bool SkDump::evaluate(SkAnimateMaker &maker) { in evaluate() argument 67 SkAnimatorScript scriptEngine(maker, NULL, SkType_Int); in evaluate() [all …]
|
D | SkDisplayPost.cpp | 74 void SkPost::dump(SkAnimateMaker* maker) { in dump() argument 75 dumpBase(maker); in dump() 102 } else if (fSinkID != maker->getAnimator()->getSinkID() && fSinkID != 0) { in dump() 175 dumpEnd(maker); in dump() 182 bool SkPost::enable(SkAnimateMaker& maker ) { in enable() argument 183 if (maker.hasError()) in enable() 195 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingDataToPost); in enable() 201 if (maker.fDumpPosts) { in enable() 203 dump(&maker); in enable() 207 SkMSec time = maker.getAppTime(); in enable() [all …]
|
D | SkDisplayBounds.cpp | 35 bool SkDisplayBounds::draw(SkAnimateMaker& maker) { in draw() argument 36 maker.fDisplayList.fUnionBounds = SkToBool(inval); in draw() 37 maker.fDisplayList.fDrawBounds = false; in draw() 39 bool result = INHERITED::draw(maker); in draw() 40 maker.fDisplayList.fUnionBounds = false; in draw() 41 maker.fDisplayList.fDrawBounds = true; in draw() 43 SkIRect& rect = maker.fDisplayList.fInvalBounds; in draw() 44 maker.fDisplayList.fHasUnion = true; in draw()
|
D | SkDrawBitmap.cpp | 42 bool SkBaseBitmap::draw(SkAnimateMaker& maker) { in draw() argument 43 SkBoundableAuto boundable(this, maker); in draw() 44 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); in draw() 75 void SkDrawBitmap::dump(SkAnimateMaker* maker) { in dump() argument 76 dumpBase(maker); in dump() 77 dumpAttrs(maker); in dump() 96 void SkDrawBitmap::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 151 SkDisplayable* SkImage::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 152 SkDisplayable* copy = INHERITED::deepCopy(maker); in deepCopy() 161 bool SkImage::draw(SkAnimateMaker& maker) { in draw() argument [all …]
|
D | SkDrawRectangle.cpp | 56 bool SkDrawRect::draw(SkAnimateMaker& maker) { in draw() argument 57 SkBoundableAuto boundable(this, maker); in draw() 58 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw() 63 void SkDrawRect::dump(SkAnimateMaker* maker) { in dump() argument 64 dumpBase(maker); in dump() 137 bool SkRoundRect::draw(SkAnimateMaker& maker) { in draw() argument 138 SkBoundableAuto boundable(this, maker); in draw() 139 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw() 144 void SkRoundRect::dump(SkAnimateMaker* maker) { in dump() argument 145 dumpBase(maker); in dump()
|
D | SkDrawPaint.cpp | 101 bool SkDrawPaint::add(SkAnimateMaker& maker, SkDisplayable* child) { in add() argument 105 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingToPaint); in add() 109 SkDisplayable* SkDrawPaint::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 112 SkDrawPaint* copy = (SkDrawPaint*) INHERITED::deepCopy(maker); in deepCopy() 114 tempColor = (SkDrawColor*) color->deepCopy(maker); in deepCopy() 121 bool SkDrawPaint::draw(SkAnimateMaker& maker) { in draw() argument 122 SkPaint* paint = maker.fPaint; in draw() 128 void SkDrawPaint::dump(SkAnimateMaker* maker) { in dump() argument 129 dumpBase(maker); in dump() 130 dumpAttrs(maker); in dump() [all …]
|
D | SkAnimateSet.cpp | 47 void SkSet::dump(SkAnimateMaker* maker) { in dump() argument 48 INHERITED::dump(maker); in dump() 62 void SkSet::refresh(SkAnimateMaker& maker) { in refresh() argument 63 fFieldInfo->setValue(maker, &fValues, 0, fFieldInfo->fCount, NULL, in refresh() 67 void SkSet::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 68 if (resolveCommon(maker) == false) in onEndElement() 71 maker.setErrorCode(SkDisplayXMLParserError::kFieldNotInTarget); in onEndElement() 96 …fFieldInfo->setValue(maker, &fValues, fFieldOffset, comps, this, outType, formula.size() > 0 ? for… in onEndElement()
|
D | SkDrawTextBox.cpp | 54 void SkDrawTextBox::dump(SkAnimateMaker* maker) in dump() argument 56 dumpBase(maker); in dump() 57 dumpAttrs(maker); in dump() 78 bool SkDrawTextBox::draw(SkAnimateMaker& maker) in draw() argument 85 SkBoundableAuto boundable(this, maker); in draw() 86 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint); in draw()
|
D | SkDrawText.cpp | 46 bool SkText::draw(SkAnimateMaker& maker) { in draw() argument 47 SkBoundableAuto boundable(this, maker); in draw() 48 maker.fCanvas->drawText(text.c_str(), text.size(), x, y, *maker.fPaint); in draw() 53 void SkText::dump(SkAnimateMaker* maker) { in dump() argument 54 INHERITED::dump(maker); in dump()
|
D | SkAnimateBase.cpp | 69 SkDisplayable* SkAnimateBase::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 70 SkAnimateBase* result = (SkAnimateBase*) INHERITED::deepCopy(maker); in deepCopy() 82 void SkAnimateBase::dump(SkAnimateMaker* maker) { in dump() argument 83 dumpBase(maker); in dump() 151 void SkAnimateBase::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 153 setTarget(maker); in onEndElement() 170 SkAnimatorScript::EvaluateInt(maker, this, scriptStr.c_str(), &fFieldOffset); in onEndElement() 219 void SkAnimateBase::setTarget(SkAnimateMaker& maker) { in setTarget() argument 221 SkAnimatorScript engine(maker, this, SkType_Displayable); in setTarget() 227 else if (maker.find(target.c_str(), (SkDisplayable**) &fTarget) == false) { in setTarget() [all …]
|
D | SkDisplayType.cpp | 82 SkDisplayable* SkDisplayType::CreateInstance(SkAnimateMaker* maker, SkDisplayTypes type) { in CreateInstance() argument 211 SkExtras** end = maker->fExtras.end(); in CreateInstance() 212 for (SkExtras** extraPtr = maker->fExtras.begin(); extraPtr < end; extraPtr++) { in CreateInstance() 235 const SkMemberInfo* SkDisplayType::GetMembers(SkAnimateMaker* maker, in GetMembers() argument 367 if (maker) { in GetMembers() 368 SkExtras** end = maker->fExtras.end(); in GetMembers() 369 for (SkExtras** extraPtr = maker->fExtras.begin(); extraPtr < end; extraPtr++) { in GetMembers() 381 const SkMemberInfo* SkDisplayType::GetMember(SkAnimateMaker* maker, in GetMember() argument 384 const SkMemberInfo* info = GetMembers(maker, type, &infoCount); in GetMember() 537 SkDisplayTypes SkDisplayType::Find(SkAnimateMaker* maker, const SkMemberInfo* match) { in Find() argument [all …]
|
D | SkDisplayable.cpp | 78 SkDisplayable* SkDisplayable::deepCopy(SkAnimateMaker* maker) { in deepCopy() argument 84 SkDisplayable* copy = SkDisplayType::CreateInstance(maker, type); in deepCopy() 119 if (SkDisplayType::IsDisplayable(maker, info->fType)) { in deepCopy() 123 SkDisplayable* deeper = (*displayable)->deepCopy(maker); in deepCopy() 145 void SkDisplayable::dump(SkAnimateMaker* maker) { in dump() argument 146 dumpBase(maker); in dump() 148 this->dumpAttrs(maker); in dump() 149 this->dumpChildren(maker); in dump() 153 void SkDisplayable::dumpAttrs(SkAnimateMaker* maker) { in dumpAttrs() argument 159 SkDisplayable* blankCopy = SkDisplayType::CreateInstance(maker, type); in dumpAttrs() [all …]
|
D | SkDisplayEvent.cpp | 93 void SkDisplayEvent::dumpEvent(SkAnimateMaker* maker) { in dumpEvent() argument 94 dumpBase(maker); in dumpEvent() 127 bool SkDisplayEvent::enableEvent(SkAnimateMaker& maker) in enableEvent() argument 129 maker.fActiveEvent = this; in enableEvent() 135 if (maker.fDumpEvents) { in enableEvent() 137 dumpEvent(&maker); in enableEvent() 140 SkDisplayList& displayList = maker.fDisplayList; in enableEvent() 147 if (displayable->enable(maker)) in enableEvent() 149 if (maker.hasError()) in enableEvent() 183 void SkDisplayEvent::onEndElement(SkAnimateMaker& maker) in onEndElement() argument [all …]
|
D | SkDrawFull.cpp | 22 bool SkFull::draw(SkAnimateMaker& maker) { in draw() argument 23 SkBoundableAuto boundable(this, maker); in draw() 24 maker.fCanvas->drawPaint(*maker.fPaint); in draw()
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
D | factory.py | 92 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 …]
|