/cts/tests/tests/widget/src/android/widget/cts/ |
D | ActionMenuViewTest.java | 80 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 81 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 82 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 83 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 84 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 85 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | AbsSpinnerTest.java | 145 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 148 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 250 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 255 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 262 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 289 public long getItemId(int position) { in getItemId() method in AbsSpinnerTest.MockSpinnerAdapter
|
D | PopupMenuTest.java | 94 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in verifyMenuContent() 95 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in verifyMenuContent() 96 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in verifyMenuContent() 97 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in verifyMenuContent() 98 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in verifyMenuContent() 99 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in verifyMenuContent() 104 assertEquals(R.id.action_share_email, shareSubMenu.getItem(0).getItemId()); in verifyMenuContent() 105 assertEquals(R.id.action_share_circles, shareSubMenu.getItem(1).getItemId()); in verifyMenuContent()
|
D | DummyAdapter.java | 44 public long getItemId(int position) { in getItemId() method in DummyAdapter
|
D | ToolbarTest.java | 139 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 140 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 141 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 142 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 143 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 144 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent() 489 View itemView1 = mActivity.findViewById(menuItem1.getItemId()); in testItemViewAttributes() 497 View itemView2 = mActivity.findViewById(menuItem2.getItemId()); in testItemViewAttributes()
|
D | ArrayAdapterTest.java | 327 assertEquals(0, mArrayAdapter.getItemId(0)); in testGetItemId() 328 assertEquals(1, mArrayAdapter.getItemId(1)); in testGetItemId() 329 assertEquals(2, mArrayAdapter.getItemId(2)); in testGetItemId() 332 assertEquals(-1, mArrayAdapter.getItemId(-1)); in testGetItemId() 333 assertEquals(mArrayAdapter.getCount(), mArrayAdapter.getItemId(mArrayAdapter.getCount())); in testGetItemId()
|
D | GalleryCtsActivity.java | 56 public long getItemId(int position) { in getItemId() method in GalleryCtsActivity.ImageAdapter
|
D | HeaderViewListAdapterTest.java | 275 assertEquals(-1, headerViewListAdapter.getItemId(0)); in testGetItemId() 276 assertEquals(mFullAdapter.getItemId(0), headerViewListAdapter.getItemId(2)); in testGetItemId() 414 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter 479 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
|
D | CursorAdapterTest.java | 318 assertEquals(0, cursorAdapter.getItemId(0)); in testGetItemId() 321 assertEquals(FIRST_ITEM_ID, cursorAdapter.getItemId(0)); in testGetItemId() 323 assertEquals(SECOND_ITEM_ID, cursorAdapter.getItemId(1)); in testGetItemId() 326 assertEquals(0, cursorAdapter.getItemId(2)); in testGetItemId()
|
D | SimpleAdapterTest.java | 158 assertEquals(0, mSimpleAdapter.getItemId(0)); in testGetItemId() 160 assertEquals(19, mSimpleAdapter.getItemId(19)); in testGetItemId() 163 assertEquals(-1, mSimpleAdapter.getItemId(-1)); in testGetItemId() 165 assertEquals(20, mSimpleAdapter.getItemId(20)); in testGetItemId()
|
D | BaseAdapterTest.java | 158 public long getItemId(int position) { in getItemId() method in BaseAdapterTest.MockBaseAdapter
|
D | ListViewTest.java | 469 final long itemID = mAdapter_countries.getItemId(2); in testPerformItemClick() 1088 public long getItemId(int position) { in getItemId() method in ListViewTest.TemporarilyDetachableMockViewAdapter 1167 public long getItemId(int position) { in getItemId() method in ListViewTest.StableArrayAdapter 1232 public long getItemId(int position) { in getItemId() method in ListViewTest.PositionArrayAdapter
|
D | GalleryTest.java | 311 public long getItemId(int position) { in getItemId() method in GalleryTest.ImageAdapter
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuTestActivity.java | 31 mMenuItemIdTracker = item.getItemId(); in handleMenuItem()
|
D | MenuTest.java | 75 mMenu.findItem(R.id.no_modifiers).getItemId()); in testPerformShortcut() 83 mMenu.findItem(R.id.default_modifiers).getItemId()); in testPerformShortcut() 91 mMenu.findItem(R.id.single_modifier).getItemId()); in testPerformShortcut() 99 mMenu.findItem(R.id.multiple_modifiers).getItemId()); in testPerformShortcut()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsService.java | 78 public long getItemId(int position) { in getItemId() method in CtsRemoteViewsFactory
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 80 public long getItemId(int position) { in getItemId() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestAdapter.java | 72 public long getItemId(int position) { in getItemId() method in TestAdapter
|
D | BleScannerHardwareScanFilterActivity.java | 144 public long getItemId(int arg0) { in getItemId() method in BleScannerHardwareScanFilterActivity.MapAdapter
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 52 public long getItemId(int position) { in onCreate()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestDialog.java | 249 switch (item.getItemId()) { in onOptionsItemSelected() 272 switch (item.getItemId()) { in onContextItemSelected()
|
D | InstrumentationTestActivity.java | 193 mMenuID = item.getItemId(); in onMenuItemSelected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListActivity.java | 125 return handleMenuItemSelected(item.getItemId()) ? true : super.onOptionsItemSelected(item); in onOptionsItemSelected()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LoginActivity.java | 120 menu.removeItem(item.getItemId()); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 590 public long getItemId(int position) { in getItemId() method in ListScenario.MyAdapter
|