Lines Matching refs:focus
183 SkView* focus = nullptr; in getFocusView() local
186 if (view->onGetFocusView(&focus)) { in getFocusView()
190 return focus; in getFocusView()
210 SkView* child, *focus; in acceptFocus() local
212 if ((focus = child->acceptFocus(dir)) != nullptr) { in acceptFocus()
213 return focus; in acceptFocus()
218 SkView* child, *focus; in acceptFocus() local
220 if ((focus = child->acceptFocus(dir)) != nullptr) { in acceptFocus()
221 return focus; in acceptFocus()
232 SkView* focus = this->getFocusView(); in moveFocus() local
234 if (focus == nullptr) { // start with the root in moveFocus()
235 focus = this; in moveFocus()
236 while (focus->fParent) { in moveFocus()
237 focus = focus->fParent; in moveFocus()
244 parent = focus; in moveFocus()
245 child = focus->fFirstChild; in moveFocus()
254 if ((focus = child->acceptFocus(dir)) != nullptr) in moveFocus()
255 return focus; in moveFocus()
263 parent = focus->fParent; in moveFocus()
265 return focus->acceptFocus(dir); in moveFocus()
267 child = focus; in moveFocus()
271 if ((focus = child->acceptFocus(dir)) != nullptr) { in moveFocus()
272 return focus; in moveFocus()