/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/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | HeadersFragment.java | 126 final VerticalGridView listView = getVerticalGridView(); in onViewCreated() local 127 if (listView == null) { in onViewCreated() 131 FocusHighlightHelper.setupHeaderItemFocusHighlight(listView); in onViewCreated() 139 final VerticalGridView listView = getVerticalGridView(); in updateListViewVisibility() local 140 if (listView != null) { in updateListViewVisibility() 144 listView.setChildrenVisibility(View.VISIBLE); in updateListViewVisibility() 146 listView.setChildrenVisibility(View.INVISIBLE); in updateListViewVisibility() 246 final VerticalGridView listView = getVerticalGridView(); in onTransitionStart() local 247 if (listView != null) { in onTransitionStart() 248 listView.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); in onTransitionStart() [all …]
|
D | RowsFragment.java | 187 VerticalGridView listView = getVerticalGridView(); in setExpand() local 188 if (listView != null) { in setExpand() 190 final int count = listView.getChildCount(); in setExpand() 193 View view = listView.getChildAt(i); in setExpand() 194 …ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) listView.getChildViewHolder(view); in setExpand() 206 VerticalGridView listView = getVerticalGridView(); in setOnItemSelectedListener() local 207 if (listView != null) { in setOnItemSelectedListener() 208 final int count = listView.getChildCount(); in setOnItemSelectedListener() 210 View view = listView.getChildAt(i); in setOnItemSelectedListener() 212 listView.getChildViewHolder(view); in setOnItemSelectedListener() [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/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/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/ |
D | LongListActivity.java | 62 ListView listView = (ListView) findViewById(R.id.list); in onCreate() local 99 View footerView = layoutInflater.inflate(R.layout.list_item, listView, false); in onCreate() 102 listView.addFooterView(footerView, FOOTER, true); in onCreate() 104 listView.setAdapter(adapter); in onCreate() 105 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreate()
|
D | MainActivity.java | 106 protected void onListItemClick(ListView listView, View view, int position, long id) { in onListItemClick() argument 107 Map<?, ?> map = (Map<?, ?>) listView.getItemAtPosition(position); in onListItemClick()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 784 final ListView listView = mListView; in setBackground() local 785 if (listView != null && mAdapter != null) { in setBackground() 786 listView.setAdapter(mAdapter); in setBackground() 789 listView.setItemChecked(checkedItem, true); in setBackground() 790 listView.setSelection(checkedItem); in setBackground() 874 void onPrepareListView(ListView listView); in onPrepareListView() argument 944 final RecycleListView listView = (RecycleListView) in createListView() local 958 listView.setItemChecked(position, true); in createListView() 979 listView.setItemChecked(cursor.getPosition(), in createListView() 1004 mOnPrepareListViewListener.onPrepareListView(listView); in createListView() [all …]
|
/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/opt/bitmap/sample/src/com/example/bitmapsample/ |
D | BitmapView.java | 52 public void setListView(final ListView listView) { in setListView() argument 53 mListView = listView; in setListView()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceScreen.java | 142 public void bind(ListView listView) { in bind() argument 143 listView.setOnItemClickListener(this); in bind() 144 listView.setAdapter(getRootAdapter()); in bind()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 1012 final ListView listView = mPopup.getListView(); in show() local 1013 listView.setTextDirection(textDirection); in show() 1014 listView.setTextAlignment(textAlignment); in show() 1139 final ListView listView = getListView(); in show() local 1140 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in show() 1141 listView.setTextDirection(textDirection); in show() 1142 listView.setTextAlignment(textAlignment); in show()
|
D | FastScroller.java | 233 public FastScroller(AbsListView listView, int styleResId) { in FastScroller() argument 234 mList = listView; in FastScroller() 235 mOldItemCount = listView.getCount(); in FastScroller() 236 mOldChildCount = listView.getChildCount(); in FastScroller() 238 final Context context = listView.getContext(); in FastScroller() 240 mScrollBarStyle = listView.getScrollBarStyle(); in FastScroller() 259 final ViewGroupOverlay overlay = listView.getOverlay(); in FastScroller() 269 setScrollbarPosition(listView.getVerticalScrollbarPosition()); in FastScroller()
|
D | Editor.java | 2368 ListView listView = new ListView(mTextView.getContext()); in initContentView() local 2370 listView.setAdapter(mSuggestionsAdapter); in initContentView() 2371 listView.setOnItemClickListener(this); in initContentView() 2372 mContentView = listView; in initContentView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | ActionBarLayout.java | 285 ListView listView = new ListView(mThemedContext, null, R.attr.dropDownListViewStyle); in createMenuView() local 286 listView.setAdapter(adapter); in createMenuView() 287 layout.addView(listView); in createMenuView()
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | lists.jd | 284 WearableListView listView = 288 listView.setAdapter(new Adapter(this, elements)); 291 listView.setClickListener(this);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1677 ListView listView = alternatesPopup.getListView(); in showAlternates() local 1678 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in showAlternates() 1684 listView.setItemChecked(mCheckedItem, true); in showAlternates() 1715 ListView listView = mAlternatesPopup.getListView(); in onCheckedItemChanged() local 1716 if (listView != null && listView.getCheckedItemCount() == 0) { in onCheckedItemChanged() 1717 listView.setItemChecked(position, true); in onCheckedItemChanged() 2230 ListView listView = popup.getListView(); in showAddress() local 2231 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in showAddress() 2232 listView.setItemChecked(0, true); in showAddress()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | SpinnerCompat.java | 1059 final ListView listView = getListView(); in show() local 1060 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in show()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | declaring-layout.jd | 432 ListView listView = (ListView) findViewById(R.id.listview); 433 listView.setAdapter(adapter); 465 ListView listView = getListView(); 466 listView.setAdapter(adapter); 493 listView.setOnItemClickListener(mMessageClickedHandler);
|
D | menus.jd | 655 ListView listView = getListView(); 656 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); 657 listView.setMultiChoiceModeListener(new MultiChoiceModeListener() {
|
/frameworks/base/docs/html/guide/components/ |
D | fragments.jd | 507 View listView = {@link android.app.Fragment#getActivity()}.{@link android.app.Activity#findViewById…
|