/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
H A D | Address.java | 41 final void addMailboxesTo(ArrayList<Address> results) {
argument 42 doAddMailboxesTo(results);
50 protected abstract void doAddMailboxesTo(ArrayList<Address> results);
argument
|
H A D | Group.java | 71 protected void doAddMailboxesTo(ArrayList<Address> results) {
argument 73 results.add(mailboxList.get(i));
|
H A D | Mailbox.java | 113 protected final void doAddMailboxesTo(ArrayList<Address> results) {
argument 114 results.add(this);
|
H A D | AddressList.java | 82 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 D | Builder.java | 98 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 D | DirectoryWalker.java | 60 * 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 D | SingleCorpusPromoterTest.java | 59 ArrayList<CorpusResult> results = new ArrayList<CorpusResult>(); 61 results.add(corpus.getSuggestions(query, 10, false)); 63 suggestions.addCorpusResults(results);
|
H A D | ResultPromoterTest.java | 84 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 D | RankAwarePromoterTest.java | 82 // 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 D | Stopwatches.java | 57 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 D | MultiSourceCorpus.java | 70 * 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 D | WebCorpus.java | 164 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 D | RankAwarePromoter.java | 47 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 D | BinaryDictIOTests.java | 293 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 D | IntegrationTestUtils.java | 174 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 D | FakeAsyncTaskExecutor.java | 208 List<SubmittedTask> results = Lists.newArrayList(); 214 results.add(task); 219 return results;
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | SuggestedMemberListAdapter.java | 171 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 D | BaseVoicemailProviderTest.java | 139 List<File> results = new ArrayList<File>(); 141 results.addAll(findAllFiles(file)); 143 return results;
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | SQLiteContentProvider.java | 205 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 D | OpenSearchSearchEngine.java | 149 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 D | MockProviderTests.java | 107 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 D | MockProviderTests.java | 107 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 D | SQLiteContentProvider.java | 218 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; 224 results[i] = operation.apply(this, results, i); 227 return results;
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 18 # 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 D | AbstractContactsProvider.java | 213 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; 237 results[i] = operation.apply(this, results, i); 240 return results;
|