Searched refs:curItem (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 975 ItemInfo curItem = null; 979 if (ii.position == mCurItem) curItem = ii; 984 if (curItem == null && N > 0) { 985 curItem = addNewItem(mCurItem, curIndex); 991 if (curItem != null) { 997 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth; 1026 float extraWidthRight = curItem.widthFactor; 1059 calculatePageOffsets(curItem, curIndex, oldCurInfo); 1069 mAdapter.setPrimaryItem(this, mCurItem, curItem != null ? curItem 1133 calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1139 ItemInfo curItem = null; 1143 if (ii.position == mCurItem) curItem = ii; 1148 if (curItem == null && N > 0) { 1149 curItem = addNewItem(mCurItem, curIndex); 1155 if (curItem != null) { 1161 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth; 1190 float extraWidthRight = curItem.widthFactor; 1223 calculatePageOffsets(curItem, curIndex, oldCurInfo); 1233 mAdapter.setPrimaryItem(this, mCurItem, curItem != null ? curItem 1288 calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuBuilder.java | 559 MenuItemImpl curItem = mItems.get(i); 560 if (curItem.getGroupId() == group) { 561 if (!curItem.isExclusiveCheckable()) continue; 562 if (!curItem.isCheckable()) continue; 565 curItem.setCheckedInt(curItem == item);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuBuilder.java | 596 MenuItemImpl curItem = mItems.get(i); 597 if (curItem.getGroupId() == group) { 598 if (!curItem.isExclusiveCheckable()) continue; 599 if (!curItem.isCheckable()) continue; 602 curItem.setCheckedInt(curItem == item);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | TabLayout.java | 909 final int curItem = mViewPager.getCurrentItem(); 910 if (curItem != getSelectedTabPosition() && curItem < getTabCount()) { 911 selectTab(getTabAt(curItem));
|
Completed in 149 milliseconds