Searched refs:results (Results 1 - 25 of 49) sorted by relevance

12

/packages/apps/Email/src/org/apache/james/mime4j/field/address/
H A DAddress.java41 final void addMailboxesTo(ArrayList<Address> results) { argument
42 doAddMailboxesTo(results);
50 protected abstract void doAddMailboxesTo(ArrayList<Address> results); argument
H A DGroup.java71 protected void doAddMailboxesTo(ArrayList<Address> results) { argument
73 results.add(mailboxList.get(i));
H A DMailbox.java113 protected final void doAddMailboxesTo(ArrayList<Address> results) { argument
114 results.add(this);
H A DAddressList.java82 ArrayList<Address> results = new ArrayList<Address>();
85 addr.addMailboxesTo(results);
89 // could have held onto a reference to the results
90 return new MailboxList(results, false);
H A DBuilder.java98 ArrayList<Address> results = new ArrayList<Address>();
103 results.add(buildMailbox((ASTmailbox)n));
107 return new MailboxList(results, true);
168 ArrayList<String> results = new ArrayList<String>(node.jjtGetNumChildren());
173 results.add(buildString((ASTdomain)n, true));
177 return new DomainList(results, true);
/packages/apps/Email/src/org/apache/commons/io/
H A DDirectoryWalker.java60 * List results = new ArrayList();
61 * walk(startDirectory, results);
62 * return results;
65 * protected boolean handleDirectory(File directory, int depth, Collection results) {
76 * protected void handleFile(File file, int depth, Collection results) {
79 * results.add(file);
206 * private void handleIsCancelled(File file, int depth, Collection results) {
210 * protected void handleCancelled(File startDirectory, Collection results, CancelException cancel) {
226 * protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException {
234 * protected void handleFile(File file, int depth, Collection results) throw
329 walk(File startDirectory, Collection results) argument
350 walk(File directory, int depth, Collection results) argument
393 checkIfCancelled(File file, int depth, Collection results) argument
434 handleIsCancelled( File file, int depth, Collection results) argument
453 handleCancelled(File startDirectory, Collection results, CancelException cancel) argument
469 handleStart(File startDirectory, Collection results) argument
488 handleDirectory(File directory, int depth, Collection results) argument
503 handleDirectoryStart(File directory, int depth, Collection results) argument
517 handleFile(File file, int depth, Collection results) argument
531 handleRestricted(File directory, int depth, Collection results) argument
545 handleDirectoryEnd(File directory, int depth, Collection results) argument
557 handleEnd(Collection results) argument
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSingleCorpusPromoterTest.java59 ArrayList<CorpusResult> results = new ArrayList<CorpusResult>();
61 results.add(corpus.getSuggestions(query, 10, false));
63 suggestions.addCorpusResults(results);
H A DResultPromoterTest.java84 ResultFilter results = new ResultFilter();
86 new RankAwarePromoter(config(), results, null), results);
97 ResultFilter results = new ResultFilter();
98 RankAwarePromoter promoter = new RankAwarePromoter(config(), results, null);
H A DRankAwarePromoterTest.java82 // The promoted results. There's just one result from corpus
90 // The promoted results.
124 ArrayList<CorpusResult> results = new ArrayList<CorpusResult>();
126 results.add(corpus.getSuggestions(query, 10, false));
128 return results;
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatches.java57 String results = context.getString(R.string.sw_share_main, time + "\n");
60 return results;
62 results += context.getString(R.string.sw_share_laps) + "\n";
64 results += String.format("%d. %s\n", i, getTimeText(laps[lapsNum-i]));
66 return results;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DMultiSourceCorpus.java70 * Creates a corpus result object for a set of source results.
74 * @param results The results of the queries.
78 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { argument
79 return new Result(query, results, latency);
148 ArrayList<SourceResult> results = consumer.getValues();
150 Result result = createResult(query, results, latency);
156 * Base class for results returned by {@link MultiSourceCorpus#getSuggestions}.
167 public Result(String userQuery, ArrayList<SourceResult> results, int latency) { argument
169 mResults = results;
[all...]
H A DWebCorpus.java164 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { argument
165 return new WebResult(query, results, latency);
170 public WebResult(String query, ArrayList<SourceResult> results, int latency) { argument
171 super(query, results, latency);
H A DRankAwarePromoter.java47 if (DBG) Log.d(TAG, "Available results: " + suggestions);
49 // Split non-empty results into important suggestions and not-so-important
55 // Top results, evenly distributed between each high-ranking corpus.
161 * @param results the list of CorpusResults from which to promote.
168 private int roundRobin(LinkedList<CorpusResult> results, int maxPromoted, int stripeSize, argument
171 if (maxPromoted > 0 && !results.isEmpty()) {
172 for (Iterator<CorpusResult> iter = results.iterator();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOTests.java293 private void runReadAndWriteTests(final List<String> results, final int bufferType, argument
295 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType,
297 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType,
299 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferType,
304 final List<String> results = CollectionUtils.newArrayList();
306 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION2);
307 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION3_WITHOUT_DYNAMIC_UPDATE);
308 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION3_WITH_DYNAMIC_UPDATE);
310 for (final String result : results) {
316 final List<String> results
438 runReadUnigramsAndBigramsTests(final List<String> results, final int bufferType, final FormatSpec.FormatOptions formatOptions) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/util/
H A DIntegrationTestUtils.java174 List<T> results = new ArrayList<T>();
176 results.add(clazz.cast(parent));
181 results.addAll(getAllViews(clazz, viewGroup.getChildAt(i)));
184 return results;
H A DFakeAsyncTaskExecutor.java208 List<SubmittedTask> results = Lists.newArrayList();
214 results.add(task);
219 return results;
/packages/apps/Contacts/src/com/android/contacts/group/
H A DSuggestedMemberListAdapter.java171 FilterResults results = new FilterResults();
173 return results;
207 return results;
210 // Read back the results from the cursor and filter out existing group members.
235 return results;
292 results.values = suggestionsList;
293 return results;
297 protected void publishResults(CharSequence constraint, FilterResults results) { argument
299 List<SuggestedMember> suggestionsList = (List<SuggestedMember>) results.values;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseVoicemailProviderTest.java139 List<File> results = new ArrayList<File>();
141 results.addAll(findAllFiles(file));
143 return results;
/packages/apps/Browser/src/com/android/browser/provider/
H A DSQLiteContentProvider.java205 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
223 results[i] = operation.apply(this, results, i);
226 return results;
/packages/apps/Browser/src/com/android/browser/search/
H A DOpenSearchSearchEngine.java149 JSONArray results = new JSONArray(content);
150 JSONArray suggestions = results.getJSONArray(1);
152 if (results.length() > 2) {
153 descriptions = results.getJSONArray(2);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
H A DMockProviderTests.java107 ContentProviderResult[] results = setupPonies();
110 // Check the results
111 assertNotNull(results);
112 assertEquals(2, results.length);
116 MockProvider.sURIMatcher.match(MockProvider.uri(results[0].uri)));
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProviderTests.java107 ContentProviderResult[] results = setupPonies();
110 // Check the results
111 assertNotNull(results);
112 assertEquals(2, results.length);
116 MockProvider.sURIMatcher.match(MockProvider.uri(results[0].uri)));
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DSQLiteContentProvider.java218 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
224 results[i] = operation.apply(this, results, i);
227 return results;
/packages/providers/ContactsProvider/
H A DAndroid.mk18 # would dilute the coverage results. These options do not affect regular
25 # would dilute the coverage results. These options do not affect regular
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAbstractContactsProvider.java213 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
237 results[i] = operation.apply(this, results, i);
240 return results;

Completed in 1333 milliseconds

12