/cts/tests/tests/widget/src/android/widget/cts/ |
D | ActionMenuViewTest.java | 89 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 90 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 91 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 92 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 93 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 94 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent()
|
D | RemoteViewsFixedCollectionAdapterTest.java | 140 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling() 141 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling() 154 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling() 155 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling() 179 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling_afterAttaching() 180 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling_afterAttaching() 208 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling_multiplePackages() 209 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling_multiplePackages() 240 assertEquals(3, items.getItemId(0)); in testBuilder_viewTypeCountUnspecified() 241 assertEquals(5, items.getItemId(1)); in testBuilder_viewTypeCountUnspecified() [all …]
|
D | AbsSpinnerTest.java | 155 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 158 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testAccessAdapter() 260 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 265 assertEquals(adapter.getItemId(1), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 272 assertEquals(adapter.getItemId(0), mAbsSpinner.getSelectedItemId()); in testOnSaveAndRestoreInstanceState() 299 public long getItemId(int position) { in getItemId() method in AbsSpinnerTest.MockSpinnerAdapter
|
D | PopupMenuTest.java | 134 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in verifyMenuContent() 135 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in verifyMenuContent() 136 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in verifyMenuContent() 137 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in verifyMenuContent() 138 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in verifyMenuContent() 139 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in verifyMenuContent() 144 assertEquals(R.id.action_share_email, shareSubMenu.getItem(0).getItemId()); in verifyMenuContent() 145 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 | 149 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); in testMenuContent() 150 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); in testMenuContent() 151 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); in testMenuContent() 152 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()); in testMenuContent() 153 assertEquals(R.id.action_share, menu.getItem(4).getItemId()); in testMenuContent() 154 assertEquals(R.id.action_print, menu.getItem(5).getItemId()); in testMenuContent() 527 View itemView1 = mActivity.findViewById(menuItem1.getItemId()); in testItemViewAttributes() 535 View itemView2 = mActivity.findViewById(menuItem2.getItemId()); in testItemViewAttributes()
|
D | ArrayAdapterTest.java | 337 assertEquals(0, mArrayAdapter.getItemId(0)); in testGetItemId() 338 assertEquals(1, mArrayAdapter.getItemId(1)); in testGetItemId() 339 assertEquals(2, mArrayAdapter.getItemId(2)); in testGetItemId() 342 assertEquals(-1, mArrayAdapter.getItemId(-1)); in testGetItemId() 343 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 | 87 mMenu.findItem(R.id.no_modifiers).getItemId()); in testPerformShortcut() 95 mMenu.findItem(R.id.default_modifiers).getItemId()); in testPerformShortcut() 103 mMenu.findItem(R.id.single_modifier).getItemId()); in testPerformShortcut() 111 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/src_verifier/com/example/helloverifier/ |
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/content/HelloWorldApp/src5/com/example/helloworld/ |
D | MainActivity.java | 59 int id = item.getItemId(); in onOptionsItemSelected()
|
/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 | 76 public long getItemId(int position) { in getItemId() method in TestAdapter
|
/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/managedprovisioning/ |
D | SetSupportMessageActivity.java | 94 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | PassFailButtons.java | 303 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 407 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected() 521 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()
|