Searched refs:mUnit (Results 1 – 5 of 5) sorted by relevance
41 private MeasureUnit mUnit; field in TemperatureData45 this.mUnit = unit; in TemperatureData()90 return mUnit; in getUnit()95 return "TemperatureData{" + "value=" + mValue + ", unit=" + mUnit + '}'; in toString()103 if (mUnit == MeasureUnit.CELSIUS) { in convertToFahrenheit()105 mUnit = MeasureUnit.FAHRENHEIT; in convertToFahrenheit()118 if (mUnit == MeasureUnit.FAHRENHEIT) { in convertToCelsius()120 mUnit = MeasureUnit.CELSIUS; in convertToCelsius()131 @NonNull private MeasureUnit mUnit = MeasureUnit.CELSIUS; field in TemperatureData.Builder133 private Builder(float mValue, @NonNull MeasureUnit mUnit) { in Builder() argument[all …]
49 private MeasureUnit mUnit; field in TemperatureViewModel122 if (mUnit == newMeasureUnit) { in handleUnitChange()129 if (mUnit == MeasureUnit.FAHRENHEIT) { in handleUnitChange()138 mUnit = newMeasureUnit; in handleUnitChange()147 if (mUnit == null) { in handleValueChange()148 mUnit = MeasureUnit.CELSIUS; in handleValueChange()152 if (mUnit != MeasureUnit.CELSIUS) { in handleValueChange()
47 public final int mUnit; field in SmsReleaseStorage.Duration51 mUnit = unit; in Duration()93 switch (duration.mUnit) { in getMessageRetainingDurationString()105 "SmsAutoDelete: invalid duration unit " + duration.mUnit); in getMessageRetainingDurationString()120 switch (duration.mUnit) { in durationToTimeInMillis()
55 holder.setFields(wrapper.mName, "", wrapper.mNumber + " " + wrapper.mUnit, false); in onBindViewHolder()78 private String mUnit; field in LiveDataAdapter.SensorDataWrapper83 this.mUnit = unit; in SensorDataWrapper()89 this.mUnit = unit; in SensorDataWrapper()
30 private final TimeUnit mUnit; field in SyncCallbackTimeoutException49 mUnit = unit; in SyncCallbackTimeoutException()64 return mUnit; in getUnit()