Home
last modified time | relevance | path

Searched refs:itemPosition (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/widget/
DMenuPopupWindow.java169 final int itemPosition = position - headersCount; in onHoverEvent() local
170 if (itemPosition >= 0 && itemPosition < menuAdapter.getCount()) { in onHoverEvent()
171 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DMenuPopupWindow.java200 final int itemPosition = position - headersCount; in onHoverEvent() local
201 if (itemPosition >= 0 && itemPosition < menuAdapter.getCount()) { in onHoverEvent()
202 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java248 SparseIntArray itemPosition = new SparseIntArray(mCursor.getCount()); in setItemPosition() local
255 itemPosition.append(rowId, position); in setItemPosition()
257 mItemPosition = itemPosition; in setItemPosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DListRowPresenter.java137 public SelectItemViewHolderTask(int itemPosition) { in SelectItemViewHolderTask() argument
138 setItemPosition(itemPosition); in SelectItemViewHolderTask()
145 public void setItemPosition(int itemPosition) { in setItemPosition() argument
146 mItemPosition = itemPosition; in setItemPosition()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java103 protected MenuItem onAddMenuItem(Menu menu, int itemPosition) { in onAddMenuItem() argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java1122 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java922 private void updateLayoutStateToFillEnd(int itemPosition, int offset) { in updateLayoutStateToFillEnd() argument
926 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillEnd()
936 private void updateLayoutStateToFillStart(int itemPosition, int offset) { in updateLayoutStateToFillStart() argument
938 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillStart()
DRecyclerView.java9057 public void getItemOffsets(Rect outRect, int itemPosition, RecyclerView parent) { in getItemOffsets() argument
/frameworks/base/core/java/android/app/
DActionBar.java1152 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument