Home
last modified time | relevance | path

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

12345678910

/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java153 assertEquals(0, adapter.getItemId(0)); in testGetItemId()
154 assertEquals(1, adapter.getItemId(1)); in testGetItemId()
155 assertEquals(0, adapter.getItemId(2)); in testGetItemId()
156 assertEquals(1, adapter.getItemId(3)); in testGetItemId()
157 assertEquals(2, adapter.getItemId(4)); in testGetItemId()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DGridAdapter.java108 return getItemId(position); in getItemIdFromView()
118 public long getItemId(Object item, int position) { in getItemId() method in GridAdapter
121 return getItemId(position); in getItemId()
DStaggeredGridView.java3009 final long id = mAdapter.getItemId(item, position);
3285 itemId = mAdapter.getItemId(originalPosition + i);
3286 if (itemId != -1 && itemId == scrollState.getItemId()) {
3293 itemId = mAdapter.getItemId(originalPosition - i);
3294 if (itemId != -1 && itemId == scrollState.getItemId()) {
3650 ss.firstId = mAdapter.getItemId(position);
4018 public long getItemId() {
/packages/apps/Browser/src/com/android/browser/util/
DThreadedCursorAdapter.java139 public long getItemId(int position) { in getItemId() method in ThreadedCursorAdapter
141 return getItemId(getItem(position)); in getItemId()
212 protected abstract long getItemId(Cursor c); in getItemId() method in ThreadedCursorAdapter
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java312 if (item.getItemId() == R.id.clear_history_menu_id) { in onOptionsItemSelected()
399 switch (item.getItemId()) { in onContextItemSelected()
474 public long getItemId(int position) { in getItemId() method in BrowserHistoryPage.HistoryGroupWrapper
509 public long getItemId(int position) { in getItemId() method in BrowserHistoryPage.HistoryChildWrapper
DComboViewActivity.java136 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
139 } else if (item.getItemId() == R.id.preferences_menu_id) { in onOptionsItemSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDraw.java173 if (item.getItemId() != R.id.draw_menu_clear) { in showPopupMenu()
206 switch (item.getItemId()) { in selectMenuItem()
220 if (item.getItemId() != R.id.draw_menu_clear) { in selectMenuItem()
DEditorColorBorder.java150 switch (item.getItemId()) { in selectMenuItem()
164 if (item.getItemId() != R.id.color_border_menu_clear) { in selectMenuItem()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java446 switch (item.getItemId()) { in configureOverflowMenu()
509 Log.d(this, " id: " + item.getItemId()); in onMenuItemClick()
514 switch (item.getItemId()) { in onMenuItemClick()
528 Log.e(this, "onMenuItemClick: unexpected View ID " + item.getItemId() in onMenuItemClick()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java149 public long getItemId(int position) { in getItemId() method in AgendaByDayAdapter
155 return mAgendaAdapter.getItemId(row.mPosition); in getItemId()
158 return mAgendaAdapter.getItemId(position); in getItemId()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarSettingsActivity.java75 if (item.getItemId() == android.R.id.home) { in onOptionsItemSelected()
78 } else if (item.getItemId() == R.id.action_add_account) { in onOptionsItemSelected()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordFragment.java111 if (item.getItemId() == OPTIONS_MENU_ADD) { in onOptionsItemSelected()
116 if (item.getItemId() == OPTIONS_MENU_DELETE) { in onOptionsItemSelected()
/packages/apps/Contacts/src/com/android/contacts/widget/
DCompositeListAdapter.java158 public long getItemId(int position) { in getItemId() method in CompositeListAdapter
164 return mAdapters[i].getItemId(position - start); in getItemId()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java1195 public long getItemId(int position) { in getItemId() method in FolderListFragment.FolderAdapter
1333 public long getItemId(int position) { in getItemId() method in FolderListFragment.AccountsAdapter
1398 public long getItemId(int position) { in getItemId() method in FolderListFragment.FooterAdapter
1661 public long getItemId(int position) { in getItemId() method in FolderListFragment.MiniDrawerAccountsAdapter
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java1325 if (item.getItemId() == mSearchMenuItem.getItemId()) { in onMenuItemActionExpand()
1333 if (item.getItemId() == mSearchMenuItem.getItemId()) { in onMenuItemActionCollapse()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DAccountFilterActivity.java222 public long getItemId(int position) { in getItemId() method in AccountFilterActivity.FilterListAdapter
251 switch (item.getItemId()) { in onOptionsItemSelected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java787 return mAdapter.getItemId(index);
1437 && mAdapter.getItemId(mScrollBeforeReset.index) == mScrollBeforeReset.id) {
1442 if (index < c && mAdapter.getItemId(index) == mScrollBeforeReset.id) {
1446 if (index >=0 && index < c && mAdapter.getItemId(index) == mScrollBeforeReset.id) {
1647 adapterIndex, mAdapter.getItemId(adapterIndex));
1913 info.id = mAdapter.getItemId(info.index);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java199 switch (item.getItemId()) { in onContextItemSelected()
218 switch(item.getItemId()) { in onOptionsItemSelected()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java164 switch (item.getItemId()) { in onOptionsItemSelected()
175 switch (item.getItemId()) { in onContextItemSelected()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMiscFilesHandler.java96 switch (item.getItemId()) { in onActionItemClicked()
221 public long getItemId(int position) { in getItemId() method in MiscFilesHandler.MemoryMearurementAdapter
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java353 public long getItemId(int position) { in getItemId() method in HeaderGridView.HeaderViewGridAdapter
359 return mAdapter.getItemId(adjPosition); in getItemId()
/packages/apps/Mms/src/com/android/mms/ui/
DManageSimMessages.java218 switch (item.getItemId()) { in onContextItemSelected()
321 switch (item.getItemId()) { in onOptionsItemSelected()
DConversationList.java564 switch(item.getItemId()) { in onOptionsItemSelected()
688 switch (item.getItemId()) { in onContextItemSelected()
1060 switch (item.getItemId()) { in onActionItemClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiNetworksBrowseInfo.java136 Integer itemId = getItemId(network, security); in initAvailableNetworksBrowseItems()
158 private Integer getItemId(ScanResult network, WifiSecurity security) { in getItemId() method in WifiNetworksBrowseInfo
/packages/apps/Dialer/src/com/android/dialer/list/
DSpeedDialFragment.java321 final long itemId = mContactTileAdapter.getItemId(position); in saveOffsets()
363 final long itemId = mContactTileAdapter.getItemId(position); in animateGridView()

12345678910