/external/chromium_org/third_party/skia/src/animator/ |
SkDrawFull.cpp | 14 bool SkFull::draw(SkAnimateMaker& maker) { 15 SkBoundableAuto boundable(this, maker); 16 maker.fCanvas->drawPaint(*maker.fPaint);
|
SkDrawOval.cpp | 24 bool SkOval::draw(SkAnimateMaker& maker) { 25 SkBoundableAuto boundable(this, maker); 26 maker.fCanvas->drawOval(fRect, *maker.fPaint);
|
SkDisplayBounds.cpp | 27 bool SkDisplayBounds::draw(SkAnimateMaker& maker) { 28 maker.fDisplayList.fUnionBounds = SkToBool(inval); 29 maker.fDisplayList.fDrawBounds = false; 31 bool result = INHERITED::draw(maker); 32 maker.fDisplayList.fUnionBounds = false; 33 maker.fDisplayList.fDrawBounds = true; 35 SkIRect& rect = maker.fDisplayList.fInvalBounds; 36 maker.fDisplayList.fHasUnion = true;
|
SkDisplayInclude.cpp | 47 void SkInclude::onEndElement(SkAnimateMaker& maker) { 48 maker.fInInclude = true; 49 if (src.size() == 0 || maker.decodeURI(src.c_str()) == false) { 50 if (maker.getErrorCode() != SkXMLParserError::kNoError || maker.getNativeCode() != -1) { 51 maker.setInnerError(&maker, src); 52 maker.setErrorCode(SkDisplayXMLParserError::kInInclude); 54 maker.setErrorNoun(src); 55 maker.setErrorCode(SkDisplayXMLParserError::kIncludeNameUnknownOrMissing) [all...] |
SkDrawSaveLayer.cpp | 33 bool SkSaveLayer::draw(SkAnimateMaker& maker) 38 SkPaint* save = maker.fPaint; 44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint); 47 maker.fCanvas->saveLayer(&bounds->fRect, save); 48 SkPaint local = SkPaint(*maker.fPaint); 49 maker.fPaint = &local; 50 bool result = INHERITED::draw(maker); 51 maker.fPaint = save; 52 maker.fCanvas->restore(); 57 void SkSaveLayer::dump(SkAnimateMaker* maker) [all...] |
SkDrawTo.cpp | 35 bool SkDrawTo::draw(SkAnimateMaker& maker) { 39 SkCanvas* save = maker.fCanvas; 40 maker.fCanvas = &canvas; 41 INHERITED::draw(maker); 42 maker.fCanvas = save; 48 void SkDrawTo::dump(SkAnimateMaker* maker) { 49 dumpBase(maker); 50 dumpAttrs(maker); 53 dumpDrawables(maker);
|
SkDrawLine.cpp | 31 bool SkLine::draw(SkAnimateMaker& maker) { 32 SkBoundableAuto boundable(this, maker); 33 maker.fCanvas->drawLine(x1, y1, x2, y2, *maker.fPaint);
|
SkDrawText.cpp | 38 bool SkText::draw(SkAnimateMaker& maker) { 39 SkBoundableAuto boundable(this, maker); 40 maker.fCanvas->drawText(text.c_str(), text.size(), x, y, *maker.fPaint); 45 void SkText::dump(SkAnimateMaker* maker) { 46 INHERITED::dump(maker);
|
SkDrawClip.cpp | 31 bool SkDrawClip::draw(SkAnimateMaker& maker ) { 33 maker.fCanvas->clipRect(rect->fRect); 36 maker.fCanvas->clipPath(path->fPath);
|
SkTextOnPath.cpp | 32 bool SkTextOnPath::draw(SkAnimateMaker& maker) { 35 SkBoundableAuto boundable(this, maker); 36 maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(), 37 path->getPath(), offset, 0, *maker.fPaint);
|
SkDrawGradient.cpp | 54 void SkDrawGradient::dumpRest(SkAnimateMaker* maker) { 55 dumpAttrs(maker); 65 color->dump(maker); 68 dumpChildren(maker, closedYet); //dumps the matrix if it has one 72 void SkDrawGradient::onEndElement(SkAnimateMaker& maker) { 75 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsDontMatchColors); 79 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustStartWithZero); 83 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustEndWithOne); 88 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustIncrease); 92 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustBeNoMoreThanOne) [all...] |
SkDisplayMovie.cpp | 54 SkDisplayable* SkDisplayMovie::deepCopy(SkAnimateMaker* maker) { 55 SkDisplayMovie* copy = (SkDisplayMovie*) INHERITED::deepCopy(maker); 74 bool SkDisplayMovie::draw(SkAnimateMaker& maker) { 78 enable(maker); 79 maker.fCanvas->save(); 80 SkPaint local = SkPaint(*maker.fPaint); 81 bool result = fMovie.draw(maker.fCanvas, &local, 82 maker.fDisplayList.getTime()) != SkAnimator::kNotDifferent; 83 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); 84 maker.fCanvas->restore() [all...] |
SkDrawTextBox.cpp | 46 void SkDrawTextBox::dump(SkAnimateMaker* maker) 48 dumpBase(maker); 49 dumpAttrs(maker); 70 bool SkDrawTextBox::draw(SkAnimateMaker& maker) 77 SkBoundableAuto boundable(this, maker); 78 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint);
|
/external/skia/src/animator/ |
SkDrawFull.cpp | 14 bool SkFull::draw(SkAnimateMaker& maker) { 15 SkBoundableAuto boundable(this, maker); 16 maker.fCanvas->drawPaint(*maker.fPaint);
|
SkDrawOval.cpp | 24 bool SkOval::draw(SkAnimateMaker& maker) { 25 SkBoundableAuto boundable(this, maker); 26 maker.fCanvas->drawOval(fRect, *maker.fPaint);
|
SkDisplayBounds.cpp | 27 bool SkDisplayBounds::draw(SkAnimateMaker& maker) { 28 maker.fDisplayList.fUnionBounds = SkToBool(inval); 29 maker.fDisplayList.fDrawBounds = false; 31 bool result = INHERITED::draw(maker); 32 maker.fDisplayList.fUnionBounds = false; 33 maker.fDisplayList.fDrawBounds = true; 35 SkIRect& rect = maker.fDisplayList.fInvalBounds; 36 maker.fDisplayList.fHasUnion = true;
|
SkDisplayInclude.cpp | 47 void SkInclude::onEndElement(SkAnimateMaker& maker) { 48 maker.fInInclude = true; 49 if (src.size() == 0 || maker.decodeURI(src.c_str()) == false) { 50 if (maker.getErrorCode() != SkXMLParserError::kNoError || maker.getNativeCode() != -1) { 51 maker.setInnerError(&maker, src); 52 maker.setErrorCode(SkDisplayXMLParserError::kInInclude); 54 maker.setErrorNoun(src); 55 maker.setErrorCode(SkDisplayXMLParserError::kIncludeNameUnknownOrMissing) [all...] |
SkDrawSaveLayer.cpp | 33 bool SkSaveLayer::draw(SkAnimateMaker& maker) 38 SkPaint* save = maker.fPaint; 44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint); 47 maker.fCanvas->saveLayer(&bounds->fRect, save); 48 SkPaint local = SkPaint(*maker.fPaint); 49 maker.fPaint = &local; 50 bool result = INHERITED::draw(maker); 51 maker.fPaint = save; 52 maker.fCanvas->restore(); 57 void SkSaveLayer::dump(SkAnimateMaker* maker) [all...] |
SkDrawTo.cpp | 35 bool SkDrawTo::draw(SkAnimateMaker& maker) { 39 SkCanvas* save = maker.fCanvas; 40 maker.fCanvas = &canvas; 41 INHERITED::draw(maker); 42 maker.fCanvas = save; 48 void SkDrawTo::dump(SkAnimateMaker* maker) { 49 dumpBase(maker); 50 dumpAttrs(maker); 53 dumpDrawables(maker);
|
SkDrawLine.cpp | 31 bool SkLine::draw(SkAnimateMaker& maker) { 32 SkBoundableAuto boundable(this, maker); 33 maker.fCanvas->drawLine(x1, y1, x2, y2, *maker.fPaint);
|
SkDrawText.cpp | 38 bool SkText::draw(SkAnimateMaker& maker) { 39 SkBoundableAuto boundable(this, maker); 40 maker.fCanvas->drawText(text.c_str(), text.size(), x, y, *maker.fPaint); 45 void SkText::dump(SkAnimateMaker* maker) { 46 INHERITED::dump(maker);
|
SkDrawClip.cpp | 31 bool SkDrawClip::draw(SkAnimateMaker& maker ) { 33 maker.fCanvas->clipRect(rect->fRect); 36 maker.fCanvas->clipPath(path->fPath);
|
SkTextOnPath.cpp | 32 bool SkTextOnPath::draw(SkAnimateMaker& maker) { 35 SkBoundableAuto boundable(this, maker); 36 maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(), 37 path->getPath(), offset, 0, *maker.fPaint);
|
SkDrawGradient.cpp | 54 void SkDrawGradient::dumpRest(SkAnimateMaker* maker) { 55 dumpAttrs(maker); 65 color->dump(maker); 68 dumpChildren(maker, closedYet); //dumps the matrix if it has one 72 void SkDrawGradient::onEndElement(SkAnimateMaker& maker) { 75 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsDontMatchColors); 79 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustStartWithZero); 83 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustEndWithOne); 88 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustIncrease); 92 maker.setErrorCode(SkDisplayXMLParserError::kGradientOffsetsMustBeNoMoreThanOne) [all...] |
SkDisplayMovie.cpp | 54 SkDisplayable* SkDisplayMovie::deepCopy(SkAnimateMaker* maker) { 55 SkDisplayMovie* copy = (SkDisplayMovie*) INHERITED::deepCopy(maker); 74 bool SkDisplayMovie::draw(SkAnimateMaker& maker) { 78 enable(maker); 79 maker.fCanvas->save(); 80 SkPaint local = SkPaint(*maker.fPaint); 81 bool result = fMovie.draw(maker.fCanvas, &local, 82 maker.fDisplayList.getTime()) != SkAnimator::kNotDifferent; 83 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); 84 maker.fCanvas->restore() [all...] |