/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 | 343 * @param cb Callback to add 345 public void addCallback(int types, Callback cb) { argument 349 if (info.cb == cb) { 354 sStatic.mCallbacks.add(new CallbackInfo(cb, types, this)); 360 * @param cb Callback to remove 362 public void removeCallback(Callback cb) { argument 365 if (sStatic.mCallbacks.get(i).cb == cb) { 370 Log.w(TAG, "removeCallback(" + cb 1882 public final Callback cb; field in class:MediaRouter.CallbackInfo 1885 CallbackInfo(Callback cb, int type, MediaRouter router) argument [all...] |
H A D | AudioService.java | 971 public void forceVolumeControlStream(int streamType, IBinder cb) { argument 980 mForceControlStreamClient = new ForceControlStreamClient(cb); 988 ForceControlStreamClient(IBinder cb) { argument 989 if (cb != null) { 991 cb.linkToDeath(this, 0); 994 Log.w(TAG, "ForceControlStreamClient() could not link to "+cb+" binder death"); 995 cb = null; 998 mCb = cb; 1165 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument 1169 mStreamStates[stream].mute(cb, stat 1174 setStreamMute(int streamType, boolean state, IBinder cb) argument 1186 setMasterMute(boolean state, int flags, IBinder cb) argument 1421 SetModeDeathHandler(IBinder cb, int pid) argument 1462 setMode(int mode, IBinder cb) argument 1488 setModeInt(int mode, IBinder cb, int pid) argument 1887 startBluetoothSco(IBinder cb) argument 1897 stopBluetoothSco(IBinder cb) argument 1914 ScoClient(IBinder cb) argument 2071 getScoClient(IBinder cb, boolean create) argument 2930 mute(IBinder cb, boolean state) argument 2957 VolumeDeathHandler(IBinder cb) argument 3057 getDeathHandler(IBinder cb, boolean state) argument 4167 removeFocusStackEntryForClient(IBinder cb) argument 4212 AudioFocusDeathHandler(IBinder cb) argument 4230 requestAudioFocus(int mainStreamType, int focusChangeHint, IBinder cb, IAudioFocusDispatcher fd, String clientId, String callingPackageName) argument 4643 RcClientDeathHandler(IBinder cb, PendingIntent pi) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsModel.java | 274 void addSettingsTile(QuickSettingsTileView view, RefreshCallback cb) { argument 276 mSettingsCallback = cb; 286 void addUserTile(QuickSettingsTileView view, RefreshCallback cb) { argument 288 mUserCallback = cb; 298 void addTimeTile(QuickSettingsTileView view, RefreshCallback cb) { argument 300 mTimeCallback = cb; 305 void addAlarmTile(QuickSettingsTileView view, RefreshCallback cb) { argument 307 mAlarmCallback = cb; 328 void addAirplaneModeTile(QuickSettingsTileView view, RefreshCallback cb) { argument 340 mAirplaneModeCallback = cb; 371 addWifiTile(QuickSettingsTileView view, RefreshCallback cb) argument 426 addRSSITile(QuickSettingsTileView view, RefreshCallback cb) argument 459 addBluetoothTile(QuickSettingsTileView view, RefreshCallback cb) argument 506 addBatteryTile(QuickSettingsTileView view, RefreshCallback cb) argument 523 addLocationTile(QuickSettingsTileView view, RefreshCallback cb) argument 537 addBugreportTile(QuickSettingsTileView view, RefreshCallback cb) argument 556 addWifiDisplayTile(QuickSettingsTileView view, RefreshCallback cb) argument 576 addImeTile(QuickSettingsTileView view, RefreshCallback cb) argument 658 addRotationLockTile(QuickSettingsTileView view, RefreshCallback cb) argument 685 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 | 300 * @param cb Window callback to dispatch to 302 public void setWindowCallback(Window.Callback cb) { argument 303 mWindowCallback = cb; 405 public void setMenu(Menu menu, MenuPresenter.Callback cb) { argument 423 mActionMenuPresenter.setCallback(cb); 1524 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 | 4167 private void scheduleAnimationCallback(IRemoteCallback cb) { argument 4168 if (cb != null) { 4169 mH.sendMessage(mH.obtainMessage(H.DO_ANIMATION_CALLBACK, cb));
|