Home
last modified time | relevance | path

Searched refs:getAdapter (Results 1 – 25 of 82) sorted by relevance

1234

/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java86 if (getAdapter().getSelectedContactIds().size() == 0) { in onSelectedContactsChangedViaCheckBox()
100 getAdapter().setSelectedContactIds(selectedContactIds); in onActivityCreated()
109 final MultiSelectEntryContactListAdapter adapter = getAdapter(); in getSelectedContactIds()
114 public MultiSelectEntryContactListAdapter getAdapter() { in getAdapter() method in MultiSelectContactsListFragment
115 return (MultiSelectEntryContactListAdapter) super.getAdapter(); in getAdapter()
121 getAdapter().setSelectedContactsListener(this); in configureAdapter()
132 getAdapter().setDisplayCheckBoxes(displayCheckBoxes); in displayCheckBoxes()
139 getAdapter().setSelectedContactIds(new TreeSet<Long>()); in clearCheckBoxes()
144 final int previouslySelectedCount = getAdapter().getSelectedContactIds().size(); in onItemLongClick()
145 final Uri uri = getAdapter().getContactUri(position); in onItemLongClick()
[all …]
DPostalAddressPickerFragment.java49 if (getAdapter().getItem(position) == null) { in onItemClick()
53 PostalAddressListAdapter adapter = (PostalAddressListAdapter)getAdapter(); in onItemClick()
56 LegacyPostalAddressListAdapter adapter = (LegacyPostalAddressListAdapter)getAdapter(); in onItemClick()
DJoinContactListFragment.java64 JoinContactListAdapter adapter = getAdapter();
123 JoinContactListAdapter adapter = getAdapter(); in onContactListLoaded()
152 JoinContactListAdapter adapter = getAdapter(); in configureAdapter()
163 final Uri contactUri = getAdapter().getContactUri(position); in onItemClick()
DDefaultContactBrowseListFragment.java91 final Uri uri = getAdapter().getContactUri(position); in onItemClick()
95 viewContact(uri, getAdapter().isEnterpriseContact(position)); in onItemClick()
182 mUserProfileExists = getAdapter().hasProfile(); in setProfileHeader()
186 ContactListAdapter adapter = getAdapter(); in setProfileHeader()
DContactPickerFragment.java127 uri = ((LegacyContactListAdapter)getAdapter()).getPersonUri(position); in onItemClick()
129 uri = ((ContactListAdapter)getAdapter()).getContactUri(position); in onItemClick()
186 ContactEntryListAdapter adapter = getAdapter(); in configureAdapter()
DEmailAddressPickerFragment.java47 EmailAddressListAdapter adapter = (EmailAddressListAdapter)getAdapter(); in onItemClick()
48 if (getAdapter().getItem(position) == null) { in onItemClick()
DContactBrowseListFragment.java343 ContactListAdapter adapter = getAdapter(); in setSelectedContactUri()
389 ContactListAdapter adapter = getAdapter(); in configureAdapter()
434 ContactListAdapter adapter = getAdapter(); in checkSelection()
547 ContactListAdapter adapter = getAdapter(); in selectDefaultContact()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCompositeAdapter.java63 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/UnifiedEmail/src/com/android/mail/ui/
DBidiViewPagerHelper.java40 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/
DItemListRowView.java82 ItemListAdapter<?> adapter = ((ItemListRow) row).getAdapter(); in onBind()
93 mListView.setSelectedPosition(getAdapter().getInitialPosition()); in initialize()
96 private ItemListAdapter<?> getAdapter() { in getAdapter() method in ItemListRowView
97 return (ItemListAdapter<?>) mListView.getAdapter(); in getAdapter()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPhoneNumberPickerFragment.java239 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneNumber()
244 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneUri()
249 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getLookupKey()
287 final ContactEntryListAdapter adapter = getAdapter(); in configureAdapter()
365 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in setPhotoPosition()
DViewPagerTabs.java109 Toast toast = Toast.makeText(context, mPager.getAdapter().getPageTitle(mPosition), in onLongClick()
154 addTabs(mPager.getAdapter()); in setViewPager()
268 if (index < mPager.getAdapter().getCount()) { in updateTab()
269 addTab(mPager.getAdapter().getPageTitle(index), index); in updateTab()
/packages/apps/Dialer/src/com/android/dialer/list/
DSearchFragment.java111 getAdapter().setHasHeader(0, false); in onStart()
192 final ContactEntryListAdapter adapter = getAdapter(); in setSearchMode()
239 final DialerPhoneNumberListAdapter adapter = (DialerPhoneNumberListAdapter) getAdapter(); in onItemClick()
370 (DialerPhoneNumberListAdapter) getAdapter(); in startLoading()
376 getAdapter().notifyDataSetChanged(); in startLoading()
DSmartDialSearchFragment.java73 final SmartDialNumberListAdapter adapter = (SmartDialNumberListAdapter) getAdapter(); in onCreateLoader()
87 final SmartDialNumberListAdapter adapter = (SmartDialNumberListAdapter) getAdapter(); in getPhoneUri()
DBlockedListSearchFragment.java144 final BlockedListSearchAdapter adapter = (BlockedListSearchAdapter) getAdapter(); in onItemClick()
224 getAdapter().notifyDataSetChanged(); in onChangeFilteredNumberUndo()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerGridView.java34 if (getAdapter() == null || getAdapter().getCount() == 0 || getChildCount() == 0) { in canSwipeDown()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridView.java89 final int count = getAdapter().getCount() - mUnselectedSet.size(); in updateSelectionCount()
95 if (getAdapter() instanceof AttachmentGridAdapter) { in refreshViews()
96 ((AttachmentGridAdapter) getAdapter()).notifyDataSetChanged(); in refreshViews()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOneRowGridView.java41 int n = (getAdapter() == null) ? 0 : getAdapter().getCount(); in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java98 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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DScrollAdapterFragment.java55 public ScrollAdapter getAdapter() { in getAdapter() method in ScrollAdapterFragment
56 return mBase.getAdapter(); in getAdapter()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java268 public ListAdapter getAdapter() { in getAdapter() method in MultiSelectGridFragment
269 return mGrid.getAdapter(); in getAdapter()
324 return getAdapter().getItem(position); in getItemAtPosition()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadViewPager.java69 if (getAdapter() == mStaticPagerAdapter) {
112 if (getAdapter() == mStaticPagerAdapter) { in onFinishInflate()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java81 ListAdapter adapter = getAdapter(); in onMeasure()
105 ListAdapter adapter = getAdapter(); in addHeaderView()
156 ListAdapter adapter = getAdapter(); in removeHeaderView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DPanelTrack.java32 public Adapter getAdapter(); in getAdapter() method
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleRecyclerView.java40 LocaleDragAndDropAdapter adapter = (LocaleDragAndDropAdapter) this.getAdapter(); in onTouchEvent()

1234