Searched refs:FmUtils (Results 1 – 8 of 8) sorted by relevance
128 private static String sRecordingSdcard = FmUtils.getDefaultStoragePath();186 private int mCurrentStation = FmUtils.DEFAULT_STATION;286 powerUpAsync(FmUtils.computeFrequency(mCurrentStation)); in onReceive()620 mCurrentStation = FmUtils.computeStation(frequency); in playFrequency()731 mCurrentStation = FmUtils.computeStation(frequency); in tuneStation()1085 sRecordingSdcard = FmUtils.getDefaultStoragePath(); in startRecording()1244 sRecordingSdcard = FmUtils.getDefaultStoragePath(); in onCreate()1478 seekStationAsync(FmUtils.computeFrequency(mCurrentStation), false); in onStartCommand()1480 seekStationAsync(FmUtils.computeFrequency(mCurrentStation), true); in onStartCommand()1562 if (FmUtils.isValidStation(iFreq)) { in startRdsThread()[all …]
140 private int mCurrentStation = FmUtils.DEFAULT_STATION;185 tuneStation(FmUtils.computeDecreaseStation(mCurrentStation));189 tuneStation(FmUtils.computeIncreaseStation(mCurrentStation));281 mCurrentStation = FmUtils.computeStation(frequency);588 if (FmUtils.isFirstTimePlayFm(mContext)) { in refreshStationUI()594 mTextStationValue.setText(FmUtils.formatStation(station)); in refreshStationUI()940 mService.powerUpAsync(FmUtils.computeFrequency(mCurrentStation)); in powerUpFm()972 mService.tuneStationAsync(FmUtils.computeFrequency(station)); in tuneStation()988 mService.seekStationAsync(FmUtils.computeFrequency(station), direction); in seekStation()1083 if (FmUtils.isValidStation(freq)) { in updateCurrentStation()
78 private int mCurrentStation = FmUtils.DEFAULT_STATION;115 FmUtils.DEFAULT_STATION); in onCreate()126 mFrequency.setText("FM " + FmUtils.formatStation(mCurrentStation)); in updateUi()173 Bitmap largeIcon = FmUtils.createNotificationLargeIcon(mContext, in updateRecordingNotification()174 FmUtils.formatStation(mCurrentStation)); in updateRecordingNotification()416 String recordingSdcard = FmUtils.getDefaultStoragePath(); in checkStorageSpaceAndStop()417 if (!FmUtils.hasEnoughSpace(recordingSdcard)) { in checkStorageSpaceAndStop()
140 intentResult.putExtra(ACTIVITY_RESULT, FmUtils.computeStation(frequency)); in onCreate()190 double[] lastLocations = FmUtils.getLastSearchedLocation(mContext); in onOptionsItemSelected()197 searchedDistance > FmUtils.LOCATION_DISTANCE_EXCEED; in onOptionsItemSelected()199 FmUtils.setLastSearchedLocation(mContext, mCurLocation.getLatitude(), in onOptionsItemSelected()344 viewHolder.mStationFreqView.setText(FmUtils.formatStation(stationFreq)); in getView()556 if (FmUtils.isFirstEnterStationList(mContext) || (0 == mMyAdapter.getCount())) {
102 String recordingSdcard = FmUtils.getDefaultStoragePath(); in startRecording()105 if (!FmUtils.hasEnoughSpace(recordingSdcard)) { in startRecording()432 FmUtils.getPlaylistPath(context) + RECORDING_FILE_SOURCE in getPlaylistId()
39 public class FmUtils { class
214 int currentStation = prefs.getInt(CURRENT_STATION, FmUtils.DEFAULT_STATION); in getCurrentStation()
63 import com.android.fmradio.FmUtils;842 viewHolder.mStationFreq.setText(FmUtils.formatStation(stationFreq)); in getView()