/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferHistory.java | 67 private ListView mListView; 86 mListView = (ListView)findViewById(R.id.list); 87 mListView.setEmptyView(findViewById(R.id.empty)); 132 mListView.setAdapter(mTransferAdapter); 133 mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); 134 mListView.setOnCreateContextMenuListener(this); 135 mListView.setOnItemClickListener(this);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
SearchableDictionary.java | 47 private ListView mListView; 55 mListView = (ListView) findViewById(R.id.list); 112 mListView.setAdapter(words); 115 mListView.setOnItemClickListener(new OnItemClickListener() {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
SelectPrinterFragment.java | 92 private ListView mListView; 113 mListView = (ListView) content.findViewById(android.R.id.list); 130 mListView.setAdapter(adapter); 132 mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { 135 if (!((DestinationAdapter) mListView.getAdapter()).isActionable(position)) { 138 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); 149 registerForContextMenu(mListView); 169 ((DestinationAdapter) mListView.getAdapter()).getFilter().filter(searchString); 199 if (view == mListView) { 201 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position) [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertActivity.java | 92 private ListView mListView; 159 mListView.setSelection(cursor.getCount() - 1); 217 mListView = (ListView) findViewById(R.id.alert_container); 218 mListView.setItemsCanFocus(true); 219 mListView.setAdapter(mAdapter); 220 mListView.setOnItemClickListener(mViewListener); 297 final int index = mListView.getPositionForView(view); 301 return (Cursor) mListView.getAdapter().getItem(index);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
AppChooserActivity.java | 62 private ListView mListView; 141 mListView = (ListView) ap.mView.findViewById(com.android.nfc.R.id.resolver_list); 143 mListView.setDivider(getResources().getDrawable(android.R.color.transparent)); 145 mListView.setDividerHeight(height); 147 mListView.setPadding(0, 0, 0, 0); 149 mListView.setAdapter(mListAdapter); 150 mListView.setOnItemClickListener(this);
|
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialog.java | 57 private ListView mListView; 136 mListView = (ListView)findViewById(R.id.media_route_list); 137 mListView.setAdapter(mAdapter); 138 mListView.setOnItemClickListener(mAdapter); 139 mListView.setEmptyView(findViewById(android.R.id.empty));
|
AlertController.java | 69 private ListView mListView; 367 return mListView; 418 if (mListView != null) { 430 if (mMessage != null || mView != null || mListView != null) { 516 if (mListView != null) { 518 contentPanel.addView(mListView, 651 light[pos] = mListView != null; 698 // if (hasButtons && (mListView != null)) { 715 mListView.addFooterView(buttonPanel); 719 if ((mListView != null) && (mAdapter != null)) [all...] |
ResolverActivity.java | 74 private ListView mListView; 155 mListView = (ListView) ap.mView.findViewById(R.id.resolver_list); 156 mListView.setAdapter(mAdapter); 157 mListView.setOnItemClickListener(this); 158 mListView.setOnItemLongClickListener(new ItemLongClickListener()); 161 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); 187 mListView.setItemChecked(initialHighlight, true); 261 final int checkedPos = mListView.getCheckedItemPosition(); 267 mListView.setSelection(checkedPos); 274 final int checkedPos = mListView.getCheckedItemPosition() [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialog.java | 53 private ListView mListView; 130 mListView = (ListView)findViewById(R.id.media_route_list); 131 mListView.setAdapter(mAdapter); 132 mListView.setOnItemClickListener(mAdapter); 133 mListView.setEmptyView(findViewById(android.R.id.empty));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactTileListFragment.java | 62 private ListView mListView; 90 mListView = (ListView) listLayout.findViewById(R.id.contact_tile_list); 92 mListView.setItemsCanFocus(true); 93 mListView.setAdapter(mAdapter); 168 mListView.setEmptyView(mEmptyView);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactListFragment.java | 42 private ListView mListView; 57 mListView = (ListView) mFragmentContainer.findViewById(R.id.list); 58 mListView.setItemsCanFocus(true); 79 if (mActions == null || mListView == null) return; 81 mListView.setAdapter(new BaseAdapter() {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
AccountFilterActivity.java | 61 private ListView mListView; 70 mListView = (ListView) findViewById(android.R.id.list); 71 mListView.setOnItemClickListener(this); 157 mListView.setAdapter(
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekFragment.java | 175 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); 258 if (mListView != null) { 259 mListView.removeCallbacks(mLoadingRunnable); 302 mListView.setSelector(new StateListDrawable()); 303 mListView.setOnTouchListener(this); 306 mListView.setBackgroundColor(getResources().getColor(R.color.month_bgcolor)); 312 mListView.postDelayed(mLoadingRunnable, mEventsLoadingDelay); 316 mAdapter.setListView(mListView);
|
MonthByWeekAdapter.java | 328 mListView.postDelayed(mDoSingleTapUp, 339 mListView.postDelayed(mDoClick, mOnDownDelay); 388 mListView.removeCallbacks(mDoClick); 408 mListView.invalidate();
|
SimpleWeeksAdapter.java | 297 ListView mListView; 300 mListView = lv;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsCreateFragment.java | 70 private ListView mListView; 93 mListView = (ListView) view.findViewById(R.id.list); 94 mListView.setOnItemClickListener(mItemListener); 97 mListView.setAdapter(mAdapter);
|
DirectoryFragment.java | 95 private ListView mListView; 194 mListView = (ListView) view.findViewById(R.id.list); 195 mListView.setOnItemClickListener(mItemListener); 196 mListView.setMultiChoiceModeListener(mMultiListener); 197 mListView.setRecyclerListener(mRecycleListener); 212 final ViewGroup target = (mListView.getAdapter() != null) ? mListView : mGridView; 220 mListView.setChoiceMode(AbsListView.CHOICE_MODE_NONE); 307 mListView.smoothScrollToPosition(0); 386 mListView.setVisibility(state.derivedMode == MODE_LIST ? View.VISIBLE : View.GONE) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
UsageStats.java | 57 private ListView mListView; 233 mListView = (ListView) findViewById(R.id.pkg_list); 237 mListView.setAdapter(mAdapter);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderListFragment.java | 95 private ListView mListView; 327 mListView.setChoiceMode(getListViewChoiceMode()); 354 mListView = (ListView) rootView.findViewById(android.R.id.list); 355 mListView.setEmptyView(null); 356 mListView.setDivider(null); 358 mListView.onRestoreInstanceState(savedState.getParcelable(BUNDLE_LIST_STATE)); 390 if (mListView != null) { 391 outState.putParcelable(BUNDLE_LIST_STATE, mListView.onSaveInstanceState()); 467 if (mListView.getChildAt(defaultInboxPosition) != null) { 468 mListView.setItemChecked(defaultInboxPosition, true) [all...] |
ConversationListView.java | 63 private SwipeableListView mListView; 126 mListView = (SwipeableListView) findViewById(android.R.id.list); 127 mListView.setSwipeListener(this); 202 if (mListView.getChildCount() == 0 || mListView.getChildAt(0).getTop() == 0) {
|
AnimatedAdapter.java | 179 private final SwipeableListView mListView; 266 mListView = listView; 457 final int startPosition = mListView.getFirstVisiblePosition(); 458 final int endPosition = mListView.getLastVisiblePosition(); 566 .inflate(R.layout.swipe_leavebehind, mListView, false); 609 final int startPosition = mListView.getFirstVisiblePosition(); 610 final int endPosition = mListView.getLastVisiblePosition(); 649 return mListView; [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AddBookmarkPage.java | 116 private CustomListView mListView; 281 imm.focusIn(mListView); 342 mListView.getWindowToken(), 0); 370 mListView.setSelection(0); 378 mListView.getWindowToken(), 0); 554 mListView.addFooterView(mFolderNamerHolder); 556 mListView.removeFooterView(mFolderNamerHolder); 559 mListView.setAdapter(mAdapter); 561 mListView.setSelection(mListView.getCount() - 1) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningProcessesView.java | 73 ListView mListView; 319 ServiceListAdapter adapter = (ServiceListAdapter)(mListView.getAdapter()); 422 mListView = (ListView)findViewById(android.R.id.list); 425 mListView.setEmptyView(emptyView); 427 mListView.setOnItemClickListener(this); 428 mListView.setRecyclerListener(this); 430 mListView.setAdapter(mAdapter);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragment.java | 155 private ListView mListView; 217 if (mListView != null) { 218 mListView.dispatchTouchEvent(event); 232 if (mListView != null) { 233 mListView.dispatchDragEvent(event); 257 if (mListView != null) { 258 outState.putParcelable(KEY_LIST_STATE, mListView.onSaveInstanceState()); 283 // Set the touch and drag listener to forward the event to the mListView so that 293 mListView = (ListView) mView.findViewById(android.R.id.list); 294 mListView.setOnItemClickListener(this) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PresentationActivity.java | 94 private ListView mListView; 138 mListView = (ListView)findViewById(R.id.display_list); 139 mListView.setAdapter(mDisplayListAdapter);
|