blob: 8777c28e3ac739e0e45ae346c35ad80087cb8e3c [file] [log] [blame]
Ilya Matyukhin45856012020-06-23 01:20:24 -07001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.biometrics.fingerprint@2.3;
18
19import @2.2::IBiometricsFingerprint;
20
21/**
22 * The interface for biometric fingerprint authentication.
23 */
24interface IBiometricsFingerprint extends @2.2::IBiometricsFingerprint {
25 /**
26 * Notifies about a finger touching the sensor area.
27 *
28 * @param x The screen x-coordinate of the center of the touch contact area, in
29 * display pixels.
30 * @param y The screen y-coordinate of the center of the touch contact area, in
31 * display pixels.
32 * @param minor The length of the minor axis of an ellipse that describes the
33 * touch area, in display pixels.
34 * @param major The length of the major axis of an ellipse that describes the
35 * touch area, in display pixels.
36 */
37 oneway onFingerDown(uint32_t x, uint32_t y, float minor, float major);
38
39 /**
40 * Notifies about a finger leaving the sensor area.
41 */
42 oneway onFingerUp();
43};