Home
last modified time | relevance | path

Searched refs:mNoDeviceFoundPreference (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProgressCategory.java33 private Preference mNoDeviceFoundPreference; field in ProgressCategory
67 (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference)); in onBindViewHolder()
72 removePreference(mNoDeviceFoundPreference); in onBindViewHolder()
77 if (mNoDeviceFoundPreference == null) { in onBindViewHolder()
78 mNoDeviceFoundPreference = new Preference(getContext()); in onBindViewHolder()
79 mNoDeviceFoundPreference.setLayoutResource(R.layout.preference_empty_list); in onBindViewHolder()
80 mNoDeviceFoundPreference.setTitle(mEmptyTextRes); in onBindViewHolder()
81 mNoDeviceFoundPreference.setSelectable(false); in onBindViewHolder()
83 addPreference(mNoDeviceFoundPreference); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/
DProgressCategory.java33 private Preference mNoDeviceFoundPreference; field in ProgressCategory
67 (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference)); in onBindViewHolder()
72 removePreference(mNoDeviceFoundPreference); in onBindViewHolder()
77 if (mNoDeviceFoundPreference == null) { in onBindViewHolder()
78 mNoDeviceFoundPreference = new Preference(getContext()); in onBindViewHolder()
79 mNoDeviceFoundPreference.setLayoutResource(R.layout.preference_empty_list); in onBindViewHolder()
80 mNoDeviceFoundPreference.setTitle(mEmptyTextRes); in onBindViewHolder()
81 mNoDeviceFoundPreference.setSelectable(false); in onBindViewHolder()
83 addPreference(mNoDeviceFoundPreference); in onBindViewHolder()