Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/list/
DSmartDialSearchFragment.java87 if (mEmptyView != null && getActivity() != null) { in setupEmptyView()
89 mEmptyView.setImage(R.drawable.empty_contacts); in setupEmptyView()
90 mEmptyView.setActionLabel(R.string.permission_single_turn_on); in setupEmptyView()
91 mEmptyView.setDescription(R.string.permission_place_call); in setupEmptyView()
92 mEmptyView.setActionClickedListener(this); in setupEmptyView()
94 mEmptyView.setImage(EmptyContentView.NO_IMAGE); in setupEmptyView()
95 mEmptyView.setActionLabel(EmptyContentView.NO_LABEL); in setupEmptyView()
96 mEmptyView.setDescription(EmptyContentView.NO_LABEL); in setupEmptyView()
120 return mEmptyView != null && mEmptyView.isShowingContent(); in isShowingPermissionRequest()
DRegularSearchFragment.java87 if (mEmptyView != null && getActivity() != null) { in setupEmptyView()
89 mEmptyView.setImage(R.drawable.empty_contacts); in setupEmptyView()
90 mEmptyView.setActionLabel(R.string.permission_single_turn_on); in setupEmptyView()
91 mEmptyView.setDescription(R.string.permission_no_search); in setupEmptyView()
92 mEmptyView.setActionClickedListener(this); in setupEmptyView()
94 mEmptyView.setImage(EmptyContentView.NO_IMAGE); in setupEmptyView()
95 mEmptyView.setActionLabel(EmptyContentView.NO_LABEL); in setupEmptyView()
96 mEmptyView.setDescription(EmptyContentView.NO_LABEL); in setupEmptyView()
DSpeedDialFragment.java168 private EmptyContentView mEmptyView; field in SpeedDialFragment
213 mEmptyView.setDescription(R.string.speed_dial_empty); in onResume()
214 mEmptyView.setActionLabel(R.string.speed_dial_empty_add_favorite_action); in onResume()
216 mEmptyView.setDescription(R.string.permission_no_speeddial); in onResume()
217 mEmptyView.setActionLabel(R.string.permission_single_turn_on); in onResume()
239 mEmptyView = (EmptyContentView) mParentView.findViewById(R.id.empty_list_view); in onCreateView()
240 mEmptyView.setImage(R.drawable.empty_speed_dial); in onCreateView()
241 mEmptyView.setActionClickedListener(this); in onCreateView()
264 final int previousVisibility = mEmptyView.getVisibility(); in setEmptyViewVisibility()
273 mEmptyView.setVisibility(emptyViewVisibility); in setEmptyViewVisibility()
DSearchFragment.java85 protected EmptyContentView mEmptyView; field in SearchFragment
133 if (mEmptyView == null) { in onStart()
134 mEmptyView = new EmptyContentView(getActivity()); in onStart()
135 ((ViewGroup) getListView().getParent()).addView(mEmptyView); in onStart()
136 getListView().setEmptyView(mEmptyView); in onStart()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java88 private TextView mEmptyView; field in BluetoothSettings
137 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
138 getListView().setEmptyView(mEmptyView); in onActivityCreated()
139 mEmptyView.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in onActivityCreated()
176 mEmptyView.setText(R.string.bluetooth_empty_list_user_restricted); in onResume()
374 mEmptyView.setText(messageId); in updateContent()
382 if (mEmptyView == null) { in setOffMessage()
393 mEmptyView.setText(briefText, TextView.BufferType.SPANNABLE); in setOffMessage()
399 LinkifyUtils.linkify(mEmptyView, contentBuilder, new LinkifyUtils.OnClickListener() { in setOffMessage()
410 Spannable boldSpan = (Spannable) mEmptyView.getText(); in setOffMessage()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java49 TextView mEmptyView; field in MultiSelectGridFragment
105 mEmptyView = null; in onDestroyView()
182 if (mEmptyView == null) { in setEmptyText()
185 mEmptyView.setText(text); in setEmptyText()
187 mGrid.setEmptyView(mEmptyView); in setEmptyText()
285 mEmptyView = (TextView) empty; in ensureGrid()
301 if (mEmptyView != null) { in ensureGrid()
302 mGrid.setEmptyView(mEmptyView); in ensureGrid()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java140 private TextView mEmptyView; field in WifiSettings
282 mEmptyView = initEmptyView(); in onActivityCreated()
729 if (mEmptyView == null) { in setOffMessage()
745 mEmptyView.setText(briefText, BufferType.SPANNABLE); in setOffMessage()
752 LinkifyUtils.linkify(mEmptyView, contentBuilder, new LinkifyUtils.OnClickListener() { in setOffMessage()
763 Spannable boldSpan = (Spannable) mEmptyView.getText(); in setOffMessage()
771 if (mEmptyView != null) mEmptyView.setText(messageId); in addMessagePreference()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListFragment.java85 private TextView mEmptyView; field in GroupBrowseListFragment
113 mEmptyView = (TextView)mRootView.findViewById(R.id.empty); in onCreateView()
133 mListView.setEmptyView(mEmptyView); in onCreateView()
202 mEmptyView.setText(null);
217 mEmptyView.setText(R.string.noGroups); in bindGroupList()
DGroupDetailFragment.java107 private View mEmptyView; field in GroupDetailFragment
159 mEmptyView = mRootView.findViewById(android.R.id.empty); in onCreateView()
291 mMemberListView.setEmptyView(mEmptyView);
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileListFragment.java63 private TextView mEmptyView; field in ContactTileListFragment
91 mEmptyView = (TextView) listLayout.findViewById(R.id.contact_tile_list_empty); in inflateAndSetupView()
183 mEmptyView.setText(getEmptyStateText());
184 mListView.setEmptyView(mEmptyView);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationListFragment.java141 private ConversationListEmptyView mEmptyView; field in ConversationListFragment
182 mEmptyView.setVisibility(View.INVISIBLE); in showListView()
190 mEmptyView.setVisibility(View.INVISIBLE); in showSecurityHoldView()
199 mEmptyView.setupEmptyText(mFolder, mViewContext.searchQuery, in showEmptyView()
202 mEmptyView.setVisibility(View.VISIBLE); in showEmptyView()
210 mEmptyView.setVisibility(View.INVISIBLE); in showLoadingView()
509 mEmptyView = (ConversationListEmptyView) rootView.findViewById(R.id.empty_view); in onCreateView()
/packages/apps/Settings/src/com/android/settings/
DWifiCallingSettings.java58 private TextView mEmptyView; field in WifiCallingSettings
99 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
100 getListView().setEmptyView(mEmptyView); in onActivityCreated()
101 mEmptyView.setText(R.string.wifi_calling_off_explanation); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java101 private TextView mEmptyView; field in WifiDisplaySettings
146 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
147 mEmptyView.setText(R.string.wifi_display_no_devices_found); in onActivityCreated()
148 getListView().setEmptyView(mEmptyView); in onActivityCreated()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java221 private View mEmptyView; field in StaggeredGridView
1498 mEmptyView = emptyView;
1504 return mEmptyView;
1514 if (mEmptyView != null) {
1515 mEmptyView.setVisibility(View.VISIBLE);
1521 if (mEmptyView != null) {
1522 mEmptyView.setVisibility(View.GONE);
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java136 private View mEmptyView; field in ContactFragment
167 mEmptyView = view.findViewById(android.R.id.empty); in onCreateView()
305 mListView.setEmptyView(mEmptyView); in bindData()
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksPage.java96 View mEmptyView; field in BrowserBookmarksPage
391 mEmptyView = mRoot.findViewById(android.R.id.empty); in onCreateView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java126 private View mEmptyView; field in AlarmClockFragment
240 mEmptyView = v.findViewById(R.id.alarms_empty_view); in onCreateView()
271 mEmptyView.setVisibility(count == 0 ? View.VISIBLE : View.GONE); in onCreateView()