LuK1337
31aed6913a
touch: Let devices opt out of ITouchscreenGesture interface
...
Change-Id: Ib1fac9d7343798532fc8e6fb900354149b29351f
2022-07-16 22:20:41 +02:00
LuK1337
a39ee49e45
touch: Implement opt-in IHighTouchPollingRate interface
...
Change-Id: Ia0b45caa224cc9fea38f9b4efacce3287f888baa
2022-07-16 22:20:41 +02:00
LuK1337
0962815d6f
touch: Make gestures configurable without TARGET_SPECIFIC_HEADER_PATH
...
SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_TOUCH_HAL
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL := INCLUDE_DIR
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL_INCLUDE_DIR := \
$(DEVICE_PATH)/touch/include
Change-Id: Ib4574926ceb16961e2b435aae4e8921665af4e23
2022-07-12 14:07:22 +02:00
LuK1337
7b65e6e8d9
livedisplay: Migrate to ioctl()
...
Change-Id: I2039c94eb3239f2d88ab67076b52f58493d9b43e
2022-07-11 11:52:45 -07:00
LuK1337
33b71bd0c3
Relocate oplus_display_panel.h to kernel_headers.oplus
...
Change-Id: Ib96688b00ced213cf5d3fc5116dbe8dc72992e07
2022-07-11 11:52:45 -07:00
LuK1337
c6356e112c
fingerprint: Fix ioctl() return value check
...
ioctl() returns 0 on success.
Change-Id: I0bbdad6689fc21378d7b0c039c09e7e6288c1dae
2022-07-11 14:39:05 +02:00
jabashque
dfba74a283
fingerprint: Reset dimlayer HBM + fp press state on error
...
The way the fingerprint service handles FINGERPRINT_ERROR messages
allows for situations where the user can end up turning off the screen
while notify_fppress is set to 1. This results in situations where the
screen backlight does not turn on at all when turning on the panel,
which is not an ideal user experience.
Fix this by calling `setDimlayerHbm(0)` and `setFpPress(0)` when
handling FINGERPRINT_ERROR messages.
Change-Id: Ic2754249083c30a9b3b150b825357d894814fe84
2022-06-10 20:44:28 +02:00
LuK1337
3656dda6cf
livedisplay: Fix indentation in vintf manifest
...
Change-Id: I037758d097b3bac2ab2068eb24c54b98671b7efb
2022-05-04 10:38:28 +02:00
LuK1337
ea3acdaeaa
fixup! livedisplay: Implement IAntiFlicker interface fragment
...
Change-Id: Ic10e593e1628be32221d1b828c6fc33dba774a7c
2022-05-04 10:29:51 +02:00
LuK1337
538a36188f
fingerprint: Add libudfps_extension impl
...
Change-Id: Ic5752c29816e66c6c585069779c8ac3211a0e277
2022-04-19 20:53:23 +02:00
LuK1337
c9225a7db6
fingerprint: Setup dimming & fp press notifications
...
Change-Id: I0b1df953f11974daf1adb4b88d9b48efd229bcf1
2022-04-19 20:53:23 +02:00
LuK1337
7f4f347c2c
hidl: fingerprint: Initial AOSP -> Oplus wrapper
...
Change-Id: I8729b3920dd52c18416179d4118a4d012fb5b1d3
2022-04-18 22:56:40 +02:00
LuK1337
ce722bdb50
hidl: Setup touchscreen gestures with Lineage touch HIDL HAL
...
This takes advantage of the touchscreen gesture nodes exposed by Oplus
touchscreen drivers.
Change-Id: I5a43b8f922a8d1c940e367d22d377b7161913d3a
2022-04-17 16:12:09 +02:00
LuK1337
745a264171
livedisplay: Add (and run) clang-format file
...
Change-Id: Ibb4a56ef02a404717512d7a7f99bc31e2ce442a4
2022-04-17 10:25:28 +02:00
LuK1337
2ee105e951
fixup! livedisplay: Implement IAntiFlicker interface fragment
...
Change-Id: I8461e18c60d581f87d9fba1fbc0ec85ab14cfdff
2022-04-17 00:18:13 +02:00
Paul Keith
f677f346bc
livedisplay: Fix racy init
...
* It turns out moving this to class main doesn't work as well
as some had thought it would, so restore the previous logic
to use class hal, and restart if the backend isn't up yet
Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2022-04-14 11:03:52 +02:00
Bruno Martins
096e9d9c20
livedisplay: Use pragma once directive everywhere
...
Change-Id: Ic5ec76210a7d8697945561b2d150f0c1f778dc5c
2022-04-14 11:03:52 +02:00
LuK1337
3334859f4f
livedisplay: Implement IAntiFlicker interface fragment
...
Change-Id: I1dbc6d8989a80fe7b06d4356aeb717417997a793
2022-04-14 11:03:52 +02:00
LuK1337
85fffbdcfa
livedisplay: Expose headers and implementations as Soong modules
...
Change-Id: I335cb98b544fceed1e0d11f0a7dd9cc38860b5aa
2022-04-14 11:03:52 +02:00
LuK1337
9e7b514023
livedisplay: Uprev to 2.1
...
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2022-04-14 11:03:52 +02:00
LuK1337
21edb37c1f
livedisplay: Implement ISunlightEnhancement interface
...
Change-Id: I728653099f9a57a85f1ce2ffa93b4e62981208fa
2022-04-14 11:03:52 +02:00
Daniel Jacob Chittoor
ada38b5fed
hidl: Import LiveDisplay 2.0 HIDL HAL w/ IPictureAdjustment
...
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com >
Change-Id: I5065670e7dbf9baa4a69d6ec0f5e4c36d533054d
2022-04-14 11:03:51 +02:00
Bruno Martins
2c82dd85d0
powershare: Use pragma once
...
Change-Id: I9cfeed5e79c35139f7532c522dad0ca25ed35fe1
2022-04-14 09:27:07 +02:00
LuK1337
cfa39af4d1
hidl: Implement vendor.lineage.powershare@1.0 HAL for Oplus
...
Change-Id: I8022ac47411369f3ede969417fd46e08fb984e24
2022-04-14 09:27:06 +02:00