/external/skia/legacy/src/animator/ |
D | SkDrawSaveLayer.cpp | 33 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 …]
|
D | SkDisplayApply.cpp | 73 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 …]
|
D | SkDrawGroup.cpp | 84 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 …]
|
D | SkDisplayMovie.cpp | 54 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 …]
|
D | SkDrawGradient.cpp | 35 … 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 …]
|
D | SkDisplayInclude.cpp | 47 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()
|
D | SkDisplayAdd.cpp | 40 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 …]
|
D | SkDrawTo.cpp | 35 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()
|
D | SkAnimateField.cpp | 36 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 …]
|
D | SkDrawPath.cpp | 48 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 …]
|
D | SkDump.cpp | 39 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 …]
|
D | SkDisplayBounds.cpp | 27 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()
|
/external/skia/src/animator/ |
D | SkDrawSaveLayer.cpp | 33 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 …]
|
D | SkDisplayApply.cpp | 73 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 …]
|
D | SkDrawGroup.cpp | 84 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)->addChild(*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 …]
|
D | SkDisplayMovie.cpp | 54 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 …]
|
D | SkDrawGradient.cpp | 35 …SkDrawGradientUnitMapper(SkAnimateMaker* maker, const char* script) : fMaker(maker), fScript(scrip… in SkDrawGradientUnitMapper() argument 106 void SkDrawGradient::dumpRest(SkAnimateMaker* maker) { in dumpRest() argument 107 dumpAttrs(maker); in dumpRest() 117 color->dump(maker); in dumpRest() 120 dumpChildren(maker, closedYet); //dumps the matrix if it has one in dumpRest() 124 void SkDrawGradient::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 127 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsDontMatchColors); in onEndElement() 131 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustStartWithZero); in onEndElement() 135 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustEndWithOne); in onEndElement() 140 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustIncrease); in onEndElement() [all …]
|
D | SkDisplayInclude.cpp | 47 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()
|
D | SkDisplayAdd.cpp | 40 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 …]
|
D | SkDrawTo.cpp | 35 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()
|
D | SkAnimateField.cpp | 36 void SkAnimate::dump(SkAnimateMaker* maker) { in dump() argument 37 INHERITED::dump(maker); //from animateBase in dump() 65 bool SkAnimate::resolveCommon(SkAnimateMaker& maker) { in resolveCommon() argument 68 INHERITED::onEndElement(maker); in resolveCommon() 69 return maker.hasError() == false; in resolveCommon() 72 void SkAnimate::onEndElement(SkAnimateMaker& maker) { in onEndElement() argument 73 bool resolved = resolveCommon(maker); in onEndElement() 75 maker.setErrorNoun(field); in onEndElement() 76 maker.setErrorCode(SkDisplayXMLParserError::kFieldNotInTarget); in onEndElement() 83 fFieldInfo->setValue(maker, &fValues, 0, 0, NULL, outType, to); in onEndElement() [all …]
|
D | SkDisplayPost.cpp | 66 void SkPost::dump(SkAnimateMaker* maker) { in dump() argument 67 dumpBase(maker); in dump() 90 } else if (fSinkID != maker->getAnimator()->getSinkID() && fSinkID != 0) { in dump() 159 dumpEnd(maker); in dump() 166 bool SkPost::enable(SkAnimateMaker& maker ) { in enable() argument 167 if (maker.hasError()) in enable() 179 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingDataToPost); in enable() 185 if (maker.fDumpPosts) { in enable() 187 dump(&maker); in enable() 191 SkMSec time = maker.getAppTime(); in enable() [all …]
|
D | SkDrawPath.cpp | 48 bool SkDrawPath::addChild(SkAnimateMaker& maker, SkDisplayable* child) { in addChild() argument 53 maker.setErrorCode(SkDisplayXMLParserError::kErrorAddingToPath); in addChild() 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 …]
|
D | SkDump.cpp | 39 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 …]
|
/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 …]
|