Home
last modified time | relevance | path

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

12

/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.java139 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
141 TextView textView = (TextView) emptyView.findViewById(R.id.message); in onViewCreated()
146 mAddNewServiceButton = (Button) emptyView.findViewById(R.id.add_new_service); in onViewCreated()
152 contentRoot.addView(emptyView); in onViewCreated()
153 setEmptyView(emptyView); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java139 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
141 TextView textView = (TextView) emptyView.findViewById(R.id.message); in onViewCreated()
146 mAddNewServiceButton = (Button) emptyView.findViewById(R.id.add_new_service); in onViewCreated()
152 contentRoot.addView(emptyView); in onViewCreated()
153 setEmptyView(emptyView); in onViewCreated()
/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/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/UnifiedEmail/src/com/android/mail/drawer/
DWaitViewDrawerItem.java45 final ViewGroup emptyView; in getView() local
47 emptyView = (ViewGroup) convertView; in getView()
49 emptyView = (ViewGroup) mInflater.inflate(R.layout.drawer_empty_view, parent, false); in getView()
51 return emptyView; in getView()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java150 final TextView emptyView = (TextView) getView().findViewById(R.id.no_permissions); in onCreateAdapter() local
151 emptyView.setText(R.string.no_permissions); in onCreateAdapter()
152 onSetEmptyText(emptyView); in onCreateAdapter()
172 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter()
182 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.java48 public EmptyViewController(ViewGroup mainLayout, View contentView, View emptyView) { in EmptyViewController() argument
51 mEmptyView = emptyView; in EmptyViewController()
56 .addTarget(emptyView) in EmptyViewController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleListEditor.java99 final TextView emptyView = getEmptyTextView(); in onResume() local
102 emptyView.setText(R.string.language_empty_list_user_restricted); in onResume()
103 emptyView.setVisibility(View.VISIBLE); in onResume()
107 emptyView.setVisibility(View.GONE); in onResume()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleListEditor.java99 final TextView emptyView = getEmptyTextView(); in onResume() local
102 emptyView.setText(R.string.language_empty_list_user_restricted); in onResume()
103 emptyView.setVisibility(View.VISIBLE); in onResume()
107 emptyView.setVisibility(View.GONE); in onResume()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentSettings.java78 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
80 contentRoot.addView(emptyView); in onViewCreated()
81 setEmptyView(emptyView); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentSettings.java78 View emptyView = getActivity().getLayoutInflater().inflate( in onViewCreated() local
80 contentRoot.addView(emptyView); in onViewCreated()
81 setEmptyView(emptyView); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/security/
DScreenPinningSettings.java91 View emptyView = LayoutInflater.from(getContext()) in onViewCreated() local
93 parent.addView(emptyView); in onViewCreated()
94 setEmptyView(emptyView); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DScreenPinningSettings.java91 View emptyView = LayoutInflater.from(getContext()) in onViewCreated() local
93 parent.addView(emptyView); in onViewCreated()
94 setEmptyView(emptyView); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionarySettings.java122 TextView emptyView = getView().findViewById(android.R.id.empty); in onViewCreated() local
123 emptyView.setText(R.string.user_dict_settings_empty_text); in onViewCreated()
127 listView.setEmptyView(emptyView); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java122 TextView emptyView = getView().findViewById(android.R.id.empty); in onViewCreated() local
123 emptyView.setText(R.string.user_dict_settings_empty_text); in onViewCreated()
127 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/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java131 final TextView emptyView = (TextView) v.findViewById(R.id.alarms_empty_view); in onCreateView() local
133 emptyView.setCompoundDrawablesWithIntrinsicBounds(null, noAlarms, null, null); in onCreateView()
134 mEmptyViewController = new EmptyViewController(mMainLayout, mRecyclerView, emptyView); in onCreateView()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsEditQuickResponsesFragment.java124 final TextView emptyView = in onCreateView() local
126 listView.setEmptyView(emptyView); in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java256 final View emptyView = mock(View.class); in onRebuildComplete_shouldHideLoadingView() local
258 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_shouldHideLoadingView()
296 final View emptyView = mock(View.class); in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
298 ReflectionHelpers.setField(mFragment, "mEmptyView", emptyView); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DRestrictedDashboardFragment.java211 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
212 return emptyView; in initEmptyTextView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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/
DRestrictedSettingsFragment.java217 TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty); in initEmptyTextView() local
218 return emptyView; in initEmptyTextView()

12