/frameworks/base/core/java/com/android/internal/app/ |
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...] |
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...] |
/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);
|
SimpleWeeksAdapter.java | 297 ListView mListView; 300 mListView = lv;
|
MonthByWeekAdapter.java | 328 mListView.postDelayed(mDoSingleTapUp, 339 mListView.postDelayed(mDoClick, mOnDownDelay); 388 mListView.removeCallbacks(mDoClick); 408 mListView.invalidate();
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoriteFragment.java | 200 private PhoneFavoriteListView mListView; 279 mListView = (PhoneFavoriteListView) mParentView.findViewById(R.id.contact_tile_list); 280 mListView.setItemsCanFocus(true); 281 mListView.setOnItemClickListener(this); 282 mListView.setVerticalScrollBarEnabled(false); 283 mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT); 284 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); 285 mListView.setOnItemSwipeListener(mContactTileAdapter); 286 mListView.getDragDropController().addOnDragDropListener(mContactTileAdapter); 290 mListView.setDragShadowOverlay(dragShadowOverlay) [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);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
LayoutAnimationControllerTest.java | 47 private ListView mListView; 68 mListView = mActivity.getListView(); 79 AnimationTestUtils.assertRunController(getInstrumentation(), mListView, mController, 82 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); 83 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); 84 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); 123 AnimationTestUtils.assertRunController(getInstrumentation(), mListView, mController, 129 childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); 130 childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); 131 childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation() [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 53 ListView mListView; 71 mListView = (ListView) findViewById(R.id.listview); 78 mListView.setAdapter(mAdapter); 127 mListView.requestDisallowInterceptTouchEvent(true); 187 mListView.setEnabled(false); 198 animateOtherViews(mListView, view); 203 mListView.setEnabled(true); 220 animateOtherViews(mListView, view); 225 mListView.setEnabled(true); 276 int position = mListView.getPositionForView(viewToRemove) [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 94 private ListView mListView; 161 if (mListView != null) { 162 mListView.setAdapter(null); 169 mListView = (ListView) childPrefScreen.findViewById(android.R.id.list); 170 bind(mListView);
|
/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...] |
/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/Settings/src/com/android/settings/ |
UsageStats.java | 57 private ListView mListView; 233 mListView = (ListView) findViewById(R.id.pkg_list); 237 mListView.setAdapter(mAdapter);
|
/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/UnifiedEmail/src/com/android/mail/ui/ |
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) {
|
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...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 138 private ListView mListView; 163 mListView = (ListView) view.findViewById(android.R.id.list); 164 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); 165 mListView.setOnItemClickListener(this); 166 // Don't set it to mListView yet. We do so later when we bind the adapter. 301 mListView.setAdapter(mAdapter); 305 mListView.setEmptyView(mEmptyView);
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 225 private ListView mListView; 399 mListView = (ListView) findViewById(R.id.list); 455 final int childCount = mListView.getChildCount(); 457 WeekView weekView = (WeekView) mListView.getChildAt(i); 486 final int childCount = mListView.getChildCount(); 488 WeekView weekView = (WeekView) mListView.getChildAt(i); 517 final int childCount = mListView.getChildCount(); 519 WeekView weekView = (WeekView) mListView.getChildAt(i); 614 final int childCount = mListView.getChildCount(); 616 WeekView weekView = (WeekView) mListView.getChildAt(i) [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...] |
/cts/tests/tests/app/src/android/app/cts/ |
AlertDialog_BuilderTest.java | 66 private ListView mListView; 122 mListView = null; 326 mListView = mDialog.getListView(); 333 assertEquals(levels[0], mListView.getItemAtPosition(0)); 345 mListView = mDialog.getListView(); 349 assertEquals(expect[0], mListView.getItemAtPosition(0)); 359 mListView = mDialog.getListView(); 363 assertEquals(adapter, mListView.getAdapter()); 376 mListView = mDialog.getListView(); 377 mListView.performItemClick(null, 0, 0) [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);
|
/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/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...] |