Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java108 private ListView mListView; field in ContactEntryListFragment
218 return mListView; in getListView()
238 if (mListView != null) { in onSaveInstanceState()
239 outState.putParcelable(KEY_LIST_STATE, mListView.onSaveInstanceState()); in onSaveInstanceState()
519 if (mListView != null) { in configureVerticalScrollbar()
520 mListView.setFastScrollEnabled(hasScrollbar); in configureVerticalScrollbar()
521 mListView.setFastScrollAlwaysVisible(hasScrollbar); in configureVerticalScrollbar()
522 mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition); in configureVerticalScrollbar()
523 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in configureVerticalScrollbar()
533 mListView.setPadding(leftPadding, mListView.getPaddingTop(), in configureVerticalScrollbar()
[all …]
DAccountFilterActivity.java61 private ListView mListView; field in AccountFilterActivity
70 mListView = (ListView) findViewById(android.R.id.list); in onCreate()
71 mListView.setOnItemClickListener(this); in onCreate()
157 mListView.setAdapter( in onLoadFinished()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListFragment.java83 private AutoScrollListView mListView; field in GroupBrowseListFragment
118 mListView = (AutoScrollListView) mRootView.findViewById(R.id.list); in onCreateView()
119 mListView.setOnFocusChangeListener(this); in onCreateView()
120 mListView.setOnTouchListener(this); in onCreateView()
121 mListView.setAdapter(mAdapter); in onCreateView()
122 mListView.setOnItemClickListener(new OnItemClickListener() { in onCreateView()
132 mListView.setEmptyView(mEmptyView); in onCreateView()
158 mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition); in configureVerticalScrollbar()
159 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in configureVerticalScrollbar()
169 mListView.setPadding(leftPadding, mListView.getPaddingTop(), in configureVerticalScrollbar()
[all …]
DGroupEditorFragment.java179 private ListView mListView; field in GroupEditorFragment
406 mListView = (ListView) editorView.findViewById(android.R.id.list); in setupEditorForAccount()
407 mListView.setAdapter(mMemberListAdapter); in setupEditorForAccount()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoriteFragment.java202 mListView.setVerticalScrollBarEnabled(shouldShow); in onScroll()
203 mListView.setFastScrollEnabled(shouldShow); in onScroll()
204 mListView.setFastScrollAlwaysVisible(shouldShow); in onScroll()
247 private ListView mListView; field in PhoneFavoriteFragment
343 mListView = (ListView) listLayout.findViewById(R.id.contact_tile_list); in onCreateView()
344 mListView.setItemsCanFocus(true); in onCreateView()
345 mListView.setOnItemClickListener(this); in onCreateView()
346 mListView.setVerticalScrollBarEnabled(false); in onCreateView()
347 mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT); in onCreateView()
348 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in onCreateView()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java95 protected ListView mListView; field in SimpleDayPickerFragment
233 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in onActivityCreated()
262 mListView = getListView(); in setUpListView()
264 mListView.setCacheColorHint(0); in setUpListView()
266 mListView.setDivider(null); in setUpListView()
268 mListView.setItemsCanFocus(true); in setUpListView()
270 mListView.setFastScrollEnabled(false); in setUpListView()
271 mListView.setVerticalScrollBarEnabled(false); in setUpListView()
272 mListView.setOnScrollListener(this); in setUpListView()
273 mListView.setFadingEdgeLength(0); in setUpListView()
[all …]
DMonthByWeekFragment.java175 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in updateUri()
258 if (mListView != null) { in onDetach()
259 mListView.removeCallbacks(mLoadingRunnable); in onDetach()
302 mListView.setSelector(new StateListDrawable()); in onActivityCreated()
303 mListView.setOnTouchListener(this); in onActivityCreated()
306 mListView.setBackgroundColor(getResources().getColor(R.color.month_bgcolor)); in onActivityCreated()
312 mListView.postDelayed(mLoadingRunnable, mEventsLoadingDelay); in onActivityCreated()
316 mAdapter.setListView(mListView); in onActivityCreated()
DMonthByWeekAdapter.java328 mListView.postDelayed(mDoSingleTapUp, in onTouch()
339 mListView.postDelayed(mDoClick, mOnDownDelay); in onTouch()
388 mListView.removeCallbacks(mDoClick); in clearClickedView()
408 mListView.invalidate();
DSimpleWeeksAdapter.java297 ListView mListView; field in SimpleWeeksAdapter
300 mListView = lv; in setListView()
/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/Browser/src/com/android/browser/
DAddBookmarkPage.java116 private CustomListView mListView; field in AddBookmarkPage
281 imm.focusIn(mListView); in onClick()
342 mListView.getWindowToken(), 0); in completeOrCancelFolderNaming()
370 mListView.setSelection(0); in switchToFolderSelector()
378 mListView.getWindowToken(), 0); in switchToFolderSelector()
554 mListView.addFooterView(mFolderNamerHolder); in setShowFolderNamer()
556 mListView.removeFooterView(mFolderNamerHolder); in setShowFolderNamer()
559 mListView.setAdapter(mAdapter); in setShowFolderNamer()
561 mListView.setSelection(mListView.getCount() - 1); in setShowFolderNamer()
677 mListView = (CustomListView) findViewById(R.id.list); in onCreate()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactNameHighlightingAnimation.java29 private final ListView mListView; field in ContactNameHighlightingAnimation
34 this.mListView = listView; in ContactNameHighlightingAnimation()
42 int childCount = mListView.getChildCount(); in invalidate()
44 View itemView = mListView.getChildAt(i); in invalidate()
54 mSavedScrollingCacheEnabledFlag = mListView.isScrollingCacheEnabled(); in onAnimationStarted()
55 mListView.setScrollingCacheEnabled(false); in onAnimationStarted()
60 mListView.setScrollingCacheEnabled(mSavedScrollingCacheEnabledFlag); in onAnimationEnded()
DContactTileListFragment.java62 private ListView mListView; field in ContactTileListFragment
90 mListView = (ListView) listLayout.findViewById(R.id.contact_tile_list); in inflateAndSetupView()
92 mListView.setItemsCanFocus(true); in inflateAndSetupView()
93 mListView.setAdapter(mAdapter); in inflateAndSetupView()
168 mListView.setEmptyView(mEmptyView);
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java155 private ListView mListView; field in ContactDetailFragment
233 if (mListView != null) {
234 mListView.dispatchTouchEvent(event);
248 if (mListView != null) {
249 mListView.dispatchDragEvent(event);
273 if (mListView != null) { in onSaveInstanceState()
274 outState.putParcelable(KEY_LIST_STATE, mListView.onSaveInstanceState()); in onSaveInstanceState()
310 mListView = (ListView) mView.findViewById(android.R.id.list); in onCreateView()
311 mListView.setOnItemClickListener(this); in onCreateView()
312 mListView.setItemsCanFocus(true); in onCreateView()
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java92 private ListView mListView; field in AlertActivity
159 mListView.setSelection(cursor.getCount() - 1); in onQueryComplete()
217 mListView = (ListView) findViewById(R.id.alert_container); in onCreate()
218 mListView.setItemsCanFocus(true); in onCreate()
219 mListView.setAdapter(mAdapter); in onCreate()
220 mListView.setOnItemClickListener(mViewListener); in onCreate()
289 final int index = mListView.getPositionForView(view); in getItemForView()
293 return (Cursor) mListView.getAdapter().getItem(index); in getItemForView()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java67 private ListView mListView; field in BluetoothOppTransferHistory
86 mListView = (ListView)findViewById(R.id.list); in onCreate()
87 mListView.setEmptyView(findViewById(R.id.empty)); in onCreate()
132 mListView.setAdapter(mTransferAdapter); in onCreate()
133 mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); in onCreate()
134 mListView.setOnCreateContextMenuListener(this); in onCreate()
135 mListView.setOnItemClickListener(this); in onCreate()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java43 private final AbsListView mListView; field in BaseAdapterWithImages
122 mListView = listView; in BaseAdapterWithImages()
126 mListView.setRecyclerListener(new AbsListView.RecyclerListener() { in BaseAdapterWithImages()
153 final int count = mListView.getChildCount(); in onDestroy()
155 final View rowView = mListView.getChildAt(i); in onDestroy()
163 mListView.removeViews(0, count); in onDestroy()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java72 ListView mListView; field in RunningProcessesView
318 ServiceListAdapter adapter = (ServiceListAdapter)(mListView.getAdapter()); in refreshUi()
418 mListView = (ListView)findViewById(android.R.id.list); in doCreate()
421 mListView.setEmptyView(emptyView); in doCreate()
423 mListView.setOnItemClickListener(this); in doCreate()
424 mListView.setRecyclerListener(this); in doCreate()
426 mListView.setAdapter(mAdapter); in doCreate()
DManageApplications.java199 private ListView mListView; field in ManageApplications.TabInfo
263 mListView = lv; in build()
265 mListView.setAdapter(mApplications); in build()
266 mListView.setRecyclerListener(mApplications); in build()
271 Utils.prepareCustomPreferencesList(contentParent, contentChild, mListView, false); in build()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java203 private ListView mListView; field in DataUsageSummary
309 mListView = (ListView) view.findViewById(android.R.id.list); in onCreateView()
313 final boolean shouldInset = mListView.getScrollBarStyle() in onCreateView()
323 prepareCustomPreferencesList(container, view, mListView, true); in onCreateView()
328 mHeader = (ViewGroup) inflater.inflate(R.layout.data_usage_header, mListView, false); in onCreateView()
331 mListView.addHeaderView(new View(context), null, true); in onCreateView()
332 mListView.addHeaderView(mHeader, null, true); in onCreateView()
333 mListView.setItemsCanFocus(true); in onCreateView()
337 insetListViewDrawables(mListView, mInsetSide); in onCreateView()
400 mListView.setOnItemClickListener(mListListener); in onCreateView()
[all …]
DUsageStats.java57 private ListView mListView; field in UsageStats
233 mListView = (ListView) findViewById(R.id.pkg_list); in onCreate()
237 mListView.setAdapter(mAdapter); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactListFragment.java42 private ListView mListView; field in QuickContactListFragment
57 mListView = (ListView) mFragmentContainer.findViewById(R.id.list); in onCreateView()
58 mListView.setItemsCanFocus(true); in onCreateView()
79 if (mActions == null || mListView == null) return; in configureAdapter()
81 mListView.setAdapter(new BaseAdapter() { in configureAdapter()
/packages/apps/Dialer/src/com/android/dialer/
DBackScrollManager.java39 private final ListView mListView; field in BackScrollManager
80 mListView = listView; in BackScrollManager()
84 mListView.setOnScrollListener(mScrollListener); in bind()
87 mListView.setVerticalScrollBarEnabled(false); in bind()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java138 private ListView mListView; field in ContactFragment
163 mListView = (ListView) view.findViewById(android.R.id.list); in onCreateView()
164 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in onCreateView()
165 mListView.setOnItemClickListener(this); in onCreateView()
301 mListView.setAdapter(mAdapter); in bindData()
305 mListView.setEmptyView(mEmptyView); in bindData()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java162 final ListView mListView; field in MusicPicker.TrackListAdapter
191 mListView = listView; in TrackListAdapter()