Search in sources :

Example 6 with BatteryConfig

use of nodomain.freeyourgadget.gadgetbridge.model.BatteryConfig in project Gadgetbridge by Freeyourgadget.

the class Ear1Coordinator method getBatteryConfig.

@Override
public BatteryConfig[] getBatteryConfig() {
    BatteryConfig battery1 = new BatteryConfig(0, R.drawable.ic_tws_case, R.string.battery_case);
    BatteryConfig battery2 = new BatteryConfig(1, R.drawable.ic_nothing_ear_l, R.string.left_earbud);
    BatteryConfig battery3 = new BatteryConfig(2, R.drawable.ic_nothing_ear_r, R.string.right_earbud);
    return new BatteryConfig[] { battery1, battery2, battery3 };
}
Also used : BatteryConfig(nodomain.freeyourgadget.gadgetbridge.model.BatteryConfig)

Example 7 with BatteryConfig

use of nodomain.freeyourgadget.gadgetbridge.model.BatteryConfig in project Gadgetbridge by Freeyourgadget.

the class GalaxyBudsDeviceCoordinator method getBatteryConfig.

@Override
public BatteryConfig[] getBatteryConfig() {
    BatteryConfig battery1 = new BatteryConfig(0, R.drawable.ic_galaxy_buds_l, R.string.left_earbud);
    BatteryConfig battery2 = new BatteryConfig(1, R.drawable.ic_galaxy_buds_r, R.string.right_earbud);
    return new BatteryConfig[] { battery1, battery2 };
}
Also used : BatteryConfig(nodomain.freeyourgadget.gadgetbridge.model.BatteryConfig)

Aggregations

BatteryConfig (nodomain.freeyourgadget.gadgetbridge.model.BatteryConfig)7 DeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.DeviceCoordinator)2 GBDevice (nodomain.freeyourgadget.gadgetbridge.impl.GBDevice)2 DatePickerDialog (android.app.DatePickerDialog)1 Context (android.content.Context)1 Intent (android.content.Intent)1 Bundle (android.os.Bundle)1 View (android.view.View)1 DatePicker (android.widget.DatePicker)1 ImageView (android.widget.ImageView)1 LinearLayout (android.widget.LinearLayout)1 SeekBar (android.widget.SeekBar)1 TextView (android.widget.TextView)1 Calendar (java.util.Calendar)1 Date (java.util.Date)1 GBApplication (nodomain.freeyourgadget.gadgetbridge.GBApplication)1 UnknownDeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.UnknownDeviceCoordinator)1 CasioGB6900DeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.casio.gb6900.CasioGB6900DeviceCoordinator)1 CasioGBX100DeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.casio.gbx100.CasioGBX100DeviceCoordinator)1 FitProDeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.fitpro.FitProDeviceCoordinator)1