code: public void setQueryRefinementEnabled(boolean enable) {
          mQueryRefinement = enable;
          if (mSuggestionsAdapter instanceof SuggestionsAdapter) {
              ((SuggestionsAdapter) mSuggestionsAdapter).setQueryRefinement(
                      enable ? SuggestionsAdapter.REFINE_ALL : SuggestionsAdapter.REFINE_BY_ENTRY);
          }
      }
docs: Specifies if a query refinement button should be displayed alongside each suggestion
  or if it should depend on the flags set in the individual items retrieved from the
  suggestions provider. Clicking on the query refinement button will replace the text
  in the query text field with the text from the suggestion. This flag only takes effect
  if a SearchableInfo has been specified with {@link #setSearchableInfo(SearchableInfo)}
  and not when using a custom adapter.
  
  @param enable true if all items should have a query refinement button, false if only
  those items that have a query refinement flag set should have the button.
  
  @see SearchManager#SUGGEST_COLUMN_FLAGS
  @see SearchManager#FLAG_QUERY_REFINEMENT