Home
last modified time | relevance | path

Searched refs:mRoute (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java57 private final MediaRouter.RouteInfo mRoute; field in MediaRouteControllerDialog
78 mRoute = mRouter.getSelectedRoute(); in MediaRouteControllerDialog()
85 return mRoute; in getRoute()
174 mRoute.requestSetVolume(progress); in onCreate()
183 if (mRoute.isSelected()) { in onCreate()
224 mRoute.requestUpdateVolume(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN ? -1 : 1); in onKeyDown()
240 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
245 setTitle(mRoute.getName()); in update()
257 if (mRoute.isConnecting()) { in getIconDrawable()
276 mVolumeSlider.setMax(mRoute.getVolumeMax()); in updateVolume()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java403 userRouteRecord.mRoute.select(); in onRouteSelected()
439 record.mRoute.requestSetVolume(volume); in onVolumeSetRequest()
447 record.mRoute.requestUpdateVolume(direction); in onVolumeUpdateRequest()
559 if (mUserRouteRecords.get(i).mRoute == route) { in findUserRouteRecord()
614 record.mRouteObj, record.mRoute.getName()); in updateUserRouteProperties()
616 record.mRouteObj, record.mRoute.getPlaybackType()); in updateUserRouteProperties()
618 record.mRouteObj, record.mRoute.getPlaybackStream()); in updateUserRouteProperties()
620 record.mRouteObj, record.mRoute.getVolume()); in updateUserRouteProperties()
622 record.mRouteObj, record.mRoute.getVolumeMax()); in updateUserRouteProperties()
624 record.mRouteObj, record.mRoute.getVolumeHandling()); in updateUserRouteProperties()
[all …]
DRemotePlaybackClient.java42 private final MediaRouter.RouteInfo mRoute; field in RemotePlaybackClient
71 mRoute = route; in RemotePlaybackClient()
667 mRoute.sendControlRequest(intent, new MediaRouter.ControlRequestCallback() { in performItemAction()
714 mRoute.sendControlRequest(intent, new MediaRouter.ControlRequestCallback() { in performSessionAction()
800 return mRoute.supportsControlAction(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK, action); in routeSupportsAction()
804 for (IntentFilter filter : mRoute.getControlFilters()) { in doesRouteSupportMessaging()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java109 private final MediaRouter.RouteInfo mRoute; field in MediaRouteControllerDialog
196 mRoute = mRouter.getSelectedRoute(); in MediaRouteControllerDialog()
215 return mRoute; in getRoute()
219 if (mRoute instanceof MediaRouter.RouteGroup) { in getGroup()
220 return (MediaRouter.RouteGroup) mRoute; in getGroup()
388 mVolumeSlider.setTag(mRoute); in onCreate()
403 mVolumeSliderMap.put(mRoute, mVolumeSlider); in onCreate()
481 mRoute.requestUpdateVolume(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN ? -1 : 1); in onKeyDown()
497 if (!mRoute.isSelected() || mRoute.isDefaultOrBluetooth()) { in update()
505 mRouteNameTextView.setText(mRoute.getName()); in update()
[all …]
/frameworks/base/docs/html/guide/topics/media/
Dmediarouter.jd485 if (mRoute != null && mRemotePlaybackClient != null) {
491 mRoute = route;
494 mRemotePlaybackClient = new RemotePlaybackClient(this, mRoute);