Searched refs:mRadioController (Results 1 – 5 of 5) sorted by relevance
58 private RadioController mRadioController; field in RadioActivity71 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()
35 private RadioController mRadioController; field in ManualTunerFragment42 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()
37 private RadioController mRadioController; field in BrowseFragment55 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()
37 private RadioController mRadioController; field in RadioPagerAdapter45 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()
37 private RadioController mRadioController; field in FavoritesFragment54 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()