Home
last modified time | relevance | path

Searched refs:minorNumber (Results 1 – 4 of 4) 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.java256 && mTypedChannelNumber.minorNumber != null in onNumberKeyUp()
257 && mTypedChannelNumber.minorNumber.length() >= MAX_MINOR_CHANNEL_NUMBER_DIGIT) { in onNumberKeyUp()
264 mTypedChannelNumber.minorNumber += String.valueOf(num); in onNumberKeyUp()
376 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/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()