Commit graph

15 commits

Author SHA1 Message Date
Zhao Wei Liew
41cab354f1 Revert "allow override of cabc file via property"
A quick search reveals that only 1 device uses this - kona.

Instead of adding a system prop for this, that one device
can add its own AdaptiveBacklight class. This allows kona to
use AdaptiveBacklight without having to modify the common class.

This reverts commit c11396ecc6.

Change-Id: Id912091f64da39a10d30c9770f248cf6467e8760
2017-01-26 11:02:11 +00:00
Luca Stefani
4cd47df9a6 cmhw: Add reading mode
Change-Id: Id6c4ab0c081afb2f9fae6e6c5b776c093f377e97
2017-01-22 13:32:23 +00:00
Kevin F. Haggerty
43a5d87023 DisplayModeControl: Add null check to setMode()
* getCurrentMode() can return null. Don't let setMode() try set a
  null mode because bad things happen.
* Let's make cmhw safe again (groan, I know that one was bad)

Change-Id: I20bdee4a0e8cbb0598f35770d71902332db51ddb
2016-07-19 06:44:59 -06:00
Zhao Wei Liew
8a13740477 cmhw: Add DisplayModeControl support
Make use of LiveDisplay's implementation of display modes.

Remove AdvancedDisplay's display mode support as it duplicates
functionality provided by the CMHW implementation.

Based on Sean hoyt's original work on klmintwifi.

Change-Id: I455a8c764118adbdb997b2ba9145e24fecb8199b
2016-07-10 10:25:22 +08:00
Zhao Wei Liew
1da88e6e9f
hardware: Clean up CMHW and AdvancedDisplay
- Use CMSDK FileUtils
 - Simplify, yet harden checks
 - Use static final Strings
 - Remove unnecessary imports
 - Remove unnecessary Strings
 - Update copyright

Change-Id: Id2f0f2fdf5be7e2b29a3910a6aa56a3aad10868f
2016-07-02 13:02:54 +08:00
Simon Shields
8c701ad125 cmhw: add SunlightEnhancement/MDNIE Outdoor mode support
Change-Id: I86ea442992a945cf6dcad939aa95f04caa72834c
2016-02-11 09:50:05 -08:00
Franco
70c7d4ddbb cmhw: Add touchscreen hovering support
Change-Id: Ia581d6cc6f30b3de91c08ed5be3c4ba76b9a5d31
2015-02-06 01:48:18 +00:00
repo Shareef Ali
50c588b53f AdaptiveBacklight: fix illegal value exception.
Change-Id: I8ea84451c8dd4be35a2d2e62547fc81a2b704dd1
2014-12-27 17:31:30 -06:00
Xiao-Long Chen
7cc56139f1 samsung: hardware: Add HighTouchSensitivity class
Change-Id: I811f721dab1381d637086782a8fd850051981174
2014-09-12 01:18:24 -04:00
Ethan Chen
136a6579e8 samsung: hardware: Set correct file mode for Java files
Change-Id: I8d7ae3cd0fcc9b785ebd0da8a8ba8029adeb20a3
2014-09-11 14:45:31 -07:00
Dave Daynard
5828e5e904 Hardware: Samsung: simplify CMHW isSupported check
Change-Id: Ia07e20baf5c72dc33394ae48fbacd548592c207f
2014-08-18 21:15:21 -04:00
sbrissen
c11396ecc6 allow override of cabc file via property
Note 8's cabc is implemented in mdnie instead of the panel
file like other smdk4x12 devices.

Change-Id: I9bd7c4bb5899cd323e4f6861bf7ceb61f459da05
2013-10-28 15:40:50 -04:00
David Daynard
f138a2fb67 vibrator intensity: disable tunable framework if not supported
Change-Id: I6481b82b7ee5412234d42e39f7f5560489f14af3
2013-08-25 18:24:47 +02:00
Daniel Hillenbrand
3f99f35acd samsung: hardware: add support for adaptive backlight
Change-Id: I59b798e9cac2cf2c6efbe31736d3361f05c81398
2013-08-21 21:27:44 +02:00
Shareef Ali
935de412d6 Samsung: Add common class for vibrator
Change-Id: I0802cc122b606b08f58731febd8bf050d22f4c57
2013-08-09 22:30:58 +02:00