/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 303 * @param cb The client's Callback implementation. 307 public final void setCallback(Callback cb) { argument 308 mCallback = new WeakReference<Callback>(cb);
|
/frameworks/base/services/java/com/android/server/ |
H A D | WallpaperManagerService.java | 675 public ParcelFileDescriptor getWallpaper(IWallpaperManagerCallback cb, argument 693 wallpaper.callbacks.register(cb);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 395 AudioCallback cb, void *cookie, audio_output_flags_t flags) { 397 mCallback = cb; 392 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 490 void AudioSystem::setErrorCallback(audio_error_callback cb) { argument 492 gAudioErrorCallback = cb;
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 834 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { 840 mCallbacks.setCallback(caller, cb); 860 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { argument 863 if (cb != null) { 864 register(cb, caller); 865 old = mCallerToCallback.put(caller, cb); 869 if (old != null && old != cb) { 876 ITextToSpeechCallback cb = getCallbackFor(callerIdentity); 877 if (cb == null) return; 879 cb [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuBuilder.java | 379 public void setCallback(Callback cb) { argument 380 mCallback = cb;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 166 * @param cb the callback to run 168 public static void setErrorCallback(ErrorCallback cb) argument 171 mErrorCallback = cb;
|
H A D | MediaRouter.java | 331 * @param cb Callback to add 333 public void addCallback(int types, Callback cb) { argument 337 if (info.cb == cb) { 342 sStatic.mCallbacks.add(new CallbackInfo(cb, types, this)); 348 * @param cb Callback to remove 350 public void removeCallback(Callback cb) { argument 353 if (sStatic.mCallbacks.get(i).cb == cb) { 358 Log.w(TAG, "removeCallback(" + cb 1870 public final Callback cb; field in class:MediaRouter.CallbackInfo 1873 CallbackInfo(Callback cb, int type, MediaRouter router) argument [all...] |
H A D | AudioService.java | 960 public void forceVolumeControlStream(int streamType, IBinder cb) { argument 969 mForceControlStreamClient = new ForceControlStreamClient(cb); 977 ForceControlStreamClient(IBinder cb) { argument 978 if (cb != null) { 980 cb.linkToDeath(this, 0); 983 Log.w(TAG, "ForceControlStreamClient() could not link to "+cb+" binder death"); 984 cb = null; 987 mCb = cb; 1154 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument 1158 mStreamStates[stream].mute(cb, stat 1163 setStreamMute(int streamType, boolean state, IBinder cb) argument 1175 setMasterMute(boolean state, int flags, IBinder cb) argument 1410 SetModeDeathHandler(IBinder cb, int pid) argument 1451 setMode(int mode, IBinder cb) argument 1477 setModeInt(int mode, IBinder cb, int pid) argument 1876 startBluetoothSco(IBinder cb) argument 1886 stopBluetoothSco(IBinder cb) argument 1903 ScoClient(IBinder cb) argument 2060 getScoClient(IBinder cb, boolean create) argument 2901 mute(IBinder cb, boolean state) argument 2928 VolumeDeathHandler(IBinder cb) argument 3028 getDeathHandler(IBinder cb, boolean state) argument 4122 removeFocusStackEntryForClient(IBinder cb) argument 4167 AudioFocusDeathHandler(IBinder cb) argument 4185 requestAudioFocus(int mainStreamType, int focusChangeHint, IBinder cb, IAudioFocusDispatcher fd, String clientId, String callingPackageName) argument 4598 RcClientDeathHandler(IBinder cb, PendingIntent pi) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsModel.java | 266 void addSettingsTile(QuickSettingsTileView view, RefreshCallback cb) { argument 268 mSettingsCallback = cb; 278 void addUserTile(QuickSettingsTileView view, RefreshCallback cb) { argument 280 mUserCallback = cb; 290 void addTimeTile(QuickSettingsTileView view, RefreshCallback cb) { argument 292 mTimeCallback = cb; 297 void addAlarmTile(QuickSettingsTileView view, RefreshCallback cb) { argument 299 mAlarmCallback = cb; 313 void addAirplaneModeTile(QuickSettingsTileView view, RefreshCallback cb) { argument 325 mAirplaneModeCallback = cb; 356 addWifiTile(QuickSettingsTileView view, RefreshCallback cb) argument 407 addRSSITile(QuickSettingsTileView view, RefreshCallback cb) argument 444 addBluetoothTile(QuickSettingsTileView view, RefreshCallback cb) argument 491 addBatteryTile(QuickSettingsTileView view, RefreshCallback cb) argument 508 addLocationTile(QuickSettingsTileView view, RefreshCallback cb) argument 522 addBugreportTile(QuickSettingsTileView view, RefreshCallback cb) argument 541 addWifiDisplayTile(QuickSettingsTileView view, RefreshCallback cb) argument 561 addImeTile(QuickSettingsTileView view, RefreshCallback cb) argument 643 addRotationLockTile(QuickSettingsTileView view, RefreshCallback cb) argument 670 addBrightnessTile(QuickSettingsTileView view, RefreshCallback cb) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1131 Antagonizer::Antagonizer(notify_callback_f cb, void* client) : argument 1132 mExit(false), mActive(false), mClient(client), mCb(cb) 1376 AudioCallback cb, void *cookie, 1379 mCallback = cb; 1714 MediaPlayerBase::AudioSink::AudioCallback cb, 1735 MediaPlayerBase::AudioSink::AudioCallback cb, 1738 mCallback(cb), 1777 AudioCallback cb, void *cookie, audio_output_flags_t flags) 1789 if (cb != NULL) { 1790 mCallbackThread = new CallbackThread(this, cb, cooki 1373 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument 1733 CallbackThread( const wp<MediaPlayerBase::AudioSink> &sink, MediaPlayerBase::AudioSink::AudioCallback cb, void *cookie) argument 1774 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 292 * @param cb Window callback to dispatch to 294 public void setWindowCallback(Window.Callback cb) { argument 295 mWindowCallback = cb; 397 public void setMenu(Menu menu, MenuPresenter.Callback cb) { argument 415 mActionMenuPresenter.setCallback(cb); 1469 public void setCallback(Callback cb) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 312 public void addNetworkSignalChangedCallback(NetworkSignalChangedCallback cb) { argument 313 mSignalsChangedCallbacks.add(cb); 314 notifySignalsChangedCallbacks(cb); 347 void notifySignalsChangedCallbacks(NetworkSignalChangedCallback cb) { argument 352 cb.onWifiSignalChanged(wifiEnabled, mQSWifiIconId, mContentDescriptionWifi, wifiDesc); 355 cb.onMobileDataSignalChanged(false, mQSPhoneSignalIconId, 361 cb.onMobileDataSignalChanged(true, mQSPhoneSignalIconId, 366 cb.onMobileDataSignalChanged(mHasMobileDataFeature, mQSPhoneSignalIconId, 371 cb.onAirplaneModeChanged(mAirplaneMode); 1197 for (NetworkSignalChangedCallback cb [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 271 final Callback cb = getCallback(); 272 if (cb != null && !isDestroyed()) { 273 cb.onContentChanged(); 290 final Callback cb = getCallback(); 291 if (cb != null && !isDestroyed()) { 292 cb.onContentChanged(); 302 final Callback cb = getCallback(); 303 if (cb != null && !isDestroyed()) { 304 cb.onContentChanged(); 380 final Callback cb 3398 getListMenuView(Context context, MenuPresenter.Callback cb) argument 3422 getIconMenuView(Context context, MenuPresenter.Callback cb) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 577 * @param cb a callback object that receives a copy of each preview frame, 581 public final void setPreviewCallback(PreviewCallback cb) { argument 582 mPreviewCallback = cb; 587 setHasPreviewCallback(cb != null, false); 600 * @param cb a callback object that receives a copy of the next preview frame, 604 public final void setOneShotPreviewCallback(PreviewCallback cb) { argument 605 mPreviewCallback = cb; 608 setHasPreviewCallback(cb != null, false); 634 * @param cb a callback object that receives a copy of the preview frame, 639 public final void setPreviewCallbackWithBuffer(PreviewCallback cb) { argument 926 autoFocus(AutoFocusCallback cb) argument 992 setAutoFocusMoveCallback(AutoFocusMoveCallback cb) argument 1474 setErrorCallback(ErrorCallback cb) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 3769 private static void performConfigurationChanged(ComponentCallbacks2 cb, Configuration config) { argument 3773 Activity activity = (cb instanceof Activity) ? (Activity) cb : null; 3797 if (DEBUG_CONFIGURATION) Slog.v(TAG, "Config callback " + cb 3800 cb.onConfigurationChanged(config);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 1050 SaveViewStateRequest(OutputStream s, ValueCallback<Boolean> cb) { argument 1052 mCallback = cb;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 125 BatteryCallback cb = mCallback; 128 if (cb != null) { 129 cb.batteryNeedsCpuUpdate(); 133 if (cb != null) { 134 cb.batteryPowerChanged(msg.arg1 != 0); 4128 public void setCallback(BatteryCallback cb) { argument 4129 mCallback = cb;
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 4130 private void scheduleAnimationCallback(IRemoteCallback cb) { argument 4131 if (cb != null) { 4132 mH.sendMessage(mH.obtainMessage(H.DO_ANIMATION_CALLBACK, cb));
|