Lines Matching refs:focus
148 SkView* focus = this->getFocusView(); in handleChar() local
149 if (focus == nullptr) in handleChar()
150 focus = this; in handleChar()
154 return focus->doEvent(evt); in handleChar()
166 SkView* focus = this->getFocusView(); in handleKey() local
167 if (focus == nullptr) in handleKey()
168 focus = this; in handleKey()
172 if (focus->doEvent(evt)) in handleKey()
193 SkView* focus = this->getFocusView(); in handleKeyUp() local
194 if (focus == nullptr) in handleKeyUp()
195 focus = this; in handleKeyUp()
200 if (focus->doEvent(evt)) in handleKeyUp()
229 bool SkWindow::onGetFocusView(SkView** focus) const { in onGetFocusView()
230 if (focus) in onGetFocusView()
231 *focus = fFocusView; in onGetFocusView()
235 bool SkWindow::onSetFocusView(SkView* focus) { in onSetFocusView() argument
236 if (fFocusView != focus) { in onSetFocusView()
239 fFocusView = focus; in onSetFocusView()
240 if (focus) in onSetFocusView()
241 focus->onFocusChange(true); in onSetFocusView()