Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 13 of 13) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DIsolatedService.java75 public void registerCallback(IRemoteServiceCallback cb) {
76 if (cb != null) mCallbacks.register(cb);
78 public void unregisterCallback(IRemoteServiceCallback cb) {
79 if (cb != null) mCallbacks.unregister(cb);
121 CheckBox cb = (CheckBox)mActivity.findViewById(bind); in ServiceInfo() local
122 cb.setOnClickListener(mBindListener); in ServiceInfo()
DIRemoteService.aidl31 void registerCallback(IRemoteServiceCallback cb); in registerCallback() argument
36 void unregisterCallback(IRemoteServiceCallback cb); in unregisterCallback() argument
DRemoteService.java117 public void registerCallback(IRemoteServiceCallback cb) {
118 if (cb != null) mCallbacks.register(cb);
120 public void unregisterCallback(IRemoteServiceCallback cb) {
121 if (cb != null) mCallbacks.unregister(cb);
DPresentationActivity.java348 CheckBox cb = (CheckBox)v.findViewById(R.id.checkbox_presentation); in getView() local
349 cb.setTag(display); in getView()
350 cb.setOnCheckedChangeListener(PresentationActivity.this); in getView()
351 cb.setChecked(mActivePresentations.indexOfKey(displayId) >= 0 in getView()
/development/ndk/platforms/android-9/include/android/
Dstorage_manager.h104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/development/ndk/platforms/android-3/include/linux/
Drelay.h54 struct rchan_callbacks *cb; member
88 struct rchan_callbacks *cb);
Dskbuff.h137 char cb[48]; member
/development/ndk/platforms/android-3/include/
Dlink.h50 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*);
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java234 private boolean generateOneSecondOfAudio(char alphabet, SynthesisCallback cb) { in generateOneSecondOfAudio() argument
280 final int maxBufferSize = cb.getMaxBufferSize(); in generateOneSecondOfAudio()
284 cb.audioAvailable(mAudioBuffer, offset, bytesToWrite); in generateOneSecondOfAudio()
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c57 rgb_cb cb) in color_convert_common() argument
76 cb(nB, nB, nB, &ctx); in color_convert_common()
113 cb(nR, nG, nB, &ctx); in color_convert_common()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java611 public DiscoveryFragment(Callback cb) { in DiscoveryFragment() argument
612 mCallback = cb; in DiscoveryFragment()
615 public void setCallback(Callback cb) { in setCallback() argument
616 mCallback = cb; in setCallback()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java614 public DiscoveryFragment(Callback cb) { in DiscoveryFragment() argument
615 mCallback = cb; in DiscoveryFragment()
618 public void setCallback(Callback cb) { in setCallback() argument
619 mCallback = cb; in setCallback()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java103 ActionMode.Callback cb = new MyActionModeCallback(); in startActionMode() local
104 mActionMode = startActionMode(cb); in startActionMode()