Searched refs:channelNumber (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | PrescannedRadioStationAdapter.java | 54 public int setStartingStation(int channelNumber, int band) { in setStartingStation() argument 55 getIndexOrInsertForStation(channelNumber, band); in setStartingStation() 111 public int getIndexOrInsertForStation(int channelNumber, int band) { in getIndexOrInsertForStation() argument 122 if (channelNumber >= station.getChannelNumber()) { in getIndexOrInsertForStation() 127 if (station.getChannelNumber() == channelNumber && station.getRadioBand() == band) { in getIndexOrInsertForStation() 135 RadioStation stationToInsert = new RadioStation(channelNumber, 0 /* subChannel */, in getIndexOrInsertForStation()
|
D | RadioChannelFormatter.java | 55 public static String formatRadioChannel(int band, int channelNumber) { in formatRadioChannel() argument 58 return AM_FORMATTER.format(channelNumber); in formatRadioChannel() 62 return FM_FORMATTER.format((float) channelNumber / 1000); in formatRadioChannel()
|
D | PresetsViewHolder.java | 106 String channelNumber = RadioChannelFormatter.formatRadioChannel(preset.getRadioBand(), in bindPreset() local 109 mPresetItemChannel.setText(channelNumber); in bindPreset()
|
D | RadioDatabase.java | 244 String channelNumber = Integer.toString(preset.getChannelNumber()); in deletePreset() local 248 new String[] { channelNumber, subChannelNumber }); in deletePreset()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ChannelInfo.java | 76 public static ChannelInfo create(@Nullable Context context, int channelNumber) { in create() argument 78 .setNumber(String.valueOf(channelNumber)) in create() 79 .setName("Channel " + channelNumber) in create() 80 .setOriginalNetworkId(channelNumber); in create() 83 int logo_num = (channelNumber % 1000); in create()
|
/packages/apps/Car/Stream/src/com/android/car/stream/radio/ |
D | RadioFormatter.java | 54 public static String formatRadioChannel(int band, int channelNumber) { in formatRadioChannel() argument 57 return AM_FORMATTER.format(channelNumber); in formatRadioChannel() 61 return FM_FORMATTER.format((float) channelNumber / 1000); in formatRadioChannel()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 220 result.channelNumber = channel.getDisplayNumber(); in addResult() 253 private String buildProgramDescription(String channelNumber, String channelName, in buildProgramDescription() argument 256 + System.lineSeparator() + channelNumber + " " + channelName; in buildProgramDescription()
|
D | TvProviderSearch.java | 232 result.channelNumber = c.getString(1); in searchChannels() 278 result.description = buildProgramDescription(result.channelNumber, channelName, in fillProgramInfo() 292 private String buildProgramDescription(String channelNumber, String channelName, in buildProgramDescription() argument 295 + System.lineSeparator() + channelNumber + " " + channelName; in buildProgramDescription()
|
D | LocalSearchProvider.java | 159 public String channelNumber; field in LocalSearchProvider.SearchResult 175 ", channelNumber: " + channelNumber + in toString()
|
/packages/apps/Car/libs/car-radio-service/src/com/android/car/radio/service/ |
D | RadioStation.java | 44 public RadioStation(int channelNumber, int subChannelNumber, int band, in RadioStation() argument 46 mChannelNumber = channelNumber; in RadioStation()
|