/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | Playback.java | 67 private Callback mCallback; field in Playback 110 if (notifyListeners && mCallback != null) { in stop() 111 mCallback.onPlaybackStatusChanged(mState); in stop() 186 if (mCallback != null) { in play() 187 mCallback.onPlaybackStatusChanged(mState); in play() 192 if (mCallback != null) { in play() 193 mCallback.onError(ex.getMessage()); in play() 211 if (mCallback != null) { in pause() 212 mCallback.onPlaybackStatusChanged(mState); in pause() 228 if (mCallback != null) { in seekTo() [all …]
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | RemotePlayer.java | 62 if (mCallback != null) { 65 mCallback.onCompletion(); 68 mCallback.onError(); 77 if (mCallback != null) { 78 mCallback.onPlaylistChanged(); 144 if (mCallback != null) { in play() 145 mCallback.onPlaylistChanged(); in play() 186 if (update && mCallback != null) { in getStatus() 187 mCallback.onPlaylistReady(); in getStatus() 194 if (update && mCallback != null) { in getStatus() [all …]
|
D | SessionManager.java | 48 private Callback mCallback; field in SessionManager 291 if (mCallback != null) { in onPlaylistReady() 292 mCallback.onStatusChanged(); in onPlaylistReady() 341 if (mCallback != null) { in updatePlaybackState() 342 mCallback.onItemChanged(item); in updatePlaybackState() 364 if (mCallback != null) { in removeItem() 365 mCallback.onItemChanged(found); in removeItem() 399 mCallback = callback; in setCallback()
|
D | Player.java | 29 protected Callback mCallback; field in Player 58 mCallback = callback; in setCallback()
|
D | LocalPlayer.java | 162 if (update && mCallback != null) { in getStatus() 163 mCallback.onPlaylistReady(); in getStatus() 235 if (mCallback != null) { in onPrepared() 236 mCallback.onPlaylistChanged(); in onPrepared() 250 if (mCallback != null) { in onCompletion() 251 mCallback.onCompletion(); in onCompletion() 265 if (mCallback != null) { in onError() 266 mCallback.onError(); in onError() 283 if (mCallback != null) { in onSeekComplete() 284 mCallback.onPlaylistChanged(); in onSeekComplete()
|
D | MainActivity.java | 605 private Callback mCallback; field in MainActivity.DiscoveryFragment 608 mCallback = null; in DiscoveryFragment() 612 mCallback = cb; in DiscoveryFragment() 616 mCallback = cb; in setCallback() 621 return mCallback; in onCreateCallback()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | CompatTabHoneycomb.java | 35 CompatTabListener mCallback; field in CompatTabHoneycomb 57 mCallback = callback; in setTabListener() 79 return mCallback; in getCallback() 86 mCallback.onTabReselected(this, ft); in onTabReselected() 94 mCallback.onTabSelected(this, ft); in onTabSelected() 102 mCallback.onTabUnselected(this, ft); in onTabUnselected()
|
D | CompatTabEclair.java | 27 private CompatTabListener mCallback; field in CompatTabEclair 50 mCallback = callback; in setTabListener() 82 return mCallback; in getCallback()
|
D | TabHelperEclair.java | 46 CompatTabListener mCallback; field in TabHelperEclair
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | NetworkFragment.java | 45 private DownloadCallback mCallback; field in NetworkFragment 83 mCallback = (DownloadCallback)context; in onAttach() 90 mCallback = null; in onDetach() 146 if (mCallback != null) { in onPreExecute() 147 NetworkInfo networkInfo = mCallback.getActiveNetworkInfo(); in onPreExecute() 152 mCallback.updateFromDownload(null); in onPreExecute() 188 mCallback.onProgressUpdate(values[0], values[1]); in onProgressUpdate() 197 if (result != null && mCallback != null) { in onPostExecute() 199 mCallback.updateFromDownload(result.mException.getMessage()); in onPostExecute() 201 mCallback.updateFromDownload(result.mResultValue); in onPostExecute() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | KubeRenderer.java | 36 mCallback = callback; in KubeRenderer() 40 if (mCallback != null) { in onDrawFrame() 41 mCallback.animate(); in onDrawFrame() 112 private AnimationCallback mCallback; field in KubeRenderer
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
D | HeadlinesFragment.java | 26 OnHeadlineSelectedListener mCallback; field in HeadlinesFragment 64 mCallback = (OnHeadlineSelectedListener) activity; in onAttach() 74 mCallback.onArticleSelected(position); in onListItemClick()
|
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/ |
D | FingerprintUiHelper.java | 35 private final Callback mCallback; field in FingerprintUiHelper 48 mCallback = callback; in FingerprintUiHelper() 86 mCallback.onError(); in onAuthenticationError() 114 mCallback.onAuthenticated(); in onAuthenticationSucceeded()
|
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/ |
D | FingerprintUiHelper.java | 43 private final Callback mCallback; field in FingerprintUiHelper 75 mCallback = callback; in FingerprintUiHelper() 109 mCallback.onError(); in onAuthenticationError() 137 mCallback.onAuthenticated(); in onAuthenticationSucceeded()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceUtil.java | 184 private final FetchConfigDataMapCallback mCallback; field in DigitalWatchFaceUtil.DataItemResultCallback 187 mCallback = callback; in DataItemResultCallback() 197 mCallback.onConfigDataMapFetched(config); in onResult() 199 mCallback.onConfigDataMapFetched(new DataMap()); in onResult()
|
/development/apps/Development/src/com/android/development/ |
D | Connectivity.java | 301 private DevToolsNetworkCallback mCallback; field in Connectivity 306 private NetworkCallback mCallback; field in Connectivity.RequestableNetwork 341 if (mCallback == null) { in request() 342 mCallback = new NetworkCallback() { in request() 355 mCm.requestNetwork(mRequest, mCallback); in request() 361 if (mCallback != null) { in release() 364 mCm.unregisterNetworkCallback(mCallback); in release() 365 mCallback = null; in release() 491 mCallback = new DevToolsNetworkCallback(); in onCreate() 492 mCm.registerNetworkCallback(mEmptyRequest, mCallback); in onCreate() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | RemoteService.java | 321 mService.registerCallback(mCallback); 388 mService.unregisterCallback(mCallback); 443 private IRemoteServiceCallback mCallback = new IRemoteServiceCallback.Stub() { field in RemoteService.Binding
|