Home
last modified time | relevance | path

Searched refs:hasDelimiter (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java39 public boolean hasDelimiter; field in ChannelNumber
60 && lhsNumber.hasDelimiter != rhsNumber.hasDelimiter in equivalent()
68 private void setChannelNumber(String majorNumber, boolean hasDelimiter, String minorNumber) { in setChannelNumber() argument
70 this.hasDelimiter = hasDelimiter; in setChannelNumber()
76 if (hasDelimiter) { in toString()
85 int minor = hasDelimiter ? Integer.parseInt(minorNumber) : 0; in compareTo()
88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
101 && hasDelimiter == channelNumber.hasDelimiter; in equals()
108 return Objects.hash(majorNumber, hasDelimiter, minorNumber); in hashCode()
141 ret.hasDelimiter = true; in parseChannelNumber()
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java252 } else if (!mTypedChannelNumber.hasDelimiter in onNumberKeyUp()
255 } else if (mTypedChannelNumber.hasDelimiter in onNumberKeyUp()
261 if (!mTypedChannelNumber.hasDelimiter) { in onNumberKeyUp()
271 if (mTypedChannelNumber.hasDelimiter || mTypedChannelNumber.majorNumber.length() == 0) { in onDelimiterKeyUp()
274 mTypedChannelNumber.hasDelimiter = true; in onDelimiterKeyUp()
297 } else if (!mTypedChannelNumber.hasDelimiter) { in updateView()
372 if (typedChNumber.hasDelimiter) { in matchChannelNumber()
373 if (!chNumber.hasDelimiter) { 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()
57 || !actual.hasDelimiter) { in displaysAs()
63 if (!actual.majorNumber.isEmpty() || !actual.minorNumber.isEmpty() || actual.hasDelimiter) { in isEmpty()