Searched refs:identifierRes (Results 1 – 4 of 4) sorted by relevance
56 public final int identifierRes; field in EnergyModesHelper.EnergyMode98 public EnergyMode(@StringRes int identifierRes, boolean ecoHighlighted, in EnergyMode() argument117 this.identifierRes = identifierRes; in EnergyMode()277 String identifier = mContext.getString(mode.identifierRes); in isEnergyModeEnabled()284 public EnergyMode getEnergyMode(@StringRes int identifierRes) { in getEnergyMode() argument286 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 …]
88 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()
180 return getContext().getString(mode.identifierRes); in getModeIdentifier()
159 args.putString(EXTRA_ENERGY_MODE_ID, context.getString(energyMode.identifierRes)); in newInstance()