/frameworks/base/core/java/android/webkit/ |
WebChromeClient.java | 29 * @param view The WebView that initiated the callback. 37 * @param view The WebView that initiated the callback. 44 * @param view The WebView that initiated the callback. 51 * @param view The WebView that initiated the callback. 59 * A callback interface used by the host application to notify 76 * @param callback is the callback to be invoked if and when the view 79 public void onShowCustomView(View view, CustomViewCallback callback) {}; 87 * @param callback is the callback to be invoked if and when the vie [all...] |
/external/icu4c/extra/uconv/ |
uconv.1.in | 43 .BI "\-\-to\-callback" " callback" 48 .BI "\-\-from\-callback" " callback" 53 .BI "\-\-callback" " callback" 191 .BI "\-\-to\-callback" " callback" 193 .I callback 202 .BR "\-\-to\-callback skip" [all...] |
/external/protobuf/python/google/protobuf/ |
service_reflection.py | 144 rpc_controller, request, callback): 146 rpc_controller, request, callback) 157 rpc_controller, request, callback): 165 callback: A callback to invoke after the method has completed. 171 return method(rpc_controller, request, callback) 215 return lambda inst, rpc_controller, request, callback: ( 216 self._NonImplementedMethod(method.name, rpc_controller, callback)) 218 def _NonImplementedMethod(self, method_name, rpc_controller, callback): 224 callback: A callback which will be invoked when the method finishes [all...] |
/external/chromium/chrome/browser/resources/file_manager/js/ |
mock_chrome.js | 17 requestLocalFileSystem: function(callback) { 19 callback, 61 getFileTasks: function(urlList, callback) { 63 return callback([]); 65 if (!callback) 66 throw new Error('Missing callback'); 86 return callback([]); 98 callback(candidateTasks); 108 getStrings: function(callback) { 111 callback({ [all...] |
/external/chromium/chrome/browser/ui/webui/ |
app_launcher_handler.h | 43 // Callback for pings related to launching apps on the NTP. 61 // Callback for the "getApps" message. 64 // Callback for the "launchApp" message. 67 // Callback for the "setLaunchType" message. 70 // Callback for the "uninstallApp" message. 73 // Callback for the "hideAppPromo" message. 76 // Callback for the "createAppShortcut" message. 79 // Callback for the "reorderApps" message. 82 // Callback for the "setPageIndex" message. 85 // Callback for the "promoSeen" message [all...] |
/external/chromium/net/base/ |
file_stream.h | 73 // If opened with PLATFORM_FILE_ASYNC, then a non-null callback 76 // callback will be notified on the current thread (via the MessageLoop) when 80 // remain valid until the callback is notified. However, it is valid to 86 // You can pass NULL as the callback for synchronous I/O. 87 int Read(char* buf, int buf_len, CompletionCallback* callback); 101 // If opened with PLATFORM_FILE_ASYNC, then a non-null callback 104 // callback will be notified on the current thread (via the MessageLoop) when 108 // remain valid until the callback is notified. However, it is valid to 114 // You can pass NULL as the callback for synchronous I/O. 115 int Write(const char* buf, int buf_len, CompletionCallback* callback); [all...] |
file_stream_posix.cc | 17 #include "base/callback.h" 75 CompletionCallback* callback) { 76 callback->Run(ReadFile(file, buf, buf_len)); 93 CompletionCallback* callback) { 94 callback->Run(WriteFile(file, buf, buf_len)); 110 // CancelableCallbackTask takes ownership of the Callback. This task gets 114 explicit CancelableCallbackTask(Callback0::Type* callback) 115 : canceled_(false), callback_(callback) {} 141 CompletionCallback* callback); 144 CompletionCallback* callback); 146 CompletionCallback* callback() const { return callback_; } function in class:net::FileStream::AsyncContext [all...] |
/external/chromium/net/http/ |
http_response_body_drainer_unittest.cc | 77 CompletionCallback* callback) OVERRIDE { 83 CompletionCallback* callback) OVERRIDE { 87 virtual int ReadResponseHeaders(CompletionCallback* callback) OVERRIDE { 105 CompletionCallback* callback) OVERRIDE; 141 IOBuffer* buf, int buf_len, CompletionCallback* callback) { 142 DCHECK(callback); 154 user_callback_ = callback; 169 CompletionCallback* callback = user_callback_; local 176 callback->Run(kMagicChunkSize); 239 TestCompletionCallback callback; local [all...] |
/external/chromium/net/socket/ |
socks_client_socket_pool_unittest.cc | 7 #include "base/callback.h" 115 TestCompletionCallback callback; local 117 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_, 123 EXPECT_EQ(OK, callback.WaitForResult()); 146 TestCompletionCallback callback; local 148 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_, 154 EXPECT_EQ(ERR_PROXY_CONNECTION_FAILED, callback.WaitForResult()); 187 TestCompletionCallback callback; local 190 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_, 196 EXPECT_EQ(ERR_SOCKS_CONNECTION_FAILED, callback.WaitForResult()) [all...] |
ssl_host_info.h | 42 // completed. Otherwise it returns ERR_IO_PENDING and will call |callback| on 45 // Only a single callback can be outstanding at a given time and, in the 47 // to delete |callback|. 49 // |callback| may be NULL, in which case ERR_IO_PENDING may still be returned 50 // but, obviously, a callback will never be made. 51 virtual int WaitForDataReady(CompletionCallback* callback) = 0; 57 // callback. 88 // callback to be called when the verification completes. If the verification 91 int WaitForCertVerification(CompletionCallback* callback); 112 // This is the callback function which the CertVerifier calls via |callback_| [all...] |
/external/icu4c/common/unicode/ |
ucnv_err.h | 31 * contexts in this header can modify the default behavior of the callback. 97 * FROM_U, TO_U context options for sub callback 103 * FROM_U, TO_U context options for skip callback 171 UCNV_RESET = 3, /**< The callback is called with this reason when a 172 'reset' has occured. Callback should reset all 175 callback should release any allocated memory.*/ 180 by the new converter, the callback must clone 189 * The structure for the fromUnicode callback function parameter. 205 * The structure for the toUnicode callback function parameter. 222 * This From Unicode callback STOPS at the ILLEGAL_SEQUENCE [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_util_DebugShapeFactory.cpp | 43 jobject callback; member in class:DebugCallback 47 this->callback = object; 59 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.getY(), vertexA.getZ(), partId, triangleIndex); 65 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.getY(), vertexB.getZ(), partId, triangleIndex); 70 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.getY(), vertexC.getZ(), partId, triangleIndex); 90 (JNIEnv *env, jclass clazz, jlong shapeId, jobject callback) { 94 DebugCallback* clb = new DebugCallback(env, callback); 129 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.getY(), vertexA.getZ()); 134 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.getY(), vertexB.getZ()); 139 env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.getY(), vertexC.getZ()) [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_OpenAudio.3 | 11 This function opens the audio device with the \fBdesired\fR parameters, and returns 0 if successful, placing the actual hardware parameters in the structure pointed to by \fBobtained\fR\&. If \fBobtained\fR is NULL, the audio data passed to the callback function will be guaranteed to be in the requested format, and will be automatically converted to the hardware audio format if necessary\&. This function returns -1 if it failed to open the audio device, or couldn\&'t set up the audio thread\&. 26 .IP "\fBdesired\fR->\fBcallback\fR" 10This should be set to a function that will be called when the audio device is ready for more data\&. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer\&. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling \fI\fBSDL_LockAudio\fP\fR and \fI\fBSDL_UnlockAudio\fP\fR in your code\&. The callback prototype is: 29 \f(CWvoid callback(void *userdata, Uint8 *stream, int len);\fR 45 \f(CW/* Prototype of our callback function */ 70 /* Our callback function */ 71 desired->callback=my_audio_callback; 86 /* Prepare callback for playing */
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
ucnv_err.h | 31 * contexts in this header can modify the default behavior of the callback. 97 * FROM_U, TO_U context options for sub callback 103 * FROM_U, TO_U context options for skip callback 164 UCNV_RESET = 3, /**< The callback is called with this reason when a 165 'reset' has occured. Callback should reset all 168 callback should release any allocated memory.*/ 173 by the new converter, the callback must clone 182 * The structure for the fromUnicode callback function parameter. 198 * The structure for the toUnicode callback function parameter. 215 * This From Unicode callback STOPS at the ILLEGAL_SEQUENCE [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
ucnv_err.h | 31 * contexts in this header can modify the default behavior of the callback. 97 * FROM_U, TO_U context options for sub callback 103 * FROM_U, TO_U context options for skip callback 164 UCNV_RESET = 3, /**< The callback is called with this reason when a 165 'reset' has occured. Callback should reset all 168 callback should release any allocated memory.*/ 173 by the new converter, the callback must clone 182 * The structure for the fromUnicode callback function parameter. 198 * The structure for the toUnicode callback function parameter. 215 * This From Unicode callback STOPS at the ILLEGAL_SEQUENCE [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv_err.h | 31 * contexts in this header can modify the default behavior of the callback. 97 * FROM_U, TO_U context options for sub callback 103 * FROM_U, TO_U context options for skip callback 164 UCNV_RESET = 3, /**< The callback is called with this reason when a 165 'reset' has occured. Callback should reset all 168 callback should release any allocated memory.*/ 173 by the new converter, the callback must clone 182 * The structure for the fromUnicode callback function parameter. 198 * The structure for the toUnicode callback function parameter. 215 * This From Unicode callback STOPS at the ILLEGAL_SEQUENCE [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
ScriptFormatter.js | 77 formatContent: function(text, scripts, callback) 85 callback(result.text, result.mapping); 116 _formatChunks: function(chunks, index, callback) 120 callback(); 132 this._formatChunks(chunks, index, callback); 164 _formatScript: function(source, callback) 166 this._tasks.push({ source: source, callback: callback }); 173 task.callback(event.data.formattedSource, event.data.mapping); 181 task.callback(task.source, { original: [], formatted: [] }) [all...] |
/hardware/libhardware/include/hardware/ |
bt_rc.h | 117 /** Callback for play status request */ 120 /** Callback for list player application attributes (Shuffle, Repeat,...) */ 123 /** Callback for list player application attributes (Shuffle, Repeat,...) */ 126 /** Callback for getting the current player application settings value 131 /** Callback for getting the player application settings attributes' text 136 /** Callback for getting the player application settings values' text 141 /** Callback for setting the player application settings values */ 144 /** Callback to fetch the get element attributes of the current song 149 /** Callback for register notification (Play state change/track change/...) 154 /** BT-RC callback structure. * [all...] |
/external/chromium/net/udp/ |
udp_socket_libevent.cc | 60 // Zero out any pending read/write callback state. 127 CompletionCallback* callback) { 128 return RecvFrom(buf, buf_len, NULL, callback); 134 CompletionCallback* callback) { 139 DCHECK(callback); // Synchronous operation not supported 156 read_callback_ = callback; 162 CompletionCallback* callback) { 163 return SendToOrWrite(buf, buf_len, NULL, callback); 169 CompletionCallback* callback) { 170 return SendToOrWrite(buf, buf_len, &address, callback); [all...] |
udp_socket_win.cc | 65 // Zero out any pending read/write callback state. 123 CompletionCallback* callback) { 124 return RecvFrom(buf, buf_len, NULL, callback); 130 CompletionCallback* callback) { 135 DCHECK(callback); // Synchronous operation not supported. 143 read_callback_ = callback; 150 CompletionCallback* callback) { 151 return SendToOrWrite(buf, buf_len, NULL, callback); 157 CompletionCallback* callback) { 158 return SendToOrWrite(buf, buf_len, &address, callback); [all...] |
/frameworks/base/core/java/android/view/ |
ActionMode.java | 158 * {@link ActionMode.Callback} will have its 159 * {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called. 166 * Finish and close this action mode. The action mode's {@link ActionMode.Callback} will 167 * have its {@link Callback#onDestroyActionMode(ActionMode)} method called. 213 * Callback interface for action modes. Supplied to 214 * {@link View#startActionMode(Callback)}, a Callback 219 * <li>{@link Callback#onCreateActionMode(ActionMode, Menu)} once on initial 221 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} after creation 223 * <li>{@link Callback#onActionItemClicked(ActionMode, MenuItem)} any time [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
AnimatedRotateDrawable.java | 38 public class AnimatedRotateDrawable extends Drawable implements Drawable.Callback, Runnable, 166 final Callback callback = getCallback(); local 167 if (callback != null) { 168 callback.invalidateDrawable(this); 173 final Callback callback = getCallback(); local 174 if (callback != null) { 175 callback.scheduleDrawable(this, what, when); 180 final Callback callback = getCallback() local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ActionMode.java | 156 * Invalidate the action mode and refresh menu content. The mode's {@link ActionMode.Callback} 157 * will have its {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called. If it 164 * Finish and close this action mode. The action mode's {@link ActionMode.Callback} will have 165 * its {@link Callback#onDestroyActionMode(ActionMode)} method called. 215 * Callback interface for action modes. Supplied to 216 * {@link android.support.v7.app.ActionBarActivity#startSupportActionMode(Callback)} 217 * a Callback configures and handles events raised by a user's interaction with an action mode. 221 * <ul><li>{@link Callback#onCreateActionMode(ActionMode, 224 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} 228 * Callback#onActionItemClicked(ActionMode, MenuItem)} any time a contextual action button i [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 67 * The callback used to indicate the user is done filling in the date. 83 * @param callBack How the parent is notified that the date is set. 89 OnDateSetListener callBack, 93 this(context, callBack, year, monthOfYear, dayOfMonth, false); 98 * @param callBack How the parent is notified that the date is set. 106 OnDateSetListener callBack, 114 callBack, year, monthOfYear, dayOfMonth, yearOptional); 120 * @param callBack How the parent is notified that the date is set. 128 OnDateSetListener callBack, 132 this(context, theme, callBack, year, monthOfYear, dayOfMonth, false) [all...] |
/external/marisa-trie/lib/marisa/ |
trie-inline.h | 54 T callback) const { 57 return find_callback_<CQuery>(CQuery(str), callback); 62 T callback) const { 65 return find_callback_<const Query &>(Query(ptr, length), callback); 70 T callback) const { 71 return find_callback(str.c_str(), str.length(), callback); 113 const char *str, T callback) const { 114 return predict_callback_<CQuery>(CQuery(str), callback); 120 T callback) const { 121 return predict_callback_<const Query &>(Query(ptr, length), callback); [all...] |