diff options
| author | Xiao-Long Chen <chenxiaolong@cxl.epac.to> | 2014-06-07 22:52:19 -0500 |
|---|---|---|
| committer | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2014-08-27 22:40:46 +0000 |
| commit | c307809036a713fb1247d2e340af699f19813a2d (patch) | |
| tree | 4196db2f7a3ec376d524d77047f52cce2aff885e | |
| parent | 96a8df40ff95addabe720659862df98c84d9ce82 (diff) | |
| download | android_hardware_lineage_lineagehw-c307809036a713fb1247d2e340af699f19813a2d.tar.gz android_hardware_lineage_lineagehw-c307809036a713fb1247d2e340af699f19813a2d.tar.bz2 android_hardware_lineage_lineagehw-c307809036a713fb1247d2e340af699f19813a2d.zip | |
Hardware: Add high touch sensitivity support
Change-Id: Ia5ad3695ca253269dfe3a62420819ad9e9367f9c
| -rw-r--r-- | src/org/cyanogenmod/hardware/HighTouchSensitivity.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/org/cyanogenmod/hardware/HighTouchSensitivity.java b/src/org/cyanogenmod/hardware/HighTouchSensitivity.java new file mode 100644 index 0000000..c8de1a4 --- /dev/null +++ b/src/org/cyanogenmod/hardware/HighTouchSensitivity.java @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2013 Xiao-Long Chen <chenxiaolong@cxl.epac.to> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.cyanogenmod.hardware; + +/** + * Glove mode / high touch sensitivity + */ +public class HighTouchSensitivity { + + /** + * Whether device supports high touch sensitivity. + * + * @return boolean Supported devices must return always true + */ + public static boolean isSupported() { return false; } + + /** + * This method allows to setup high touch sensitivity status. + * + * @param status The new high touch sensitivity status + * @return boolean Must be false if high touch sensitivity is not supported or the operation + * failed; true in any other case. + */ + public static boolean setEnabled(boolean status) { return false; } + +} |
