summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Cai <peter@typeblog.net>2019-07-02 15:47:25 +0800
committerƁukasz Patron <priv.luk@gmail.com>2019-07-17 11:15:31 +0200
commitc0a938c741e4fdaaf0f7ea3571b3cbad45d9de93 (patch)
treeda8a562750d441626fb8c9182080d607de0e8371
parentf1e46f487d53f523cf23b7c9363f84f234920715 (diff)
downloadhardware_lineage_interfaces-lineage-16.0.tar.gz
hardware_lineage_interfaces-lineage-16.0.tar.bz2
hardware_lineage_interfaces-lineage-16.0.zip
IFingerprintInscreen: Allow HALs to control position and sizelineage-16.0
* These are hardware-specific properties. Allow HALs to control them directly instead of relying on a system property Change-Id: I36355886cc115ae2a423cbbca6044daec43ee454
-rw-r--r--biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.hal8
1 files changed, 8 insertions, 0 deletions
diff --git a/biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.hal b/biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.hal
index e7abdce..a238aed 100644
--- a/biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.hal
+++ b/biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.hal
@@ -20,6 +20,14 @@ import IFingerprintInscreenCallback;
interface IFingerprintInscreen {
/**
+ * Information on the position of the scanner
+ * Note: X and Y are the left-upper corner of the
+ * FOD view, not the center.
+ */
+ getPositionX() generates (int32_t x);
+ getPositionY() generates (int32_t y);
+ getSize() generates (int32_t size);
+ /**
* Called when fingerprint enrollment started
*/
onStartEnroll();