/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectsActivity.java | 73 private ProjectPickerAdapter mAdapter; 83 mAdapter = new ProjectPickerAdapter(ProjectsActivity.this, getLayoutInflater(), projects); 84 mGridView.setAdapter(mAdapter); 164 mAdapter = null; 283 mAdapter.remove(projectPath);
|
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 70 private ResolveListAdapter mAdapter; 85 mAdapter.handlePackagesChanged(); 146 mAdapter = new ResolveListAdapter(this, intent, initialIntents, rList, 148 int count = mAdapter.getCount(); 156 mListView.setAdapter(mAdapter); 164 startActivity(mAdapter.intentForPosition(0)); 185 final int initialHighlight = mAdapter.getInitialHighlight(); 232 mAdapter.handlePackagesChanged(); 297 ResolveInfo ri = mAdapter.resolveInfoForPosition(which); 298 Intent intent = mAdapter.intentForPosition(which) [all...] |
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
PhotoViewActivity.java | 127 protected PhotoPagerAdapter mAdapter; 242 mAdapter = 249 mViewPager.setAdapter(mAdapter); 368 if (mViewPager == null || mAdapter == null || mAdapter.getCount() == 0) { 371 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); 380 final Cursor data = mAdapter.getCursor(); 463 mAdapter.swapCursor(data); 465 mViewPager.setAdapter(mAdapter); 488 // mAdapter.swapCursor(null) [all...] |
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
PhotoViewActivity.java | 126 protected PhotoPagerAdapter mAdapter; 241 mAdapter = 248 mViewPager.setAdapter(mAdapter); 367 if (mViewPager == null || mAdapter == null || mAdapter.getCount() == 0) { 370 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); 379 final Cursor data = mAdapter.getCursor(); 462 mAdapter.swapCursor(data); 464 mViewPager.setAdapter(mAdapter); 487 // mAdapter.swapCursor(null) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
CustomContactListFilterActivity.java | 85 private DisplayAdapter mAdapter; 98 mAdapter = new DisplayAdapter(this); 107 mList.setAdapter(mAdapter); 224 mAdapter.setAccounts(data); 229 mAdapter.setAccounts(null); 708 final AccountDisplay account = (AccountDisplay)mAdapter.getGroup(groupPosition); 709 final GroupDelta child = (GroupDelta)mAdapter.getChild(groupPosition, childPosition); 750 final AccountDisplay account = (AccountDisplay)mAdapter.getGroup(groupPosition); 751 final GroupDelta child = (GroupDelta)mAdapter.getChild(groupPosition, childPosition); 795 mAdapter.notifyDataSetChanged() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 145 private BluetoothAdapter mAdapter; 194 mAdapter = BluetoothAdapter.getDefaultAdapter(); 200 int state = mAdapter.getState(); 213 if (mAdapter == null) { 340 mServerSocket = mAdapter.listenUsingEncryptedRfcommWithServiceRecord 349 if (mAdapter == null) break; 350 int state = mAdapter.getState(); 498 if (mAdapter.isEnabled()) { 629 if (mAdapter.isEnabled()) {
|
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 54 private BaseAdapter mAdapter; 138 if (mAdapter.getCount() > 0) { 164 mAdapter = adapter; 165 mAdapter.registerDataSetObserver(new DataSetObserver() { 199 for (int i = 0; i < mAdapter.getCount(); i++) { 200 View v = mAdapter.getView(i, null, mContentView); 210 newscroll = Math.min(mAdapter.getCount() - 1, newscroll); 296 if (position < mAdapter.getCount() - 1) { 302 if (position < mAdapter.getCount() - 1) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
CameraAnalyzerActivity.java | 73 private TwoColumnAdapter mAdapter; 108 mAdapter = new TwoColumnAdapter(this); 112 mTestList.setAdapter(mAdapter); 273 mAdapter.notifyDataSetChanged(); 489 mAdapter.clear(); 492 mAdapter.add(mCurrentTest.getTestName(i));
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 406 AppListAdapter mAdapter; 425 mAdapter = new AppListAdapter(getActivity()); 426 setListAdapter(mAdapter); 467 mAdapter.getFilter().filter(mCurFilter); 497 mAdapter.setData(data); 509 mAdapter.setData(null);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCustomSupport.java | 409 AppListAdapter mAdapter; 427 mAdapter = new AppListAdapter(getActivity()); 428 setListAdapter(mAdapter); 453 mAdapter.getFilter().filter(mCurFilter); 485 mAdapter.setData(data); 497 mAdapter.setData(null);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
PhotoViewFragment.java | 104 protected PhotoPagerAdapter mAdapter; 169 mAdapter = mCallback.getAdapter(); 170 if (mAdapter == null) { 536 if (mAdapter == null) { 555 mResolvedPhotoUri = mAdapter.getPhotoUri(cursor); 565 mThumbnailUri = mAdapter.getThumbnailUri(cursor);
|
/packages/apps/Settings/src/com/android/settings/ |
NotificationStation.java | 89 private NotificationHistoryAdapter mAdapter; 142 mAdapter = new NotificationHistoryAdapter(mContext); 143 listView.setAdapter(mAdapter); 173 mAdapter.clear(); 174 mAdapter.addAll(infos); 175 mAdapter.sort(mNotificationSorter);
|
/frameworks/base/core/java/android/widget/ |
AbsListView.java | 276 ListAdapter mAdapter; 284 * If mAdapter != null, whenever this is true the adapter has stable IDs. 861 mAdapterHasStableIds = mAdapter.hasStableIds(); 955 if (mChoiceMode == CHOICE_MODE_NONE || mCheckedIdStates == null || mAdapter == null) { 1010 if (mCheckedIdStates != null && mAdapter.hasStableIds()) { 1012 mCheckedIdStates.put(mAdapter.getItemId(position), position); 1014 mCheckedIdStates.delete(mAdapter.getItemId(position)); 1025 final long id = mAdapter.getItemId(position); 1030 boolean updateIds = mCheckedIdStates != null && mAdapter.hasStableIds(); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServer.java | 56 private BluetoothAdapter mAdapter; 107 mCallback.onConnectionStateChange(mAdapter.getRemoteDevice(address), status, 147 BluetoothDevice device = mAdapter.getRemoteDevice(address); 176 BluetoothDevice device = mAdapter.getRemoteDevice(address); 206 BluetoothDevice device = mAdapter.getRemoteDevice(address); 238 BluetoothDevice device = mAdapter.getRemoteDevice(address); 267 BluetoothDevice device = mAdapter.getRemoteDevice(address); 284 mAdapter = BluetoothAdapter.getDefaultAdapter();
|
BluetoothHealth.java | 466 BluetoothAdapter mAdapter; 474 mAdapter = BluetoothAdapter.getDefaultAdapter(); 475 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 500 IBluetoothManager mgr = mAdapter.getBluetoothManager();
|
BluetoothMap.java | 47 private BluetoothAdapter mAdapter; 93 mAdapter = BluetoothAdapter.getDefaultAdapter(); 94 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 131 IBluetoothManager mgr = mAdapter.getBluetoothManager();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 112 private BluetoothAdapter mAdapter; 174 mServerSocket = mAdapter.listenUsingEncryptedRfcommWithServiceRecord 183 if (mAdapter == null) break; 184 int state = mAdapter.getState(); 334 if (mAdapter.isEnabled()) { 437 if (mAdapter.isEnabled()) { 545 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); 606 mAdapter = BluetoothAdapter.getDefaultAdapter();
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
StaggeredGridView.java | 112 private GridAdapter mAdapter; 770 final int direction = mAdapter.getReorderingDirection(); 830 return mAdapter.isDraggable(mFirstPosition + i); [all...] |
/packages/apps/Music/src/com/android/music/ |
MusicPicker.java | 113 TrackListAdapter mAdapter; 385 mAdapter.setLoading(false); 386 mAdapter.changeCursor(cursor); 443 mAdapter = new TrackListAdapter(this, listView, 447 setListAdapter(mAdapter); 529 mAdapter.setLoading(true); 530 mAdapter.changeCursor(null); 614 mAdapter.setLoading(true);
|
TrackBrowserActivity.java | 91 private TrackListAdapter mAdapter; 174 mAdapter = (TrackListAdapter) getLastNonConfigurationInstance(); 176 if (mAdapter != null) { 177 mAdapter.setActivity(this); 178 setListAdapter(mAdapter); 200 if (mAdapter == null) { 202 mAdapter = new TrackListAdapter( 212 setListAdapter(mAdapter); 214 getTrackCursor(mAdapter.getQueryHandler(), null, true); 216 mTrackCursor = mAdapter.getCursor() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectionDialog.java | 45 protected final SeparatedFolderListAdapter mAdapter; 95 mAdapter = new SeparatedFolderListAdapter();
|
ConversationSyncDisabledTipView.java | 64 private AnimatedAdapter mAdapter; 270 mAdapter = adapter; 367 mAdapter.notifyDataSetChanged(); 392 mAdapter.getViewMode())) {
|
ConversationsInOutboxTipView.java | 58 private AnimatedAdapter mAdapter; 231 mAdapter = adapter; 322 mAdapter.notifyDataSetChanged(); 347 mAdapter.getViewMode())) {
|
MailboxSelectionActivity.java | 71 private SimpleCursorAdapter mAdapter; 256 mAdapter = new SimpleCursorAdapter(this, R.layout.mailbox_item, accounts, 266 setListAdapter(mAdapter); 272 selectAccount(new Account((Cursor)mAdapter.getItem(position)));
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertActivity.java | 89 private AlertAdapter mAdapter; 158 mAdapter.changeCursor(cursor); 215 mAdapter = new AlertAdapter(this, R.layout.alert_item); 219 mListView.setAdapter(mAdapter);
|