Searched refs:getItemId (Results 1 - 25 of 246) sorted by relevance

12345678910

/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsFactory.aidl31 long getItemId(int position);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DAppCompatMenuItemShortcutsTestActivity.java40 mMenuItemIdTracker = item.getItemId();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithEmptyView.java42 public long getItemId(int position) { method in class:ListWithEmptyView.CarefulAdapter
46 return super.getItemId(position);
85 switch (item.getItemId()) {
/frameworks/base/core/java/android/widget/
H A DAdapter.java72 long getItemId(int position); method in interface:Adapter
H A DRemoteViewsService.java113 * See {@link Adapter#getItemId(int)}.
118 public long getItemId(int position); method in interface:RemoteViewsService.RemoteViewsFactory
194 public synchronized long getItemId(int position) { method in class:RemoteViewsService.RemoteViewsFactoryAdapter
197 id = mFactory.getItemId(position);
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DMyActivity.java29 int id = item.getItemId();
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DSimpleUpActivity.java38 if (item.getItemId() == android.R.id.home) {
H A DContentCategoryActivity.java40 if (item.getItemId() == android.R.id.home) {
H A DViewFromOtherTaskActivity.java40 if (item.getItemId() == android.R.id.home) {
/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DSimpleUpActivity.java38 if (item.getItemId() == android.R.id.home) {
H A DContentCategoryActivity.java40 if (item.getItemId() == android.R.id.home) {
H A DViewFromOtherTaskActivity.java40 if (item.getItemId() == android.R.id.home) {
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentPagerAdapter.java94 final long itemId = getItemId(position);
121 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
174 public long getItemId(int position) { method in class:FragmentPagerAdapter
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivity.java35 int id = item.getItemId();
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/
H A DMainActivity.java52 int id = item.getItemId();
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/
H A DMainActivity.java52 int id = item.getItemId();
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
H A DTestLibraryMainActivity.java48 int id = item.getItemId();
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DStableIdKeyProvider.java79 long id = holder.getItemId();
89 long id = holder.getItemId();
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DBottomNavigationViewUsage.java67 bottom.getMenu().removeItem(bottom.getMenu().getItem(0).getItemId());
98 bottom.setSelectedItemId(bottom.getMenu().getItem(next).getItemId());
106 switch (item.getItemId()) {
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/
H A DFragmentPagerAdapter.java116 final long itemId = getItemId(position);
147 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
224 public long getItemId(int position) { method in class:FragmentPagerAdapter
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DBottomNavigationViewUsage.java67 bottom.getMenu().removeItem(bottom.getMenu().getItem(0).getItemId());
98 bottom.setSelectedItemId(bottom.getMenu().getItem(next).getItemId());
106 switch (item.getItemId()) {
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarUsage.java75 switch (item.getItemId()) {
88 mSortMode = item.getItemId();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/
H A DSimpleSelectionDemoAdapter.java82 public long getItemId(int position) { method in class:SimpleSelectionDemoAdapter
88 Long key = getItemId(position);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarUsage.java75 switch (item.getItemId()) {
88 mSortMode = item.getItemId();
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/
H A DSimpleSelectionDemoAdapter.java82 public long getItemId(int position) { method in class:SimpleSelectionDemoAdapter
88 Long key = getItemId(position);

Completed in 385 milliseconds

12345678910