Home
last modified time | relevance | path

Searched refs:getListView (Results 1 – 25 of 88) 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/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.java93 getListView().setFocusable(false); in onCreateView()
101 if (getListView() != null) { in onStart()
108 getListView()); in onStart()
147 RecyclerView prefs = getListView(); in updateEmptyState()
165 RecyclerView.Adapter adapter = getListView().getAdapter(); in onBindPreferences()
/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/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/apps/Settings/src/com/android/settings/core/
DInstrumentedPreferenceFragment.java76 getListView(), (SwitchPreference) preference); in onStart()
86 final RecyclerView recyclerView = getListView(); in onResume()
96 final RecyclerView recyclerView = getListView(); in onPause()
/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/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java398 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in addOrRemovePreferenceFocusedListener()
528 ((LeanbackPreferenceFragmentCompat) prefFragment).getListView(); in onPreferenceFocusedImpl()
1119 if (leanbackPreferenceFragment.getListView() == null) { in getInitialPreviewFragment()
1123 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in getInitialPreviewFragment()
1126 (PreferenceGroupAdapter) (leanbackPreferenceFragment.getListView().getAdapter()); in getInitialPreviewFragment()
1250 if (leanbackPreferenceFragment.getListView() != null in appendErrorToContentDescription()
1251 && leanbackPreferenceFragment.getListView().getAdapter() != null) { in appendErrorToContentDescription()
1252 leanbackPreferenceFragment.getListView().getAdapter().notifyDataSetChanged(); in appendErrorToContentDescription()
1275 if (leanbackPreferenceFragment.getListView() == null) { in getChosenPreference()
1279 VerticalGridView listView = (VerticalGridView) leanbackPreferenceFragment.getListView(); in getChosenPreference()
[all …]
/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/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/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/Launcher3/src/com/android/launcher3/settings/
DSettingsActivity.java242 View listView = getListView(); in onViewCreated()
326 requestAccessibilityFocus(getListView()); in onResume()
341 RecyclerView list = getListView(); in createHighlighter()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java246 getListView().setItemAnimator(null); in onResume()
329 RecyclerView recyclerView = getListView(); in setBackPreferenceListAnimatorIfLoaded()
420 .setRecyclerView(getListView(), getSettingsLifecycle()) in addEntityHeader()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DSensorFragment.java184 if (getListView() instanceof VerticalGridView) { in selectPreference()
185 VerticalGridView listView = (VerticalGridView) getListView(); in selectPreference()
/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()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java126 final ListView listView = getListView(); in onViewCreated()
243 getListView().setAdapter(createAdapter()); in onLoadFinished()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java152 final ListView listView = getListView(); in onActivityCreated()
166 ListAdapter adapter = getListView().getAdapter(); in onResume()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoWithHeader.java49 .setRecyclerView(getListView(), getSettingsLifecycle()) in onActivityCreated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAlertDialogCompat.java81 Shadows.shadowOf(realAlertDialog.getListView()).performItemClick(index); in clickOnItem()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DQuickResponseActivity.kt53 getListView().setOnItemClickListener(this@QuickResponseActivity) in onCreate()

1234