Lines Matching refs:position
171 public void setTabSelected(int position) {
172 mSelectedTabIndex = position;
176 final boolean isSelected = i == position;
179 animateToTab(position);
243 public void animateToTab(final int position) {
244 final View tabView = mTabLayout.getChildAt(position);
307 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) {
309 mTabLayout.addView(tabView, position, new LinearLayout.LayoutParams(
322 public void updateTab(int position) {
323 ((TabView) mTabLayout.getChildAt(position)).update();
332 public void removeTabAt(int position) {
333 mTabLayout.removeViewAt(position);
353 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
496 public Object getItem(int position) {
497 return ((TabView) mTabLayout.getChildAt(position)).getTab();
501 public long getItemId(int position) {
502 return position;
506 public View getView(int position, View convertView, ViewGroup parent) {
508 convertView = createTabView((ActionBar.Tab) getItem(position), true);
510 ((TabView) convertView).bindTab((ActionBar.Tab) getItem(position));