HomeSort by relevance Sort by last modified time
    Searched defs:suggestion (Results 1 - 25 of 63) sorted by null

1 2 3

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DefaultSuggestionView.java 21 import com.android.quicksearchbox.Suggestion;
87 public void bindAsSuggestion(Suggestion suggestion, String userQuery) {
88 super.bindAsSuggestion(suggestion, userQuery);
90 CharSequence text1 = formatText(suggestion.getSuggestionText1(), suggestion);
91 CharSequence text2 = suggestion.getSuggestionText2Url();
95 text2 = formatText(suggestion.getSuggestionText2(), suggestion);
109 mAsyncIcon1.set(suggestion.getSuggestionSource(), suggestion.getSuggestionIcon1())
    [all...]
WebSearchSuggestionView.java 21 import com.android.quicksearchbox.Suggestion;
58 public void bindAsSuggestion(Suggestion suggestion, String userQuery) {
59 super.bindAsSuggestion(suggestion, userQuery);
62 suggestion.getSuggestionText1());
64 setIsHistorySuggestion(suggestion.isHistorySuggestion());
97 public boolean canCreateView(Suggestion suggestion) {
98 return suggestion.isWebSearchSuggestion();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 255 SearchSuggestion suggestion = new SearchSuggestion(); local
256 suggestion.filter = filter;
259 suggestion.contactId = c.getLong(0);
260 suggestion.lookupKey = c.getString(1);
261 suggestion.photoUri = c.getString(2);
262 suggestion.text1 = c.getString(3);
263 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4);
264 suggestion.lastAccessTime = c.getString(5);
266 suggestion.text2 = shortenSnippet(c.getString(6));
268 cursor.addRow(suggestion.asList(projection))
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionUtils.java 34 public static Intent getSuggestionIntent(SuggestionCursor suggestion, Bundle appSearchData) {
35 String action = suggestion.getSuggestionIntentAction();
37 String data = suggestion.getSuggestionIntentDataString();
38 String query = suggestion.getSuggestionQuery();
39 String userQuery = suggestion.getUserQuery();
40 String extraData = suggestion.getSuggestionIntentExtraData();
62 intent.setComponent(suggestion.getSuggestionIntentComponent());
67 * Gets a unique key that identifies a suggestion. This is used to avoid
70 public static String getSuggestionKey(Suggestion suggestion) {
    [all...]
SearchActivity.java 269 // Close all open suggestion cursors. The query will be redone in onResume()
385 Log.w(TAG, "Invalid suggestion position " + position + ", count = " + count);
400 // Since the intents for suggestions specified by suggestion providers,
407 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
408 if (suggestion == null) return false;
410 if (DBG) Log.d(TAG, "Launching suggestion " + id);
413 // Log suggestion click
414 getLogger().logSuggestionClick(id, suggestion.getCursor(),
418 launchSuggestion(suggestion.getCursor(), suggestion.getPosition())
431 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
MaterialSearchSuggestionsList.java 105 mController.onSearchPerformed(mSuggestions.get(position).suggestion);
132 final String suggestion = c.getString(textIndex); local
134 result.add(new SuggestionItem(suggestion, iconUri));
160 final String suggestion; field in class:MaterialSearchSuggestionsList.SuggestionItem
164 suggestion = s;
212 text.setText(item.suggestion);
214 item.suggestion));
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 182 String suggestion = mSuggestions.get(i); local
183 float textWidth = paint.measureText(suggestion);
206 canvas.drawText(suggestion, x + X_GAP, y, paint);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 296 for (String suggestion : result.mSuggestions) {
298 builder.append(suggestion);
347 final String suggestion; local
349 suggestion = suggestedWordInfo.mWord.toUpperCase(locale);
351 suggestion = StringUtils.capitalizeFirstCodePoint(
354 suggestion = suggestedWordInfo.mWord;
356 suggestions.add(suggestion);
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 70 public static final class Suggestion {
376 public List<Suggestion> getSuggestions() {
377 ArrayList<Suggestion> list = Lists.newArrayList();
379 Suggestion suggestion = null; local
385 suggestion = new Suggestion();
386 suggestion.contactId = contactId;
387 suggestion.name = mDataCursor.getString(DataQuery.DISPLAY_NAME);
388 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY)
    [all...]
ContactEditorBaseFragment.java 40 import com.android.contacts.editor.AggregationSuggestionEngine.Suggestion;
238 * User switched to editing a different contact (a suggestion from the
275 private final List<AggregationSuggestionEngine.Suggestion> mSuggestions;
278 AggregationSuggestionView.Listener listener, List<Suggestion> suggestions) {
287 final Suggestion suggestion = (Suggestion) getItem(position); local
293 suggestionView.bindSuggestion(suggestion);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java 115 * @param suggestionStripViewAccessor an object to access the suggestion strip view.
264 * A suggestion was picked from the suggestion strip.
266 * @param suggestionInfo the suggestion info.
277 final String suggestion = suggestionInfo.mWord; local
278 // If this is a punctuation picked from the suggestion strip, pass it to onCodeInput
279 if (suggestion.length() == 1 && suggestedWords.isPunctuationSuggestions()) {
280 // We still want to log a suggestion click.
297 if (SpaceState.PHANTOM == mSpaceState && suggestion.length() > 0
301 final int firstChar = Character.codePointAt(suggestion, 0)
    [all...]
  /frameworks/base/core/java/android/widget/
Editor.java 2896 String suggestion = suggestions[suggestionIndex]; local
3066 final String suggestion = suggestionInfo.text.subSequence( local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.help_3.5.0.v20100524.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.2.0/
lint-checks-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.0/
lint-checks-22.4.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.2/
lint-checks-22.4.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.0/
lint-checks-22.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.1/
lint-checks-22.5.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.3/
lint-checks-22.5.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.0/
lint-checks-22.7.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.1/
lint-checks-22.7.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.3/
lint-checks-22.7.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.8.0/
lint-checks-22.8.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.9.2/
lint-checks-22.9.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/23.0.1/
lint-checks-23.0.1.jar 

Completed in 654 milliseconds

1 2 3