Home
last modified time | relevance | path

Searched refs:curItem (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java955 ItemInfo curItem = null;
959 if (ii.position == mCurItem) curItem = ii;
964 if (curItem == null && N > 0) {
965 curItem = addNewItem(mCurItem, curIndex);
971 if (curItem != null) {
977 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
1006 float extraWidthRight = curItem.widthFactor;
1039 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1049 mAdapter.setPrimaryItem(this, mCurItem, curItem != null ? curItem.object : null);
1113 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java585 MenuItemImpl curItem = mItems.get(i); in setExclusiveItemChecked() local
586 if (curItem.getGroupId() == group) { in setExclusiveItemChecked()
587 if (!curItem.isExclusiveCheckable()) continue; in setExclusiveItemChecked()
588 if (!curItem.isCheckable()) continue; in setExclusiveItemChecked()
591 curItem.setCheckedInt(curItem == item); in setExclusiveItemChecked()