Home
last modified time | relevance | path

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

/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/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/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/packageinstaller/permission/ui/handheld/
DPermissionsFrameFragment.java48 private TextView mEmptyView; field in PermissionsFrameFragment
80 mEmptyView = mPrefsView.findViewById(R.id.no_permissions); in onCreateView()
81 mEmptyView.setText(getEmptyViewString()); in onCreateView()
146 if (mEmptyView != null && prefs != null) { in updateEmptyState()
148 mEmptyView.setVisibility(View.GONE); in updateEmptyState()
151 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyState()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java121 private View mEmptyView; field in SettingsPreferenceFragment
321 if (mEmptyView == null) return; in updateEmptyView()
328 mEmptyView.setVisibility(show ? View.VISIBLE : View.GONE); in updateEmptyView()
330 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyView()
335 if (mEmptyView != null) { in setEmptyView()
336 mEmptyView.setVisibility(View.GONE); in setEmptyView()
338 mEmptyView = v; in setEmptyView()
343 return mEmptyView; in getEmptyView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java121 private View mEmptyView; field in SettingsPreferenceFragment
309 if (mEmptyView == null) return; in updateEmptyView()
316 mEmptyView.setVisibility(show ? View.VISIBLE : View.GONE); in updateEmptyView()
318 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyView()
323 if (mEmptyView != null) { in setEmptyView()
324 mEmptyView.setVisibility(View.GONE); in setEmptyView()
326 mEmptyView = v; in setEmptyView()
331 return mEmptyView; in getEmptyView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java64 private View mEmptyView; field in SettingsPreferenceFragmentTest
75 mEmptyView = new View(mContext); in setUp()
76 ReflectionHelpers.setField(mFragment, "mEmptyView", mEmptyView); in setUp()
137 assertThat(mEmptyView.getVisibility()).isEqualTo(View.VISIBLE); in testUpdateEmptyView_containerInvisible_emptyViewVisible()
146 assertThat(mEmptyView.getVisibility()).isEqualTo(View.GONE); in testUpdateEmptyView_containerNull_emptyViewGone()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt37 private val mEmptyView: View constant in com.android.deskclock.widget.EmptyViewController
47 .addTarget(mEmptyView)
70 mEmptyView.visibility = if (mIsEmpty) View.VISIBLE else View.GONE in setEmpty()
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/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java153 private View mEmptyView; field in IconRecentsView
261 mEmptyView = findViewById(R.id.recent_task_empty_view); in onFinishInflate()
551 if (mShowingContentView != mEmptyView && taskListSize == 0) { in updateContentViewVisibility()
552 mShowingContentView = mEmptyView; in updateContentViewVisibility()
553 crossfadeViews(mEmptyView, mContentView); in updateContentViewVisibility()
557 crossfadeViews(mContentView, mEmptyView); in updateContentViewVisibility()
/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/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/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java111 private TextView mEmptyView; field in WifiDisplaySettings
157 mEmptyView = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated()
158 mEmptyView.setText(R.string.wifi_display_no_devices_found); in onActivityCreated()
159 setEmptyView(mEmptyView); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java238 private View mEmptyView; field in ManageApplications
347 mEmptyView = mListContainer.findViewById(android.R.id.empty); in onCreateView()
1220 mManageApplications.mEmptyView.setVisibility(View.VISIBLE); in onRebuildComplete()
1222 mManageApplications.mEmptyView.setVisibility(View.GONE); in onRebuildComplete()
/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()