HomeSort by relevance Sort by last modified time
    Searched full:callback (Results 376 - 400 of 6179) sorted by null

<<11121314151617181920>>

  /external/webkit/Source/WebCore/bindings/v8/custom/
V8CustomVoidCallback.cpp 40 V8CustomVoidCallback::V8CustomVoidCallback(v8::Local<v8::Object> callback, ScriptExecutionContext *context)
41 : m_callback(v8::Persistent<v8::Object>::New(callback))
66 bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8::Value> argv[], bool& callbackReturnValue, ScriptExecutionContext* scriptExecutionContext)
72 if (callback->IsFunction()) {
73 callbackFunction = v8::Local<v8::Function>::New(v8::Persistent<v8::Function>::Cast(callback));
74 } else if (callback->IsObject()) {
75 v8::Local<v8::Value> handleEventFunction = callback->Get(v8::String::NewSymbol("handleEvent"));
  /external/webkit/Source/WebKit2/UIProcess/
WebMediaCacheManagerProxy.cpp 66 RefPtr<ArrayCallback> callback = prpCallback; local
67 uint64_t callbackID = callback->callbackID();
68 m_arrayCallbacks.set(callbackID, callback.release());
71 // callback data when it comes back.
77 RefPtr<ArrayCallback> callback = m_arrayCallbacks.take(callbackID); local
78 if (!callback) {
89 callback->performCallbackWithReturnValue(ImmutableArray::adopt(hostnames).get());
  /external/webrtc/src/system_wrappers/interface/
thread_wrapper.h 12 // Note: the spawned thread will loop over the callback function until stopped.
13 // Note: The callback function is expected to return every 2 seconds or more
23 // Object that will be passed by the spawned thread when it enters the callback
27 // Callback function that the spawned thread will enter once spawned.
50 // func Pointer to a, by user, specified callback function.
51 // obj Object associated with the thread. Passed in the callback
68 // Spawns the thread. This will start the triggering of the callback
  /frameworks/base/core/java/android/net/
LinkSocketNotifier.java 28 * This callback function will be called if a better link
51 * This callback function will be called when a LinkSocket no longer has
58 * CS calls each callback (need to work out p2p cross process callback)
63 * This callback function will be called when an application calls
71 * on failure, call callback
76 * This callback function will be called when any of the notification-marked
  /frameworks/base/docs/html/training/keyboard-input/
commands.jd 23 or directly handle the keyboard input yourself, you can do so by implementing callback methods
24 from the {@link android.view.KeyEvent.Callback} interface, such as {@link
25 android.view.KeyEvent.Callback#onKeyDown onKeyDown()} and {@link
26 android.view.KeyEvent.Callback#onKeyMultiple onKeyMultiple()}.</p>
30 {@link android.view.KeyEvent.Callback} interface, so you
31 should generally override the callback methods in your extension of these classes as
77 query the {@link android.view.KeyEvent} that's passed to the callback method. Several methods
  /libcore/luni/src/test/java/tests/api/javax/security/auth/
PasswordCallbackTest.java 22 import javax.security.auth.callback.PasswordCallback;
31 * javax.security.auth.callback.PasswordCallback#PasswordCallback(String prompt, boolean echoOn)
32 * javax.security.auth.callback.PasswordCallback#getPrompt()
33 * javax.security.auth.callback.PasswordCallback#isEchoOn()
70 * javax.security.auth.callback.PasswordCallback#getPassword()
71 * javax.security.auth.callback.PasswordCallback#setPassword(char[] password)
72 * javax.security.auth.callback.PasswordCallback#clearPassword()
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebChromeClient.java 73 public void onShowCustomView(View view, CustomViewCallback callback) {
74 mWrappedClient.onShowCustomView(view, callback);
151 GeolocationPermissions.Callback callback) {
152 mWrappedClient.onGeolocationPermissionsShowPrompt(origin, callback);
194 public void getVisitedHistory(ValueCallback<String[]> callback) {
195 mWrappedClient.getVisitedHistory(callback);
  /packages/apps/Mms/src/com/android/mms/ui/
NumberPickerDialog.java 37 * The callback interface used to indicate the user is done filling in
53 * @param callBack How parent is notified.
57 OnNumberSetListener callBack,
62 this(context, AlertDialog.THEME_HOLO_LIGHT, callBack, number, rangeMin, rangeMax, title);
68 * @param callBack How parent is notified.
73 OnNumberSetListener callBack,
79 mCallback = callBack;
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableContainerTest.java 470 MockCallBack callback = new MockCallBack(); local
471 mDrawableContainer.setCallback(callback);
473 callback.reset();
475 assertFalse(callback.hasInvalidateDrawableCalled());
477 // the callback method can be called if the drawable passed in and the
479 callback.reset();
481 assertTrue(callback.hasInvalidateDrawableCalled());
487 callback.reset();
489 assertFalse(callback.hasInvalidateDrawableCalled());
491 callback.reset()
512 MockCallBack callback = new MockCallBack(); local
560 MockCallBack callback = new MockCallBack(); local
    [all...]
  /external/chromium/chrome/browser/ui/webui/options/
extension_settings_handler.h 137 // Callback for "requestExtensionsData" message.
140 // Callback for "toggleDeveloperMode" message.
143 // Callback for "inspect" message.
146 // Callback for "reload" message.
149 // Callback for "enable" message.
152 // Callback for "enableIncognito" message.
155 // Callback for "allowFileAcces" message.
158 // Callback for "uninstall" message.
161 // Callback for "options" message.
164 // Callback for "showButton" message
    [all...]
  /external/marisa-trie/lib/marisa/
trie-c.cc 13 FindCallback(const FindCallback &callback)
14 : func_(callback.func_), first_arg_(callback.first_arg_) {}
34 PredictCallback(const PredictCallback &callback)
35 : func_(callback.func_), first_arg_(callback.first_arg_) {}
240 int (*callback)(void *, marisa_uint32, size_t),
244 } else if (callback == NULL) {
249 ::FindCallback(callback, first_arg_to_callback));
252 ::FindCallback(callback, first_arg_to_callback))
    [all...]
  /frameworks/base/core/java/android/app/
Application.java 65 * Callback interface for use with {@link Application#registerOnProvideAssistDataListener}
98 * removed by simply killing them; no user code (including this callback)
134 public void registerComponentCallbacks(ComponentCallbacks callback) {
136 mComponentCallbacks.add(callback);
140 public void unregisterComponentCallbacks(ComponentCallbacks callback) {
142 mComponentCallbacks.remove(callback);
146 public void registerActivityLifecycleCallbacks(ActivityLifecycleCallbacks callback) {
148 mActivityLifecycleCallbacks.add(callback);
152 public void unregisterActivityLifecycleCallbacks(ActivityLifecycleCallbacks callback) {
154 mActivityLifecycleCallbacks.remove(callback);
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/11/changes/
android.view.Window.Callback.html 10 android.view.Window.Callback
74 Interface android.view.<A HREF="../../../../reference/android/view/Window.Callback.html" target="_top"><font size="+2"><code>Window.Callback</code></font></A>
86 <A NAME="android.view.Window.Callback.dispatchKeyShortcutEvent_added(android.view.KeyEvent)"></A>
87 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/Window.Callback.html#dispatchKeyShortcutEvent(android.view.KeyEvent)" target="_top"><code>dispatchKeyShortcutEvent</code></A>(<code>KeyEvent</code>)</nobr>
93 <A NAME="android.view.Window.Callback.onActionModeFinished_added(android.view.ActionMode)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/Window.Callback.html#onActionModeFinished(android.view.ActionMode)" target="_top"><code>onActionModeFinished</code></A>(<code>ActionMode</code>)</nobr>
100 <A NAME="android.view.Window.Callback.onActionModeStarted_added(android.view.ActionMode)"></A>
101 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/Window.Callback.html#onActionModeStarted(android.view.ActionMode)" target="_top"><code>onActionModeStarted</code></A>(<code>ActionMode</code>)</nobr>
107 <A NAME="android.view.Window.Callback.onWindowStartingActionMode_added(android.view.ActionMode.Callback)"></A
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java 48 public class ClipDrawable extends Drawable implements Drawable.Callback {
111 // overrides from Drawable.Callback
114 final Callback callback = getCallback(); local
115 if (callback != null) {
116 callback.invalidateDrawable(this);
121 final Callback callback = getCallback(); local
122 if (callback != null) {
123 callback.scheduleDrawable(this, what, when)
128 final Callback callback = getCallback(); local
    [all...]
InsetDrawable.java 46 public class InsetDrawable extends Drawable implements Drawable.Callback
131 // overrides from Drawable.Callback
134 final Callback callback = getCallback(); local
135 if (callback != null) {
136 callback.invalidateDrawable(this);
141 final Callback callback = getCallback(); local
142 if (callback != null) {
143 callback.scheduleDrawable(this, what, when)
148 final Callback callback = getCallback(); local
    [all...]
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipWakeupTimer.java 148 * @param callback is called back when the timer goes off; the same callback
151 public synchronized void set(int period, Runnable callback) {
155 MyEvent event = new MyEvent(period, callback, now);
173 * Cancels all the timer events with the specified callback.
175 * @param callback the callback
177 public synchronized void cancel(Runnable callback) {
179 if (DBG) log("cancel:" + callback);
185 if (event.mCallback == callback) {
    [all...]
  /external/chromium/net/socket_stream/
socket_stream_unittest.cc 8 #include "base/callback.h"
42 explicit SocketStreamEventRecorder(net::CompletionCallback* callback)
48 callback_(callback) {}
57 void SetOnConnected(Callback1<SocketStreamEvent*>::Type* callback) {
58 on_connected_ = callback;
60 void SetOnSentData(Callback1<SocketStreamEvent*>::Type* callback) {
61 on_sent_data_ = callback;
63 void SetOnReceivedData(Callback1<SocketStreamEvent*>::Type* callback) {
64 on_received_data_ = callback;
66 void SetOnClose(Callback1<SocketStreamEvent*>::Type* callback) {
230 TestCompletionCallback callback; local
323 TestCompletionCallback callback; local
    [all...]
  /external/chromium/net/websockets/
websocket_unittest.cc 8 #include "base/callback.h"
38 explicit WebSocketEventRecorder(net::CompletionCallback* callback)
43 callback_(callback) {}
51 void SetOnOpen(Callback1<WebSocketEvent*>::Type* callback) {
52 onopen_ = callback;
54 void SetOnMessage(Callback1<WebSocketEvent*>::Type* callback) {
55 onmessage_ = callback;
57 void SetOnClose(Callback1<WebSocketEvent*>::Type* callback) {
58 onclose_ = callback;
180 TestCompletionCallback callback; local
243 TestCompletionCallback callback; local
275 TestCompletionCallback callback; local
313 TestCompletionCallback callback; local
    [all...]
  /frameworks/native/include/utils/
Looper.h 86 * A looper callback.
100 * to have this file descriptor and callback unregistered from the looper.
114 SimpleLooperCallback(ALooper_callbackFunc callback);
138 * pollOnce() is prepared to handle callback-less events itself.
167 * and it has no callback function (requiring the caller here to handle it).
181 * data has been consumed or a file descriptor is available with no callback.
203 * The identifier must be >= 0, or ALOOPER_POLL_CALLBACK if providing a non-NULL callback.
205 * "callback" is the function to call when there is an event on the file descriptor.
206 * "data" is a private data pointer to supply to the callback.
210 * (1) If "callback" is non-NULL, then this function will be called when there i
326 sp<LooperCallback> callback; member in struct:android::Looper::Request
    [all...]
  /hardware/libhardware/include/hardware/
bluetooth.h 247 /** Bluetooth Enable/Disable Callback. */
250 /** GET/SET Adapter Properties callback */
252 * identifier to associate the call with the callback. This would be needed
263 /** GET/SET Remote Device Properties callback */
272 /** New device discovered callback */
278 /** Discovery state changed callback */
281 /** Bluetooth Legacy PinKey Request callback */
285 /** Bluetooth SSP Request callback - Just Works & Numeric Comparison*/
288 /* TODO: Passkey request callback shall not be needed for devices with display
296 /** Bluetooth Bond state changed callback */
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/
chrome_ex_oauth.js 93 * @param {Function} callback A function to call once an access token has
94 * been obtained. This callback will be passed the following arguments:
98 ChromeExOAuth.prototype.authorize = function(callback) {
100 callback(this.getToken(), this.getTokenSecret());
103 callback(token, secret);
132 * @param {Function} callback A function to be called once the request is
133 * completed. This callback will be passed the following arguments:
145 ChromeExOAuth.prototype.sendSignedRequest = function(url, callback,
156 callback(xhr.responseText, xhr);
284 * @param {Function} callback Function to call when the XMLHttpRequest'
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
chrome_ex_oauth.js 93 * @param {Function} callback A function to call once an access token has
94 * been obtained. This callback will be passed the following arguments:
98 ChromeExOAuth.prototype.authorize = function(callback) {
100 callback(this.getToken(), this.getTokenSecret());
103 callback(token, secret);
132 * @param {Function} callback A function to be called once the request is
133 * completed. This callback will be passed the following arguments:
145 ChromeExOAuth.prototype.sendSignedRequest = function(url, callback,
156 callback(xhr.responseText, xhr);
284 * @param {Function} callback Function to call when the XMLHttpRequest'
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/wave/
chrome_ex_oauth.js 93 * @param {Function} callback A function to call once an access token has
94 * been obtained. This callback will be passed the following arguments:
98 ChromeExOAuth.prototype.authorize = function(callback) {
100 callback(this.getToken(), this.getTokenSecret());
103 callback(token, secret);
132 * @param {Function} callback A function to be called once the request is
133 * completed. This callback will be passed the following arguments:
145 ChromeExOAuth.prototype.sendSignedRequest = function(url, callback,
156 callback(xhr.responseText, xhr);
284 * @param {Function} callback Function to call when the XMLHttpRequest'
    [all...]
  /frameworks/wilhelm/src/android/
MediaPlayer_to_android.cpp 44 // it is not safe to enter the callback (the media player is about to go away)
59 // assume no callback
60 slPrefetchCallback callback = NULL; local
84 callback = mp->mPrefetchStatus.mCallback;
93 // callback with no lock held
94 if (NULL != callback) {
95 (*callback)(&mp->mPrefetchStatus.mItf, callbackPContext, events);
127 // callback is unconditional; there is no bitmask of enabled events
128 xaStreamEventChangeCallback callback = mp->mStreamInfo.mCallback; local
134 if ((NULL != callback) && (index >= 0))
201 slPrefetchCallback callback = NULL; local
226 slPrefetchCallback callback = NULL; local
253 slPlayCallback callback = mp->mPlay.mCallback; local
267 slPrefetchCallback callback = NULL; local
    [all...]
  /external/chromium/base/
callback.h.pump 21 // New, super-duper, unified Callback system. This will eventually replace
27 // The templated Callback class is a generalized function object. Together
39 // The Callback objects themselves should be passed by const-reference, and
51 // base::Callback<int(int)> func_cb = base::Bind(&Return5);
65 // base::Callback<int(void)> ref_cb = base::Bind(&Ref::Foo, ref.get());
73 // * WARNING: You must be sure the referee outlives the callback!
84 // base::Callback<int(void)> base::no_ref_cb =
95 // base::Callback<int(void)> bound_copy_cb = base::Bind(&Identity, value);
96 // base::Callback<int(void)> bound_ref_cb =
107 // The design Callback and Bind is heavily influenced by C++'
    [all...]

Completed in 1067 milliseconds

<<11121314151617181920>>