From d43217a14b4fa8edc3af791028198838e8caf487 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 4 Jan 2014 14:02:18 +0100 Subject: Charger with good-looking graphics Signed-off-by: Paul Kocialkowski --- BoardConfig.mk | 3 + res/charger/LICENSE | 2 + res/charger/battery_0.png | Bin 0 -> 6746 bytes res/charger/battery_1.png | Bin 0 -> 6731 bytes res/charger/battery_2.png | Bin 0 -> 6733 bytes res/charger/battery_3.png | Bin 0 -> 6731 bytes res/charger/battery_4.png | Bin 0 -> 6729 bytes res/charger/battery_5.png | Bin 0 -> 6663 bytes res/charger/battery_charge.png | Bin 0 -> 9146 bytes res/charger/battery_fail.png | Bin 0 -> 9297 bytes res/charger/charger.svg | 2418 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 2423 insertions(+) create mode 100644 res/charger/LICENSE create mode 100644 res/charger/battery_0.png create mode 100644 res/charger/battery_1.png create mode 100644 res/charger/battery_2.png create mode 100644 res/charger/battery_3.png create mode 100644 res/charger/battery_4.png create mode 100644 res/charger/battery_5.png create mode 100644 res/charger/battery_charge.png create mode 100644 res/charger/battery_fail.png create mode 100644 res/charger/charger.svg diff --git a/BoardConfig.mk b/BoardConfig.mk index 04aaeb8..2f29474 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -31,6 +31,9 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/i9300/bluetooth TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412 TARGET_KERNEL_CONFIG := cyanogenmod_i9300_defconfig +# Charging mode +BOARD_CHARGER_RES := device/samsung/i9300/res/charger + # assert TARGET_OTA_ASSERT_DEVICE := m0,i9300,GT-I9300 diff --git a/res/charger/LICENSE b/res/charger/LICENSE new file mode 100644 index 0000000..732945d --- /dev/null +++ b/res/charger/LICENSE @@ -0,0 +1,2 @@ +Copyright: Copyright (C) 2012-2013 Paul Kocialkowski +License: Creative Commons BY-SA 3.0 diff --git a/res/charger/battery_0.png b/res/charger/battery_0.png new file mode 100644 index 0000000..a204975 Binary files /dev/null and b/res/charger/battery_0.png differ diff --git a/res/charger/battery_1.png b/res/charger/battery_1.png new file mode 100644 index 0000000..659f30c Binary files /dev/null and b/res/charger/battery_1.png differ diff --git a/res/charger/battery_2.png b/res/charger/battery_2.png new file mode 100644 index 0000000..c6f9da1 Binary files /dev/null and b/res/charger/battery_2.png differ diff --git a/res/charger/battery_3.png b/res/charger/battery_3.png new file mode 100644 index 0000000..4dbdc22 Binary files /dev/null and b/res/charger/battery_3.png differ diff --git a/res/charger/battery_4.png b/res/charger/battery_4.png new file mode 100644 index 0000000..3af128a Binary files /dev/null and b/res/charger/battery_4.png differ diff --git a/res/charger/battery_5.png b/res/charger/battery_5.png new file mode 100644 index 0000000..45f83d1 Binary files /dev/null and b/res/charger/battery_5.png differ diff --git a/res/charger/battery_charge.png b/res/charger/battery_charge.png new file mode 100644 index 0000000..fa1657f Binary files /dev/null and b/res/charger/battery_charge.png differ diff --git a/res/charger/battery_fail.png b/res/charger/battery_fail.png new file mode 100644 index 0000000..5f0bbe5 Binary files /dev/null and b/res/charger/battery_fail.png differ diff --git a/res/charger/charger.svg b/res/charger/charger.svg new file mode 100644 index 0000000..6196388 --- /dev/null +++ b/res/charger/charger.svg @@ -0,0 +1,2418 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + ? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.1