Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java37 public String majorNumber; field in ChannelNumber
61 && lhsNumber.majorNumber.equals(rhsNumber.majorNumber); in equivalent()
68 private void setChannelNumber(String majorNumber, boolean hasDelimiter, String minorNumber) { in setChannelNumber() argument
69 this.majorNumber = majorNumber; in setChannelNumber()
77 return majorNumber + Channel.CHANNEL_NUMBER_DELIMITER + minorNumber; in toString()
79 return majorNumber; in toString()
84 int major = Integer.parseInt(majorNumber); in compareTo()
87 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo()
99 return TextUtils.equals(majorNumber, channelNumber.majorNumber) in equals()
108 return Objects.hash(majorNumber, hasDelimiter, minorNumber); in hashCode()
[all …]
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java250 if (mTypedChannelNumber.majorNumber == null) { in onNumberKeyUp()
253 && mTypedChannelNumber.majorNumber.length() >= MAX_CHANNEL_NUMBER_DIGIT) { in onNumberKeyUp()
262 mTypedChannelNumber.majorNumber += String.valueOf(num); in onNumberKeyUp()
271 if (mTypedChannelNumber.hasDelimiter || mTypedChannelNumber.majorNumber.length() == 0) { in onDelimiterKeyUp()
303 .startsWith(mTypedChannelNumber.majorNumber)) { in updateView()
369 if (!chNumber.majorNumber.equals(typedChNumber.majorNumber)) { in matchChannelNumber()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelNumberSubject.java49 if (!actual.majorNumber.equals(Integer.toString(major)) || actual.hasDelimiter) { in displaysAs()
55 if (!actual.majorNumber.equals(Integer.toString(major)) 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.java883 int majorNumber = ((data[pos + 14] & 0x0f) << 6) | ((data[pos + 15] & 0xff) >> 2); in parseVCT() local
885 if ((majorNumber & 0x3f0) == 0x3f0) { in parseVCT()
888 majorNumber = ((majorNumber & 0xf) << 10) + minorNumber; in parseVCT()
926 majorNumber, in parseVCT()
948 majorNumber, in parseVCT()