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

12345

/frameworks/base/core/java/android/widget/
H A DCursorFilter.java24 * and convert the results into String that can be used by auto-completion
51 FilterResults results = new FilterResults();
53 results.count = cursor.getCount();
54 results.values = cursor;
56 results.count = 0;
57 results.values = null;
59 return results;
63 protected void publishResults(CharSequence constraint, FilterResults results) { argument
66 if (results.values != null && results
[all...]
H A DFilter.java140 * @return the results of the filtering operation
149 * <p>Invoked in the UI thread to publish the filtering results in the
151 * results computed in {@link #performFiltering}.</p>
154 * @param results the results of the filtering operation
161 FilterResults results);
165 * should override this method to convert their results. The default
177 * <p>Holds the results of a filtering operation. The results are the values
223 * with the results t
160 publishResults(CharSequence constraint, FilterResults results) argument
308 FilterResults results; field in class:Filter.RequestArguments
[all...]
H A DArrayAdapter.java44 * or to have some of data besides toString() results fill the views,
452 FilterResults results = new FilterResults();
465 results.values = list;
466 results.count = list.size();
499 results.values = newValues;
500 results.count = newValues.size();
503 return results;
507 protected void publishResults(CharSequence constraint, FilterResults results) { argument
509 mObjects = (List<T>) results.values;
510 if (results
[all...]
H A DSimpleAdapter.java327 FilterResults results = new FilterResults();
335 results.values = list;
336 results.count = list.size();
369 results.values = newValues;
370 results.count = newValues.size();
373 return results;
377 protected void publishResults(CharSequence constraint, FilterResults results) { argument
379 mData = (List<Map<String, ?>>) results.values;
380 if (results.count > 0) {
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorFilter.java25 * delegate methods to run the queries and convert the results into String
52 FilterResults results = new FilterResults();
54 results.count = cursor.getCount();
55 results.values = cursor;
57 results.count = 0;
58 results.values = null;
60 return results;
64 protected void publishResults(CharSequence constraint, FilterResults results) { argument
67 if (results.values != null && results
[all...]
/frameworks/base/core/java/android/app/
H A DIInstrumentationWatcher.aidl27 in Bundle results);
29 in Bundle results);
/frameworks/base/core/java/android/hardware/camera2/
H A DTotalCaptureResult.java27 * <p>The total assembled results of a single image capture from the image sensor.</p>
55 * Takes ownership of the passed-in camera metadata and the partial results
57 * @param partials a list of partial results; {@code null} will be substituted for an empty list
60 public TotalCaptureResult(CameraMetadataNative results, CaptureRequest parent, argument
62 super(results, parent, extras);
77 public TotalCaptureResult(CameraMetadataNative results, int sequenceId) { argument
78 super(results, sequenceId);
84 * Get the read-only list of partial results that compose this total result.
93 * @return unmodifiable list of partial results
/frameworks/base/core/java/android/speech/
H A DIRecognitionListener.aidl23 * This gives you both the final recognition results, as well as various
67 * Called when recognition results are ready.
69 * @param results a Bundle containing the most likely results (N-best list).
71 void onResults(in Bundle results);
74 * Called when recognition partial results are ready.
76 * @param results a Bundle containing the current most likely result.
78 void onPartialResults(in Bundle results);
H A DRecognitionListener.java69 * Called when recognition results are ready.
71 * @param results the recognition results. To retrieve the results in {@code
76 void onResults(Bundle results); argument
79 * Called when partial recognition results are available. The callback might be called at any
81 * results are ready. This method may be called zero, one or multiple times for each call to
83 * service implementation. To request partial results, use
86 * @param partialResults the returned results. To retrieve the results i
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java128 Bundle results = new Bundle();
129 results.putString("device_id", mDeviceId);
130 results.putString("timestamp", ts);
131 results.putInt("size", FILE_SIZE);
132 addStatsToResults(PROF_LABEL, prof_stats, results, mUid);
133 addStatsToResults(PROC_LABEL, proc_stats, results, mUid);
134 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
182 Bundle results = new Bundle();
183 results.putString("device_id", mDeviceId);
184 results
306 addStatsToResults(String label, NetworkStats stats, Bundle results, int uid) argument
[all...]
/frameworks/base/core/java/com/android/internal/textservice/
H A DISpellCheckerSessionListener.aidl26 void onGetSuggestions(in SuggestionsInfo[] results);
/frameworks/base/core/java/android/bluetooth/le/
H A DScanCallback.java22 * Bluetooth LE scan callbacks. Scan results are reported using these callbacks.
58 * Callback when batch results are delivered.
60 * @param results List of scan results that are previously scanned.
62 public void onBatchScanResults(List<ScanResult> results) { argument
/frameworks/base/opengl/java/android/opengl/
H A DVisibility.java86 * @param results an integer array containing the indices of the spheres
88 * @param resultsOffset an offset into the results array where the results
91 * results.
94 * results are written into the results array.
99 * results is null, resultsOffset < 0, resultsOffset > results.length -
104 int[] results, int resultsOffset, int resultsCapacity);
102 frustumCullSpheres(float[] mvp, int mvpOffset, float[] spheres, int spheresOffset, int spheresCount, int[] results, int resultsOffset, int resultsCapacity) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryCommitter.java83 final ContentProviderResult[] results = mContentResolver.applyBatch(
89 return ((results == null || results.length == 0 || results[0] == null)
90 ? null : results[0].uri);
/frameworks/base/location/java/android/location/
H A DGeocoder.java75 * @param locale the desired Locale for the query results
105 * The results are a best guess and are not guaranteed to be meaningful or
132 List<Address> results = new ArrayList<Address>();
134 mParams, results);
138 return results;
155 * The results are a best guess and are not guaranteed to be meaningful or
160 * @param maxResults max number of results to return. Smaller numbers (1 to 5) are recommended
174 List<Address> results = new ArrayList<Address>();
176 0, 0, 0, 0, maxResults, mParams, results);
180 return results;
[all...]
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java24 * outputs the results using writer of type {@link PerformanceResultsWriter}.
54 * Structure of results output is up to implementor of
81 * @param results memory and runtime metrics stored as key/value pairs,
86 public void writeEndSnapshot(Bundle results); argument
104 * @param results runtime metrics of code block between calls to
109 public void writeStopTiming(Bundle results); argument
143 * In a results Bundle, this key references a List of iteration Bundles.
151 * In a results Bundle, this key reports the cpu time of the code block
156 * In a results Bundle, this key reports the execution time of the code
564 * Returns a bundle with the current results fro
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DRemoteInput.java34 /** Extra added to a clip data intent object to hold the results bundle. */
181 * Get the remote input results bundle from an intent. The returned Bundle will
192 * Populate an intent object with the results gathered from remote input. This method
193 * should only be called by remote input collection services when sending results to a
195 * @param remoteInputs The remote inputs for which results are being provided
197 * field of the intent will be modified to contain the results.
198 * @param results A bundle holding the remote input results. This bundle should
203 Bundle results) {
204 IMPL.addResultsToIntent(remoteInputs, intent, results);
202 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
211 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
223 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
235 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
247 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentResolver.java41 protected void sortResults(List<CrossProfileIntentFilter> results) { argument
42 //We don't sort the results
/frameworks/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java50 final ArrayList<Uri> results = new ArrayList<Uri>();
60 results.add(documentUri);
68 return results.toArray(new Uri[results.size()]);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java173 FilterResults results = new FilterResults();
180 results.values = null;
181 results.count = 0;
182 return results;
253 results.values = filtered;
254 results.count = filtered.size();
255 return results;
401 results) {
402 if (results.values == null || results
400 publishResults(CharSequence constraint, FilterResults results) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java83 String[] results = query("SELECT data FROM test");
84 MoreAsserts.assertEquals(STRINGS, results);
92 String[] results;
93 results = query("SELECT data FROM test ORDER BY data COLLATE LOCALIZED ASC");
98 MoreAsserts.assertEquals(results, new String[] {
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java180 Bundle results = writer.timingResults;
181 assertEquals(4, results.size());
182 assertTrue(results.containsKey("testAddMeasurementLongZero"));
183 assertEquals(0, results.getLong("testAddMeasurementLongZero"));
184 assertTrue(results.containsKey("testAddMeasurementLongPos"));
185 assertEquals(348573, results.getLong("testAddMeasurementLongPos"));
186 assertTrue(results.containsKey("testAddMeasurementLongNeg"));
187 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg"));
201 Bundle results = writer.timingResults;
202 assertEquals(4, results
501 writeEndSnapshot(Bundle results) argument
509 writeStopTiming(Bundle results) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DRttManager.java168 /** specifies RTT results */
211 /** pseudo-private class used to parcel results */
216 public ParcelableRttResults(RttResult[] results) { argument
217 mResults = results;
260 RttResult results[] = new RttResult[num];
262 results[i] = new RttResult();
263 results[i].bssid = in.readString();
264 results[i].status = in.readInt();
265 results[i].requestType = in.readInt();
266 results[
290 onSuccess(RttResult[] results) argument
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java83 Bundle results = new Bundle();
84 results.putString("shortMsg", ex.getClass().getName());
85 results.putString("longMsg", ex.getMessage());
86 mWatcher.instrumentationFinished(null, 0, results);
186 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { argument
190 if (!mRawMode && results != null) {
191 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT);
196 if (results != null) {
197 for (String key : results.keySet()) {
199 + results
209 instrumentationFinished(ComponentName name, int resultCode, Bundle results) argument
[all...]
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java554 * @param results A {@link KeyData} instance that will be filled with the results.
555 * @return True if the key was mapped. If the key was not mapped, results is not modified.
561 public boolean getKeyData(int keyCode, KeyData results) { argument
562 if (results.meta.length < KeyData.META_LENGTH) {
564 "results.meta.length must be >= " + KeyData.META_LENGTH);
572 results.displayLabel = displayLabel;
573 results.number = nativeGetNumber(mPtr, keyCode);
574 results.meta[0] = nativeGetCharacter(mPtr, keyCode, 0);
575 results
[all...]

Completed in 2014 milliseconds

12345