Lines Matching full:state
47 struct State {
48 State();
49 ~State();
176 static void drawIntoCanvas(State* state, SkCanvas* canvas) {
178 SkView* view = state->getView();
186 State::State() {
200 State::~State() {
204 void State::setViewport(int w, int h) {
212 const char* State::getSlideTitle(int index) const {
223 void State::handleTouch(void* owner, TouchState state, float x, float y) {
224 switch (state) {
237 void State::applyMatrix(SkCanvas* canvas) {
246 static State* get_state() {
247 static State* gState;
249 gState = new State;
278 State* state = get_state();
281 state->getWidth(), state->getHeight());
286 state->applyMatrix(&canvas);
288 drawIntoCanvas(state, &canvas);
351 State* state = get_state();
352 SkDebugf("---- state.setviewport %p %d %d\n", state, w, h);
353 state->setViewport(w, h);