Home
last modified time | relevance | path

Searched refs:leadingDigits (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/bands/
DAMFMProgramType.java77 public boolean isComplete(@NonNull RegionConfig config, int leadingDigits) { in isComplete() argument
78 int frequencyKhz = leadingDigits * getLeadingDigitsFactor(); in isComplete()
91 public ProgramSelector parseDigits(int leadingDigits) { in parseDigits() argument
92 return ProgramSelectorExt.createAmFmSelector(leadingDigits * getLeadingDigitsFactor()); in parseDigits()
106 public boolean[] getValidAppendices(@NonNull RegionConfig config, int leadingDigits) { in getValidAppendices() argument
142 int curLenDisp = numLength(leadingDigits); in getValidAppendices()
171 int scanStartKHz = leadingDigits * curPosFactor * displayFactor; in getValidAppendices()
173 int scanEndKHz = (leadingDigits + 1) * curPosFactor * displayFactor - 1; in getValidAppendices()
DProgramType.java150 public abstract boolean isComplete(@NonNull RegionConfig config, int leadingDigits); in isComplete() argument
158 public abstract ProgramSelector parseDigits(int leadingDigits); in parseDigits() argument
170 public abstract boolean[] getValidAppendices(@NonNull RegionConfig config, int leadingDigits); in getValidAppendices() argument
177 public String format(int leadingDigits) { in format() argument
178 if (leadingDigits < 0) throw new IllegalArgumentException(); in format()
179 if (leadingDigits == 0) return ""; in format()
180 return Integer.toString(leadingDigits); in format()
DFMProgramType.java54 public String format(int leadingDigits) { in format() argument
60 if (leadingDigits < 0) throw new IllegalArgumentException(); in format()
61 if (leadingDigits == 0) return ""; in format()
63 String channel = Integer.toString(leadingDigits); in format()
DDABProgramType.java63 public boolean isComplete(@NonNull RegionConfig config, int leadingDigits) { in isComplete() argument
70 public boolean[] getValidAppendices(@NonNull RegionConfig config, int leadingDigits) { in getValidAppendices() argument
76 public ProgramSelector parseDigits(int leadingDigits) { in parseDigits() argument