Home
last modified time | relevance | path

Searched refs:mListView (Results 1 – 25 of 41) 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/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java64 private RecyclerView mListView; field in CarNotificationView
85 mListView = findViewById(R.id.notifications); in onFinishInflate()
87 mListView.setClipChildren(false); in onFinishInflate()
90 mListView.setLayoutManager(mLayoutManager); in onFinishInflate()
91 mListView.addItemDecoration(new TopAndBottomOffsetDecoration( in onFinishInflate()
93 mListView.addItemDecoration(new ItemSpacingDecoration( in onFinishInflate()
112 mListView.setAdapter(mAdapter); in onAttachedToWindow()
115 mListView.addOnItemTouchListener(mItemTouchListener); in onAttachedToWindow()
127 mListView.addOnScrollListener(mScrollListener); in onAttachedToWindow()
129 mListView.setItemAnimator(new DefaultItemAnimator(){ in onAttachedToWindow()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.kt60 protected var mListView: ListView? = null variable
150 mListView = lv in setListView()
151 mListView?.setOnScrollListener(this) in setListView()
152 mListViewHeadersCount = mListView?.getHeaderViewsCount() as Int in setListView()
227 if (mAdapter == null && mListView != null) { in updateStickyHeader()
228 setAdapter(mListView?.getAdapter()) in updateStickyHeader()
255 mAdapter?.getView(sectionPos + mListViewHeadersCount, null, mListView) in updateStickyHeader()
258 mListView?.getWidth() as Int, in updateStickyHeader()
261 mListView?.getHeight() as Int, in updateStickyHeader()
290 val SectionLastView: View? = mListView?.getChildAt(sectionLastItemPosition) in updateStickyHeader()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.kt75 @JvmField protected var mListView: ListView? = null variable
208 val child = mListView?.getChildAt(0) as? SimpleWeekView in onActivityCreated()
237 mListView = getListView() in setUpListView()
239 mListView?.setCacheColorHint(0) in setUpListView()
241 mListView?.setDivider(null) in setUpListView()
243 mListView?.setItemsCanFocus(true) in setUpListView()
245 mListView?.setFastScrollEnabled(false) in setUpListView()
246 mListView?.setVerticalScrollBarEnabled(false) in setUpListView()
247 mListView?.setOnScrollListener(this) in setUpListView()
248 mListView?.setFadingEdgeLength(0) in setUpListView()
[all …]
DMonthByWeekFragment.kt132 val child: SimpleWeekView? = mListView?.getChildAt(0) as? SimpleWeekView in updateUri()
214 if (mListView != null) { in onDetach()
215 mListView?.removeCallbacks(mLoadingRunnable) in onDetach()
262 mListView?.setSelector(StateListDrawable()) in onActivityCreated()
263 mListView?.setOnTouchListener(this) in onActivityCreated()
265 mListView?.setBackgroundColor(getResources().getColor(R.color.month_bgcolor)) in onActivityCreated()
271 mListView?.postDelayed(mLoadingRunnable, mEventsLoadingDelay.toLong()) in onActivityCreated()
275 mAdapter?.setListView(mListView) in onActivityCreated()
/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()
DBlockedParticipantsFragment.java42 private ListView mListView; field in BlockedParticipantsFragment
57 mListView = (ListView) view.findViewById(android.R.id.list); in onCreateView()
59 mListView.setAdapter(mAdapter); in onCreateView()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java86 private ListView mListView; field in SimImportFragment
144 mListView = (ListView) view.findViewById(R.id.list); in onCreateView()
145 mListView.setOnScrollListener(this); in onCreateView()
146 mListView.setAdapter(mAdapter); in onCreateView()
147 mListView.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE); in onCreateView()
148 mListView.setOnItemClickListener(this); in onCreateView()
179 final long[] ids = mListView.getCheckedItemIds(); in rememberSelectionsForCurrentAccount()
190 for (int i = 0, len = mListView.getCount(); i < len; i++) { in showSelectionsForCurrentAccount()
191 mListView.setItemChecked(i, in showSelectionsForCurrentAccount()
192 Arrays.binarySearch(ids, mListView.getItemIdAtPosition(i)) >= 0); in showSelectionsForCurrentAccount()
[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/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/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionStubActivity.java30 private ListView mListView; field in PermissionStubActivity
36 mListView = new ListView(this); in onCreate()
37 mListView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
40 setContentView(mListView); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DDropShadowController.kt55 private var mListView: ListView? = null variable in com.android.deskclock.DropShadowController
79 mListView = listView
80 mListView?.setOnScrollListener(mScrollChangeWatcher)
101 mListView != null -> mListView?.setOnScrollListener(null) in stop()
/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java433 private VerticalGridView mListView;
439 SortedList<ListItem> items = ((VerticalListAdapter) mListView.getAdapter()).getItems();
443 mListView.setSelectedPosition(i);
462 mListView.getViewTreeObserver().removeOnPreDrawListener(mOnListPreDrawListener);
469 mListView.getViewTreeObserver().removeOnPreDrawListener(mOnListPreDrawListener);
480 mListView.getViewTreeObserver().addOnPreDrawListener(mOnListPreDrawListener);
481 ((VerticalListAdapter) mListView.getAdapter()).updateItems(listElements);
536 mListView =
539 SelectFromListWizardFragment.align(mListView, getActivity());
541 actionArea.addView(mListView);
[all …]
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java72 private ListView mListView; field in BluetoothOppTransferHistory
95 mListView = (ListView) findViewById(R.id.list); in onCreate()
96 mListView.setEmptyView(findViewById(R.id.empty)); in onCreate()
169 mListView.setAdapter(mTransferAdapter); in onCreate()
170 mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); in onCreate()
171 mListView.setOnCreateContextMenuListener(this); in onCreate()
172 mListView.setOnItemClickListener(this); in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleFragment.java80 private ListView mListView; field in RequestRoleFragment
157 mListView = viewLayout.requireViewById(R.id.list); 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()
164 if (!mListView.isInTouchMode()) { in onCreateDialog()
165 mListView.post(() -> { in onCreateDialog()
166 mListView.setSelection(0); in onCreateDialog()
167 mListView.requestFocus(); in onCreateDialog()
355 mListView.setEnabled(enabled); in updateUi()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java65 private ListView mListView; field in AppChooserActivity
152 mListView = (ListView) findViewById(com.android.nfc.R.id.resolver_list); in onCreate()
153 mListView.setDivider(getResources().getDrawable(android.R.color.transparent)); in onCreate()
156 mListView.setDividerHeight(height); in onCreate()
158 mListView.setPadding(0, 0, 0, 0); in onCreate()
160 mListView.setAdapter(mListAdapter); in onCreate()
161 mListView.setOnItemClickListener(this); in onCreate()
/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/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DEmptyStateUiHelper.java33 private final View mListView; field in EmptyStateUiHelper
48 mListView = rootView.requireViewById(listViewResourceId); in EmptyStateUiHelper()
97 mListView.setVisibility(View.GONE); in showEmptyState()
121 mListView.setVisibility(View.VISIBLE); in hide()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java133 private RecyclerView mListView; field in CarVolumeDialogImpl
354 if (mListView != null) { in onLayoutDirectionChanged()
355 mListView.setLayoutDirection( in onLayoutDirectionChanged()
421 mListView.setTranslationY(-mListView.getHeight()); in initDialog()
422 mListView.setAlpha(0); in initDialog()
425 ObjectAnimator showAnimator = ObjectAnimator.ofPropertyValuesHolder(mListView, pvhAlpha, in initDialog()
431 mListView = mWindow.findViewById(R.id.volume_list); in initDialog()
432 mListView.setOnHoverListener((v, event) -> { in initDialog()
441 mListView.setAdapter(mVolumeItemsAdapter); in initDialog()
442 mListView.setLayoutManager(new LinearLayoutManager(mContext)); in initDialog()
[all …]
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsConfigActivity.java77 ListView mListView; field in ImsConfigActivity
96 mListView = (ListView) findViewById(R.id.config_list); in onResume()
97 mListView.setAdapter(mConfigItemAdapter); in onResume()
/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