Searched refs:suggestion (Results 1 – 6 of 6) sorted by relevance
142 public boolean dismissSuggestion(Tile suggestion) { in dismissSuggestion() argument143 return dismissSuggestion(suggestion, false); in dismissSuggestion()150 public boolean dismissSuggestion(Tile suggestion, boolean isSmartSuggestionEnabled) { in dismissSuggestion() argument151 String keyBase = suggestion.intent.getComponent().flattenToShortString(); in dismissSuggestion()153 String dismissControl = getDismissControl(suggestion, isSmartSuggestionEnabled); in dismissSuggestion()207 private boolean isAvailable(Tile suggestion) { in isAvailable() argument208 final String featuresRequired = suggestion.metaData.getString(META_DATA_REQUIRE_FEATURE); in isAvailable()215 Log.i(TAG, suggestion.title + " requires unavailable feature " + feature); in isAvailable()224 private boolean satisifesRequiredUserType(Tile suggestion) { in satisifesRequiredUserType() argument225 final String requiredUser = suggestion.metaData.getString(META_DATA_REQUIRE_USER_TYPE); in satisifesRequiredUserType()[all …]
314 final TextView suggestion = (TextView) listView.getChildAt(j); in testTextAppearanceInSuggestionsPopup()315 assertNotNull(suggestion); in testTextAppearanceInSuggestionsPopup()316 final Spanned spanned = (Spanned) suggestion.getText(); in testTextAppearanceInSuggestionsPopup()
39 allocations. This is a hint only. Implementations may not follow the suggestion.
2742 final String suggestion = suggestionInfo.mText.subSequence( in replaceWithSuggestion() local2744 mTextView.replaceText_internal(spanStart, spanEnd, suggestion); in replaceWithSuggestion()2750 final int lengthDelta = suggestion.length() - (spanEnd - spanStart); in replaceWithSuggestion()3338 final String suggestion = suggestions[suggestionIndex]; in getSuggestionInfo() local3341 if (otherSuggestionInfo.mText.toString().equals(suggestion)) { in getSuggestionInfo()3356 suggestionInfo.mSuggestionEnd = suggestion.length(); in getSuggestionInfo()3357 suggestionInfo.mText.replace(0, suggestionInfo.mText.length(), suggestion); in getSuggestionInfo()
36 * allocations. This is a hint only. Implementations may not follow the suggestion.
2028 // have generic constants and the package providing the suggestion2039 // Click on a suggestion.