/packages/apps/Contacts/src/com/android/contacts/list/ |
D | MultiSelectContactsListFragment.java | 102 getAdapter().setSelectedContactIds(selectedContactIds); in onActivityCreated() 115 return getAdapter().getSelectedContactIds(); in getSelectedContactIds() 119 return getAdapter().getSelectedContactIdsArray(); in getSelectedContactIdsArray() 125 getAdapter().setSelectedContactsListener(this); in configureAdapter() 135 if (getAdapter() != null) { in displayCheckBoxes() 136 getAdapter().setDisplayCheckBoxes(displayCheckBoxes); in displayCheckBoxes() 144 getAdapter().setSelectedContactIds(new TreeSet<Long>()); in clearCheckBoxes() 149 final int previouslySelectedCount = getAdapter().getSelectedContactIds().size(); in onItemLongClick() 151 final int partition = getAdapter().getPartitionForPosition(position); in onItemLongClick() 156 getAdapter().toggleSelectionOfContactId(contactId); in onItemLongClick() [all …]
|
D | PhoneNumberPickerFragment.java | 176 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneNumber() 181 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneUri() 186 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getLookupKey() 224 final ContactEntryListAdapter adapter = getAdapter(); in configureAdapter() 285 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in setPhotoPosition()
|
D | MultiSelectEmailAddressesListFragment.java | 64 item.setVisible(getAdapter().hasSelectedItems()); in onPrepareOptionsMenu() 86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); in onOptionsItemSelected() 104 getAdapter().setSelectedContactIds(selectedIdsTree); in onCreateView() 126 getAdapter().setSelectedContactIds(selectedIds); in onStart()
|
D | ContactBrowseListFragment.java | 337 ContactListAdapter adapter = getAdapter(); in setSelectedContactUri() 380 public ContactListAdapter getAdapter() { in getAdapter() method in ContactBrowseListFragment 381 return (ContactListAdapter) super.getAdapter(); in getAdapter() 388 ContactListAdapter adapter = getAdapter(); in configureAdapter() 432 ContactListAdapter adapter = getAdapter(); in checkSelection() 545 ContactListAdapter adapter = getAdapter(); in selectDefaultContact()
|
D | JoinContactListFragment.java | 63 JoinContactListAdapter adapter = getAdapter(); 125 JoinContactListAdapter adapter = getAdapter(); in onContactListLoaded() 154 JoinContactListAdapter adapter = getAdapter(); in configureAdapter() 165 final Uri contactUri = getAdapter().getContactUri(position); in onItemClick()
|
D | DefaultContactBrowseListFragment.java | 386 final Uri uri = getAdapter().getContactUri(position); in onItemClick() 390 if (getAdapter().isDisplayingCheckBoxes()) { in onItemClick() 399 viewContact(position, uri, getAdapter().isEnterpriseContact(position)); in onItemClick() 810 ContactListAdapter adapter = getAdapter(); in setListHeader() 930 if (position < getAdapter().getNumberOfFavorites()) { in onViewContactAction() 942 /* count */ getAdapter().getCount(), in onViewContactAction() 1076 /* count */ getAdapter().getCount(), /* clickedIndex */ -1, in onOptionsItemSelected() 1077 /* numSelected */ getAdapter().getSelectedContactIds().size()); in onOptionsItemSelected() 1156 /* count */ getAdapter().getCount(), /* clickedIndex */ -1, in onDeletionFinished() 1184 /* count */ getAdapter().getCount(), /* clickedIndex */ -1, in onActivityResult() [all …]
|
D | PostalAddressPickerFragment.java | 46 if (getAdapter().getItem(position) == null) { in onItemClick() 50 PostalAddressListAdapter adapter = (PostalAddressListAdapter)getAdapter(); in onItemClick() 53 LegacyPostalAddressListAdapter adapter = (LegacyPostalAddressListAdapter)getAdapter(); in onItemClick()
|
D | MultiSelectPhoneNumbersListFragment.java | 64 item.setVisible(getAdapter().hasSelectedItems()); in onPrepareOptionsMenu() 86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); in onOptionsItemSelected() 104 getAdapter().setSelectedContactIds(selectedIdsTree); in onCreateView()
|
D | EmailAddressPickerFragment.java | 44 EmailAddressListAdapter adapter = (EmailAddressListAdapter)getAdapter(); in onItemClick() 45 if (getAdapter().getItem(position) == null) { in onItemClick()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CompositeAdapter.java | 63 public BaseAdapter getAdapter() { in getAdapter() method in CompositeAdapter.Partition 113 partition.getAdapter().registerDataSetObserver(mObserver); in addPartition() 124 partition.getAdapter().unregisterDataSetObserver(mObserver); in removePartition() 133 partition.getAdapter().unregisterDataSetObserver(mObserver); in clearPartitions() 207 return mPartitions[i].getAdapter().getItem(offset); in getItem() 229 return mPartitions[i].getAdapter().getItemId(offset); in getItemId() 275 view = partition.getAdapter().getView(offset, convertView, parentView); in getView()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 286 return getAdapter() != null && getAdapter().isEmpty(); in isGroupEmpty() 463 ? getAdapter().getSelectedContactIdsArray() in onOptionsItemSelected() 469 ? getAdapter().getSelectedContactIdsArray() in onOptionsItemSelected() 496 final long[] contactIds = getAdapter().getSelectedContactIdsArray(); in removeSelectedContacts() 589 getAdapter().getCount(), in logListEvent() 591 getAdapter().getSelectedContactIdsArray().length); in logListEvent() 631 getAdapter().setDisplayDeleteButtons(displayDeleteButtons); in displayDeleteButtons() 752 getAdapter().setGroupId(mGroupMetaData.groupId); in configureAdapter() 787 final Uri uri = getAdapter().getContactUri(position); in onItemClick() 791 if (getAdapter().isDisplayingCheckBoxes()) { in onItemClick() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | NewCallLogFragment.java | 116 if (recyclerView.getAdapter() != null) { in onStop() 117 ((NewCallLogAdapter) recyclerView.getAdapter()).logMetrics(getContext()); in onStop() 177 if (recyclerView.getAdapter() != null) { in onFragmentShown() 178 ((NewCallLogAdapter) recyclerView.getAdapter()).clearCache(); in onFragmentShown() 179 recyclerView.getAdapter().notifyDataSetChanged(); in onFragmentShown() 319 if (recyclerView.getAdapter() == null) { in onLoadFinished() 335 ((NewCallLogAdapter) recyclerView.getAdapter()).updateRows(coalescedRows); in onLoadFinished()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailFragment.java | 181 if (recyclerView.getAdapter() == null) { in onLoadFinished() 195 recyclerView.getAdapter()); in onLoadFinished() 196 ((NewVoicemailAdapter) recyclerView.getAdapter()).updateCursor(data); in onLoadFinished() 197 ((NewVoicemailAdapter) recyclerView.getAdapter()).checkAndPlayVoicemail(); in onLoadFinished() 299 ((NewVoicemailAdapter) recyclerView.getAdapter()) in updateVoicemailStatusAlert()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | BidiViewPagerHelper.java | 40 return getIndexFromBidiIndex(mViewPager.getAdapter().getCount() - 1); in getLastPage() 52 return Math.max(0, Math.min(mViewPager.getAdapter().getCount() - 1, position)); in clampToBounds() 57 return mViewPager.getAdapter().getCount() - 1 - position; in getBidiIndex()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ItemListRowView.java | 84 ItemListAdapter<?> adapter = ((ItemListRow) row).getAdapter(); in onBind() 95 mListView.setSelectedPosition(getAdapter().getInitialPosition()); in initialize() 98 private ItemListAdapter<?> getAdapter() { in getAdapter() method in ItemListRowView 99 return (ItemListAdapter<?>) mListView.getAdapter(); in getAdapter()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 111 addTabs(mPager.getAdapter()); in setViewPager() 228 if (index < mPager.getAdapter().getCount()) { in updateTab() 229 addTab(mPager.getAdapter().getPageTitle(index), index); in updateTab() 294 Toast.makeText(context, mPager.getAdapter().getPageTitle(mPosition), Toast.LENGTH_SHORT); in onLongClick()
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentGridView.java | 89 final int count = getAdapter().getCount() - mUnselectedSet.size(); in updateSelectionCount() 95 if (getAdapter() instanceof AttachmentGridAdapter) { in refreshViews() 96 ((AttachmentGridAdapter) getAdapter()).notifyDataSetChanged(); in refreshViews()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | ListWithEntrySummaryPreferenceTest.java | 65 ListAdapter adapter = dialog.getListView().getAdapter(); in initialize_defaultEntries_shouldDisplayDefalutEntries() 84 ListAdapter adapter = dialog.getListView().getAdapter(); in setEntries_customEntries_shouldUpdateEntries() 109 ListAdapter adapter = dialog.getListView().getAdapter(); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
|
D | WifiCallingSettingsTest.java | 82 (WifiCallingSettings.WifiCallingViewPagerAdapter) pager.getAdapter(); in setupFragment_oneSubscription_noCrash() 107 (WifiCallingSettings.WifiCallingViewPagerAdapter) pager.getAdapter(); in setupFragment_twoSubscriptions_correctSelection() 133 (WifiCallingSettings.WifiCallingViewPagerAdapter) pager.getAdapter(); in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 98 final PhotoPagerAdapter adapter = getAdapter(); in updateShareActionProvider() 126 final Uri photoUri = Uri.parse(getAdapter().getPhotoUri(cursor)); in isTempFile() 152 final PhotoPagerAdapter adapter = getAdapter(); in onOptionsItemSelected()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionsFrameFragment.java | 147 if (prefs.getAdapter() != null && prefs.getAdapter().getItemCount() != 0) { in updateEmptyState() 161 RecyclerView.Adapter adapter = getListView().getAdapter(); in onBindPreferences()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerGridView.java | 34 if (getAdapter() == null || getAdapter().getCount() == 0 || getChildCount() == 0) { in canSwipeDown()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiSelectGridFragment.java | 268 public ListAdapter getAdapter() { in getAdapter() method in MultiSelectGridFragment 269 return mGrid.getAdapter(); in getAdapter() 324 return getAdapter().getItem(position); in getItemAtPosition()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | OneRowGridView.java | 41 int n = (getAdapter() == null) ? 0 : getAdapter().getCount(); in onMeasure()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ScrollAdapterFragment.java | 55 public ScrollAdapter getAdapter() { in getAdapter() method in ScrollAdapterFragment 56 return mBase.getAdapter(); in getAdapter()
|