Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleSkLayer.cpp154 SkLayer* fRootLayer; member in SkLayerView
174 fRootLayer = new TestLayer(0xFFDDDDDD); in SkLayerView()
175 fRootLayer->setSize(W, H); in SkLayerView()
180 fRootLayer->addChild(child)->unref(); in SkLayerView()
185 child->setPosition(fRootLayer->getWidth()/2 - child->getWidth()/2, in SkLayerView()
186 fRootLayer->getHeight()/2 - child->getHeight()/2); in SkLayerView()
194 fRootLayer->addChild(child)->unref(); in SkLayerView()
199 fRootLayer->setMatrix(matrix); in SkLayerView()
206 SkSafeUnref(fRootLayer); in ~SkLayerView()
223 fRootLayer->draw(canvas); in onDraw()