/cts/tests/tests/widget/src/android/widget/cts/ |
D | ActionMenuViewTest.java | 81 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 82 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 83 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 84 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 85 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 86 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | RemoteViewsFixedCollectionAdapterTest.java | 131 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling() 132 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling() 145 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling() 146 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling() 170 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling_afterAttaching() 171 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling_afterAttaching() 199 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling_multiplePackages() 200 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling_multiplePackages() 231 assertEquals(3, items.getItemId(0)); in testBuilder_viewTypeCountUnspecified() 232 assertEquals(5, items.getItemId(1)); in testBuilder_viewTypeCountUnspecified() [all …]
|
D | AbsSpinnerTest.java | 146 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 149 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 251 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 256 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 263 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 290 public long getItemId(int position) { in getItemId() method in AbsSpinnerTest.MockSpinnerAdapter
|
D | PopupMenuTest.java | 126 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in verifyMenuContent() 127 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in verifyMenuContent() 128 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in verifyMenuContent() 129 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in verifyMenuContent() 130 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in verifyMenuContent() 131 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in verifyMenuContent() 136 assertEquals(R.id.action_share_email, shareSubMenu.getItem(0).getItemId()); in verifyMenuContent() 137 assertEquals(R.id.action_share_circles, shareSubMenu.getItem(1).getItemId()); in verifyMenuContent()
|
D | ToolbarTest.java | 141 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 142 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 143 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 144 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 145 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 146 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent() 519 View itemView1 = mActivity.findViewById(menuItem1.getItemId()); in testItemViewAttributes() 527 View itemView2 = mActivity.findViewById(menuItem2.getItemId()); in testItemViewAttributes()
|
D | DummyAdapter.java | 44 public long getItemId(int position) { in getItemId() method in DummyAdapter
|
D | ArrayAdapterTest.java | 328 assertEquals(0, mArrayAdapter.getItemId(0)); in testGetItemId() 329 assertEquals(1, mArrayAdapter.getItemId(1)); in testGetItemId() 330 assertEquals(2, mArrayAdapter.getItemId(2)); in testGetItemId() 333 assertEquals(-1, mArrayAdapter.getItemId(-1)); in testGetItemId() 334 assertEquals(mArrayAdapter.getCount(), mArrayAdapter.getItemId(mArrayAdapter.getCount())); in testGetItemId()
|
D | HeaderViewListAdapterTest.java | 276 assertEquals(-1, headerViewListAdapter.getItemId(0)); in testGetItemId() 277 assertEquals(mFullAdapter.getItemId(0), headerViewListAdapter.getItemId(2)); in testGetItemId() 415 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter 480 public long getItemId(int position) { in getItemId() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
|
D | GalleryCtsActivity.java | 56 public long getItemId(int position) { in getItemId() method in GalleryCtsActivity.ImageAdapter
|
D | CursorAdapterTest.java | 319 assertEquals(0, cursorAdapter.getItemId(0)); in testGetItemId() 322 assertEquals(FIRST_ITEM_ID, cursorAdapter.getItemId(0)); in testGetItemId() 324 assertEquals(SECOND_ITEM_ID, cursorAdapter.getItemId(1)); in testGetItemId() 327 assertEquals(0, cursorAdapter.getItemId(2)); in testGetItemId()
|
D | SimpleAdapterTest.java | 159 assertEquals(0, mSimpleAdapter.getItemId(0)); in testGetItemId() 161 assertEquals(19, mSimpleAdapter.getItemId(19)); in testGetItemId() 164 assertEquals(-1, mSimpleAdapter.getItemId(-1)); in testGetItemId() 166 assertEquals(20, mSimpleAdapter.getItemId(20)); in testGetItemId()
|
D | BaseAdapterTest.java | 159 public long getItemId(int position) { in getItemId() method in BaseAdapterTest.MockBaseAdapter
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuTestActivity.java | 31 mMenuItemIdTracker = item.getItemId(); in handleMenuItem()
|
D | MenuTest.java | 76 mMenu.findItem(R.id.no_modifiers).getItemId()); in testPerformShortcut() 84 mMenu.findItem(R.id.default_modifiers).getItemId()); in testPerformShortcut() 92 mMenu.findItem(R.id.single_modifier).getItemId()); in testPerformShortcut() 100 mMenu.findItem(R.id.multiple_modifiers).getItemId()); in testPerformShortcut()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/service/ |
D | MyAppWidgetService.java | 72 public long getItemId(int i) { in getItemId() method in MyAppWidgetService.DefaultFactory
|
/cts/tests/tests/content/HelloWorldApp/src7/com/example/helloworld/ |
D | MainActivity.java | 49 int id = item.getItemId(); in onOptionsItemSelected()
|
/cts/tests/tests/content/HelloWorldApp/src5/com/example/helloworld/ |
D | MainActivity.java | 49 int id = item.getItemId(); in onOptionsItemSelected()
|
/cts/tests/tests/content/HelloWorldApp/src_shell/com/android/shell/ |
D | MainActivity.java | 49 int id = item.getItemId(); in onOptionsItemSelected()
|
/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/app/app/src/android/app/stubs/ |
D | TestDialog.java | 251 switch (item.getItemId()) { in onOptionsItemSelected() 274 switch (item.getItemId()) { in onContextItemSelected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | PassFailButtons.java | 239 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 329 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 438 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 57 public long getItemId(int position) { in onCreate()
|