Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DLoadingFrameLayout.java61 private ViewContainer mEmptyView; field in LoadingFrameLayout
104 mEmptyView = new ViewContainer(State.EMPTY, emptyLayoutId, R.id.loading_info_icon, in setEmptyView()
204 mEmptyView.setIcon(iconResId); in showEmpty()
205 mEmptyView.setMessage(messageResId); in showEmpty()
206 mEmptyView.setSecondaryMessage(secondaryMessageResId); in showEmpty()
207 mEmptyView.setActionButtonText(actionButtonTextResId); in showEmpty()
208 mEmptyView.setActionButtonClickListener(actionButtonOnClickListener); in showEmpty()
209 mEmptyView.setActionButtonVisible(showActionButton); in showEmpty()
237 mEmptyView.setVisibilityFromState(state); in switchTo()
/packages/apps/TV/src/com/android/tv/ui/
DTvTransitionManager.java62 private final FrameLayout mEmptyView; field in TvTransitionManager
90 mEmptyView = in TvTransitionManager()
95 mCurrentSceneView = mEmptyView; in TvTransitionManager()
104 mEmptyView.setAlpha(1.0f); in goToEmptyScene()
111 mEmptyView.setAlpha(0); in goToEmptyScene()
175 mEmptyScene = new Scene(mSceneContainer, (View) mEmptyView); in initIfNeeded()
179 (FrameLayout.LayoutParams) mEmptyView.getLayoutParams(); in initIfNeeded()
186 mEmptyView.setLayoutParams(emptySceneLayoutParams); in initIfNeeded()
187 setCurrentScene(mEmptyScene, mEmptyView); in initIfNeeded()
/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/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java47 private TextView mEmptyView; field in PermissionsFrameFragment
80 mEmptyView = mPrefsView.findViewById(R.id.no_permissions); in onCreateView()
81 mEmptyView.setText(getEmptyViewString()); in onCreateView()
147 if (mEmptyView != null && prefs != null) { in updateEmptyState()
149 mEmptyView.setVisibility(View.GONE); in updateEmptyState()
152 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java117 private View mEmptyView; field in SettingsPreferenceFragment
305 if (mEmptyView == null) return; in updateEmptyView()
311 mEmptyView.setVisibility(show ? View.VISIBLE : View.GONE); in updateEmptyView()
313 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyView()
318 if (mEmptyView != null) { in setEmptyView()
319 mEmptyView.setVisibility(View.GONE); in setEmptyView()
321 mEmptyView = v; in setEmptyView()
326 return mEmptyView; in getEmptyView()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java116 private View mEmptyView; field in SettingsPreferenceFragment
317 if (mEmptyView == null) return; in updateEmptyView()
323 mEmptyView.setVisibility(show ? View.VISIBLE : View.GONE); in updateEmptyView()
325 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyView()
330 if (mEmptyView != null) { in setEmptyView()
331 mEmptyView.setVisibility(View.GONE); in setEmptyView()
333 mEmptyView = v; in setEmptyView()
338 return mEmptyView; in getEmptyView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java67 private View mEmptyView; field in SettingsPreferenceFragmentTest
78 mEmptyView = new View(mContext); in setUp()
79 ReflectionHelpers.setField(mFragment, "mEmptyView", mEmptyView); in setUp()
140 assertThat(mEmptyView.getVisibility()).isEqualTo(View.VISIBLE); in testUpdateEmptyView_containerInvisible_emptyViewVisible()
149 assertThat(mEmptyView.getVisibility()).isEqualTo(View.GONE); in testUpdateEmptyView_containerNull_emptyViewGone()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.java39 private final View mEmptyView; field in EmptyViewController
51 mEmptyView = emptyView; in EmptyViewController()
79 mEmptyView.setVisibility(mIsEmpty ? View.VISIBLE : View.GONE); in setEmpty()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettingsForSub.java92 private TextView mEmptyView; field in WifiCallingSettingsForSub
178 mEmptyView = getView().findViewById(android.R.id.empty); in onActivityCreated()
179 setEmptyView(mEmptyView); in onActivityCreated()
183 mEmptyView.setText(emptyViewText); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java93 private TextView mEmptyView; field in WifiCallingSettingsForSub
184 mEmptyView = getView().findViewById(android.R.id.empty); in onActivityCreated()
185 setEmptyView(mEmptyView); in onActivityCreated()
189 mEmptyView.setText(emptyViewText); in onActivityCreated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java84 private TextView mEmptyView; field in WifiCallingSettingsForSubTest
125 mEmptyView = new TextView(mContext); in setUp()
126 doReturn(mEmptyView).when(mView).findViewById(android.R.id.empty); in setUp()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java107 private TextView mEmptyView; field in WifiDisplaySettings
153 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
154 mEmptyView.setText(R.string.wifi_display_no_devices_found); in onActivityCreated()
155 setEmptyView(mEmptyView); in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java111 private TextView mEmptyView; field in WifiDisplaySettings
156 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
157 mEmptyView.setText(R.string.wifi_display_no_devices_found); in onActivityCreated()
158 setEmptyView(mEmptyView); in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java232 private View mEmptyView; field in ManageApplications
339 mEmptyView = mListContainer.findViewById(android.R.id.empty); in onCreateView()
1206 mManageApplications.mEmptyView.setVisibility(View.VISIBLE); in onRebuildComplete()
1208 mManageApplications.mEmptyView.setVisibility(View.GONE); in onRebuildComplete()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java258 private View mEmptyView; field in ManageApplications
404 mEmptyView = mListContainer.findViewById(android.R.id.empty); in onCreateView()
1300 mManageApplications.mEmptyView.setVisibility(View.VISIBLE); in onRebuildComplete()
1302 mManageApplications.mEmptyView.setVisibility(View.GONE); in onRebuildComplete()