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.java35 public boolean hasDelimiter; field in ChannelNumber
42 public ChannelNumber(String major, boolean hasDelimiter, String minor) { in ChannelNumber() argument
43 setChannelNumber(major, hasDelimiter, minor); in ChannelNumber()
50 public void setChannelNumber(String majorNumber, boolean hasDelimiter, String minorNumber) { in setChannelNumber() argument
52 this.hasDelimiter = hasDelimiter; in setChannelNumber()
58 if (hasDelimiter) { in toString()
67 int minor = hasDelimiter ? Integer.parseInt(minorNumber) : 0; in compareTo()
70 int opponentMinor = another.hasDelimiter in compareTo()
108 ret.hasDelimiter = true; in parseChannelNumber()
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java245 } else if (!mTypedChannelNumber.hasDelimiter in onNumberKeyUp()
248 } else if (mTypedChannelNumber.hasDelimiter in onNumberKeyUp()
254 if (!mTypedChannelNumber.hasDelimiter) { in onNumberKeyUp()
264 if (mTypedChannelNumber.hasDelimiter || mTypedChannelNumber.majorNumber.length() == 0) { in onDelimiterKeyUp()
267 mTypedChannelNumber.hasDelimiter = true; in onDelimiterKeyUp()
285 } else if (!mTypedChannelNumber.hasDelimiter) { in updateView()
357 if (typedChNumber.hasDelimiter) { in matchChannelNumber()
358 if (!chNumber.hasDelimiter) { in matchChannelNumber()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelNumberTest.java90 assertEquals(actual + " hasDelimiter", actual.hasDelimiter, expectedHasDelimiter); in assertChannelEquals()