/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 43 ListView listView = new ListView(context); in testRequestLayout() local 46 listView.setAdapter(adapter); in testRequestLayout() 51 listView.measure(measureSpec, measureSpec); in testRequestLayout() 52 listView.layout(0, 0, 100, 100); in testRequestLayout() 54 MockView childView = (MockView) listView.getChildAt(0); in testRequestLayout() 58 listView.measure(measureSpec, measureSpec); in testRequestLayout() 59 listView.layout(0, 0, 100, 100); in testRequestLayout() 71 ListView listView = new ListView(context); in testNoSelectableItems() local 73 listView.addHeaderView(new View(context), null, false); in testNoSelectableItems() 76 listView.setAdapter(adapter); in testNoSelectableItems() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithHeaders.java | 39 final ListView listView = getListView(); in onCreate() local 40 listView.setItemsCanFocus(true); in onCreate() 45 listView.addHeaderView(header); in onCreate() 51 listView.addFooterView(footer); in onCreate() 54 final ListAdapter adapter = listView.getAdapter(); in onCreate() 55 listView.setAdapter(adapter); in onCreate()
|
D | ListRecyclerProfiling.java | 41 ListView listView = (ListView) findViewById(R.id.list); in onCreate() local 43 ViewDebug.startRecyclerTracing("SimpleList", listView); in onCreate() 45 listView.setAdapter(new ArrayAdapter<String>(this, in onCreate()
|
D | ListWithDisappearingItemBug.java | 76 ListView listView = getListView(); in onCreate() local 77 listView.setLayoutAnimation(controller); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | RingtonePickerActivity.java | 181 public void onPrepareListView(ListView listView) { in onPrepareListView() argument 184 mDefaultRingtonePos = addDefaultRingtoneItem(listView); in onPrepareListView() 192 mSilentPos = addSilentItem(listView); in onPrepareListView() 216 private int addStaticItem(ListView listView, int textResId) { in addStaticItem() argument 218 com.android.internal.R.layout.select_dialog_singlechoice_holo, listView, false); in addStaticItem() 220 listView.addHeaderView(textView); in addStaticItem() 222 return listView.getHeaderViewsCount() - 1; in addStaticItem() 225 private int addDefaultRingtoneItem(ListView listView) { in addDefaultRingtoneItem() argument 226 return addStaticItem(listView, com.android.internal.R.string.ringtone_default); in addDefaultRingtoneItem() 229 private int addSilentItem(ListView listView) { in addSilentItem() argument [all …]
|
D | AlertController.java | 787 void onPrepareListView(ListView listView); in onPrepareListView() argument 852 final RecycleListView listView = (RecycleListView) in createListView() local 866 listView.setItemChecked(position, true); in createListView() 887 listView.setItemChecked(cursor.getPosition(), in createListView() 912 mOnPrepareListViewListener.onPrepareListView(listView); in createListView() 922 listView.setOnItemClickListener(new OnItemClickListener() { in createListView() 931 listView.setOnItemClickListener(new OnItemClickListener() { in createListView() 934 mCheckedItems[position] = listView.isItemChecked(position); in createListView() 937 … dialog.mDialogInterface, position, listView.isItemChecked(position)); in createListView() 944 listView.setOnItemSelectedListener(mOnItemSelectedListener); in createListView() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncActivityTooManyDeletes.java | 73 ListView listView = new ListView(this); in onCreate() local 74 listView.setAdapter(adapter); in onCreate() 75 listView.setItemsCanFocus(true); in onCreate() 76 listView.setOnItemClickListener(this); in onCreate() 89 ll.addView(listView, lp); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListUtil.java | 37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument 38 mListView = listView; in ListUtil()
|
D | ListScenario.java | 449 protected void setAdapter(ListView listView) { in setAdapter() argument 450 listView.setAdapter(new MyAdapter()); in setAdapter()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceScreen.java | 135 public void bind(ListView listView) { in bind() argument 136 listView.setOnItemClickListener(this); in bind() 137 listView.setAdapter(getRootAdapter()); in bind()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1210 ListView listView = alternatesPopup.getListView(); in showAlternates() local 1211 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in showAlternates() 1217 listView.setItemChecked(mCheckedItem, true); in showAlternates() 1240 ListView listView = mAlternatesPopup.getListView(); in onCheckedItemChanged() local 1241 if (listView != null && listView.getCheckedItemCount() == 0) { in onCheckedItemChanged() 1242 listView.setItemChecked(position, true); in onCheckedItemChanged() 1687 ListView listView = popup.getListView(); in showAddress() local 1688 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in showAddress() 1689 listView.setItemChecked(0, true); in showAddress()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 153 public FastScroller(Context context, AbsListView listView) { in FastScroller() argument 154 mList = listView; in FastScroller()
|
D | TextView.java | 9593 ListView listView = new ListView(TextView.this.getContext()); in initContentView() local 9595 listView.setAdapter(mSuggestionsAdapter); in initContentView() 9596 listView.setOnItemClickListener(this); in initContentView() 9597 mContentView = listView; in initContentView()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 9000 final ListView listView = (ListView) LayoutInflater.from(mContext) 9004 .setView(listView).setCancelable(true) 9013 listView.getCheckedItemPositions()); 9023 listView.setAdapter(adapter); 9024 listView.setFocusableInTouchMode(true); 9031 listView.setTextFilterEnabled(!mMultiple); 9033 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); 9036 listView.setItemChecked(mSelectedArray[i], true); 9039 listView.setOnItemClickListener(new OnItemClickListener() { 9051 listView.setSelection(mSelection); [all …]
|
/frameworks/base/docs/html/guide/topics/fundamentals/ |
D | fragments.jd | 522 View listView = {@link android.app.Fragment#getActivity()}.{@link android.app.Activity#findViewById…
|