/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationListFragment.java | 117 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 …]
|
D | TwoPaneLayout.java | 113 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 …]
|
D | FolderListFragment.java | 113 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 …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListFragment.java | 123 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 …]
|
D | AccountFilterActivity.java | 48 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/ |
D | SimpleDayPickerFragment.java | 95 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 …]
|
D | MonthByWeekFragment.java | 158 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/ |
D | StickyHeaderListView.java | 62 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/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerListBaseFragment.java | 38 private PagedRecyclerView mListView; field in DialerListBaseFragment 44 mListView = view.findViewById(R.id.list_view); in onCreateView() 45 mListView.setLayoutManager(createLayoutManager()); in onCreateView() 46 mListView.setPaddingRelative(mListView.getPaddingStart(), getTopOffset(), in onCreateView() 47 mListView.getPaddingEnd(), mListView.getPaddingBottom()); in onCreateView() 69 return mListView; in getRecyclerView()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportFragment.java | 86 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/Messaging/src/com/android/messaging/ui/ |
D | VCardDetailFragment.java | 53 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()
|
D | CustomHeaderPagerListViewHolder.java | 38 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/TV/src/com/android/tv/menu/ |
D | ItemListRowView.java | 49 private HorizontalGridView mListView; field in ItemListRowView 71 mListView = (HorizontalGridView) getContentsView(); in onFinishInflate() 73 mListView.setItemAnimator(null); in onFinishInflate() 87 mListView.setOnChildSelectedListener(this); in onBind() 88 mListView.setAdapter(adapter); in onBind() 94 setInitialFocusView(mListView); in initialize() 95 mListView.setSelectedPosition(getAdapter().getInitialPosition()); in initialize() 99 return (ItemListAdapter<?>) mListView.getAdapter(); in getAdapter()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 434 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/ |
D | SideFragment.java | 58 private VerticalGridView mListView; field in SideFragment 101 mListView = (VerticalGridView) view.findViewById(R.id.side_panel_list); in onCreateView() 102 mListView.setRecycledViewPool(sRecycledViewPool); in onCreateView() 105 mListView.setAdapter(mAdapter); in onCreateView() 106 mListView.requestFocus(); in onCreateView() 140 mListView.swapAdapter(null, true); in onDestroyView() 151 mListView.setSelectedPosition(position); in setSelectedPosition() 155 return mListView.getSelectedPosition(); in getSelectedPosition()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/search/ |
D | ContactResultsFragmentTest.java | 62 private PagedRecyclerView mListView; field in ContactResultsFragmentTest 87 assertThat(mListView.findViewHolderForLayoutPosition(0)).isNull(); in testDisplaySearchResults_emptyResult() 124 mListView.findViewHolderForLayoutPosition(1).itemView.findViewById(R.id.contact_result) in testClickSearchResult_showContactDetailPage() 136 mListView = mContactResultsFragment.getView().findViewById(R.id.list_view); in setUpFragment() 138 mListView.layoutBothForTesting(0, 0, 100, 1000); in setUpFragment() 142 View childView = mListView.findViewHolderForLayoutPosition(position).itemView; in verifyChildAt()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 68 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/ |
D | DropShadowController.java | 57 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/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | LoadingSpinnerController.java | 24 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/ |
D | AppChooserActivity.java | 62 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/ |
D | ContactDetailsFragmentTest.java | 59 private PagedRecyclerView mListView; field in ContactDetailsFragmentTest 110 mListView = mContactDetailsFragment.getView().findViewById(R.id.list_view); in setUpFragment() 112 mListView.layoutBothForTesting(0, 0, 100, 1000); in setUpFragment() 119 View firstChild = mListView.findViewHolderForLayoutPosition(0).itemView; in verifyHeader() 129 View child = mListView.findViewHolderForLayoutPosition(position).itemView; in verifyPhoneNumber()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobSchedulerWrapper.java | 56 private ListView mListView; field in JobSchedulerWrapper 69 mListView = listView; in JobSchedulerWrapper() 74 mJobsListAdapter = new JobInfoRowArrayAdapter(mContext, mListView.getId(), mLastJobsList); in JobSchedulerWrapper() 75 mListView.setAdapter(mJobsListAdapter); in JobSchedulerWrapper() 185 int index = mListView.getFirstVisiblePosition(); in updateListView() 187 mListView.smoothScrollToPosition(index); in updateListView()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | LoadingSpinnerControllerTest.java | 40 @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/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | RequestRoleFragment.java | 477 private ListView mListView; field in RequestRoleFragment.Adapter 510 mListView = listView; in setListView() 570 mListView.setItemChecked(0, true); in restoreItemChecked() 583 mListView.setItemChecked(i, true); in restoreItemChecked() 593 mListView.setItemChecked(0, true); in updateItemChecked() 595 mListView.clearChoices(); in updateItemChecked() 607 mListView.setItemChecked(i, true); in updateItemChecked() 616 int position = mListView.getCheckedItemPosition(); in getCheckedItem() 710 : mListView.isItemChecked(position) in getView()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 109 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 …]
|