Searched refs:majorNumber (Results 1 – 4 of 4) sorted by relevance
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelNumber.java | 34 public String majorNumber; field in ChannelNumber 50 public void setChannelNumber(String majorNumber, boolean hasDelimiter, String minorNumber) { in setChannelNumber() argument 51 this.majorNumber = majorNumber; in setChannelNumber() 59 return majorNumber + PRIMARY_CHANNEL_DELIMITER + minorNumber; in toString() 61 return majorNumber; in toString() 66 int major = Integer.parseInt(majorNumber); in compareTo() 69 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo() 103 ret.majorNumber = number; in parseChannelNumber() 104 if (!isInteger(ret.majorNumber)) { in parseChannelNumber() 109 ret.majorNumber = number.substring(0, indexOfDelimiter); in parseChannelNumber() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | KeypadChannelSwitchView.java | 243 if (mTypedChannelNumber.majorNumber == null) { in onNumberKeyUp() 246 && mTypedChannelNumber.majorNumber.length() >= MAX_CHANNEL_NUMBER_DIGIT) { in onNumberKeyUp() 255 mTypedChannelNumber.majorNumber += String.valueOf(num); in onNumberKeyUp() 264 if (mTypedChannelNumber.hasDelimiter || mTypedChannelNumber.majorNumber.length() == 0) { in onDelimiterKeyUp() 290 .startsWith(mTypedChannelNumber.majorNumber)) { in updateView() 354 if (!chNumber.majorNumber.equals(typedChNumber.majorNumber)) { in matchChannelNumber()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/ |
D | SectionParser.java | 522 int majorNumber = ((data[pos + 14] & 0x0f) << 6) | ((data[pos + 15] & 0xff) >> 2); in parseVCT() local 524 if ((majorNumber & 0x3f0) == 0x3f0) { in parseVCT() 527 majorNumber = ((majorNumber & 0xf) << 10) + minorNumber; in parseVCT() 558 shortName, longName, serviceType, channelTsid, programNumber, majorNumber, in parseVCT() 566 programNumber, majorNumber, minorNumber, sourceId)); in parseVCT()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelNumberTest.java | 89 assertEquals(actual + " major", actual.majorNumber, expectedMajor); in assertChannelEquals()
|