Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/
DChannelTuner.java202 int channelIndex; in getAdjacentBrowsableChannel() local
204 channelIndex = 0; in getAdjacentBrowsableChannel()
205 Channel channel = mChannels.get(channelIndex); in getAdjacentBrowsableChannel()
210 channelIndex = mChannelIndexMap.get(mCurrentChannel.getId()); in getAdjacentBrowsableChannel()
214 int nextChannelIndex = up ? channelIndex + 1 + i : channelIndex - 1 - i + size; in getAdjacentBrowsableChannel()
/packages/apps/TV/src/com/android/tv/guide/
DProgramTableAdapter.java248 int channelIndex = mProgramManager.getChannelIndex(tableEntry.channelId); in onTableEntryChanged() local
250 if (DEBUG) Log.d(TAG, "update(" + channelIndex + ", " + pos + ")"); in onTableEntryChanged()
251 if (channelIndex >= 0 && channelIndex < mProgramListAdapters.size()) { in onTableEntryChanged()
252 mProgramListAdapters.get(channelIndex).notifyItemChanged(pos, tableEntry); in onTableEntryChanged()
253 notifyItemChanged(channelIndex, true); in onTableEntryChanged()
DProgramListAdapter.java47 ProgramListAdapter(Resources res, ProgramGuide programGuide, int channelIndex) { in ProgramListAdapter() argument
51 mChannelIndex = channelIndex; in ProgramListAdapter()
DProgramManager.java397 Channel getChannel(int channelIndex) { in getChannel() argument
398 if (channelIndex < 0 || channelIndex >= getChannelCount()) { in getChannel()
401 return mFilteredChannels.get(channelIndex); in getChannel()