Home
last modified time | relevance | path

Searched defs:query (Results 1 – 25 of 272) sorted by relevance

1234567891011

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSuggestionsProvider.java66 public Cursor query(String query) { in query() argument
126 public ContactsCursor query(String query) { in query() argument
157 final StringBuilder query = new StringBuilder(); in createQuery() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSource.java58 public abstract SourceResult queryInternal(String query); in queryInternal()
64 public abstract SourceResult queryExternal(String query); in queryExternal()
102 public SourceResult getSuggestions(String query, int queryLimit) { in getSuggestions()
106 public SourceResult getSuggestionsExternal(String query) { in getSuggestionsExternal()
110 private SourceResult emptyIfNull(SourceResult result, String query) { in emptyIfNull()
DGoogleSource.java32 SourceResult queryInternal(String query); in queryInternal()
37 SourceResult queryExternal(String query); in queryExternal()
DGoogleSuggestClient.java83 public SourceResult queryInternal(String query) { in queryInternal()
88 public SourceResult queryExternal(String query) { in queryExternal()
96 private SourceResult query(String query) { in query() method in GoogleSuggestClient
DGoogleSuggestionProvider.java66 private SourceResult emptyIfNull(SourceResult result, GoogleSource source, String query) { in emptyIfNull()
71 public Cursor query(Uri uri, String[] projection, String selection, in query() method in GoogleSuggestionProvider
78 String query = getQuery(uri); in query() local
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryFilteringUtil.java66 public static boolean nameMatchesT9Query(String query, String name, Context context) { in nameMatchesT9Query()
106 public static int getIndexOfT9Substring(String query, String name, Context context) { in getIndexOfT9Substring()
143 public static boolean nameContainsQuery(String query, String name) { in nameContainsQuery()
154 public static boolean numberMatchesNumberQuery(String query, String number) { in numberMatchesNumberQuery()
165 static int indexOfQueryNonDigitsIgnored(@NonNull String query, @NonNull String number) { in indexOfQueryNonDigitsIgnored()
DQueryBoldingUtil.java58 public static CharSequence getNameWithQueryBolded( in getNameWithQueryBolded()
95 String query, String name, Context context) { in getNameWithInitialsBolded()
128 public static CharSequence getNumberWithQueryBolded( in getNumberWithQueryBolded()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFeatureProviderImpl.java57 public SearchResultLoader getSearchResultLoader(Context context, String query) { in getSearchResultLoader()
62 public List<SearchQueryTask> getSearchQueryTasks(Context context, String query) { in getSearchQueryTasks()
111 public void searchResultClicked(Context context, String query, SearchResult searchResult) { in searchResultClicked()
129 public FutureTask<List<Pair<String, Float>>> getRankerTask(Context context, String query) { in getRankerTask()
155 String cleanQuery(String query) { in cleanQuery()
DSearchFeatureProvider.java43 SearchResultLoader getSearchResultLoader(Context context, String query); in getSearchResultLoader()
49 List<SearchQueryTask> getSearchQueryTasks(Context context, String query); in getSearchQueryTasks()
105 void searchResultClicked(Context context, String query, SearchResult searchResult); in searchResultClicked()
125 FutureTask<List<Pair<String, Float>>> getRankerTask(Context context, String query); in getRankerTask()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchAdapter.java45 private String query; field in SearchAdapter
104 ((SearchContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder() local
106 ((NearbyPlaceViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder() local
108 ((DirectoryContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder() local
143 public void setQuery(String query, @Nullable String rawNumber) { in setQuery()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultAppSearchAlgorithm.java48 public void doSearch(final String query, in doSearch()
60 private ArrayList<ComponentKey> getTitleMatchResult(String query) { in getTitleMatchResult()
74 public static boolean matches(AppInfo info, String query, StringMatcher matcher) { in matches()
165 public boolean matches(String query, String target) { in matches()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java42 private final String query; field in SearchContactsCursorLoader
47 Context context, @Nullable String query, boolean isRegularSearch) { in SearchContactsCursorLoader()
81 private static Uri buildUri(String query) { in buildUri()
129 public boolean updateQuery(@Nullable String query) { in updateQuery()
199 public boolean updateQuery(@NonNull String query) { in updateQuery()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInstalledAppResultTask.java51 String query) { in newTask()
56 String query) { in InstalledAppResultTask()
67 protected List<? extends SearchResult> query() { in query() method in InstalledAppResultTask
DDatabaseResultTask.java101 String query) { in newTask()
125 protected List<? extends SearchResult> query() { in query() method in DatabaseResultTask
174 final String query = mQuery + "%"; in firstWordQuery() local
190 final String query = "% " + mQuery + "%"; in secondaryWordQuery() local
219 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { in query() method in DatabaseResultTask
276 private String[] buildSingleWordSelection(String query, int size) { in buildSingleWordSelection()
295 final String query = mQuery + "%"; in buildAnyWordSelection() local
DAccessibilityServiceResultTask.java55 String query) { in newTask()
60 String query) { in AccessibilityServiceResultTask()
68 protected List<? extends SearchResult> query() { in query() method in AccessibilityServiceResultTask
DSearchQueryTask.java49 public QueryWorker(Context context, SiteMapManager siteMapManager, String query) { in QueryWorker()
69 protected abstract List<? extends SearchResult> query(); in query() method in SearchQueryTask.QueryWorker
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/
DSavedQueryPayload.java29 public final String query; field in SavedQueryPayload
31 public SavedQueryPayload(String query) { in SavedQueryPayload()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java50 private final String query; field in DirectoryContactsCursorLoader
54 public DirectoryContactsCursorLoader(Context context, String query, List<Directory> directories) { in DirectoryContactsCursorLoader()
145 static Uri getContentFilterUri(String query, long directoryId) { in getContentFilterUri()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java42 private String query; field in SmartDialNameMatcher
47 public SmartDialNameMatcher(String query) { in SmartDialNameMatcher()
113 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber, String query) { in matchesNumber()
165 Context context, String phoneNumber, String query, int offset) { in matchesNumberWithOffset()
232 String query, in matchesCombination()
423 public void setQuery(String query) { in setQuery()
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
DHangingSuggestionProvider.java43 public Cursor query(Uri uri, String[] projectionIn, String selection, in query() method in HangingSuggestionProvider
48 String query = null; in query() local
DCrashingSuggestionProvider.java48 public Cursor query(Uri uri, String[] projectionIn, String selection, in query() method in CrashingSuggestionProvider
53 String query = null; in query() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadManagerWrapper.java84 public Cursor query(final Query query) { in query() argument
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlacesCursorLoader.java42 public NearbyPlacesCursorLoader(Context context, String query, @NonNull List<Long> directoryIds) { in NearbyPlacesCursorLoader()
56 private static Uri getContentUri(Context context, String query) { in getContentUri()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java90 String query, long delay) { in checkSourceConcurrent()
133 public long checkSource(String src, ComponentName componentName, String query) { in checkSource()
138 private long checkSourceInternal(String src, SearchableInfo searchable, String query) { in checkSourceInternal()
160 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions()
164 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions()
214 public void checkLiveSource(String src, ComponentName componentName, String query) { in checkLiveSource()
225 public LiveSourceCheck(String src, ComponentName componentName, String query) { in LiveSourceCheck()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchActivity.java210 String query = intent.getStringExtra(SearchManager.QUERY); in setupFromIntent() local
323 protected void setQuery(String query, boolean selectAll) { in setQuery()
331 String query = CharMatcher.WHITESPACE.trimAndCollapseFrom(getQuery(), ' '); in onSearchClicked() local
347 protected void startSearch(Source searchSource, String query) { in startSearch()
439 String query = suggestion.getSuggestionQuery(); in refineSuggestion() local
474 final String query = CharMatcher.WHITESPACE.trimLeadingFrom(getQuery()); in updateSuggestions() local
478 protected void updateSuggestions(String query, Source source) { in updateSuggestions()

1234567891011