Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/print/
H A DPrintServiceSettingsFragment.java174 View emptyView = getEmptyView(); in updateEmptyView() local
176 if (emptyView != null) { in updateEmptyView()
178 emptyView = null; in updateEmptyView()
180 if (emptyView == null) { in updateEmptyView()
189 if (emptyView != null) { in updateEmptyView()
191 emptyView = null; in updateEmptyView()
193 if (emptyView == null) { in updateEmptyView()
200 if (emptyView != null) { in updateEmptyView()
202 emptyView = null; in updateEmptyView()
204 if (emptyView == null) { in updateEmptyView()
[all …]
H A DPrintSettingsFragment.java138 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
140 TextView textView = (TextView) emptyView.findViewById(R.id.message); in onViewCreated()
145 mAddNewServiceButton = (Button) emptyView.findViewById(R.id.add_new_service); in onViewCreated()
151 contentRoot.addView(emptyView); in onViewCreated()
152 setEmptyView(emptyView); in onViewCreated()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/list/
H A 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()
/aosp12/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java222 View emptyView = findViewById(com.android.internal.R.id.empty); in onContentChanged() local
229 if (emptyView != null) { in onContentChanged()
230 mList.setEmptyView(emptyView); in onContentChanged()
H A DListActivity.java244 View emptyView = findViewById(com.android.internal.R.id.empty); in onContentChanged() local
251 if (emptyView != null) { in onContentChanged()
252 mList.setEmptyView(emptyView); in onContentChanged()
/aosp12/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
H A DBarChartPreference.java247 final TextView emptyView = (TextView) holder.findViewById(R.id.empty_view); in setEmptyViewVisible() local
251 emptyView.setText(emptyTextRes); in setEmptyViewVisible()
253 emptyView.setVisibility(visible ? View.VISIBLE : View.GONE); in setEmptyViewVisible()
/aosp12/packages/apps/Settings/src/com/android/settings/localepicker/
H A DLocaleListEditor.java109 final TextView emptyView = getEmptyTextView(); in onResume() local
112 emptyView.setText(R.string.language_empty_list_user_restricted); in onResume()
113 emptyView.setVisibility(View.VISIBLE); in onResume()
117 emptyView.setVisibility(View.GONE); in onResume()
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DLoadingViewController.java43 public LoadingViewController(View loadingView, View contentView, @Nullable View emptyView) { in LoadingViewController() argument
46 mEmptyView = emptyView; in LoadingViewController()
/aosp12/packages/apps/Settings/src/com/android/settings/nfc/
H A DPaymentSettings.java78 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
80 ((ViewGroup) view.findViewById(android.R.id.list_container)).addView(emptyView); in onViewCreated()
/aosp12/frameworks/base/core/java/android/widget/
H A DAdapterView.java696 public void setEmptyView(View emptyView) { in setEmptyView() argument
697 mEmptyView = emptyView; in setEmptyView()
700 if (emptyView != null in setEmptyView()
701 && emptyView.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) { in setEmptyView()
702 emptyView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES); in setEmptyView()
H A DRemoteViews.java789 final View emptyView = root.findViewById(emptyViewId); in apply() local
790 if (emptyView == null) return; in apply()
792 adapterView.setEmptyView(emptyView); in apply()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/inputmethod/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/dashboard/
H A DRestrictedDashboardFragment.java211 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
212 return emptyView; in initEmptyTextView()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DRestrictedSettingsFragment.java217 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
218 return emptyView; in initEmptyTextView()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DRestrictedSettingsFragment.java215 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
216 return emptyView; in initEmptyTextView()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmClockFragment.kt110 val emptyView = v.findViewById<View>(R.id.alarms_empty_view) as TextView regex
112 emptyView.setCompoundDrawablesWithIntrinsicBounds(null, noAlarms, null, null)
113 mEmptyViewController = EmptyViewController(mMainLayout, mRecyclerView, emptyView)
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DAppEntitiesHeaderControllerTest.java215 final View emptyView = mAppEntitiesHeaderView.findViewById(R.id.empty_view); in apply_noAppEntitySet_shouldOnlyShowTitleAndEmptyView() local
222 assertThat(emptyView.getVisibility()).isEqualTo(View.VISIBLE); in apply_noAppEntitySet_shouldOnlyShowTitleAndEmptyView()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A 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()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
H A DManageApplicationsTest.java246 final View emptyView = mock(View.class); in onRebuildComplete_shouldHideLoadingView() local
248 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_shouldHideLoadingView()
285 final View emptyView = mock(View.class); in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
288 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactEntryListFragment.java794 View emptyView = mView.findViewById(android.R.id.empty);
795 if (emptyView != null) {
796 mListView.setEmptyView(emptyView);
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DSelectPrinterActivity.java416 View emptyView = findViewById(R.id.empty_print_state); in updateEmptyView() local
417 mListView.setEmptyView(emptyView); in updateEmptyView()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...