Home
last modified time | relevance | path

Searched refs:mListView (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java123 private ListView mListView; field in ContactEntryListFragment
251 return mListView; in getListView()
274 if (mListView != null) { in onSaveInstanceState()
275 outState.putParcelable(KEY_LIST_STATE, mListView.onSaveInstanceState()); in onSaveInstanceState()
571 if (mListView != null) {
572 mListView.setFastScrollEnabled(hasScrollbar);
573 mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition);
574 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
646 if (mListView != null) {
647 mListView.setFastScrollEnabled(!flag);
[all …]
DAccountFilterActivity.java48 private ListView mListView; field in AccountFilterActivity
63 mListView = (ListView) findViewById(android.R.id.list); in onCreate()
64 mListView.setOnItemClickListener(this); in onCreate()
82 mListView.setAdapter(new FilterListAdapter(this, filters, mCurrentFilterType)); in onCreate()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java95 protected ListView mListView; field in SimpleDayPickerFragment
230 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in onActivityCreated()
259 mListView = getListView(); in setUpListView()
261 mListView.setCacheColorHint(0); in setUpListView()
263 mListView.setDivider(null); in setUpListView()
265 mListView.setItemsCanFocus(true); in setUpListView()
267 mListView.setFastScrollEnabled(false); in setUpListView()
268 mListView.setVerticalScrollBarEnabled(false); in setUpListView()
269 mListView.setOnScrollListener(this); in setUpListView()
270 mListView.setFadingEdgeLength(0); in setUpListView()
[all …]
DMonthByWeekFragment.java158 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in updateUri()
241 if (mListView != null) { in onDetach()
242 mListView.removeCallbacks(mLoadingRunnable); in onDetach()
285 mListView.setSelector(new StateListDrawable()); in onActivityCreated()
286 mListView.setOnTouchListener(this); in onActivityCreated()
289 mListView.setBackgroundColor(getResources().getColor(R.color.month_bgcolor)); in onActivityCreated()
295 mListView.postDelayed(mLoadingRunnable, mEventsLoadingDelay); in onActivityCreated()
299 mAdapter.setListView(mListView); in onActivityCreated()
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.java62 protected ListView mListView = null; field in StickyHeaderListView
161 mListView = lv; in setListView()
162 mListView.setOnScrollListener(this); in setListView()
163 mListViewHeadersCount = mListView.getHeaderViewsCount(); in setListView()
257 if (mAdapter == null && mListView != null) { in updateStickyHeader()
258 setAdapter(mListView.getAdapter()); in updateStickyHeader()
284 View v = mAdapter.getView(sectionPos + mListViewHeadersCount, null, mListView); in updateStickyHeader()
285 v.measure(MeasureSpec.makeMeasureSpec(mListView.getWidth(), in updateStickyHeader()
286 MeasureSpec.EXACTLY), MeasureSpec.makeMeasureSpec(mListView.getHeight(), in updateStickyHeader()
314 View SectionLastView = mListView.getChildAt(sectionLastItemPosition); in updateStickyHeader()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java87 private ListView mListView; field in SimImportFragment
145 mListView = (ListView) view.findViewById(R.id.list); in onCreateView()
146 mListView.setOnScrollListener(this); in onCreateView()
147 mListView.setAdapter(mAdapter); in onCreateView()
148 mListView.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE); in onCreateView()
149 mListView.setOnItemClickListener(this); in onCreateView()
180 final long[] ids = mListView.getCheckedItemIds(); in rememberSelectionsForCurrentAccount()
191 for (int i = 0, len = mListView.getCount(); i < len; i++) { in showSelectionsForCurrentAccount()
192 mListView.setItemChecked(i, in showSelectionsForCurrentAccount()
193 Arrays.binarySearch(ids, mListView.getItemIdAtPosition(i)) >= 0); in showSelectionsForCurrentAccount()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailFragment.java53 private ExpandableListView mListView; field in VCardDetailFragment
75 mListView = (ExpandableListView) view.findViewById(R.id.list); in onCreateView()
76 mListView.addOnLayoutChangeListener(new OnLayoutChangeListener() { in onCreateView()
81 mListView.setIndicatorBounds(mListView.getWidth() - getResources() in onCreateView()
83 mListView.getWidth()); in onCreateView()
86 mListView.setOnChildClickListener(new OnChildClickListener() { in onCreateView()
116 mListView.setAdapter((ExpandableListAdapter) null); in onDestroy()
182 mListView.setAdapter(mAdapter); in onPersonDataUpdated()
186 mListView.expandGroup(0); in onPersonDataUpdated()
DCustomHeaderPagerListViewHolder.java38 private ListView mListView; field in CustomHeaderPagerListViewHolder
69 mListView = listView; in createView()
113 if (mListView == null) { in toggleVisibilityForPendingTransition()
116 final int childCount = mListView.getChildCount(); in toggleVisibilityForPendingTransition()
118 final View childView = mListView.getChildAt(i); in toggleVisibilityForPendingTransition()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiListItemTest.java49 private CarUiRecyclerView mListView; field in CarUiListItemTest
59 mListView = new CarUiRecyclerView(mContext); in setUp()
63 return (CarUiListItemAdapter.ListItemViewHolder) mListView.findViewHolderForAdapterPosition( in getListItemViewHolderAtPosition()
98 return (CarUiListItemAdapter.HeaderViewHolder) mListView.findViewHolderForAdapterPosition( in getHeaderViewHolderAtPosition()
111 mListView.setAdapter(adapter); in updateRecyclerViewAdapter()
114 mListView.measure(0, 0); in updateRecyclerViewAdapter()
115 mListView.layout(0, 0, 100, 10000); in updateRecyclerViewAdapter()
117 if (mListView != null) { in updateRecyclerViewAdapter()
118 mListView.measure(0, 0); in updateRecyclerViewAdapter()
119 mListView.layout(0, 0, 100, 10000); in updateRecyclerViewAdapter()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DItemListRowView.java51 private HorizontalGridView mListView; field in ItemListRowView
73 mListView = (HorizontalGridView) getContentsView(); in onFinishInflate()
75 mListView.setItemAnimator(null); in onFinishInflate()
89 mListView.setOnChildSelectedListener(this); in onBind()
90 mListView.setAdapter(adapter); in onBind()
96 setInitialFocusView(mListView); in initialize()
97 mListView.setSelectedPosition(getAdapter().getInitialPosition()); in initialize()
101 return (ItemListAdapter<?>) mListView.getAdapter(); in getAdapter()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleFragment.java79 private ListView mListView; field in RequestRoleFragment
156 mListView = viewLayout.requireViewById(R.id.list); in onCreateDialog()
157 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreateDialog()
158 mListView.setOnItemClickListener((parent, view, position, id) -> onItemClicked(position)); in onCreateDialog()
159 mAdapter = new Adapter(mListView, mRole); in onCreateDialog()
163 mListView.setAdapter(mAdapter); in onCreateDialog()
349 mListView.setEnabled(enabled); in updateUi()
480 private final ListView mListView; field in RequestRoleFragment.Adapter
504 mListView = listView; in Adapter()
580 mListView.setItemChecked(0, true); in restoreItemChecked()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java434 private VerticalGridView mListView;
440 SortedList<ListItem> items = ((VerticalListAdapter) mListView.getAdapter()).getItems();
444 mListView.setSelectedPosition(i);
463 mListView.getViewTreeObserver().removeOnPreDrawListener(mOnListPreDrawListener);
470 mListView.getViewTreeObserver().removeOnPreDrawListener(mOnListPreDrawListener);
481 mListView.getViewTreeObserver().addOnPreDrawListener(mOnListPreDrawListener);
482 ((VerticalListAdapter) mListView.getAdapter()).updateItems(listElements);
537 mListView =
540 SelectFromListWizardFragment.align(mListView, getActivity());
542 actionArea.addView(mListView);
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragment.java61 private VerticalGridView mListView; field in SideFragment
106 mListView = (VerticalGridView) view.findViewById(R.id.side_panel_list); in onCreateView()
107 mListView.setRecycledViewPool(sRecycledViewPool); in onCreateView()
110 mListView.setAdapter(mAdapter); in onCreateView()
111 mListView.requestFocus(); in onCreateView()
146 mListView.swapAdapter(null, true); in onDestroyView()
157 mListView.setSelectedPosition(position); in setSelectedPosition()
161 return mListView.getSelectedPosition(); in getSelectedPosition()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java68 private ListView mListView; field in BluetoothOppTransferHistory
89 mListView = (ListView) findViewById(R.id.list); in onCreate()
90 mListView.setEmptyView(findViewById(R.id.empty)); in onCreate()
140 mListView.setAdapter(mTransferAdapter); in onCreate()
141 mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); in onCreate()
142 mListView.setOnCreateContextMenuListener(this); in onCreate()
143 mListView.setOnItemClickListener(this); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DDropShadowController.java57 private ListView mListView; field in DropShadowController
79 mListView = listView; in DropShadowController()
80 mListView.setOnScrollListener(mScrollChangeWatcher); in DropShadowController()
108 } else if (mListView != null) { in stop()
109 mListView.setOnScrollListener(null); in stop()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/search/
DContactResultsFragmentTest.java67 private CarUiRecyclerView mListView; field in ContactResultsFragmentTest
114 assertThat(mListView.findViewHolderForLayoutPosition(0)).isNull(); in testDisplaySearchResults_emptyResult()
145 mListView.findViewHolderForLayoutPosition(1).itemView.findViewById(R.id.contact_result) in testClickSearchResult_showContactDetailPage()
157 mListView = mContactResultsFragment.getView().findViewById(R.id.list_view); in setUpFragment()
159 mListView.layout(0, 0, 100, 1000); in setUpFragment()
163 View childView = mListView.findViewHolderForLayoutPosition(position).itemView; in verifyChildAt()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerController.java24 private View mListView; field in LoadingSpinnerController
41 mListView = listView; in initializeLoading()
54 if (mListView != null && mParentActivity.isLoadingVisible() != isLoading) { in setLoading()
55 mParentActivity.setLoading(mListView, isLoading, true); in setLoading()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java62 private ListView mListView; field in AppChooserActivity
140 mListView = (ListView) ap.mView.findViewById(com.android.nfc.R.id.resolver_list); in onCreate()
142 mListView.setDivider(getResources().getDrawable(android.R.color.transparent)); in onCreate()
144 mListView.setDividerHeight(height); in onCreate()
146 mListView.setPadding(0, 0, 0, 0); in onCreate()
148 mListView.setAdapter(mListAdapter); in onCreate()
149 mListView.setOnItemClickListener(this); in onCreate()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactDetailsFragmentTest.java62 private CarUiRecyclerView mListView; field in ContactDetailsFragmentTest
117 mListView = mContactDetailsFragment.getView().findViewById(R.id.list_view); in setUpFragment()
119 mListView.layout(0, 0, 100, 1000); in setUpFragment()
126 View firstChild = mListView.findViewHolderForLayoutPosition(0).itemView; in verifyHeader()
136 View child = mListView.findViewHolderForLayoutPosition(position).itemView; in verifyPhoneNumber()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobSchedulerWrapper.java56 private ListView mListView; field in JobSchedulerWrapper
70 mListView = listView; in JobSchedulerWrapper()
75 mJobsListAdapter = new JobInfoRowArrayAdapter(mContext, mListView.getId(), mLastJobsList); in JobSchedulerWrapper()
76 mListView.setAdapter(mJobsListAdapter); in JobSchedulerWrapper()
203 int index = mListView.getFirstVisiblePosition(); in updateListView()
205 mListView.smoothScrollToPosition(index); in updateListView()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DLoadingSpinnerControllerTest.java40 @Mock private View mListView; field in LoadingSpinnerControllerTest
60 mController.initializeLoading(mListView); in neverLoadIfCategoryLoadsBeforeInitialized()
68 mController.initializeLoading(mListView); in loadUntilCategoriesLoaded()
77 mController.initializeLoading(mListView); in loadingMultipleCategoriesDoesntCauseFlicker()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java109 private LinearLayout mListView; field in ModeListView
1087 float x = ev.getX() - mListView.getX(); in isTouchInsideList()
1088 float y = ev.getY() - mListView.getY(); in isTouchInsideList()
1089 if (x < 0 || x > mListView.getWidth() || y < 0 || y > mListView.getHeight()) { in isTouchInsideList()
1202 mListView = (LinearLayout) findViewById(R.id.mode_list); in initializeModeSelectorItems()
1206 mListView.addView(selectorItem); in initializeModeSelectorItems()
1322 float x = ev.getX() - mListView.getX(); in forwardTouchEventToChild()
1323 float y = ev.getY() - mListView.getY(); in forwardTouchEventToChild()
1385 mListView.setTranslationX(uncoveredPreviewArea.left); in updateModeListLayout()
1387 mListView.setTranslationY(uncoveredPreviewArea.centerY() in updateModeListLayout()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java77 ListView mListView; field in RunningProcessesView
440 mListView = (ListView)findViewById(android.R.id.list); in doCreate()
443 mListView.setEmptyView(emptyView); in doCreate()
445 mListView.setOnItemClickListener(this); in doCreate()
446 mListView.setRecyclerListener(this); in doCreate()
448 mListView.setAdapter(mAdapter); in doCreate()
450 mListView.addHeaderView(mHeader, null, false /* set as not selectable */); in doCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java77 ListView mListView; field in RunningProcessesView
440 mListView = (ListView)findViewById(android.R.id.list); in doCreate()
443 mListView.setEmptyView(emptyView); in doCreate()
445 mListView.setOnItemClickListener(this); in doCreate()
446 mListView.setRecyclerListener(this); in doCreate()
448 mListView.setAdapter(mAdapter); in doCreate()
450 mListView.addHeaderView(mHeader, null, false /* set as not selectable */); in doCreate()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java59 private ListView mListView; field in CarModeInCallUI
73 mListView = (ListView) findViewById(R.id.callListView); in onCreate()
74 mListView.setAdapter(new CallListAdapter(this)); in onCreate()
75 mListView.setVisibility(View.VISIBLE); in onCreate()

12