Home | History | Annotate | Download | only in views

Lines Matching refs:focus

171     SkView* focus = this->getFocusView();
172 if (focus == NULL)
173 focus = this;
177 return focus->doEvent(evt);
187 // send an event to the focus-view
189 SkView* focus = this->getFocusView();
190 if (focus == NULL)
191 focus = this;
195 if (focus->doEvent(evt))
214 //send an event to the focus-view
216 SkView* focus = this->getFocusView();
217 if (focus == NULL)
218 focus = this;
223 if (focus->doEvent(evt))
252 bool SkWindow::onGetFocusView(SkView** focus) const {
253 if (focus)
254 *focus = fFocusView;
258 bool SkWindow::onSetFocusView(SkView* focus) {
259 if (fFocusView != focus) {
262 fFocusView = focus;
263 if (focus)
264 focus->onFocusChange(true);