/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplBase.java | 67 AppCompatDelegateImplBase(Context context, Window window, AppCompatCallback callback) { argument 70 mAppCompatCallback = callback; 78 // Now install the new callback 92 Window.Callback wrapWindowCallback(Window.Callback callback) { argument 93 return new AppCompatWindowCallbackBase(callback); 192 abstract ActionMode startSupportActionModeFromWindow(ActionMode.Callback callback); argument 238 // If the original window callback is an Activity, we'll use it's title 247 AppCompatWindowCallbackBase(Window.Callback callback) { argument 248 super(callback);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealth.java | 40 * <li> Create an {@link BluetoothHealth} callback and call 47 * callback will inform the application of channel state change. </li> 134 * the callback is used to notify success or failure if the function returns true. 141 * @param callback A callback to indicate success or failure of the registration and 143 * @return If true, callback will be called. 146 BluetoothHealthCallback callback) { 151 CHANNEL_TYPE_ANY, callback); 157 * the callback is used to notify success or failure if the function returns true. 166 * @param callback 145 registerSinkAppConfiguration(String name, int dataType, BluetoothHealthCallback callback) argument 170 registerAppConfiguration(String name, int dataType, int role, int channelType, BluetoothHealthCallback callback) argument 425 BluetoothHealthCallbackWrapper(BluetoothHealthCallback callback) argument 555 checkAppParam(String name, int role, int channelType, BluetoothHealthCallback callback) argument [all...] |
H A D | IBluetoothHealth.aidl | 32 in IBluetoothHealthCallback callback);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FrameworkActionBarWrapper.java | 70 @NonNull ActionBarCallback callback, @NonNull View decorContent) { 73 return new ToolbarWrapper(context, callback, (Toolbar) view); 75 return new WindowActionBarWrapper(context, callback, decorContent, 83 FrameworkActionBarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, argument 86 mCallback = callback; 122 * Gets the menus to add to the action bar from the callback, resolves them, inflates them and 191 ToolbarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, argument 193 super(context, callback, new ToolbarActionBar(toolbar, "", new WindowCallback())); 260 @NonNull ActionBarCallback callback, @NonNull View decorContentRoot, 262 super(context, callback, ne 69 getActionBarWrapper(@onNull BridgeContext context, @NonNull ActionBarCallback callback, @NonNull View decorContent) argument 259 WindowActionBarWrapper(@onNull BridgeContext context, @NonNull ActionBarCallback callback, @NonNull View decorContentRoot, @NonNull ActionBarView actionBarView) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 146 msg.callback + ": " + msg.what); 162 logging.println("<<<<< Finished to " + msg.target + " " + msg.callback); 173 + msg.callback + " what=" + msg.what);
|
H A D | SystemProperties.java | 133 public static void addChangeCallback(Runnable callback) { argument 138 sChangeCallbacks.add(callback);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.h | 84 void postFrameCallback(IFrameCallback* callback); 85 bool removeFrameCallback(IFrameCallback* callback); 86 // If the callback is currently registered, it will be pushed back until 88 void pushBackFrameCallback(IFrameCallback* callback);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsSystemUser.java | 57 final IRecentsNonSystemUserCallbacks callback = 62 mNonSystemUserRecents.removeAt(mNonSystemUserRecents.indexOfValue(callback)); 68 mNonSystemUserRecents.put(userId, callback);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteProvider.java | 117 * Sets a callback to invoke when the provider's descriptor changes. 119 * @param callback The callback to use, or null if none. 121 public final void setCallback(@Nullable Callback callback) { argument 123 mCallback = callback; 172 * a callback, it also provides a selector to specify the kinds of routes that 198 * by registering a {@link Callback callback} with {@link #setCallback}. 214 * {@link Callback callback} about the change to the provider's descriptor. 372 * @param callback A {@link ControlRequestCallback} to invoke with the result 375 * invoke the callback whe 380 onControlRequest(Intent intent, @Nullable ControlRequestCallback callback) argument [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 44 * other commands can be sent to the session. A callback may be registered to 262 * Adds a callback to receive updates from the Session. Updates will be 265 * @param callback The callback object, must not be null. 267 public void registerCallback(Callback callback) { argument 268 registerCallback(callback, null); 272 * Adds a callback to receive updates from the session. Updates will be 275 * @param callback The callback object, must not be null. 279 public void registerCallback(Callback callback, Handle argument 295 unregisterCallback(Callback callback) argument 838 registerCallback(Callback callback, Handler handler) argument 840 unregisterCallback(Callback callback) argument 873 registerCallback(Callback callback, Handler handler) argument 889 unregisterCallback(Callback callback) argument 1253 registerCallback(Callback callback, Handler handler) argument 1258 unregisterCallback(Callback callback) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraDeviceImpl.java | 88 /** map request IDs to callback/request data */ 234 public CameraDeviceImpl(String cameraId, StateCallback callback, Handler handler, argument 236 if (cameraId == null || callback == null || handler == null || characteristics == null) { 240 mDeviceCallback = callback; 302 * <p>This places the camera device in the error state and informs the callback. 370 * unconfigured callback will be fired.</p> 373 * then the idle callback is fired. Unconfiguring the device always fires the idle callback.</p> 485 CameraCaptureSession.StateCallback callback, Handler handler) 491 createCaptureSessionInternal(null, outConfigurations, callback, handle 484 createCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument 496 createCaptureSessionByOutputConfigurations( List<OutputConfiguration> outputConfigurations, CameraCaptureSession.StateCallback callback, Handler handler) argument 512 createReprocessableCaptureSession(InputConfiguration inputConfig, List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument 532 createReprocessableCaptureSessionByConfigurations(InputConfiguration inputConfig, List<OutputConfiguration> outputs, android.hardware.camera2.CameraCaptureSession.StateCallback callback, Handler handler) argument 560 createConstrainedHighSpeedCaptureSession(List<Surface> outputs, android.hardware.camera2.CameraCaptureSession.StateCallback callback, Handler handler) argument 579 createCaptureSessionInternal(InputConfiguration inputConfig, List<OutputConfiguration> outputConfigurations, CameraCaptureSession.StateCallback callback, Handler handler, boolean isConstrainedHighSpeed) argument 747 capture(CaptureRequest request, CaptureCallback callback, Handler handler) argument 757 captureBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument 835 submitCaptureRequest(List<CaptureRequest> requestList, CaptureCallback callback, Handler handler, boolean repeating) argument 900 setRepeatingRequest(CaptureRequest request, CaptureCallback callback, Handler handler) argument 907 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument 1189 CaptureCallbackHolder(CaptureCallback callback, List<CaptureRequest> requestList, Handler handler, boolean repeating, int sessionId) argument 1977 checkHandler(Handler handler, T callback) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethod.java | 156 * @param callback Interface that is called with the newly created session. 158 public void createSession(SessionCallback callback); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebChromeClient.java | 31 * @param view The WebView that initiated the callback. 39 * @param view The WebView that initiated the callback. 46 * @param view The WebView that initiated the callback. 53 * @param view The WebView that initiated the callback. 61 * A callback interface used by the host application to notify 79 * @param callback invoke this callback to request the page to exit 82 public void onShowCustomView(View view, CustomViewCallback callback) {}; argument 90 * @param callback is the callback t 96 onShowCustomView(View view, int requestedOrientation, CustomViewCallback callback) argument 299 onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) argument 402 getVisitedHistory(ValueCallback<String[]> callback) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 30 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); 31 void stopWatchingMode(IAppOpsCallback callback);
|
H A D | IVoiceInteractionManagerService.aidl | 82 in String bcp47Locale, in IRecognitionStatusCallback callback, 88 in IRecognitionStatusCallback callback); 101 * @param showCallback optional callback to be notified when the session was shown
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrinterRegistry.java | 125 // are not allowed in this callback, such as fragment transactions. 139 // are not allowed in this callback, such as fragment transactions. 175 OnPrintersChangeListener callback = (OnPrintersChangeListener) args.arg1; 178 callback.onPrintersChanged(printers); 182 OnPrintersChangeListener callback = (OnPrintersChangeListener) message.obj; 183 callback.onPrintersInvalid();
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecFeatureAction.java | 36 * initiates the action, through the callback given at the creation of the object. All the actual 174 HdmiControlService.SendMessageCallback callback) { 175 mService.sendCecCommand(cmd, callback); 209 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, argument 211 mService.pollDevices(callback, getSourceAddress(), pickStrategy, retryCount); 173 sendCommand(HdmiCecMessage cmd, HdmiControlService.SendMessageCallback callback) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
H A D | RecyclerViewUtil.java | 73 @NonNull LayoutlibCallback callback) throws ReflectionException { 76 Object layoutManager = createLayoutManager(context, callback); 86 @NonNull LayoutlibCallback callback) 89 return callback.loadView(CN_LINEAR_LAYOUT_MANAGER, LLM_CONSTRUCTOR_SIGNATURE, 72 setLayoutManager(@onNull View recyclerView, @NonNull BridgeContext context, @NonNull LayoutlibCallback callback) argument 85 createLayoutManager(@onNull Context context, @NonNull LayoutlibCallback callback) argument
|
/frameworks/native/include/android/ |
H A D | looper.h | 59 * have a callback (that is provide NULL for the callback). In 159 * For callback-based event loops, this is the prototype of the function 166 * to have this file descriptor and callback unregistered from the looper. 190 * and it has no callback function (requiring the caller here to 202 * data has been consumed or a file descriptor is available with no callback. 221 * The identifier must be >= 0, or ALOOPER_POLL_CALLBACK if providing a non-NULL callback. 223 * "callback" is the function to call when there is an event on the file descriptor. 224 * "data" is a private data pointer to supply to the callback. 228 * (1) If "callback" i [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ResourceRequestKey.java | 49 public Cancelable createFileDescriptorFactoryAsync(RequestKey requestKey, Callback callback) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | WindowCallbackWrapper.java | 36 * the wrapped callback for any subclasses. 46 throw new IllegalArgumentException("Window callback may not be null"); 147 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback) { argument 148 return mWrapped.onWindowStartingActionMode(callback); 152 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int type) { argument 153 return mWrapped.onWindowStartingActionMode(callback, type);
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
H A D | MediaRouterJellybeanMr1.java | 33 public static Object createCallback(Callback callback) { argument 34 return new CallbackProxy<Callback>(callback); 173 public CallbackProxy(T callback) { argument 174 super(callback);
|
/frameworks/wilhelm/src/desktop/ |
H A D | SDL.c | 56 fmt.callback = SDL_callback;
|
/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 59 ALOGE("An exception was thrown by callback '%s'.", methodName); 65 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) : argument 66 mCallbackObject(env->NewGlobalRef(callback)) { } 87 std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) { 123 return new Device(id, fd, std::move(callback), looper); 126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) : argument 127 mId(id), mFd(fd), mDeviceCallback(std::move(callback)), mLooper(looper) { 187 jbyteArray rawDescriptor, jobject queue, jobject callback) { 196 std::unique_ptr<uhid::DeviceCallback> cb(new uhid::DeviceCallback(env, callback)); 85 open(int32_t id, const char* name, int32_t vid, int32_t pid, std::unique_ptr<uint8_t[]> descriptor, size_t descriptorSize, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) argument 186 openDevice(JNIEnv* env, jclass , jstring rawName, jint id, jint vid, jint pid, jbyteArray rawDescriptor, jobject queue, jobject callback) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | SubMenuBuilder.java | 70 public void setCallback(Callback callback) { argument 71 mParentMenu.setCallback(callback);
|