Home
last modified time | relevance | path

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

/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java58 private RadioController mRadioController; field in RadioActivity
71 mRadioController = new RadioController(this); in onCreate()
72 mRadioController.getCurrentProgram().observe(this, info -> { in onCreate()
81 new RadioPagerAdapter(this, getSupportFragmentManager(), mRadioController); in onCreate()
106 mRadioController.start(); in onStart()
126 mRadioController.shutdown(); in onDestroy()
135 mRadioController.step(true); in onKeyDown()
138 mRadioController.step(false); in onKeyDown()
177 mRadioController.switchBand(programType); in updateMenuItems()
DManualTunerFragment.java35 private RadioController mRadioController; field in ManualTunerFragment
42 mRadioController.getRegionConfig(), mRadioController::tune); in onCreateView()
52 ProgramInfo current = mRadioController.getCurrentProgram().getValue(); in setUserVisibleHint()
56 mRadioController.setSkipMode(SkipMode.TUNE); in setUserVisibleHint()
62 fragment.mRadioController = radioController; in newInstance()
DBrowseFragment.java37 private RadioController mRadioController; field in BrowseFragment
55 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()
58 mBrowseAdapter.setOnItemClickListener(mRadioController::tune); in onViewCreated()
68 mRadioController.getProgramList().observe(this, mBrowseAdapter::setProgramList); in onViewCreated()
75 mRadioController.setSkipMode(SkipMode.BROWSE); in setUserVisibleHint()
89 fragment.mRadioController = radioController; in newInstance()
DRadioPagerAdapter.java37 private RadioController mRadioController; field in RadioPagerAdapter
45 mRadioController = controller; in RadioPagerAdapter()
54 return FavoritesFragment.newInstance(mRadioController); in getItem()
56 return ManualTunerFragment.newInstance(mRadioController); in getItem()
86 mBrowseFragment = BrowseFragment.newInstance(mRadioController); in addBrowseTab()
DFavoritesFragment.java37 private RadioController mRadioController; field in FavoritesFragment
54 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()
57 mBrowseAdapter.setOnItemClickListener(mRadioController::tune); in onViewCreated()
75 mRadioController.setSkipMode(SkipMode.FAVORITES); in setUserVisibleHint()
89 fragment.mRadioController = radioController; in newInstance()