Home | History | Annotate | Download | only in views

Lines Matching refs:focus

229     SkView* focus = this->getFocusView();
230 if (focus == NULL)
231 focus = this;
235 return focus->doEvent(evt);
246 // send an event to the focus-view
248 SkView* focus = this->getFocusView();
249 if (focus == NULL)
250 focus = this;
254 if (focus->doEvent(evt))
275 //send an event to the focus-view
277 SkView* focus = this->getFocusView();
278 if (focus == NULL)
279 focus = this;
284 if (focus->doEvent(evt))
319 bool SkWindow::onGetFocusView(SkView** focus) const
321 if (focus)
322 *focus = fFocusView;
326 bool SkWindow::onSetFocusView(SkView* focus)
328 if (fFocusView != focus)
332 fFocusView = focus;
333 if (focus)
334 focus->onFocusChange(true);