Searched refs:Sensors (Results 1 – 5 of 5) sorted by relevance
25 import android.car.cluster.sensors.Sensors;110 Sensors sensors = Sensors.getInstance(); in registerCarPropertiesListener()132 for (Sensor<?> sensorId : Sensors.getInstance()134 if (sensorId.mAreaId == Sensors.GLOBAL_AREA_ID143 for (Sensor<?> sensorId : Sensors.getInstance().getSensorsForPropertyId(239 return Transformations.map(getSensor(Sensors.SENSOR_FUEL), (fuelValue) -> { in getFuelLevel()240 Float fuelCapacityValue = getSensorValue(Sensors.SENSOR_FUEL_CAPACITY); in getFuelLevel()258 return Transformations.map(getSensor(Sensors.SENSOR_RPM), (rpmValue) -> { in getRPM()267 return Transformations.map(getSensor(Sensors.SENSOR_SPEED), (speedValue) -> {276 return Transformations.map(getSensor(Sensors.SENSOR_FUEL_RANGE), (rangeValue) -> {
27 import android.car.cluster.sensors.Sensors;105 private Map<Sensors.Gear, View> mGearsToIcon = new HashMap<>();195 registerGear(findViewById(R.id.gear_parked), Sensors.Gear.PARK); in onCreate()196 registerGear(findViewById(R.id.gear_reverse), Sensors.Gear.REVERSE); in onCreate()197 registerGear(findViewById(R.id.gear_neutral), Sensors.Gear.NEUTRAL); in onCreate()198 registerGear(findViewById(R.id.gear_drive), Sensors.Gear.DRIVE); in onCreate()224 mClusterViewModel.getSensor(Sensors.SENSOR_GEAR).observe(this, this::updateSelectedGear); in onCreate()463 private void registerGear(View view, Sensors.Gear gear) { in registerGear()467 private void updateSelectedGear(Sensors.Gear gear) { in updateSelectedGear()468 for (Map.Entry<Sensors.Gear, View> entry : mGearsToIcon.entrySet()) { in updateSelectedGear()
33 public class Sensors { class37 private static Sensors sInstance;105 public static Sensors getInstance() { in getInstance()107 sInstance = new Sensors(); in getInstance()112 private Sensors() { in Sensors() method in Sensors
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...