Home
last modified time | relevance | path

Searched refs:identifierRes (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesHelper.java56 public final int identifierRes; field in EnergyModesHelper.EnergyMode
98 public EnergyMode(@StringRes int identifierRes, boolean ecoHighlighted, in EnergyMode() argument
117 this.identifierRes = identifierRes; in EnergyMode()
277 String identifier = mContext.getString(mode.identifierRes); in isEnergyModeEnabled()
284 public EnergyMode getEnergyMode(@StringRes int identifierRes) { in getEnergyMode() argument
286 if (energyMode.identifierRes == identifierRes) { in getEnergyMode()
298 if (mContext.getString(energyMode.identifierRes).equals(identifier)) { in getEnergyMode()
355 mContext.getString(mode.identifierRes), in getPolicy()
362 mContext.getString(mode.identifierRes), in getPolicy()
370 final String identifier = mContext.getString(mode.identifierRes); in getExemptPackages()
[all …]
DEnergyModesFragment.java88 final String key = getContext().getString(mode.identifierRes); in onResume()
98 radioPreference.setKey(getContext().getString(mode.identifierRes)); in createEnergyModeRadioPreference()
118 bundle.putInt(EXTRA_ENERGY_MODE_IDENTIFIER, mode.identifierRes); in createEnergyModeRadioPreference()
135 if (energyModeId != currentEnergyMode.identifierRes) { in onPreferenceTreeClick()
DEnergyModesContentProvider.java180 return getContext().getString(mode.identifierRes); in getModeIdentifier()
DEnergyModeConfirmationActivity.java159 args.putString(EXTRA_ENERGY_MODE_ID, context.getString(energyMode.identifierRes)); in newInstance()