OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Suggestions
(Results
1 - 11
of
11
) sorted by null
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionsProvider.java
26
* Gets
suggestions
for a query.
31
Suggestions
getSuggestions(String query, Source source);
SuggestionsProviderImpl.java
28
*
Suggestions
provider implementation.
61
public
Suggestions
getSuggestions(String query, Source sourceToQuery) {
63
final
Suggestions
suggestions
= new
Suggestions
(query, sourceToQuery);
local
68
receiver = new SuggestionCursorReceiver(
suggestions
);
71
suggestions
.done();
78
return
suggestions
;
93
private final
Suggestions
mSuggestions;
95
public SuggestionCursorReceiver(
Suggestions
suggestions)
[
all
...]
Suggestions.java
26
public class
Suggestions
{
28
private static final String TAG = "QSB.
Suggestions
";
30
/** True if {@link
Suggestions
#close} has been called. */
35
* The observers that want notifications of changes to the published
suggestions
.
48
public
Suggestions
(String query, Source source) {
69
* Marks the
suggestions
set as complete, regardless of whether all corpora have
156
Log.e(TAG, "LEAK! Finalized without being closed:
Suggestions
[" + getQuery() + "]");
189
return "
Suggestions
@" + hashCode() + "{source=" + mSource
SearchActivity.java
67
// or
suggestions
, since QSB was last started.
266
// TODO we should log both sets of
suggestions
in 2-pane mode
378
SuggestionCursor
suggestions
= pos.getCursor();
local
380
if (
suggestions
== null) {
383
int count =
suggestions
.getCount();
388
suggestions
.moveTo(position);
400
// Since the intents for
suggestions
specified by suggestion providers,
423
protected void launchSuggestion(SuggestionCursor
suggestions
, int position) {
424
suggestions
.moveTo(position);
425
Intent intent = SuggestionUtils.getSuggestionIntent(
suggestions
, mAppSearchData)
476
Suggestions
suggestions
= getSuggestionsProvider().getSuggestions(
local
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsAdapter.java
20
import com.android.quicksearchbox.
Suggestions
;
27
* Interface for
suggestions
adapters.
35
* Sets the listener to be notified of clicks on
suggestions
.
45
* Sets the current
suggestions
.
47
void setSuggestions(
Suggestions
suggestions
);
50
* Indicates if there's any
suggestions
in this adapter.
55
* Gets the current
suggestions
.
57
Suggestions
getSuggestions();
DelayingSuggestionsAdapter.java
21
import com.android.quicksearchbox.
Suggestions
;
28
* A {@link SuggestionsListAdapter} that doesn't expose the new
suggestions
38
private
Suggestions
mPendingSuggestions;
52
public void setSuggestions(
Suggestions
suggestions
) {
53
if (
suggestions
== null) {
58
if (shouldPublish(
suggestions
)) {
59
if (DBG) Log.d(TAG, "Publishing
suggestions
immediately: " +
suggestions
);
60
mDelayedAdapter.setSuggestions(
suggestions
);
[
all
...]
SuggestionsAdapterBase.java
21
import com.android.quicksearchbox.
Suggestions
;
32
* Base class for
suggestions
adapters. The templated class A is the list adapter class.
45
private
Suggestions
mSuggestions;
85
public void setSuggestions(
Suggestions
suggestions
) {
86
if (mSuggestions ==
suggestions
) {
90
if (
suggestions
!= null) {
91
suggestions
.release();
98
// TODO: delay the change if there are no
suggestions
for the currently visible tab.
103
mSuggestions =
suggestions
;
[
all
...]
SuggestionsListAdapter.java
26
import com.android.quicksearchbox.
Suggestions
;
29
* Uses a {@link
Suggestions
} object to back a {@link SuggestionsView}.
SearchActivityView.java
44
import com.android.quicksearchbox.
Suggestions
;
95
mSuggestionsView = (SuggestionsView) findViewById(R.id.
suggestions
);
102
//
suggestions
?
193
public
Suggestions
getSuggestions() {
201
public void setSuggestions(
Suggestions
suggestions
) {
202
suggestions
.acquire();
203
mSuggestionsAdapter.setSuggestions(
suggestions
);
220
* Sets the text in the query box. Does not update the
suggestions
.
336
* is All or Web, use the web search
suggestions
as completions
[
all
...]
/external/chromium/chrome/browser/search_engines/
template_url_unittest.cc
356
TEST_F(TemplateURLTest,
Suggestions
) {
/external/chromium_org/chrome/browser/search_engines/
template_url_unittest.cc
616
TEST_F(TemplateURLTest,
Suggestions
) {
[
all
...]
Completed in 173 milliseconds