/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
WaitViewDrawerItem.java | 45 final ViewGroup emptyView; 47 emptyView = (ViewGroup) convertView; 49 emptyView = (ViewGroup) mInflater.inflate(R.layout.drawer_empty_view, parent, false); 51 return emptyView;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AdapterViewBehavior.java | 118 View emptyView = new View(adapterView.getContext()); 119 adapterView.setEmptyView(emptyView); 122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); 128 View emptyView = new View(adapterView.getContext()); 129 adapterView.setEmptyView(emptyView); 132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); 138 View emptyView = new View(adapterView.getContext()); 139 adapterView.setEmptyView(emptyView); 142 assertThat(emptyView.getVisibility(), is(View.GONE)); 149 View emptyView = new View(adapterView.getContext()) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
CustomHeaderPagerListViewHolder.java | 77 // We set the emptyView here instead of in create so that the initial load won't show 93 final ListEmptyView emptyView = (ListEmptyView) mView.findViewById(getEmptyViewResId()); 94 if (emptyView != null) { 95 emptyView.setTextHint(getEmptyViewTitleResId()); 96 emptyView.setImageHint(getEmptyViewImageResId()); 98 listView.setEmptyView(emptyView);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterViewTest.java | 166 ImageView emptyView = new ImageView(mActivity); 168 // If there is no adapter has been set, emptyView hasn't been set, there will be no 169 // emptyView return by getEmptyView(). 172 // If the adapter is 0 count, emptyView has been set, the emptyView should be returned by 173 // getEmptyView. EmptyView will be set to Visible. 176 emptyView.setVisibility(View.INVISIBLE); 177 assertEquals(View.INVISIBLE, emptyView.getVisibility()); 180 mAdapterView.setEmptyView(emptyView); 181 assertSame(emptyView, mAdapterView.getEmptyView()) [all...] |
/frameworks/base/core/java/android/app/ |
ExpandableListActivity.java | 218 View emptyView = findViewById(com.android.internal.R.id.empty); 225 if (emptyView != null) { 226 mList.setEmptyView(emptyView);
|
ListActivity.java | 240 View emptyView = findViewById(com.android.internal.R.id.empty); 247 if (emptyView != null) { 248 mList.setEmptyView(emptyView);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsRecyclerView.java | 56 public void setEmptyView(View emptyView) { 57 mEmptyView = emptyView;
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsRecyclerView.java | 56 public void setEmptyView(View emptyView) { 57 mEmptyView = emptyView;
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
AttractionsRecyclerView.java | 56 public void setEmptyView(View emptyView) { 57 mEmptyView = emptyView;
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 248 View emptyView = listView.getEmptyView(); 250 if (emptyView != null && emptyView.getId() != R.id.empty_print_state) { 251 contentRoot.removeView(emptyView); 252 emptyView = null; 254 if (emptyView == null) { 255 emptyView = getActivity().getLayoutInflater().inflate( 257 ImageView iconView = (ImageView) emptyView.findViewById(R.id.icon); 259 TextView textView = (TextView) emptyView.findViewById(R.id.message); 261 contentRoot.addView(emptyView); [all...] |
PrintSettingsFragment.java | 177 View emptyView = getActivity().getLayoutInflater().inflate( 179 TextView textView = (TextView) emptyView.findViewById(R.id.message); 184 mAddNewServiceButton = (Button) emptyView.findViewById(R.id.add_new_service); 190 contentRoot.addView(emptyView); 191 getListView().setEmptyView(emptyView);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentSettings.java | 56 View emptyView = getActivity().getLayoutInflater().inflate( 58 contentRoot.addView(emptyView); 59 getListView().setEmptyView(emptyView);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
PermissionsFrameFragment.java | 138 final TextView emptyView = (TextView) getView().findViewById(R.id.no_permissions); 139 onSetEmptyText(emptyView); 159 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); 168 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 124 final TextView emptyView = 126 listView.setEmptyView(emptyView);
|
/packages/apps/Settings/src/com/android/settings/ |
ScreenPinningSettings.java | 69 View emptyView = LayoutInflater.from(activity) 71 ((ViewGroup) getListView().getParent()).addView(emptyView); 72 getListView().setEmptyView(emptyView);
|
UserDictionarySettings.java | 110 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); 111 emptyView.setText(R.string.user_dict_settings_empty_text); 116 listView.setEmptyView(emptyView);
|
DreamSettings.java | 126 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); 127 emptyView.setText(R.string.screensaver_settings_disabled_prompt); 128 listView.setEmptyView(emptyView);
|
TetherSettings.java | 288 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); 289 getListView().setEmptyView(emptyView); 290 if (emptyView != null) { 291 emptyView.setText(R.string.tethering_settings_not_available);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 149 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); 150 emptyView.setText(R.string.user_dict_settings_empty_text); 155 listView.setEmptyView(emptyView);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 165 TextView emptyView = (TextView) getView().findViewById(android.R.id.empty); 166 getListView().setEmptyView(emptyView); 167 if (emptyView != null) { 168 emptyView.setText(R.string.vpn_settings_not_available);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAdapterView.java | 50 public void setEmptyView(View emptyView) { 51 this.mEmptyView = emptyView;
|
/packages/experimental/PermissionApp/src/foo/bar/permission/ |
PermissionActivity.java | 211 View emptyView = findViewById(R.id.empty_state); 212 mListView.setEmptyView(emptyView);
|
/packages/experimental/PermissionApp2/src/foo/bar/permission2/ |
PermissionActivity.java | 188 View emptyView = findViewById(R.id.empty_state); 189 mListView.setEmptyView(emptyView);
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 669 public void setEmptyView(View emptyView) { 670 mEmptyView = emptyView; 673 if (emptyView != null 674 && emptyView.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) { 675 emptyView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactEntryListFragment.java | 743 View emptyView = mView.findViewById(android.R.id.empty); 744 if (emptyView != null) { 745 mListView.setEmptyView(emptyView);
|