Home
last modified time | relevance | path

Searched refs:getItemId (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithEmptyView.java42 public long getItemId(int position) { in getItemId() method in ListWithEmptyView.CarefulAdapter
46 return super.getItemId(position); in getItemId()
85 switch (item.getItemId()) { in onOptionsItemSelected()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentPagerAdapter.java92 final long itemId = getItemId(position); in instantiateItem()
119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object in destroyItem()
171 public long getItemId(int position) { in getItemId() method in FragmentPagerAdapter
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java96 final long itemId = getItemId(position); in instantiateItem()
123 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object in destroyItem()
176 public long getItemId(int position) { in getItemId() method in FragmentPagerAdapter
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java118 public long getItemId(int position); in getItemId() method
194 public synchronized long getItemId(int position) { in getItemId() method in RemoteViewsService.RemoteViewsFactoryAdapter
197 id = mFactory.getItemId(position); in getItemId()
DAdapter.java71 long getItemId(int position); in getItemId() method
DHeaderViewListAdapter.java188 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapter
194 return mAdapter.getItemId(adjPosition); in getItemId()
DAdapterView.java795 return (adapter == null || position < 0) ? INVALID_ROW_ID : adapter.getItemId(position); in getItemIdAtPosition()
932 getAdapter().getItemId(selection)); in fireOnSelected()
1158 rowId = adapter.getItemId(seed); in findSyncPosition()
1250 mSyncRowId = adapter.getItemId(mFirstPosition); in rememberSyncState()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarUsage.java70 switch (item.getItemId()) { in onOptionsItemSelected()
83 mSortMode = item.getItemId(); in onSort()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSessionManager.java166 if (item.getItemId().equals(iid)) { in getStatus()
327 if (item == null || !item.getItemId().equals(iid)) { in checkItemCurrent()
364 if (iid.equals(item.getItemId())) { in removeItem()
393 removeItem(item.getItemId(), error ? in finishItem()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java68 switch (item.getItemId()) { in onOptionsItemSelected()
117 public long getItemId(int position) { in getItemId() method in UsageStatsActivity.Adapter
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java361 public long getItemId(int position) { in getItemId() method in NavigationMenuPresenter.NavigationMenuAdapter
549 state.putInt(STATE_CHECKED_ITEM, mCheckedItem.getItemId()); in createInstanceState()
560 actionViewStates.put(item.getItemId(), container); in createInstanceState()
575 if (menuItem != null && menuItem.getItemId() == checkedItem) { in restoreInstanceState()
592 actionView.restoreHierarchyState(actionViewStates.get(item.getItemId())); in restoreInstanceState()
/frameworks/base/core/java/com/android/internal/widget/
DIRemoteViewsFactory.aidl31 long getItemId(int position); in getItemId() method
DWatchHeaderListView.java163 public long getItemId(int position) { in getItemId() method in WatchHeaderListView.WatchHeaderListAdapter
169 return getWrappedAdapter().getItemId(adjPosition); in getItemId()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DPaletteDetailActivity.java98 switch (item.getItemId()) { in onOptionsItemSelected()
155 public long getItemId(int position) { in getItemId() method in PaletteDetailActivity.SwatchesPalette
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DMyActivity.java29 int id = item.getItemId(); in onOptionsItemSelected()
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DSimpleUpActivity.java38 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
DContentCategoryActivity.java39 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
DViewFromOtherTaskActivity.java39 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
DTestLibraryMainActivity.java48 int id = item.getItemId(); in onOptionsItemSelected()
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/
DMainActivity.java52 int id = item.getItemId(); in onOptionsItemSelected()
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/
DMainActivity.java52 int id = item.getItemId(); in onOptionsItemSelected()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java165 public long getItemId(int position) { in getItemId() method in HeaderRecyclerView.HeaderAdapter
172 return mAdapter.getItemId(position); in getItemId()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuPresenter.java99 mOpenSubMenuId = subMenu.getItem().getItemId();
191 mOpenSubMenuId = ((SubMenuBuilder) subMenu).getItem().getItemId();
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivity.java35 int id = item.getItemId(); in onOptionsItemSelected()
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DMainActivity.java72 int id = item.getItemId(); in onOptionsItemSelected()

123456789