Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationListFragment.java117 private SwipeableListView mListView; field in ConversationListFragment
181 mListView.setVisibility(View.VISIBLE); in showListView()
189 mListView.setVisibility(View.INVISIBLE); in showSecurityHoldView()
201 mListView.setVisibility(View.INVISIBLE); in showEmptyView()
209 mListView.setVisibility(View.INVISIBLE); in showLoadingView()
363 mActivity.getCheckedSet(), mActivity, mListView, specialItemViews); in onActivityCreated()
374 mListView.setAdapter(mListAdapter); in onActivityCreated()
376 mListView.setCheckedSet(mCheckedSet); in onActivityCreated()
394 mListView.setOnScrollListener(this); in onActivityCreated()
402 mListView.preventSwipesEntirely(); in onActivityCreated()
[all …]
DTwoPaneLayout.java113 private View mListView; field in TwoPaneLayout
158 final int leftEdgeCoord = (int) mListView.getX() + mListView.getWidth();
163 final int rightEdgeCoord = (int) mListView.getX();
224 final int leftEdgeCoord = (int) mListView.getX() + mListView.getWidth(); in dispatchDraw()
226 mListView.getBottom()); in dispatchDraw()
229 final int rightEdgeCoord = (int) mListView.getX(); in dispatchDraw()
231 mListView.getBottom()); in dispatchDraw()
242 mListView = findViewById(R.id.conversation_list_pane); in onFinishInflate()
251 mListView.setVisibility(GONE); in onFinishInflate()
299 mListView.layout(mListLeft, 0, mListRight, bottom); in onLayout()
[all …]
DFolderListFragment.java113 private ListView mListView; field in FolderListFragment
419 mListView.setChoiceMode(getListViewChoiceMode()); in onActivityCreated()
470 mListView = (ListView) rootView.findViewById(android.R.id.list); in onCreateView()
471 mListView.setEmptyView(null); in onCreateView()
472 mListView.setDivider(null); in onCreateView()
473 addListHeader(inflater, rootView, mListView); in onCreateView()
475 mListView.onRestoreInstanceState(savedState.getParcelable(BUNDLE_LIST_STATE)); in onCreateView()
496 mListViewFadeOutListener = new FadeAnimatorListener(mListView, true /* fadeOut */); in onCreateView()
498 mListViewFadeInListener = new FadeAnimatorListener(mListView, false /* fadeOut */); in onCreateView()
525 if (mListView != null) { in onSaveInstanceState()
[all …]
DAnimatedAdapter.java172 private final SwipeableListView mListView; field in AnimatedAdapter
262 mListView = listView; in AnimatedAdapter()
465 final int startPosition = mListView.getFirstVisiblePosition(); in delete()
466 final int endPosition = mListView.getLastVisiblePosition(); in delete()
579 .inflate(R.layout.swipe_leavebehind, mListView, false); in setupLeaveBehind()
622 final int startPosition = mListView.getFirstVisiblePosition(); in startFadeOutLeaveBehindItemsAnimations()
623 final int endPosition = mListView.getLastVisiblePosition(); in startFadeOutLeaveBehindItemsAnimations()
666 return mListView; in getListView()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java114 private ListView mListView; field in ContactEntryListFragment
233 return mListView; in getListView()
254 if (mListView != null) { in onSaveInstanceState()
255 outState.putParcelable(KEY_LIST_STATE, mListView.onSaveInstanceState()); in onSaveInstanceState()
541 if (mListView != null) {
542 mListView.setFastScrollEnabled(hasScrollbar);
543 mListView.setFastScrollAlwaysVisible(hasScrollbar);
544 mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition);
545 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
613 if (mListView != null) {
[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/Dialer/src/com/android/dialer/list/
DSpeedDialFragment.java158 private PhoneFavoriteListView mListView; field in SpeedDialFragment
228 mListView = (PhoneFavoriteListView) mParentView.findViewById(R.id.contact_tile_list); in onCreateView()
229 mListView.setOnItemClickListener(this); in onCreateView()
230 mListView.setVerticalScrollBarEnabled(false); in onCreateView()
231 mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT); in onCreateView()
232 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in onCreateView()
233 mListView.getDragDropController().addOnDragDropListener(mContactTileAdapter); in onCreateView()
237 mListView.setDragShadowOverlay(dragShadowOverlay); in onCreateView()
248 mListView.setLayoutAnimation(controller); in onCreateView()
249 mListView.setAdapter(mContactTileAdapter); in onCreateView()
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListFragment.java84 private AutoScrollListView mListView; field in GroupBrowseListFragment
119 mListView = (AutoScrollListView) mRootView.findViewById(R.id.list); in onCreateView()
120 mListView.setOnFocusChangeListener(this); in onCreateView()
121 mListView.setOnTouchListener(this); in onCreateView()
122 mListView.setAdapter(mAdapter); in onCreateView()
123 mListView.setOnItemClickListener(new OnItemClickListener() { in onCreateView()
133 mListView.setEmptyView(mEmptyView); in onCreateView()
155 if (mListView != null) { in setVerticalScrollbarPosition()
161 mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition); in configureVerticalScrollbar()
162 mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY); in configureVerticalScrollbar()
[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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSettingsLayoutFragment.java171 private VerticalGridView mListView; field in SettingsLayoutFragment
195 mLayout.setSelectedIndex(mListView.getSelectedPosition());
200 mListView.setSelectedPositionSmooth(mLayout.getSelectedIndex());
280 (mListView != null) ? mListView.getSelectedPosition() : -1); in onSaveInstanceState()
327 mListView.setSelectedPosition(mLayout.getSelectedIndex()); in updateViews()
356 int index = mListView.getSelectedPosition(); in getSelectedNode()
389 mLayout.setParentSelectedIndex(mListView.getSelectedPosition()); in onRowViewClicked()
484 View focusedChild = mListView.getFocusedChild(); in onIntroAnimationFinished()
563 mListView = (VerticalGridView) action; in setActionView()
565 mListView = (VerticalGridView) action.findViewById(R.id.list); in setActionView()
[all …]
DDialogFragment.java188 private VerticalGridView mListView; field in DialogFragment
275 (mListView != null) ? getSelectedItemPosition() : mSelectedIndex); in onSaveInstanceState()
391 return mListView.getChildAt(position); in getItemView()
395 mListView.setSelectedPosition(position); in setSelectedPosition()
399 return mListView.indexOfChild(mListView.getFocusedChild()); in getSelectedItemPosition()
512 mListView = (VerticalGridView) action; in setActionView()
514 mListView = (VerticalGridView) action.findViewById(R.id.list); in setActionView()
515 if (mListView == null) { in setActionView()
522 mListView.setWindowAlignmentOffset(0); in setActionView()
523 mListView.setWindowAlignmentOffsetPercent(50f); in setActionView()
[all …]
/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/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/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/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()
297 final int index = mListView.getPositionForView(view); in getItemForView()
301 return (Cursor) mListView.getAdapter().getItem(index); in getItemForView()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileListFragment.java64 private ListView mListView; field in ContactTileListFragment
92 mListView = (ListView) listLayout.findViewById(R.id.contact_tile_list); in inflateAndSetupView()
94 mListView.setItemsCanFocus(true); in inflateAndSetupView()
95 mListView.setAdapter(mAdapter); in inflateAndSetupView()
96 ContactListViewUtils.applyCardPaddingToView(getResources(), mListView, listLayout); in inflateAndSetupView() local
107 ContactListViewUtils.applyCardPaddingToView(getResources(), mListView, getView()); in onHiddenChanged() local
184 mListView.setEmptyView(mEmptyView);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java67 private ListView mListView; field in BluetoothOppTransferHistory
88 mListView = (ListView)findViewById(R.id.list); in onCreate()
89 mListView.setEmptyView(findViewById(R.id.empty)); in onCreate()
134 mListView.setAdapter(mTransferAdapter); in onCreate()
135 mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); in onCreate()
136 mListView.setOnCreateContextMenuListener(this); in onCreate()
137 mListView.setOnItemClickListener(this); in onCreate()
/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/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/Settings/src/com/android/settings/applications/
DRunningProcessesView.java74 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/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java80 private ListView mListView; field in PermissionActivity
210 mListView = (ListView) findViewById(R.id.list); in bindUi()
212 mListView.setEmptyView(emptyView); in bindUi()
234 mListView.setAdapter(mContactsAdapter); in showContacts()
248 mListView.setAdapter(mEventsAdapter); in showEvents()
/packages/experimental/PermissionApp2/src/foo/bar/permission2/
DPermissionActivity.java79 private ListView mListView; field in PermissionActivity
187 mListView = (ListView) findViewById(R.id.list); in bindUi()
189 mListView.setEmptyView(emptyView); in bindUi()
216 mListView.setAdapter(mContactsAdapter); in showContacts()
235 mListView.setAdapter(mEventsAdapter); in showEvents()
/packages/apps/InCallUI/src/com/android/incallui/
DConferenceParticipantListAdapter.java181 private final ListView mListView; field in ConferenceParticipantListAdapter
224 mListView = listView; in ConferenceParticipantListAdapter()
297 int first = mListView.getFirstVisiblePosition(); in refreshView()
298 int last = mListView.getLastVisiblePosition(); in refreshView()
301 View view = mListView.getChildAt(position); in refreshView()
304 getView(position+first, view, mListView); in refreshView()

12