Home | History | Annotate | Download | only in views

Lines Matching refs:focus

173     SkView* focus = this->getFocusView();
174 if (focus == NULL)
175 focus = this;
179 return focus->doEvent(evt);
189 // send an event to the focus-view
191 SkView* focus = this->getFocusView();
192 if (focus == NULL)
193 focus = this;
197 if (focus->doEvent(evt))
216 //send an event to the focus-view
218 SkView* focus = this->getFocusView();
219 if (focus == NULL)
220 focus = this;
225 if (focus->doEvent(evt))
254 bool SkWindow::onGetFocusView(SkView** focus) const {
255 if (focus)
256 *focus = fFocusView;
260 bool SkWindow::onSetFocusView(SkView* focus) {
261 if (fFocusView != focus) {
264 fFocusView = focus;
265 if (focus)
266 focus->onFocusChange(true);