Home
last modified time | relevance | path

Searched refs:emptyView (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java175 View emptyView = getEmptyView(); in updateEmptyView() local
177 if (emptyView != null) { in updateEmptyView()
178 contentRoot.removeView(emptyView); in updateEmptyView()
179 emptyView = null; in updateEmptyView()
181 if (emptyView == null) { in updateEmptyView()
182 emptyView = getActivity().getLayoutInflater().inflate( in updateEmptyView()
184 TextView textView = (TextView) emptyView.findViewById(R.id.message); in updateEmptyView()
186 contentRoot.addView(emptyView); in updateEmptyView()
187 setEmptyView(emptyView); in updateEmptyView()
190 if (emptyView != null) { in updateEmptyView()
[all …]
DPrintSettingsFragment.java175 View emptyView = getActivity().getLayoutInflater().inflate( in setupEmptyViews() local
177 TextView textView = (TextView) emptyView.findViewById(R.id.message); in setupEmptyViews()
182 mAddNewServiceButton = (Button) emptyView.findViewById(R.id.add_new_service); in setupEmptyViews()
188 contentRoot.addView(emptyView); in setupEmptyViews()
189 setEmptyView(emptyView); in setupEmptyViews()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCustomHeaderPagerListViewHolder.java93 final ListEmptyView emptyView = (ListEmptyView) mView.findViewById(getEmptyViewResId()); in maybeSetEmptyView() local
94 if (emptyView != null) { in maybeSetEmptyView()
95 emptyView.setTextHint(getEmptyViewTitleResId()); in maybeSetEmptyView()
96 emptyView.setImageHint(getEmptyViewImageResId()); in maybeSetEmptyView()
98 listView.setEmptyView(emptyView); in maybeSetEmptyView()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DOldSpeedDialFragment.java94 private EmptyContentView emptyView; field in OldSpeedDialFragment
124 emptyView.setDescription(R.string.speed_dial_empty); in onResume()
125 emptyView.setActionLabel(R.string.speed_dial_empty_add_favorite_action); in onResume()
127 emptyView.setDescription(R.string.permission_no_speeddial); in onResume()
128 emptyView.setActionLabel(R.string.permission_single_turn_on); in onResume()
148 emptyView = (EmptyContentView) parentView.findViewById(R.id.empty_list_view); in onCreateView()
149 emptyView.setImage(R.drawable.empty_speed_dial); in onCreateView()
150 emptyView.setActionClickedListener(this); in onCreateView()
181 final int previousVisibility = emptyView.getVisibility(); in setEmptyViewVisibility()
189 emptyView.setVisibility(emptyViewVisibility); in setEmptyViewVisibility()
/packages/apps/Settings/src/com/android/settings/wifi/
DConfigureWifiSettings.java102 final TextView emptyView = getActivity().findViewById(android.R.id.empty); in onViewCreated() local
103 if (emptyView != null) { in onViewCreated()
104 emptyView.setVisibility(View.VISIBLE); in onViewCreated()
105 emptyView.setText(R.string.wifi_empty_list_user_restricted); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/widget/
DLoadingViewController.java43 public LoadingViewController(View loadingView, View contentView, @Nullable View emptyView) { in LoadingViewController() argument
46 mEmptyView = emptyView; in LoadingViewController()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentSettings.java89 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
91 ((ViewGroup) view.findViewById(android.R.id.list_container)).addView(emptyView); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java123 TextView emptyView = getView().findViewById(android.R.id.empty); in onViewCreated() local
124 emptyView.setText(R.string.user_dict_settings_empty_text); in onViewCreated()
128 listView.setEmptyView(emptyView); in onViewCreated()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java149 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated() local
150 emptyView.setText(R.string.user_dict_settings_empty_text); in onActivityCreated()
155 listView.setEmptyView(emptyView); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/
DRestrictedSettingsFragment.java217 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
218 return emptyView; in initEmptyTextView()
/packages/apps/Settings/src/com/android/settings/dashboard/
DRestrictedDashboardFragment.java211 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
212 return emptyView; in initEmptyTextView()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleListEditor.java145 final TextView emptyView = getEmptyTextView(); in onResume() local
148 emptyView.setText(R.string.language_empty_list_user_restricted); in onResume()
149 emptyView.setVisibility(View.VISIBLE); in onResume()
153 emptyView.setVisibility(View.GONE); in onResume()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRestrictedSettingsFragment.java215 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
216 return emptyView; in initEmptyTextView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt110 val emptyView = v.findViewById<View>(R.id.alarms_empty_view) as TextView in onCreateView() constant
112 emptyView.setCompoundDrawablesWithIntrinsicBounds(null, noAlarms, null, null) in onCreateView()
113 mEmptyViewController = EmptyViewController(mMainLayout, mRecyclerView, emptyView) in onCreateView()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java441 View emptyView = findViewById(com.android.internal.R.id.empty); in doCreate() local
442 if (emptyView != null) { in doCreate()
443 mListView.setEmptyView(emptyView); in doCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java253 final View emptyView = mock(View.class); in onRebuildComplete_shouldHideLoadingView() local
255 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_shouldHideLoadingView()
292 final View emptyView = mock(View.class); in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
295 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java794 View emptyView = mView.findViewById(android.R.id.empty);
795 if (emptyView != null) {
796 mListView.setEmptyView(emptyView);