/frameworks/base/core/java/android/os/ |
H A D | AsyncResult.java | 27 // Expect either exception or result to be null 30 public Object result; field in class:AsyncResult 65 result = r;
|
H A D | AsyncTask.java | 47 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 83 * protected void onPostExecute(Long result) { 84 * showDialog("Downloaded " + result + " bytes"); 101 * <li><code>Result</code>, the type of the result of the background 119 * of the asynchronous task are passed to this step. The result of the computation must 130 * computation finishes. The result of the background computation is passed to 313 private void postResultIfNotInvoked(Result result) { argument 316 postResult(result); 320 private Result postResult(Result result) { argument 323 new AsyncTaskResult<Result>(this, result)); 377 onPostExecute(Result result) argument 408 onCancelled(Result result) argument 632 finish(Result result) argument [all...] |
H A D | Registrant.java | 49 notifyResult(Object result) argument 51 internalNotifyRegistrant (result, null); 66 internalNotifyRegistrant (ar.result, ar.exception); 70 internalNotifyRegistrant (Object result, Throwable exception) argument 81 msg.obj = new AsyncResult(userObj, result, exception);
|
H A D | RegistrantList.java | 74 internalNotifyRegistrants (Object result, Throwable exception) argument 78 r.internalNotifyRegistrant(result, exception); 95 notifyResult(Object result) argument 97 internalNotifyRegistrants (result, null); 104 internalNotifyRegistrants(ar.result, ar.exception);
|
H A D | RemoteCallback.java | 31 DeliverResult(Bundle result) { argument 32 mResult = result;
|
/frameworks/base/core/java/android/print/ |
H A D | PrintFileDocumentAdapter.java | 144 protected void onPostExecute(Void result) { argument 149 protected void onCancelled(Void result) { argument
|
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierMessagingService.java | 95 * @param callback result callback. Call with {@code true} to keep an inbound SMS message and 113 * @param callback result callback. Call with a {@link SendSmsResult}. 132 * @param callback result callback. Call with a {@link SendSmsResult}. 150 * @param callback result callback. Call with a {@link SendMultipartSmsResult}. 170 * @param callback result callback. Call with a {@link SendMmsResult}. 187 * @param callback result callback. Call with a status code which is one of 209 * The result of sending an MMS. 216 * Constructs a SendMmsResult with the MMS send result, and the SendConf PDU. 222 * was sent. sendConfPdu is ignored if the {@code result} is not 251 * The result o 340 onReceiveResult(@onNull T result) argument [all...] |
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 208 public void sendConfirmResult(boolean confirmed, Bundle result) { argument 211 + " confirmed=" + confirmed + " result=" + result); 213 mCallback.deliverConfirmationResult(mInterface, confirmed, result); 218 public void sendCompleteVoiceResult(Bundle result) { argument 221 + " result=" + result); 223 mCallback.deliverCompleteVoiceResult(mInterface, result); 228 public void sendAbortVoiceResult(Bundle result) { argument 231 + " result 238 sendCommandResult(boolean complete, Bundle result) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 74 * client should never expect to see this result code. 361 * <p> Moreover, the data received in the activity result will contain the following 386 * Upon completion, the activity result may contain the following fields: 396 * Extra information received with the {@link #ACTION_GET_SAMPLE_TEXT} intent result where 404 * Extra information received with the {@link #ACTION_CHECK_TTS_DATA} intent result where 412 * Extra information received with the {@link #ACTION_CHECK_TTS_DATA} intent result where 420 * Extra information received with the {@link #ACTION_CHECK_TTS_DATA} intent result where 432 * Extra information received with the {@link #ACTION_CHECK_TTS_DATA} intent result where 443 * Extra information received with the {@link #ACTION_CHECK_TTS_DATA} intent result where 467 * Extra information received with the {@link #ACTION_TTS_DATA_INSTALLED} intent result 811 dispatchOnInit(int result) argument 2140 onPostExecute(Integer result) argument [all...] |
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestSuite.java | 65 public void runTest(Test test, TestResult result) { argument 72 super.runTest(test, result);
|
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 176 ExtractFloatResult result = new ExtractFloatResult(); 183 extract(s, startPosition, result); 184 endPosition = result.mEndPosition; 191 if (result.mEndWithNegOrDot) { 208 * @param result the result of the extraction, including the position of the 211 private static void extract(String s, int start, ExtractFloatResult result) { argument 215 result.mEndWithNegOrDot = false; 231 result.mEndWithNegOrDot = true; 240 result [all...] |
H A D | TimedRemoteCaller.java | 28 * the response. The remote method calls back with the result and 32 * the timeout then the call failed. Older result received when 33 * waiting for the result are ignored. 44 * public void onCompleted(Object result, int sequence) { 45 * onRemoteMethodResult(result, sequence); 61 * @param <T> The type of the expected result. 100 T result = mResult; 102 return result; 106 public final void onRemoteMethodResult(T result, int sequence) { argument 110 mResult = result; [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DragEvent.java | 212 * The View object can call {@link #getResult()} to see the result of the operation. 256 Object localState, boolean result) { 263 mDragResult = result; 272 ClipDescription description, ClipData data, boolean result) { 277 ev.init(action, x, y, description, data, localState, result); 288 ev.init(action, x, y, description, data, localState, result); 376 * Returns an indication of the result of the drag and drop operation. 443 + " data=" + mClipData + " local=" + mLocalState + " result=" + mDragResult 255 init(int action, float x, float y, ClipDescription description, ClipData data, Object localState, boolean result) argument 271 obtain(int action, float x, float y, Object localState, ClipDescription description, ClipData data, boolean result) argument
|
H A D | KeyCharacterMap.java | 266 private static void addDeadKey(int accent, int c, int result) { argument 272 sDeadKeyCache.put(combination, result); 508 String result = Normalizer.normalize(sDeadKeyBuilder, Normalizer.Form.NFC); 509 combined = result.codePointCount(0, result.length()) == 1 510 ? result.codePointAt(0) : 0;
|
H A D | ViewRootImpl.java | 2099 // the second pass, which may result in posting those requests to the next 3402 * @return True if the touch mode changed and focus changed was changed as a result 3426 * @return True if the touch mode changed and focus changed was changed as a result 3567 * Applies a result code from {@link #onProcess} to the specified event. 3569 protected void apply(QueuedInputEvent q, int result) { argument 3570 if (result == FORWARD) { 3572 } else if (result == FINISH_HANDLED) { 3574 } else if (result == FINISH_NOT_HANDLED) { 3577 throw new IllegalArgumentException("Invalid result: " + result); 3733 apply(QueuedInputEvent q, int result) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | JsDialogHelper.java | 57 public JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, argument 59 mResult = result; 66 public JsDialogHelper(JsPromptResult result, Message msg) { argument 67 mResult = result;
|
H A D | JsPromptResult.java | 25 * JsPromptResult instance as a parameter. This parameter is used to return the result of this user 30 // String result of the prompt 36 public void confirm(String result) { argument 37 mStringResult = result;
|
H A D | JsResult.java | 29 * notifications when the JavaScript result represented by a JsResult instance has 34 public void onJsResultComplete(JsResult result); argument 38 // This is a basic result of a confirm or prompt dialog. 42 * Handle the result if the user cancelled the dialog.
|
H A D | WebChromeClient.java | 127 * false from this method but also sending resultMsg will result in 159 * @param result A JsResult to confirm that the user hit enter. 163 JsResult result) { 176 * @param result A JsResult used to send the user's response to 181 JsResult result) { 195 * @param result A JsPromptResult used to send the user's reponse to 200 String defaultValue, JsPromptResult result) { 206 * current page. This is the result of the onbeforeunload javascript event. 216 * @param result A JsResult used to send the user's response to 221 JsResult result) { 162 onJsAlert(WebView view, String url, String message, JsResult result) argument 180 onJsConfirm(WebView view, String url, String message, JsResult result) argument 199 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument 220 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 612 int result = valueIfEmpty; 614 result = Math.max(result, a[i]); 616 return result; 621 T[] result = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length); 622 System.arraycopy(a, 0, result, 0, a.length); 623 System.arraycopy(b, 0, result, a.length, b.length); 624 return result; 973 int result = 1; 978 result 1485 addComponentSizes(List<Arc> result, PackedMap<Interval, MutableInt> links) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputConnectionWrapper.java | 157 public void setRequestUpdateCursorAnchorInfoResult(boolean result, int seq) { argument 160 mRequestUpdateCursorAnchorInfoResult = result; 171 * Waits for a result for up to {@link #MAX_WAIT_TIME_MILLIS} milliseconds. 432 boolean result = false; 439 result = callback.mRequestUpdateCursorAnchorInfoResult; 446 return result;
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 533 int result = -1; local 912 result = 0; 915 return result; 920 char* result = strdup(className); local 921 for (char* cp = result; *cp != '\0'; cp++) { 926 return result; 1059 ALOGI("VM exiting with result code %d, cleanup skipped.", code); 1062 ALOGI("VM exiting with result code %d.", code); 1099 jint result; local 1108 result 1121 jint result; local 1143 int result; local 1175 int result; local [all...] |
H A D | BindTest.cpp | 186 void *result; local 192 result = executeMethod (strObj, lookupVirtualMethod(strObj,mb_Java_Lang_Object_Equals), 199 ret = (*(uintptr_t *)result != 0)
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 355 SkBitmap result; local 358 if (!src->copyTo(&result, dstCT, &allocator)) { 361 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), 380 bool result; local 381 result = android::uirenderer::ResourceCache::getInstance().recycle(bitmap); 382 return result ? JNI_TRUE : JNI_FALSE;
|
H A D | ColorFilter.cpp | 78 result = android::AndroidRuntime::registerNativeMethods(env, name, array, \ 80 if (result < 0) return result 83 int result; local
|