summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Cai <peter@typeblog.net>2019-07-02 15:47:25 +0800
committerdragonGR <alextsanisbadlorg@gmail.com>2019-09-22 14:03:48 +0300
commit4d5e7bb35d72650c9c2e1951642e2014a78c7825 (patch)
tree824450089f8c44c697789983347c570853df4fe6
parent451b83ff04ad306a054dbcb29ad3d9ad3f1cfb23 (diff)
IFingerprintInscreen: allow HAL to control position and size
* 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();