Lines Matching refs:focus
231 SkView* focus = this->getFocusView();
232 if (focus == NULL)
233 focus = this;
237 return focus->doEvent(evt);
248 // send an event to the focus-view
250 SkView* focus = this->getFocusView();
251 if (focus == NULL)
252 focus = this;
256 if (focus->doEvent(evt))
277 //send an event to the focus-view
279 SkView* focus = this->getFocusView();
280 if (focus == NULL)
281 focus = this;
286 if (focus->doEvent(evt))
321 bool SkWindow::onGetFocusView(SkView** focus) const
323 if (focus)
324 *focus = fFocusView;
328 bool SkWindow::onSetFocusView(SkView* focus)
330 if (fFocusView != focus)
334 fFocusView = focus;
335 if (focus)
336 focus->onFocusChange(true);