Home
last modified time | relevance | path

Searched refs:minorNumber (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java41 public String minorNumber; field in ChannelNumber
68 private void setChannelNumber(String majorNumber, boolean hasDelimiter, String minorNumber) { in setChannelNumber() argument
71 this.minorNumber = minorNumber; in setChannelNumber()
77 return majorNumber + Channel.CHANNEL_NUMBER_DELIMITER + minorNumber; in toString()
85 int minor = hasDelimiter ? Integer.parseInt(minorNumber) : 0; in compareTo()
88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
100 && TextUtils.equals(minorNumber, channelNumber.minorNumber) in equals()
108 return Objects.hash(majorNumber, hasDelimiter, minorNumber); in hashCode()
143 ret.minorNumber = number.substring(indexOfDelimiter + 1); in parseChannelNumber()
144 if (!isInteger(ret.majorNumber) || !isInteger(ret.minorNumber)) { in parseChannelNumber()
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java265 && mTypedChannelNumber.minorNumber != null in onNumberKeyUp()
266 && mTypedChannelNumber.minorNumber.length() >= MAX_MINOR_CHANNEL_NUMBER_DIGIT) { in onNumberKeyUp()
270 + mTypedChannelNumber.minorNumber.length() in onNumberKeyUp()
279 mTypedChannelNumber.minorNumber += String.valueOf(num); in onNumberKeyUp()
391 if (!chNumber.minorNumber.startsWith(typedChNumber.minorNumber)) { in matchChannelNumber()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelNumberSubject.java56 || !actual.minorNumber.equals(Integer.toString(minor)) in displaysAs()
63 if (!actual.majorNumber.isEmpty() || !actual.minorNumber.isEmpty() || actual.hasDelimiter) { in isEmpty()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputSectionParser.java70 int minorNumber = ((data[25] & 0x03) << 8) | (data[26] & 0xff); in parseTvctSection() local
73 + " channel number: " + majorNumber + "-" + minorNumber); in parseTvctSection()
88 return new TvctChannelInfo(name, majorNumber, minorNumber); in parseTvctSection()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java884 int minorNumber = ((data[pos + 15] & 0x03) << 8) | (data[pos + 16] & 0xff); in parseVCT() local
888 majorNumber = ((majorNumber & 0xf) << 10) + minorNumber; in parseVCT()
889 minorNumber = 0; in parseVCT()
927 minorNumber, in parseVCT()
949 minorNumber, in parseVCT()