Lines Matching refs:index
213 * Returns the tab indicator view at the given index.
215 * @param index the zero-based index of the tab indicator view to return
216 * @return the tab indicator view at the given index
218 public View getChildTabViewAt(int index) {
219 return getChildAt(index);
379 * @param index The tab that you want to indicate as the selected
384 public void setCurrentTab(int index) {
385 if (index < 0 || index >= getTabCount() || index == mSelectedTab) {
392 mSelectedTab = index;
448 * @param index The tab that you want focused (highlighted in orange)
453 public void focusCurrentTab(int index) {
457 setCurrentTab(index);
460 if (oldTab != index) {
461 getChildTabViewAt(index).requestFocus();
558 * @param tabIndex index of the tab that was selected