Home
last modified time | relevance | path

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

1234

/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersFragment.java72 getListView().addHeaderView(inflater.inflate(R.layout.blocked_number_header, null)); in onActivityCreated()
73 getListView().addFooterView(inflater.inflate(R.layout.blocked_number_footer, null)); in onActivityCreated()
87 blockedNumbersText = (TextView) getListView().findViewById(R.id.blocked_number_text_view); in onActivityCreated()
88 migratePromoView = getListView().findViewById(R.id.migrate_promo); in onActivityCreated()
89 getListView().findViewById(R.id.migrate_promo_allow_button).setOnClickListener(this); in onActivityCreated()
90 importSettings = getListView().findViewById(R.id.import_settings); in onActivityCreated()
92 getListView().findViewById(R.id.blocked_numbers_disabled_for_emergency); in onActivityCreated()
94 getListView().findViewById(R.id.import_button).setOnClickListener(this); in onActivityCreated()
95 getListView().findViewById(R.id.view_numbers_button).setOnClickListener(this); in onActivityCreated()
137 getListView().findViewById(R.id.import_button).setOnClickListener(null); in onResume()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePickerFragment.java85 getListView().getViewTreeObserver().addOnGlobalLayoutListener( in onViewCreated()
90 getListView().getViewTreeObserver().removeOnGlobalLayoutListener(this); in onViewCreated()
96 (LinearLayoutManager) getListView().getLayoutManager(); in onViewCreated()
104 getListView().post(() -> { in onViewCreated()
105 View itemView = getListView().findViewById( in onViewCreated()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java233 ListView listView = getListView(); in onActivityCreated()
383 int checkedCount = getListView().getCheckedItemCount(); in updateActionIconsVisibility()
393 int checkedCount = getListView().getCheckedItemCount(); in getSelectedItemSingle()
395 SparseBooleanArray checkStates = getListView().getCheckedItemPositions(); in getSelectedItemSingle()
398 Cursor cursor = (Cursor) getListView().getItemAtPosition(pos); in getSelectedItemSingle()
413 SparseBooleanArray checkStates = getListView().getCheckedItemPositions(); in getSelectedItemsRowId()
417 Cursor cursor = (Cursor) getListView().getItemAtPosition(pos); in getSelectedItemsRowId()
430 getListView().setLongClickable(hasAlertsInHistory()); in updateNoAlertTextVisibility()
432 getListView().setContentDescription(getString(R.string.no_cell_broadcasts)); in updateNoAlertTextVisibility()
555 if (getListView().getCheckedItemCount() > 0) { in getMultiChoiceModeListener()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageDashboardFragmentTest.java80 when(mFragment.getListView()).thenReturn(fakeRecyclerView); in test_loadWhenQuotaOffIfVolumeInfoNotLoaded()
94 when(mFragment.getListView()).thenReturn(fakeRecyclerView); in test_dontLoadWhenQuotaOffIfVolumeInfoNotLoaded()
111 when(mFragment.getListView()).thenReturn(fakeRecyclerView); in test_loadWhenQuotaOnAndVolumeInfoLoadedButAppsMissing()
128 when(mFragment.getListView()).thenReturn(fakeRecyclerView); in test_loadWhenQuotaOnAndAppsLoadedButVolumeInfoMissing()
143 when(mFragment.getListView()).thenReturn(fakeRecyclerView); in test_dontLoadWhenQuotaOnAndAllLoaded()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java95 getListView().setFocusable(false); in onCreateView()
103 if (getListView() != null) { in onStart()
110 getListView()); in onStart()
149 RecyclerView prefs = getListView(); in updateEmptyState()
167 RecyclerView.Adapter adapter = getListView().getAdapter(); in onBindPreferences()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java182 activity.mListFragment.getListView().createContextMenu(contextMenu); in testContextMenuForWatch()
319 activity.mListFragment.getListView().setItemChecked(0, true); in testOnContextItemSelectedDelete()
343 activity.mListFragment.getListView().setSelection(1); in testOnContextItemSelectedDeleteForWatch()
369 activity.mListFragment.getListView().setItemChecked(0, true); in testOnActionItemClickedDelete()
388 activity.mListFragment.getListView().setItemChecked(0, true); in testOnActionTitleOnMultiSelect()
389 activity.mListFragment.getListView().setItemChecked(1, true); in testOnActionTitleOnMultiSelect()
399 activity.mListFragment.getListView().setItemChecked(1, false); in testOnActionTitleOnMultiSelect()
406 activity.mListFragment.getListView().setItemChecked(1, true); in testOnActionTitleOnMultiSelect()
517 activity.mListFragment.getListView().setItemChecked(0, true); in testOnActionItemClickedDeleteOnMultiSelect()
518 activity.mListFragment.getListView().setItemChecked(2, true); in testOnActionItemClickedDeleteOnMultiSelect()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionsFrameFragment.java180 if (mIsLoading || getListView() == null || getListView().getAdapter() == null) return; in checkEmpty()
184 getListView().setVisibility(isEmpty && getListView().getAdapter().getItemCount() == 0 in checkEmpty()
/packages/apps/Settings/src/com/android/settings/core/
DInstrumentedPreferenceFragment.java76 getListView(), twoStatePreference); in onStart()
86 final RecyclerView recyclerView = getListView(); in onResume()
96 final RecyclerView recyclerView = getListView(); in onPause()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DConfigurationDialogFragment.java135 SparseBooleanArray selected = getListView().getCheckedItemPositions(); in getSelectedUxRestrictions()
148 getListView().setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); in onViewCreated()
149 getListView().setOnItemClickListener((parent, v, position, id) -> { in onViewCreated()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragmentTests.java107 final ListView lv = dialog.getListView(); in testMultipleAccounts_noSettingsForManagedProfile()
120 final ListView lv = dialog.getListView(); in testMultipleAccounts_noCurrentAccount()
142 final ListView lv = dialog.getListView(); in testMultipleAccounts_currentAccount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreferenceTest.java67 ListAdapter adapter = dialog.getListView().getAdapter(); in initialize_defaultEntries_shouldDisplayDefaultEntries()
86 ListAdapter adapter = dialog.getListView().getAdapter(); in setEntries_customEntries_shouldUpdateEntries()
111 ListAdapter adapter = dialog.getListView().getAdapter(); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/instrumentation/
DInstrumentedPreferenceFragment.java37 final RecyclerView recyclerView = getListView(); in onResume()
47 final RecyclerView recyclerView = getListView(); in onPause()
/packages/apps/Settings/src/com/android/settings/localepicker/
DAppLocalePickerActivity.java135 ViewCompat.setNestedScrollingEnabled(mAppLocaleDetails.getListView(), true); in onMenuItemActionCollapse()
136 ViewCompat.setNestedScrollingEnabled(mLocalePickerWithRegion.getListView(), true); in onMenuItemActionCollapse()
143 ViewCompat.setNestedScrollingEnabled(mAppLocaleDetails.getListView(), false); in onMenuItemActionExpand()
144 ViewCompat.setNestedScrollingEnabled(mLocalePickerWithRegion.getListView(), false); in onMenuItemActionExpand()
DLocalePickerWithRegionActivity.java121 ViewCompat.setNestedScrollingEnabled(mSelector.getListView(), false); in onMenuItemActionExpand()
128 ViewCompat.setNestedScrollingEnabled(mSelector.getListView(), true); in onMenuItemActionCollapse()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java95 setLayoutAnimation(getListView(), R.anim.slide_and_fade_in_layout_animation); in onCreateView()
166 final int index = position + getListView().getHeaderViewsCount() - getListView() in onItemLongClick()
168 if (index >= 0 && index < getListView().getChildCount()) { in onItemLongClick()
169 getListView().getChildAt(index).sendAccessibilityEvent(AccessibilityEvent in onItemLongClick()
DDefaultContactBrowseListFragment.java327 hideHeaderAndAddPadding(getContext(), getListView(), mAccountFilterContainer); in bindListHeader()
329 bindListHeaderCustom(getListView(), mAccountFilterContainer); in bindListHeader()
333 bindListHeader(getContext(), getListView(), mAccountFilterContainer, in bindListHeader()
336 hideHeaderAndAddPadding(getContext(), getListView(), mAccountFilterContainer); in bindListHeader()
382 if (getListView() != null) { in scrollToTop()
383 getListView().setSelection(0); in scrollToTop()
502 getListView().addHeaderView(headerContainer, null, false); in onCreateView()
DContactBrowseListFragment.java341 getListView().invalidateViews(); in setSelectedContactUri()
517 getListView().invalidateViews(); in checkSelection()
564 AutoScrollListView listView = (AutoScrollListView)getListView(); in requestSelectionToScreen()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterActivity.java132 View listView = getListView(frag); in onCreate()
341 private View getListView(Fragment fragment) { in getListView() method in SafetyCenterActivity
343 return ((PreferenceFragmentCompat) fragment).getListView(); in getListView()
349 return ((PreferenceFragmentCompat) dashboardFragment).getListView(); in getListView()
DPreferenceHighlightManager.kt103 fragment.getListView(), in highlightPreferenceIfNeeded()
112 currentRootAdapter = fragment.getListView()?.getAdapter() in registerObserverIfNeeded()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java394 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in addOrRemovePreferenceFocusedListener()
518 ((LeanbackPreferenceFragmentCompat) prefFragment).getListView(); in onPreferenceFocusedImpl()
1115 if (leanbackPreferenceFragment.getListView() == null) { in getInitialPreviewFragment()
1119 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in getInitialPreviewFragment()
1122 (PreferenceGroupAdapter) (leanbackPreferenceFragment.getListView().getAdapter()); in getInitialPreviewFragment()
1246 if (leanbackPreferenceFragment.getListView() != null in appendErrorToContentDescription()
1247 && leanbackPreferenceFragment.getListView().getAdapter() != null) { in appendErrorToContentDescription()
1248 leanbackPreferenceFragment.getListView().getAdapter().notifyDataSetChanged(); in appendErrorToContentDescription()
1271 if (leanbackPreferenceFragment.getListView() == null) { in getChosenPreference()
1275 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in getChosenPreference()
[all …]
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewControllerTest.java333 assertThat(popupWindow.getListView().getCount()).isEqualTo(2); in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity()
334 assertThat(((TextView) popupWindow.getListView().getChildAt(0)).getText()).isEqualTo( in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity()
336 assertThat(((TextView) popupWindow.getListView().getChildAt(1)).getText()).isEqualTo( in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity()
362 assertThat(popupWindow.getListView().getCount()).isEqualTo(1); in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu()
363 assertThat(((TextView) popupWindow.getListView().getChildAt(0)).getText()).isEqualTo( in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu()
394 assertThat(popupWindow.getListView().getCount()).isEqualTo(1); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
395 assertThat(((TextView) popupWindow.getListView().getChildAt(0)).getText()).isEqualTo( in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
/packages/apps/Settings/src/com/android/settings/development/storage/
DLeaseInfoListView.java76 getListView().addHeaderView(getHeaderView()); in onCreate()
77 getListView().addFooterView(getFooterView()); in onCreate()
78 getListView().setClickable(false); in onCreate()
/packages/services/Telephony/src/com/android/phone/
DADNList.java159 getListView().setFocusableInTouchMode(true); in setAdapter()
160 boolean gotfocus = getListView().requestFocus(); in setAdapter()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java226 LoadingViewController.handleLoadingContainer(loadingContainer, getListView(), in setLoading()
236 mCurrentRootAdapter = getListView().getAdapter(); in registerObserverIfNeeded()
258 mAdapter.requestHighlight(getView(), getListView(), mAppBarLayout); in highlightPreferenceIfNeeded()
482 RecyclerView view = getListView(); in onDetach()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DAppLaunchSettings.java289 if (dialog.getListView() != null) { in createVerifiedLinksDialog()
290 dialog.getListView().setTextDirection(View.TEXT_DIRECTION_LOCALE); in createVerifiedLinksDialog()
291 dialog.getListView().setEnabled(false); in createVerifiedLinksDialog()

1234