Lines Matching defs:item
485 private void addTabFromItemView(@NonNull TabItem item) {
487 if (item.mText != null) {
488 tab.setText(item.mText);
490 if (item.mIcon != null) {
491 tab.setIcon(item.mIcon);
493 if (item.mCustomLayout != 0) {
494 tab.setCustomView(item.mCustomLayout);
496 if (!TextUtils.isEmpty(item.getContentDescription())) {
497 tab.setContentDescription(item.getContentDescription());
804 // Now we'll add a tab selected listener to set ViewPager's current item
822 // Now update the scroll position to match the ViewPager's current item
911 // Make sure we reflect the currently set ViewPager item