HomeSort by relevance Sort by last modified time
    Searched defs:listView (Results 26 - 50 of 71) sorted by null

12 3

  /development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/
MainActivity.java 35 import android.widget.ListView;
70 ListView listView = (ListView) findViewById(android.R.id.list);
71 listView.setEmptyView(findViewById(android.R.id.empty));
80 // Create adapter and set it to our ListView
86 listView.setAdapter(mAdapter);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAlertDialog.java 13 import android.widget.ListView;
44 private ListView listView;
137 public ListView getListView() {
138 if (listView == null) {
139 listView = new ListView(context);
140 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
155 return listView;
  /packages/apps/Settings/src/com/android/settings/vpn2/
VpnSettings.java 47 import android.widget.ListView;
512 final ListView listView = (ListView) view.findViewById(android.R.id.list);
513 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
514 listView.setAdapter(new TitleAdapter(context, mTitles));
515 listView.setItemChecked(mCurrentIndex, true);
521 final int newIndex = listView.getCheckedItemPosition();
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 32 import android.widget.ListView;
61 expected.setClassName(ListView.class.getName());
71 final ListView listView = (ListView) getActivity().findViewById(R.id.listview);
82 listView.setSelection(1);
  /development/apps/Development/src/com/android/development/
PermissionDetails.java 49 import android.widget.ListView;
122 // by ListView is null.
148 ListView listView = (ListView)findViewById(android.R.id.list);
150 ListView lv= (ListView) findViewById(android.R.id.list);
154 listView.setAdapter(mAdapter);
  /frameworks/base/core/java/android/preference/
PreferenceScreen.java 34 import android.widget.ListView;
94 private ListView mListView;
137 * Binds a {@link ListView} to the preferences contained in this {@link PreferenceScreen} via
141 * @param listView The list view to attach to.
143 public void bind(ListView listView) {
144 listView.setOnItemClickListener(this);
145 listView.setAdapter(getRootAdapter());
169 mListView = (ListView) childPrefScreen.findViewById(android.R.id.list);
208 if (parent instanceof ListView) {
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListActivity.java 45 import android.widget.ListView;
108 ListView listView = getListView();
109 listView.setOnCreateContextMenuListener(mOnCreateContextMenuListener);
134 public void onListItemClick(ListView l, View v, int position, long id) {
  /packages/apps/Mms/src/com/android/mms/ui/
SearchActivity.java 45 import android.widget.ListView;
272 final ListView listView = getListView();
273 listView.setItemsCanFocus(true);
274 listView.setFocusable(true);
275 listView.setClickable(true);
353 // ListView seems to want to reject the setFocusable until such time
356 listView.setFocusable(true);
357 listView.setFocusableInTouchMode(true);
358 listView.requestFocus()
    [all...]
ConversationList.java 67 import android.widget.ListView;
143 ListView listView = getListView();
144 listView.setOnCreateContextMenuListener(mConvListOnCreateContextMenuListener);
145 listView.setOnKeyListener(mThreadListKeyListener);
146 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL);
147 listView.setMultiChoiceModeListener(new ModeCallback());
150 listView.setEmptyView(findViewById(R.id.empty));
194 ListView listView = getListView()
    [all...]
MessageListAdapter.java 39 import android.widget.ListView;
127 Context context, Cursor c, ListView listView,
143 listView.setRecyclerListener(new AbsListView.RecyclerListener() {
  /packages/apps/Settings/src/com/android/settings/
DreamSettings.java 46 import android.widget.ListView;
124 ListView listView = getListView();
126 listView.setItemsCanFocus(true);
130 listView.setEmptyView(emptyView);
133 listView.setAdapter(mAdapter);
NotificationStation.java 48 import android.widget.ListView;
136 ListView listView = getListView();
140 // listView.setEmptyView(emptyView);
143 listView.setAdapter(mAdapter);
UserDictionarySettings.java 38 import android.widget.ListView;
113 final ListView listView = getListView();
114 listView.setAdapter(createAdapter());
115 listView.setFastScrollEnabled(true);
116 listView.setEmptyView(emptyView);
156 public void onListItemClick(ListView l, View v, int position, long id) {
  /packages/apps/Settings/tests/src/com/android/settings/tests/
BluetoothRequestPermissionTest.java 32 import android.widget.ListView;
89 ListView listView = (ListView) findViewById(R.id.msg_container);
90 listView.setAdapter(mMsgAdapter);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
MiscFilesHandler.java 39 import android.widget.ListView;
68 ListView lv = getListView();
70 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL);
75 private class ModeCallback implements ListView.MultiChoiceModeListener {
95 ListView lv = getListView();
166 ListView lv = getListView();
255 final ListView listView = (ListView) parent;
261 listView.setItemChecked(listPosition, isChecked)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java 38 import android.widget.ListView;
147 final ListView listView = getListView();
148 listView.setAdapter(createAdapter());
149 listView.setFastScrollEnabled(true);
150 listView.setEmptyView(emptyView);
189 public void onListItemClick(ListView l, View v, int position, long id) {
  /cts/tests/src/android/widget/cts/util/
ListScenario.java 35 import android.widget.ListView;
47 private ListView mListView;
79 public ListView getListView() {
408 * Returns the LinearLayout containing the ListView in this scenario.
410 * @return The LinearLayout in which the ListView is held.
430 * @return The newly created ListView widget.
432 protected ListView createListView() {
433 return new ListView(this);
444 * Sets an adapter on a ListView.
446 * @param listView The ListView to set the adapter on
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
ListScenario.java 29 import android.widget.ListView;
46 private ListView mListView;
78 public ListView getListView() {
409 * Returns the LinearLayout containing the ListView in this scenario.
411 * @return The LinearLayout in which the ListView is held.
431 * @return The newly created ListView widget.
433 protected ListView createListView() {
434 return new ListView(this);
445 * Sets an adapter on a ListView.
447 * @param listView The ListView to set the adapter on
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogFragment.java 37 import android.widget.ListView;
153 final ListView listView = getListView();
160 if (listView.getFirstVisiblePosition() > 5) {
161 listView.setSelection(5);
171 listView.smoothScrollToPosition(0);
  /frameworks/base/core/java/com/android/internal/app/
AlertController.java 52 import android.widget.ListView;
69 private ListView mListView;
366 public ListView getListView() {
645 * a ListView. If it's text we should use the dark background
646 * for ListView we should use the light background. If neither
700 /* Yet another *special* case. If there is a ListView with buttons
702 * footer of the ListView this will allow more items to be
728 public static class RecycleListView extends ListView {
792 * Interface definition for a callback to be invoked before the ListView
798 * Called before the ListView is bound to an adapter
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java 563 AutoScrollListView listView = (AutoScrollListView)getListView();
564 listView.requestPositionToScreen(
565 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested);
  /packages/apps/Music/src/com/android/music/
MusicPicker.java 42 import android.widget.ListView;
162 final ListView mListView;
188 TrackListAdapter(Context context, ListView listView, int layout,
191 mListView = listView;
439 final ListView listView = getListView();
441 listView.setItemsCanFocus(false);
443 mAdapter = new TrackListAdapter(this, listView,
449 listView.setTextFilterEnabled(true)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SearchActivityView.java 425 SuggestionsListView<?> listView = (SuggestionsListView<?>) v;
426 if (onSuggestionKeyDown(listView.getSuggestionsAdapter(),
427 listView.getSelectedItemId(), keyCode, event)) {
  /packages/apps/Settings/src/com/android/settings/print/
PrintServiceSettingsFragment.java 63 import android.widget.ListView;
225 ListView listView = getListView();
226 ViewGroup contentRoot = (ViewGroup) listView.getParent();
227 View emptyView = listView.getEmptyView();
240 listView.setEmptyView(emptyView);
252 listView.setEmptyView(emptyView);
266 listView.setEmptyView(emptyView);
  /frameworks/base/core/java/android/widget/
FastScroller.java 248 public FastScroller(AbsListView listView) {
249 mList = listView;
250 mOverlay = listView.getOverlay();
252 final Context context = listView.getContext();
320 mScrollBarStyle = listView.getScrollBarStyle();
328 updateLongList(listView.getChildCount(), listView.getCount());
    [all...]

Completed in 1780 milliseconds

12 3