Searched refs:focusedView (Results 1 – 4 of 4) sorted by relevance
93 View focusedView = super.getCurrentFocus(); in getCurrentFocus() local94 if (focusedView != null) { in getCurrentFocus()95 return focusedView; in getCurrentFocus()101 focusedView = view.findFocus(); in getCurrentFocus()102 if (focusedView != null) { in getCurrentFocus()103 return focusedView; in getCurrentFocus()
181 View focusedView = child.findFocus(); in findFocus() local182 if (focusedView != null) { in findFocus()183 return focusedView; in findFocus()
343 View focusedView = shadowOf(activity).getCurrentFocus(); in getCurrentFocus_shouldBeNullWhenNoFocusRequested() local344 assertNull(focusedView); in getCurrentFocus_shouldBeNullWhenNoFocusRequested()355 View focusedView = shadowOf(activity).getCurrentFocus(); in getCurrentFocus_shouldReturnSubViewAfterFocusedRequest() local356 assertEquals(R.id.button, focusedView.getId()); in getCurrentFocus_shouldReturnSubViewAfterFocusedRequest()
164 View focusedView = activity.getCurrentFocus(); in getCurrentFocus_shouldGetFocusFromFragment() local165 assertSame(button, focusedView); in getCurrentFocus_shouldGetFocusFromFragment()