LuK1337
de082b2b25
aidl: light: Add RGB sync support
...
Change-Id: I3b26dce753487c2e0a2f191a57ca7ceb4bd752e4
2024-06-22 19:37:03 +02:00
LuK1337
842e692081
aidl: light: Lower battery light priority
...
Prioritize notification and attention lights over battery.
Change-Id: I88fe39a90ea8fb12a48a1a2d2d36e5bf4dca5b94
2024-06-22 19:07:07 +02:00
danielml
435cd2659d
aidl: light: Support the left
LED
...
Used by pop-up camera devices like davinci.
Change-Id: Ie6b37987d9a93d905464ddae366ce976ae7aaf8d
Signed-off-by: danielml <daniel@danielml.dev>
2024-06-22 12:36:49 +02:00
LuK1337
f75adee245
aidl: light: Add support for button-backlight2 device
...
Needed on natrium.
Change-Id: I345ff6039702c26a5c580a73290c4d19c4ae272b
2024-06-22 12:26:24 +02:00
Bruno Martins
7329fd774f
aidl: light: Add support for timed mode
...
Co-authored-by: Sebastiano Barezzi <seba@sebaubuntu.dev>
Change-Id: I23623c7527cf98230f890935a4742f86adc3b3ea
2024-06-18 03:19:00 +02:00
Sebastiano Barezzi
ee864f39ea
aidl: light: Refactor
...
Change-Id: Ib4ae8e9821dd0fb36e922e2c5f993aa6c0e28be1
2024-06-18 02:32:19 +02:00
Sebastiano Barezzi
9cbf7b03e3
aidl: light: Implement attention light type
...
Change-Id: Ia7fff2a4374ad4d05718909000dc2fd99b9264f0
2023-11-13 15:36:27 +01:00
Luca Stefani
69f546cc9b
aidl: light: Make rgb a normal struct
...
No need to typedef in C++
Change-Id: I949c4319eb8f116d6cd2903a294757bacc7751a7
2023-11-13 01:39:53 +01:00
Sebastiano Barezzi
2154cee0ec
aidl: light: Reformat with clang-format
...
Change-Id: Iee8f2dc3777a95df827f33ad1f4e37f7d0f48eed
2023-11-13 01:39:53 +01:00
Luca Stefani
5981d19419
aidl: light: Construct HwLight in place
...
They aren't used outside the ctor, let's
inline their construction.
Change-Id: Ic4f2afb24caabc42a95f94c8c150fa028975c8a5
2023-11-13 01:39:53 +01:00
Sebastiano Barezzi
ad315044e4
aidl: light: Use const on getLights' foreach loop
...
Change-Id: I00570c7315ef31e20c8265650025b4969e2d98af
2023-11-13 01:39:53 +01:00
Sebastiano Barezzi
481f209d2a
aidl: light: Fix a bug where breath wouldn't be disabled when not needed
...
Change-Id: I65c84c845fe8fb514d6b8345013077e3d0946972
2023-11-13 01:39:53 +01:00
Sebastiano Barezzi
d71257fb4a
aidl: light: Uprev to V2
...
Change-Id: I69ce3c31c63ed5316fec295bc2d79e060f43093b
2023-11-13 01:39:53 +01:00
Sebastiano Barezzi
2964a15eb6
aidl: light: Add "backlight" to the list of backlight devices
...
* Seen on sdm660 4.19
Change-Id: I4cf0cee36fc5d09f65c4709d854ed3cd5d087e68
2022-09-13 22:12:24 +05:30
Sebastiano Barezzi
2686a6a730
aidl: light: Rewrite backlight support
...
* This properly handles max brightness node
Change-Id: I8afcf4bb7cef9c71d9a03bac7e118b8d9cb0565b
2022-09-13 22:12:20 +05:30
Sebastiano Barezzi
627e6ad184
aidl: light: Make RGB utils rgb_t methods
...
Change-Id: Iaaa34987c7670077214078169ddeb756a794403b
2022-09-13 22:12:15 +05:30
Sebastiano Barezzi
646127bbc9
aidl: light: Don't store alpha value
...
* We already apply it to RGB colors, it's not used outside colorToRgb()
Change-Id: Ic683f1355432e17328119f4a4da0f9fe6b5efe71
2022-09-13 22:12:09 +05:30
Sebastiano Barezzi
242aaad5c0
aidl: light: Set color and brightness data size to 8bit
...
* We're wasting memory
Change-Id: Ie66f504f32b487642c25b104240eaa8fb2df870c
2022-09-13 22:12:02 +05:30
Jiyong Park
00e4c736bf
aidl: Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-09-12 11:48:10 +02:00
BeYkeRYkt
2d6bc53b95
aidl: light: Don't scale RGB brightness if alpha is 0
...
* Fixes custom LED colors
Change-Id: I14150292a0a3d8411a26e45f8a4fa4b40f3101b7
2022-02-07 15:47:57 +01:00
Sebastiano Barezzi
f162d20b5b
aidl: light: Wire up
...
* Merged Xiaomi SM8250, SM8150, SM6250, SDM710 and MSM8953 implementations
Change-Id: I16764ec8676de6c2a9f745876dddab75db6adf35
2022-02-07 15:47:57 +01:00
Sebastiano Barezzi
fecaf7f077
aidl: light: Rebrand to Xiaomi
...
Change-Id: I68a6ea1ab63a5581fa05e5490ef1cc86cc38741e
2022-02-07 15:47:57 +01:00
Sebastiano Barezzi
5b0631944d
aidl: light: Initial stub service
...
* Made with aidl-gen
Change-Id: I517ddd2222cb937c02298d0972b8abf0ffc24fd6
2022-02-07 15:47:57 +01:00