Searched refs:mCurrentStation (Results 1 – 4 of 4) sorted by relevance
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmMainActivity.java | 140 private int mCurrentStation = FmUtils.DEFAULT_STATION; field in FmMainActivity 185 tuneStation(FmUtils.computeDecreaseStation(mCurrentStation)); 189 tuneStation(FmUtils.computeIncreaseStation(mCurrentStation)); 193 seekStation(mCurrentStation, false); // false: previous station 197 seekStation(mCurrentStation, true); // true: previous station 230 mCurrentStation = station; 281 mCurrentStation = FmUtils.computeStation(frequency); 284 refreshStationUI(mCurrentStation); 311 String stationName = FmStation.getStationName(mContext, mCurrentStation); 364 mService.initService(mCurrentStation); [all …]
|
D | FmService.java | 186 private int mCurrentStation = FmUtils.DEFAULT_STATION; field in FmService 286 powerUpAsync(FmUtils.computeFrequency(mCurrentStation)); in onReceive() 624 mCurrentStation = FmUtils.computeStation(frequency); in playFrequency() 625 FmStation.setCurrentStation(mContext, mCurrentStation); in playFrequency() 735 mCurrentStation = FmUtils.computeStation(frequency); in tuneStation() 736 FmStation.setCurrentStation(mContext, mCurrentStation); in tuneStation() 1004 mCurrentStation = iCurrentStation; in initService() 1022 return mCurrentStation; in getFrequency() 1031 mCurrentStation = station; in setFrequency() 1489 seekStationAsync(FmUtils.computeFrequency(mCurrentStation), false); in onStartCommand() [all …]
|
D | FmRecordActivity.java | 78 private int mCurrentStation = FmUtils.DEFAULT_STATION; field in FmRecordActivity 110 mCurrentStation = savedInstanceState.getInt(FmStation.CURRENT_STATION); in onCreate() 114 mCurrentStation = intent.getIntExtra(FmStation.CURRENT_STATION, in onCreate() 126 mFrequency.setText("FM " + FmUtils.formatStation(mCurrentStation)); in updateUi() 133 new String[] { String.valueOf(mCurrentStation) }, in updateUi() 155 Log.d(TAG, "updateUi, frequency = " + mCurrentStation + ", stationName = " in updateUi() 174 FmUtils.formatStation(mCurrentStation)); in updateRecordingNotification() 272 outState.putInt(FmStation.CURRENT_STATION, mCurrentStation); in onSaveInstanceState()
|
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmScroller.java | 108 private int mCurrentStation; field in FmScroller 845 if (mCurrentStation == stationFreq) { in getView() 1070 mCurrentStation = currentStation; in refreshPlayIndicator()
|