Home
last modified time | relevance | path

Searched refs:slideSize (Results 1 – 6 of 6) sorted by relevance

/external/skqp/gm/
Dbitmappremul.cpp98 SkScalar slideSize = SkIntToScalar(SLIDE_SIZE); in onDraw() local
100 canvas->drawBitmap(make_argb4444_gradient(), slideSize, 0); in onDraw()
101 canvas->drawBitmap(make_argb8888_stripes(), 0, slideSize); in onDraw()
102 canvas->drawBitmap(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
/external/skia/gm/
Dbitmappremul.cpp98 SkScalar slideSize = SkIntToScalar(SLIDE_SIZE); in onDraw() local
100 canvas->drawBitmap(make_argb4444_gradient(), slideSize, 0); in onDraw()
101 canvas->drawBitmap(make_argb8888_stripes(), 0, slideSize); in onDraw()
102 canvas->drawBitmap(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
/external/skqp/tools/viewer/
DSlideDir.cpp95 const auto slideSize = slide->getDimensions(); in SlideMatrix() local
96 return SkMatrix::MakeRectToRect(SkRect::MakeIWH(slideSize.width(), slideSize.height()), in SlideMatrix()
302 const auto slideSize = slide->getDimensions(); in load() local
312 slideGrp->addChild(sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeIWH(slideSize.width(), in load()
313 slideSize.height())), in load()
317 SkPoint::Make(slideSize.width() / 2, slideSize.height()), in load()
DViewer.cpp882 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in setupCurrentSlide() local
883 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height()); in setupCurrentSlide()
916 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in preTouchMatrixChanged() local
917 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height()); in preTouchMatrixChanged()
943 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in computePreTouchMatrix() local
944 m.preRotate(fRotation, slideSize.width() * 0.5f, slideSize.height() * 0.5f); in computePreTouchMatrix()
/external/skia/tools/viewer/
DSlideDir.cpp97 const auto slideSize = slide->getDimensions(); in SlideMatrix() local
98 return SkMatrix::MakeRectToRect(SkRect::MakeIWH(slideSize.width(), slideSize.height()), in SlideMatrix()
303 const auto slideSize = slide->getDimensions(); in load() local
313 slideGrp->addChild(sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeIWH(slideSize.width(), in load()
314 slideSize.height())), in load()
318 SkPoint::Make(slideSize.width() / 2, slideSize.height()), in load()
DViewer.cpp933 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in setupCurrentSlide() local
934 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height()); in setupCurrentSlide()
967 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in preTouchMatrixChanged() local
968 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height()); in preTouchMatrixChanged()
994 const SkISize slideSize = fSlides[fCurrentSlide]->getDimensions(); in computePreTouchMatrix() local
995 m.preRotate(fRotation, slideSize.width() * 0.5f, slideSize.height() * 0.5f); in computePreTouchMatrix()