HomeSort by relevance Sort by last modified time
    Searched refs:query (Results 176 - 200 of 1949) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/support/v4/honeycomb/android/support/v4/widget/
SearchViewCompatHoneycomb.java 33 public boolean onQueryTextSubmit(String query);
55 public boolean onQueryTextSubmit(String query) {
56 return listener.onQueryTextSubmit(query);
87 public static void setQuery(View searchView, CharSequence query, boolean submit) {
88 ((SearchView) searchView).setQuery(query, submit);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractSource.java 78 public Intent createSearchIntent(String query, Bundle appData) {
79 return createSourceSearchIntent(getIntentComponent(), query, appData);
82 public static Intent createSourceSearchIntent(ComponentName activity, String query,
94 intent.putExtra(SearchManager.USER_QUERY, query);
95 intent.putExtra(SearchManager.QUERY, query);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 110 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestResultsProvider
112 SQLiteQueryBuilder query = new SQLiteQueryBuilder(); local
113 query.setTables(TABLE_NAME);
121 query.appendWhere(_ID);
122 query.appendWhere("=");
123 query.appendWhere(uri.getPathSegments().get(1));
127 query.appendWhere(COLUMN_TEST_NAME);
128 query.appendWhere("=");
129 query.appendWhere("\"" + uri.getPathSegments().get(1) + "\"");
137 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder)
    [all...]
  /external/chromium_org/gpu/command_buffer/client/
query_tracker.cc 88 QueryTracker::Query::Query(GLuint id, GLenum target,
102 void QueryTracker::Query::Begin(GLES2Implementation* gl) {
124 void QueryTracker::Query::End(GLES2Implementation* gl) {
129 // There was no error so start the query on the serivce.
134 // set the query as completed and return the error.
148 bool QueryTracker::Query::CheckResultsAvailable(
183 uint32 QueryTracker::Query::GetResult() const {
203 QueryTracker::Query* QueryTracker::CreateQuery(GLuint id, GLenum target) {
210 Query* query = new Query(id, target, info) local
226 Query* query = it->second; local
245 Query* query = *it; local
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestClient.java 83 public SourceResult queryInternal(String query) {
84 return query(query);
88 public SourceResult queryExternal(String query) {
89 return query(query);
96 private SourceResult query(String query) { method in class:GoogleSuggestClient
97 if (TextUtils.isEmpty(query)) {
105 String encodedQuery = URLEncoder.encode(query, "UTF-8")
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_ArtistsTest.java 41 assertNotNull(c = mContentResolver.query(
45 assertNotNull(c = mContentResolver.query(
52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null));
79 // query
80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
113 c = mContentResolver.query(filterUri, null, null, null, null);
121 c = mContentResolver.query(filterUri, null, null, null, null);
128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
MediaStore_Audio_GenresTest.java 43 assertNotNull(c = mContentResolver.query(
48 assertNotNull(c = mContentResolver.query(
59 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null));
70 // query
71 Cursor c = mContentResolver.query(uri, null, null, null, null);
82 c = mContentResolver.query(uri, null, null, null, null);
121 cursor = mContentResolver.query(audioGenresUri, null, null, null, null);
131 cursor = mContentResolver.query(audioGenresUri, null, null, null, null);
MediaStore_Audio_Genres_MembersTest.java 45 Cursor c = mContentResolver.query(uri, null, null, null, null);
51 c = mContentResolver.query(uri, null, null, null, null);
69 assertNotNull(c = mContentResolver.query(
75 assertNotNull(c = mContentResolver.query(
86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null,
94 Cursor c = mContentResolver.query(uri, null, null, null, null);
112 // query, slow path
113 c = mContentResolver.query(membersUri, null, null, null, null);
152 // query again, fast path
153 c = mContentResolver.query(membersUri
    [all...]
  /development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
SearchFragment.java 49 Log.i(TAG, String.format("Search Query Text Change %s", newQuery));
56 public boolean onQueryTextSubmit(String query) {
57 Log.i(TAG, String.format("Search Query Text Submit %s", query));
59 loadQuery(query);
63 private void loadQuery(String query) {
64 mQuery = query;
66 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
  /external/chromium_org/chrome/browser/ui/app_list/search/
tokenized_string_match.cc 15 // The factors below are applied when the current char of query matches
18 // matched portion is a prefix of both the query and the text, which implies
19 // that the matched chars are at the same position in query and text. This is
21 // of the query and the text does not match, the algorithm moves to the next
23 // be used if the first char of the token matches the current char of the query.
28 // Query 'go' would yield kIsPrefixMultiplier for each char.
29 // Query 'gc' would use kIsPrefixMultiplier for 'g' and
31 // Query 'ch' would use kIsFrontOfWordMultipler for 'c' and
33 // Query 'oo' does not match any prefix and would use the substring match
43 // PrefixMatcher matches the chars of a given query as prefix of tokens i
    [all...]
  /external/chromium_org/chrome/browser/ui/search/
instant_search_prerenderer.cc 103 void InstantSearchPrerenderer::Commit(const base::string16& query) {
106 SearchTabHelper::FromWebContents(prerender_contents())->Submit(query);
111 const base::string16& query) const {
112 if (!source || query.empty() || !prerender_handle_ ||
114 !prerender_contents() || !QueryMatchesPrefetch(query)) {
118 // InstantSearchPrerenderer can commit query to the prerendered page only if
156 const base::string16& query) const {
159 return last_instant_suggestion_.text == query;
  /external/chromium_org/gpu/command_buffer/service/
query_manager.h 32 class GPU_EXPORT Query : public base::RefCounted<Query> {
34 Query(
75 virtual ~Query();
122 friend class base::RefCounted<Query>;
126 // The manager that owns this Query.
129 // The type of query.
132 // The shared memory used with this Query.
157 // Creates a Query for the given query
    [all...]
  /packages/apps/Browser/src/com/android/browser/search/
SearchEngineInfo.java 121 * Returns the URI for launching a web search with the given query (or null if there was no
124 public String getSearchUriForQuery(String query) {
125 return getFormattedUri(searchUri(), query);
129 * Returns the URI for retrieving web search suggestions for the given query (or null if there
132 public String getSuggestUriForQuery(String query) {
133 return getFormattedUri(suggestUri(), query);
156 private String getFormattedUri(String templateUri, String query) {
161 // Encode the query terms in the requested encoding (and fallback to UTF-8 if not).
164 return templateUri.replace(PARAMETER_SEARCH_TERMS, URLEncoder.encode(query, enc));
166 Log.e(TAG, "Exception occured when encoding query " + query + " to " + enc)
    [all...]
  /frameworks/base/core/java/android/net/
Uri.java 108 <scheme>://<authority><path>?<query>
275 * Gets the decoded query component from this URI. The query comes after
276 * the query separator ('?') and before the fragment separator ('#'). This
280 * @return the decoded query or null if there isn't one
285 * Gets the encoded query component from this URI. The query comes after
286 * the query separator ('?') and before the fragment separator ('#'). This
290 * @return the encoded query or null if there isn't one
390 // the data we include -- only the ssp, not the query params o
633 private Part query; field in class:Uri.StringUri
1141 private final Part query; field in class:Uri.HierarchicalUri
1323 private Part query; field in class:Uri.Builder
1431 Builder query(Part query) { method in class:Uri.Builder
1442 public Builder query(String query) { method in class:Uri.Builder
1565 String query = getEncodedQuery(); local
1608 String query = getEncodedQuery(); local
1671 final String query = getEncodedQuery(); local
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
UriTest.java 289 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment");
294 testHierarchical("http", "google.com", "", "query", "fragment");
295 testHierarchical("http", "google.com", "", "query", null);
296 testHierarchical("http", null, "/", "query", null);
300 String path, String query, String fragment) {
309 if (query != null) {
310 sb.append('?').append(query);
328 uriString, ssp, uri, scheme, authority, path, query, fragment);
330 uriString, ssp, uri, scheme, authority, path, query, fragment);
337 uriString, ssp, uri, scheme, authority, path, query, fragment)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
urlparse.py 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin):
128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin):
138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
143 scheme, netloc, url, query, fragment = tuple
148 return ParseResult(scheme, netloc, url, params, query, fragment)
169 <scheme>://<netloc>/<path>?<query>#<fragment>
170 Return a 5-tuple: (scheme, netloc, path, query, fragment).
180 netloc = query = fragment = ''
194 url, query = url.split('?', 1
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
urlparse.py 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin):
128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin):
138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
143 scheme, netloc, url, query, fragment = tuple
148 return ParseResult(scheme, netloc, url, params, query, fragment)
169 <scheme>://<netloc>/<path>?<query>#<fragment>
170 Return a 5-tuple: (scheme, netloc, path, query, fragment).
180 netloc = query = fragment = ''
194 url, query = url.split('?', 1
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceNetworkViews.java 73 * Get the response to the query
74 * @return the response to the query
76 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); method in interface:MonkeySourceNetworkViews.ViewIntrospectionCommand
98 * Also sets up a communication connection so we can query the
228 return getter.query(node, args);
245 return (new GetAccessibilityIds()).query(node, new ArrayList<String>());
270 MonkeyCommandReturn result = idGetter.query(node, emptyArgs);
289 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetLocation
311 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetText
335 public MonkeyCommandReturn query(AccessibilityNodeInfo node method in class:MonkeySourceNetworkViews.GetClass
349 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChecked
364 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetEnabled
379 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetSelected
395 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetSelected
419 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetFocused
435 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetFocused
460 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetAccessibilityIds
489 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetParent
510 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChildren
    [all...]
  /frameworks/native/libs/gui/tests/
IGraphicBufferProducer_test.cpp 271 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value));
274 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value));
277 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value));
280 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value));
284 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value));
287 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &value));
295 // One past the end of the last 'query' enum value. Update this if we add more enums.
300 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value));
301 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value));
302 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUERY_LAST_OFF_BY_ONE, &value))
    [all...]
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
LookupActivity.java 222 // Start query for incoming search request
223 String query = intent.getStringExtra(SearchManager.QUERY); local
224 startNavigating(query, true);
231 String query = data.getPathSegments().get(0); local
232 startNavigating(query, true);
261 * background query to the Wiktionary API. When finished, it transitions
275 * Perform the background query using {@link ExtendedWikiHelper}, which
280 String query = args[0]; local
284 // If query word is null, assume request for random wor
    [all...]
  /external/smack/src/org/xbill/DNS/
ExtendedResolver.java 26 Message query; field in class:ExtendedResolver.Resolution
32 Resolution(ExtendedResolver eres, Message query) {
57 this.query = query;
66 inprogress[n] = resolvers[n].sendAsync(query, this);
95 return resolvers[0].send(query);
351 * @param query The query to send.
356 send(Message query) throws IOException {
357 Resolution res = new Resolution(this, query);
    [all...]
  /libcore/luni/src/main/java/java/net/
URI.java 37 * {@code http://username:password@host:8080/directory/file?query#fragment}
41 * <tr><td>{@link #getSchemeSpecificPart() Scheme-specific part}</td><td>{@code //username:password@host:8080/directory/file?query#fragment}</td><td></td></tr>
47 * <tr><td>{@link #getQuery() Query} </td><td>{@code query} </td><td></td></tr>
88 * has an authority, user info, host, port, path or query. An opaque URIs may
117 * <tr><td>Query </td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code _-!.~'()*,;:$&+=?/[]@}</td><td>Non-ASCII characters okay </td><td>{@code q=green%20robots} </td><td>{@code q=green robots}</td></tr>
146 /** for query, fragment, and scheme-specific part */
188 private transient String query; field in class:URI
235 public URI(String scheme, String userInfo, String host, int port, String path, String query,
238 && query == null && fragment == null)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/timezone/
timezone_request.cc 123 std::string query(url.query());
124 query += base::StringPrintf(
129 query += "&";
130 query += kKeyString;
131 query += "=";
132 query += net::EscapeQueryParamValue(api_key, true);
136 query += base::StringPrintf(
139 query += "&";
140 query += kSensorString
    [all...]
  /external/chromium_org/cloud_print/gcp20/prototype/
dns_sd_server.cc 160 if (parser.header().flags & net::dns_protocol::kFlagResponse) // Not a query.
167 DnsQueryRecord query; local
170 bool success = parser.ReadRecord(&query);
172 ProccessQuery(current_ttl, query, &builder);
194 void DnsSdServer::ProccessQuery(uint32 current_ttl, const DnsQueryRecord& query,
198 switch (query.qtype) {
201 log = "Processing PTR query";
202 if (query.qname == serv_params_.service_type_ ||
203 query.qname == serv_params_.secondary_service_type_) {
204 builder->AppendPtr(query.qname, current_ttl
    [all...]
  /external/robolectric/src/main/java/android/net/
Uri__FromAndroid.java 96 <scheme>://<authority><path>?<query>
263 * Gets the decoded query component from this URI. The query comes after
264 * the query separator ('?') and before the fragment separator ('#'). This
268 * @return the decoded query or null if there isn't one
273 * Gets the encoded query component from this URI. The query comes after
274 * the query separator ('?') and before the fragment separator ('#'). This
278 * @return the encoded query or null if there isn't one
579 private Part query; field in class:Uri__FromAndroid.StringUri
1087 private final Part query; field in class:Uri__FromAndroid.HierarchicalUri
1267 private Part query; field in class:Uri__FromAndroid.Builder
1375 Builder query(Part query) { method in class:Uri__FromAndroid.Builder
1386 public Builder query(String query) { method in class:Uri__FromAndroid.Builder
1504 String query = getEncodedQuery(); local
1567 String query = getEncodedQuery(); local
    [all...]

Completed in 2178 milliseconds

1 2 3 4 5 6 78 91011>>