Home
last modified time | relevance | path

Searched refs:suggestion (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSuggestionParser.java142 public boolean dismissSuggestion(Tile suggestion) { in dismissSuggestion() argument
143 return dismissSuggestion(suggestion, false); in dismissSuggestion()
150 public boolean dismissSuggestion(Tile suggestion, boolean isSmartSuggestionEnabled) { in dismissSuggestion() argument
151 String keyBase = suggestion.intent.getComponent().flattenToShortString(); in dismissSuggestion()
153 String dismissControl = getDismissControl(suggestion, isSmartSuggestionEnabled); in dismissSuggestion()
207 private boolean isAvailable(Tile suggestion) { in isAvailable() argument
208 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() argument
225 final String requiredUser = suggestion.metaData.getString(META_DATA_REQUIRE_USER_TYPE); in satisifesRequiredUserType()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java314 final TextView suggestion = (TextView) listView.getChildAt(j); in testTextAppearanceInSuggestionsPopup()
315 assertNotNull(suggestion); in testTextAppearanceInSuggestionsPopup()
316 final Spanned spanned = (Spanned) suggestion.getText(); in testTextAppearanceInSuggestionsPopup()
/frameworks/rs/script_api/
Drs_for_each.spec39 allocations. This is a hint only. Implementations may not follow the suggestion.
/frameworks/base/core/java/android/widget/
DEditor.java2742 final String suggestion = suggestionInfo.mText.subSequence( in replaceWithSuggestion() local
2744 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() local
3341 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()
/frameworks/rs/script_api/include/
Drs_for_each.rsh36 * allocations. This is a hint only. Implementations may not follow the suggestion.
/frameworks/base/proto/src/
Dmetrics_constants.proto2028 // have generic constants and the package providing the suggestion
2039 // Click on a suggestion.