/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentStatePagerSupport.java | 44 MyAdapter mAdapter; 53 mAdapter = new MyAdapter(getSupportFragmentManager()); 56 mPager.setAdapter(mAdapter);
|
/development/samples/training/ads-and-ux/src/com/example/training/ads/ |
AdsCatalogActivity.java | 44 PagerAdapter mAdapter; 52 mAdapter = new PagerAdapter(getSupportFragmentManager()); 55 mPager.setAdapter(mAdapter);
|
/frameworks/base/core/java/android/widget/ |
AutoCompleteTextView.java | 101 private ListAdapter mAdapter; 604 return mAdapter; 629 } else if (mAdapter != null) { 630 mAdapter.unregisterDataSetObserver(mObserver); 632 mAdapter = adapter; 633 if (mAdapter != null) { 635 mFilter = ((Filterable) mAdapter).getFilter(); 641 mPopup.setAdapter(mAdapter); 883 selectedItem = mAdapter.getItem(position); [all...] |
CalendarView.java | 220 private WeeksAdapter mAdapter; 748 Calendar date = mAdapter.mSelectedDate; 750 mAdapter.setSelectedDay(mMinDate); 753 mAdapter.init(); 797 mAdapter.init(); 798 Calendar date = mAdapter.mSelectedDate; 822 mAdapter.notifyDataSetChanged(); 876 mAdapter.init(); 896 return mAdapter.mSelectedDate.getTimeInMillis(); 932 if (isSameDate(mTempDate, mAdapter.mSelectedDate)) [all...] |
ListView.java | 268 if (mAdapter != null) { 269 if (!(mAdapter instanceof HeaderViewListAdapter)) { 270 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, mAdapter); 314 if (mAdapter != null && ((HeaderViewListAdapter) mAdapter).removeHeader(v)) { 361 if (mAdapter != null) { 362 if (!(mAdapter instanceof HeaderViewListAdapter)) { 363 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, mAdapter); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppRfcommListener.java | 65 private final BluetoothAdapter mAdapter; 72 mAdapter = adapter; 118 mBtServerSocket = mAdapter.listenUsingInsecureRfcommWithServiceRecord("OBEX Object Push", BluetoothUuid.ObexObjectPush.getUuid());
|
/packages/apps/Camera2/src/com/android/camera/data/ |
RotationTask.java | 42 private final LocalDataAdapter mAdapter; 50 mAdapter = adapter; 149 mAdapter.updateData(mCurrentDataId, result);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsCategory.java | 53 AppListAdapter mAdapter; 320 mAdapter = new AppListAdapter(getActivity(), mState); 321 setListAdapter(mAdapter); 342 AppOpEntry entry = mAdapter.getItem(position); 360 mAdapter.setData(data); 372 mAdapter.setData(null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationViewFragment.java | 136 protected ConversationViewAdapter mAdapter; 247 mAdapter.notifyDataSetChanged(); 265 mAdapter = new ConversationViewAdapter(mActivity, this, 268 mConversationContainer.setOverlayAdapter(mAdapter); 417 mAdapter = null; 629 mAdapter.clear(); 640 final int convHeaderPos = mAdapter.addConversationHeader(mConversation); 743 final int blockPos = mAdapter.addSuperCollapsedBlock(start, end); 750 final int blockPos = mAdapter.addBorder(contiguous, expanded, firstBorder, lastBorder); 770 final int headerPos = mAdapter.addMessageHeader(msg, expanded [all...] |
ConversationPhotoTeaserView.java | 32 private AnimatedAdapter mAdapter; 134 mShown = shouldShowSenderImage() && !mAdapter.isEmpty() 146 mAdapter = adapter; 234 * Ideally, we would like to call mAdapter.notifyDataSetChanged() in a listener's 257 mAdapter.getViewMode())) {
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertingCells.java | 66 CustomArrayAdapter mAdapter = new CustomArrayAdapter(this, R.layout.list_view_item, mData); 73 mListView.setAdapter(mAdapter);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsVerticalScrollView.java | 48 private TaskDescriptionAdapter mAdapter; 96 mAdapter.recycleView(v); 107 for (int i = 0; i < mAdapter.getCount(); i++) { 114 final View view = mAdapter.getView(i, old, mLinearLayout); 345 mAdapter = adapter; 346 mAdapter.registerDataSetObserver(new DataSetObserver() { 361 View child = mAdapter.createView(mLinearLayout); 368 addToRecycledViews(mAdapter.createView(mLinearLayout));
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupDetailFragment.java | 110 private ContactTileAdapter mAdapter; 139 mAdapter = new GroupMemberTileAdapter(activity, mContactTileListener, columnCount); 161 mMemberListView.setAdapter(mAdapter); 172 mAdapter.enableQuickContact(enableQuickContact); 183 if (mAdapter != null) { 184 mAdapter.setPhotoLoader(mPhotoManager); 231 return getView().getWidth() / mAdapter.getColumnCount(); 281 mAdapter.setContactCursor(data);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewAdapter.java | 127 private final ConversationViewAdapter mAdapter; 145 mAdapter = adapter; 167 v.initialize(mAdapter.mAccountController, 168 mAdapter.mAddressCache); 169 v.setCallbacks(mAdapter.mMessageCallbacks); 170 v.setContactInfoSource(mAdapter.mContactInfoSource); 171 v.setVeiledMatcher(mAdapter.mMatcher); 250 return mAdapter;
|
/cts/tests/src/android/widget/cts/util/ |
ExpandableListScenario.java | 42 protected ExpandableListAdapter mAdapter; 57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); 278 final ExpandableListAdapter adapter = mAdapter; 296 return mAdapter;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
NavigationPopup.java | 46 private final NavigationAdapter mAdapter; 67 mAdapter = new NavigationAdapter(); 77 setAdapter(new HeaderViewListAdapter(null, null, mAdapter)); 127 mAdapter.notifyDataSetChanged();
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPbap.java | 74 private BluetoothAdapter mAdapter; 148 mAdapter = BluetoothAdapter.getDefaultAdapter(); 149 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 186 IBluetoothManager mgr = mAdapter.getBluetoothManager();
|
/packages/apps/Browser/src/com/android/browser/view/ |
PieListView.java | 47 mHeight = mChildHeight * mAdapter.getCount();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
Action.java | 48 private ArrayAdapter mAdapter; 146 mAdapter = adapter; 202 if (mAdapter != null) { 203 mAdapter.notifyDataSetChanged();
|
/packages/apps/Settings/src/com/android/settings/ |
UsageStats.java | 60 private UsageStatsAdapter mAdapter; 236 mAdapter = new UsageStatsAdapter(); 237 mListView.setAdapter(mAdapter); 242 mAdapter.sortList(position);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 96 private PinnedHeaderAdapter mAdapter; 141 mAdapter = (PinnedHeaderAdapter)adapter; 164 if (mAdapter != null) { 165 int count = mAdapter.getPinnedHeaderCount(); 181 mHeaders[i].view = mAdapter.getPinnedHeaderView(i, mHeaders[i].view, this); 185 mAdapter.configurePinnedHeaders(this); 451 final int position = mAdapter.getScrollPositionForHeader(partition);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AutoCompleteTextViewTest.java | 64 ArrayAdapter<String> mAdapter; 99 mAdapter = new ArrayAdapter<String>(mActivity, 173 Filter filter = mAdapter.getFilter(); 175 autoCompleteTextView.setAdapter(mAdapter); 176 assertSame(mAdapter, autoCompleteTextView.getAdapter()); 230 autoCompleteTextView.setAdapter(mAdapter); 375 mAutoCompleteTextView.setAdapter(mAdapter); 431 mAutoCompleteTextView.setAdapter(mAdapter); 505 mAutoCompleteTextView.setAdapter(mAdapter); 604 mAutoCompleteTextView.setAdapter(mAdapter); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CitiesActivity.java | 87 private CityAdapter mAdapter; 359 mAdapter.refreshSelectedCities(); 487 mAdapter = new CityAdapter(this, mFactory); 488 mCitiesList.setAdapter(mAdapter); 505 if (mAdapter != null) { 506 mAdapter.set24HoursMode(this); 536 if (mAdapter != null) { 537 mAdapter.toggleSort(); 616 mAdapter.refreshSelectedCities(); 624 mAdapter.getFilter().filter(queryText) [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 55 private GalleryThumbnailAdapter mAdapter; 243 if (mAdapter.getIntrinsicAspectRatio(startPosition + i) >= 1f) { 266 int heightSize = (int) (.5f + (mAdapter.getIntrinsicAspectRatio(position) >= 1f 610 final int positionViewType = mAdapter.getItemViewType(position); 614 view = mAdapter.getView(position, scrap, this); 640 return mAdapter; 644 if (mAdapter != null) { 645 mAdapter.unregisterDataSetObserver(mObserver); 650 mAdapter = adapter; 865 mItemCount = mAdapter.getCount() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 68 private final BluetoothAdapter mAdapter; 89 mAdapter = BluetoothAdapter.getDefaultAdapter(); 285 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, mUuid); 287 tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_INSECURE, mUuid); 387 mAdapter.cancelDiscovery();
|