Lines Matching refs:frequency
280 float frequency = bundle.getFloat(FmListener.KEY_TUNE_TO_STATION);
281 mCurrentStation = FmUtils.computeStation(frequency);
511 public void onRename(int frequency) { in onCreate()
512 showRenameDialog(frequency); in onCreate()
516 public void onRemoveFavorite(int frequency) { in onCreate()
518 if (FmStation.isFavoriteStation(mContext, frequency)) { in onCreate()
519 FmStation.removeFromFavorite(mContext, frequency); in onCreate()
520 if (mCurrentStation == frequency) { in onCreate()
521 mTextStationName.setText(FmStation.getStationName(mContext, frequency)); in onCreate()
530 public void onPlay(int frequency) { in onCreate()
531 if (frequency != 0 && (mService.getPowerStatus() == FmService.POWER_UP)) { in onCreate()
532 tuneStation(frequency); in onCreate()
557 public void showRenameDialog(int frequency) { in showRenameDialog() argument
559 String name = FmStation.getStationName(mContext, frequency); in showRenameDialog()
560 FmFavoriteEditDialog newFragment = FmFavoriteEditDialog.newInstance(name, frequency); in showRenameDialog()