Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 7 of 7) 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.java124 public void registerCallback(IRemoteServiceCallback cb) {
125 if (cb != null) mCallbacks.register(cb);
127 public void unregisterCallback(IRemoteServiceCallback cb) {
128 if (cb != null) mCallbacks.unregister(cb);
DPresentationActivity.java394 CheckBox cb = (CheckBox)v.findViewById(R.id.checkbox_presentation); in getView() local
395 cb.setTag(display); in getView()
396 cb.setOnCheckedChangeListener(PresentationActivity.this); in getView()
397 cb.setChecked(contents != null); in getView()
/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/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/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java103 ActionMode.Callback cb = new MyActionModeCallback(); in startActionMode() local
104 mActionMode = startActionMode(cb); in startActionMode()