Home
last modified time | relevance | path

Searched refs:SuggestionCursor (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java34 public static void assertNoSuggestions(SuggestionCursor suggestions) { in assertNoSuggestions()
38 public static void assertNoSuggestions(String message, SuggestionCursor suggestions) { in assertNoSuggestions()
44 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestion()
49 SuggestionCursor expected, int positionExpected, in assertSameSuggestion()
50 SuggestionCursor observed, int positionObserved) { in assertSameSuggestion()
58 public static void assertSameSuggestions(SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
74 public static void assertSameSuggestionsNoOrder(SuggestionCursor expected, in assertSameSuggestionsNoOrder()
75 SuggestionCursor observed) { in assertSameSuggestionsNoOrder()
80 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestionsNoOrder()
[all …]
DMockLogger.java32 SuggestionCursor suggestionCursor, in logSuggestionClick()
42 public void logExit(SuggestionCursor suggestionCursor, int numChars) { in logExit()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.java19 import com.android.quicksearchbox.SuggestionCursor;
41 private SuggestionCursor mCurrentSuggestions;
139 protected int getSuggestionViewType(SuggestionCursor cursor, int position) { in getSuggestionViewType()
151 protected View getView(SuggestionCursor suggestions, int position, long suggestionId, in getView()
170 SuggestionCursor cursor = null; in onSuggestionsChanged()
177 public SuggestionCursor getCurrentSuggestions() { in getCurrentSuggestions()
187 private void changeSuggestions(SuggestionCursor newCursor) { in changeSuggestions()
DDelayingSuggestionsAdapter.java19 import com.android.quicksearchbox.SuggestionCursor;
74 SuggestionCursor cursor = suggestions.getResult(); in shouldPublish()
133 public SuggestionCursor getCurrentPromotedSuggestions() { in getCurrentPromotedSuggestions()
DSuggestionViewFactory.java20 import com.android.quicksearchbox.SuggestionCursor;
56 View getView(SuggestionCursor suggestion, String userQuery, View convertView, ViewGroup parent); in getView()
DSuggestionsListAdapter.java24 import com.android.quicksearchbox.SuggestionCursor;
69 SuggestionCursor s = getCurrentSuggestions(); in getCount()
DSuggestionViewInflater.java20 import com.android.quicksearchbox.SuggestionCursor;
62 public View getView(SuggestionCursor suggestion, String userQuery, in getView()
DDefaultSuggestionViewFactory.java23 import com.android.quicksearchbox.SuggestionCursor;
64 public View getView(SuggestionCursor suggestion, String userQuery, in getView()
DSuggestionsAdapter.java18 import com.android.quicksearchbox.SuggestionCursor;
DSearchActivityView.java43 import com.android.quicksearchbox.SuggestionCursor;
197 public SuggestionCursor getCurrentSuggestions() { in getCurrentSuggestions()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionPosition.java26 private final SuggestionCursor mCursor;
30 public SuggestionPosition(SuggestionCursor cursor) { in SuggestionPosition()
34 public SuggestionPosition(SuggestionCursor cursor, int suggestionPos) { in SuggestionPosition()
39 public SuggestionCursor getCursor() { in getCursor()
DSuggestionCursorWrapper.java28 private final SuggestionCursor mCursor;
30 public SuggestionCursorWrapper(String userQuery, SuggestionCursor cursor) { in SuggestionCursorWrapper()
76 protected SuggestionCursor current() { in current()
DEventLogLogger.java69 public void logSuggestionClick(long id, SuggestionCursor suggestionCursor, int clickType) { in logSuggestionClick()
87 public void logExit(SuggestionCursor suggestionCursor, int numChars) { in logExit()
96 private String getSuggestions(SuggestionCursor cursor) { in getSuggestions()
DLogger.java48 void logSuggestionClick(long suggestionId, SuggestionCursor suggestionCursor, int clickType); in logSuggestionClick()
69 void logExit(SuggestionCursor suggestionCursor, int numChars); in logExit()
DQueryTask.java30 public class QueryTask<C extends SuggestionCursor> implements NamedTask {
76 public static <C extends SuggestionCursor> void startQuery(String query, in startQuery()
DSuggestionCursorBackedCursor.java60 private final SuggestionCursor mCursor;
63 public SuggestionCursorBackedCursor(SuggestionCursor cursor) { in SuggestionCursorBackedCursor()
DSearchActivity.java369 protected SuggestionCursor getCurrentSuggestions() { in getCurrentSuggestions()
382 SuggestionCursor suggestions = pos.getCursor(); in getCurrentSuggestions()
427 protected void launchSuggestion(SuggestionCursor suggestions, int position) { in launchSuggestion()
DSourceResult.java22 public interface SourceResult extends SuggestionCursor {
DSuggestionCursorProvider.java23 public interface SuggestionCursorProvider<C extends SuggestionCursor> {
DAbstractSuggestionCursorWrapper.java22 implements SuggestionCursor {
DSuggestionCursor.java27 public interface SuggestionCursor extends Suggestion, QuietlyCloseable { interface
DSuggestionUtils.java34 public static Intent getSuggestionIntent(SuggestionCursor suggestion, Bundle appSearchData) { in getSuggestionIntent()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSource.java20 import com.android.quicksearchbox.SuggestionCursor;
27 SuggestionCursor refreshShortcut(String shortcutId, String extraData); in refreshShortcut()
DAbstractGoogleSource.java28 import com.android.quicksearchbox.SuggestionCursor;
52 public abstract SuggestionCursor refreshShortcut(String shortcutId, String extraData); in refreshShortcut()
DGoogleSuggestClient.java33 import com.android.quicksearchbox.SuggestionCursor;
143 public SuggestionCursor refreshShortcut(String shortcutId, String oldExtraData) { in refreshShortcut()

12