Searched refs:callback (Results 1 - 25 of 650) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCustomFunction.java27 public final SQLiteDatabase.CustomFunction callback; field in class:SQLiteCustomFunction
35 * @param callback The callback to invoke when the function is executed.
38 SQLiteDatabase.CustomFunction callback) {
45 this.callback = callback;
51 callback.callback(args);
37 SQLiteCustomFunction(String name, int numArgs, SQLiteDatabase.CustomFunction callback) argument
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DObservable.java37 * Adds a callback to listen for changes to the Observable.
38 * @param callback The callback to start listening.
40 void addOnPropertyChangedCallback(OnPropertyChangedCallback callback); argument
43 * Removes a callback from those listening for changes.
44 * @param callback The callback that should stop listening.
46 void removeOnPropertyChangedCallback(OnPropertyChangedCallback callback); argument
49 * The callback that is called by Observable when an observable property has changed.
/frameworks/base/location/java/android/location/
H A DIGnssStatusProvider.aidl27 void registerGnssStatusCallback(IGnssStatusListener callback);
28 void unregisterGnssStatusCallback(IGnssStatusListener callback);
/frameworks/support/design/src/android/support/design/widget/
H A DSnackbarManager.java70 public void show(int duration, Callback callback) { argument
72 if (isCurrentSnackbarLocked(callback)) {
73 // Means that the callback is already in the queue. We'll just update the duration
81 } else if (isNextSnackbarLocked(callback)) {
86 mNextSnackbar = new SnackbarRecord(duration, callback);
102 public void dismiss(Callback callback, int event) { argument
104 if (isCurrentSnackbarLocked(callback)) {
106 } else if (isNextSnackbarLocked(callback)) {
116 public void onDismissed(Callback callback) { argument
118 if (isCurrentSnackbarLocked(callback)) {
132 onShown(Callback callback) argument
140 cancelTimeout(Callback callback) argument
148 restoreTimeout(Callback callback) argument
156 isCurrent(Callback callback) argument
162 isCurrentOrNext(Callback callback) argument
169 private final WeakReference<Callback> callback; field in class:SnackbarManager.SnackbarRecord
172 SnackbarRecord(int duration, Callback callback) argument
177 isSnackbar(Callback callback) argument
208 isCurrentSnackbarLocked(Callback callback) argument
212 isNextSnackbarLocked(Callback callback) argument
[all...]
/frameworks/base/media/java/android/media/projection/
H A DIMediaProjection.aidl23 void start(IMediaProjectionCallback callback);
29 void registerCallback(IMediaProjectionCallback callback);
30 void unregisterCallback(IMediaProjectionCallback callback);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHotspotController.java20 void addCallback(Callback callback); argument
21 void removeCallback(Callback callback); argument
H A DRotationLockControllerImpl.java45 public void addRotationLockControllerCallback(RotationLockControllerCallback callback) { argument
46 mCallbacks.add(callback);
47 notifyChanged(callback);
50 public void removeRotationLockControllerCallback(RotationLockControllerCallback callback) { argument
51 mCallbacks.remove(callback);
81 for (RotationLockControllerCallback callback : mCallbacks) {
82 notifyChanged(callback);
86 private void notifyChanged(RotationLockControllerCallback callback) { argument
87 callback.onRotationLockStateChanged(RotationPolicy.isRotationLocked(mContext),
/frameworks/base/packages/services/Proxy/com/android/net/
H A DIProxyCallback.aidl21 oneway void getProxyPort(IBinder callback);
/frameworks/base/core/java/android/content/pm/permission/
H A DIRuntimePermissionPresenter.aidl27 void getAppPermissions(String packageName, in RemoteCallback callback);
28 void getAppsUsingPermissions(boolean system, in RemoteCallback callback);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockScreenWidgetInterface.java21 public void setCallback(LockScreenWidgetCallback callback); argument
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DBaseObservable.java30 public synchronized void addOnPropertyChangedCallback(OnPropertyChangedCallback callback) { argument
34 mCallbacks.add(callback);
38 public synchronized void removeOnPropertyChangedCallback(OnPropertyChangedCallback callback) { argument
40 mCallbacks.remove(callback);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDebugMessageCallback.cpp1 /* void glDebugMessageCallback ( GLDEBUGPROC callback, const void *userParam ) */
3 android_glDebugMessageCallback(JNIEnv *_env, jobject _this, jobject callback) { argument
H A DglDebugMessageCallbackKHR.cpp1 /* void glDebugMessageCallbackKHR ( GLDEBUGPROCKHR callback, const void *userParam ) */
3 android_glDebugMessageCallbackKHR(JNIEnv *_env, jobject _this, jobject callback) { argument
H A DglDebugMessageCallback.java1 // C function void glDebugMessageCallback ( GLDEBUGPROC callback, const void *userParam )
7 public static native void glDebugMessageCallback(DebugProc callback); argument
H A DglDebugMessageCallbackKHR.java1 // C function void glDebugMessageCallbackKHR ( GLDEBUGPROCKHR callback, const void *userParam )
7 public static native void glDebugMessageCallbackKHR(DebugProcKHR callback); argument
/frameworks/av/camera/ndk/
H A DNdkCameraManager.cpp65 ACameraManager*, const ACameraManager_AvailabilityCallbacks *callback) {
67 if (callback == nullptr) {
68 ALOGE("%s: invalid argument! callback is null!", __FUNCTION__);
71 if (callback->onCameraAvailable == nullptr || callback->onCameraUnavailable == nullptr) {
72 ALOGE("%s: invalid argument! callback %p, "
74 __FUNCTION__, callback,
75 callback->onCameraAvailable, callback->onCameraUnavailable);
78 CameraManagerGlobal::getInstance().registerAvailabilityCallback(callback);
64 ACameraManager_registerAvailabilityCallback( ACameraManager*, const ACameraManager_AvailabilityCallbacks *callback) argument
83 ACameraManager_unregisterAvailabilityCallback( ACameraManager*, const ACameraManager_AvailabilityCallbacks *callback) argument
114 ACameraManager_openCamera( ACameraManager* mgr, const char* cameraId, ACameraDevice_StateCallbacks* callback, ACameraDevice** device) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandler_Delegate.java36 // get the callback
37 IHandlerCallback callback = sCallbacks.get();
38 if (callback != null) {
39 callback.sendMessageAtTime(handler, msg, uptimeMillis);
53 public static void setCallback(IHandlerCallback callback) { argument
54 sCallbacks.set(callback);
/frameworks/base/core/java/android/animation/
H A DAnimationHandler.java91 * Register to get a callback on the next frame after the delay.
93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { argument
97 if (!mAnimationCallbacks.contains(callback)) {
98 mAnimationCallbacks.add(callback);
102 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay));
107 * Register to get a one shot callback for frame commit timing. Frame commit timing is the
114 * animation frame callbacks. This callback will be guaranteed to happen *after* the next
115 * animation frame callback.
117 public void addOneShotCommitCallback(final AnimationFrameCallback callback) { argument
118 if (!mCommitCallbacks.contains(callback)) {
127 removeCallback(AnimationFrameCallback callback) argument
160 commitAnimationFrame(AnimationFrameCallback callback, long frameTime) argument
174 isCallbackDue(AnimationFrameCallback callback, long currentTime) argument
247 postFrameCallback(Choreographer.FrameCallback callback) argument
310 postFrameCallback(Choreographer.FrameCallback callback) argument
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java40 RadioTuner.Callback callback, Handler handler) {
42 mEventHandlerDelegate = new NativeEventHandlerDelegate(callback, handler);
99 NativeEventHandlerDelegate(final RadioTuner.Callback callback, argument
117 if (callback != null) {
118 callback.onError(RadioTuner.ERROR_HARDWARE_FAILURE);
125 if (callback != null) {
126 callback.onConfigurationChanged(config);
130 if (callback != null) {
131 callback.onError(RadioTuner.ERROR_CONFIG);
137 if (callback !
39 RadioModule(int moduleId, RadioManager.BandConfig config, boolean withAudio, RadioTuner.Callback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java63 // Return sInstance if it's non-null, otherwise construct a new callback
64 InputContextCallback callback;
66 callback = sInstance;
69 // Reset the callback
70 callback.mHaveValue = false;
72 callback = new InputContextCallback();
76 callback.mSeq = sSequenceNumber++;
77 return callback;
104 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq
117 Log.i(TAG, "Got out-of-sequence callback "
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV23.java28 AppCompatDelegateImplV23(Context context, Window window, AppCompatCallback callback) { argument
29 super(context, window, callback);
35 Window.Callback wrapWindowCallback(Window.Callback callback) { argument
36 // Override the window callback so that we can intercept onWindowStartingActionMode(type)
38 return new AppCompatWindowCallbackV23(callback);
54 AppCompatWindowCallbackV23(Window.Callback callback) { argument
55 super(callback);
59 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int type) { argument
64 return startAsSupportActionMode(callback);
67 // Else, let the call fall through to the wrapped callback
72 onWindowStartingActionMode(ActionMode.Callback callback) argument
[all...]
H A DAppCompatDelegateImplN.java28 AppCompatDelegateImplN(Context context, Window window, AppCompatCallback callback) { argument
29 super(context, window, callback);
33 Window.Callback wrapWindowCallback(Window.Callback callback) { argument
34 return new AppCompatWindowCallbackN(callback);
38 AppCompatWindowCallbackN(Window.Callback callback) { argument
39 super(callback);
/frameworks/base/core/java/android/service/carrier/
H A DICarrierMessagingService.aidl31 * The service will call callback.onFilterComplete with the filtering result.
37 * @param callback the callback to notify upon completion
41 in ICarrierMessagingCallback callback);
52 * @param callback the callback to notify upon completion
55 in ICarrierMessagingCallback callback);
67 * @param callback the callback to notify upon completion
70 int sendSmsFlag, in ICarrierMessagingCallback callback);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeHost.java25 void addCallback(@NonNull Callback callback); argument
26 void removeCallback(@NonNull Callback callback); argument
28 void pulseWhileDozing(@NonNull PulseCallback callback, int reason); argument
/frameworks/support/v4/api23/android/support/v4/media/session/
H A DMediaSessionCompatApi23.java24 public static Object createCallback(Callback callback) { argument
25 return new CallbackProxy<Callback>(callback);
33 public CallbackProxy(T callback) { argument
34 super(callback);

Completed in 1062 milliseconds

1234567891011>>