public void clearFocus() {
        if (searchView != null) {
            searchView.clearFocus();
        } else if (supportView != null) {
            supportView.clearFocus();
        } else {
            throw new IllegalStateException(ERROR_NO_SEARCHVIEW);
        }
    }
public void clearFocus ( ) { if ( searchView != null ) { searchView . clearFocus ( ) ; } else if ( supportView != null ) { supportView . clearFocus ( ) ; } else { throw new IllegalStateException ( ERROR_NO_SEARCHVIEW ) ; } }
Called when this view wants to give up focus. If focus is cleared
{@link View#onFocusChanged(boolean, int, android.graphics.Rect)} is called.
<p>
<strong>Note:</strong> When a View clears focus the framework is trying
to give focus to the first focusable View from the top. Hence, if this
View is the first from the top that can take focus, then all callbacks
related to clearing focus will be invoked after which the framework will
give focus to this view.
</p>