/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | EllipseOverlapDetector.kt | 43 touchData: NormalizedTouchData, in isGoodOverlap() 48 if (touchData.isWithinBounds(nativeSensorBounds)) { in isGoodOverlap() 53 if (!touchData.isWithinBounds(nativeOverlayBounds)) { in isGoodOverlap() 76 if (checkPoint(Point(x, y), touchData)) { in isGoodOverlap() 115 private fun checkPoint(point: Point, touchData: NormalizedTouchData): Boolean { in checkPoint() 119 val a: Float = cos(touchData.orientation) * (point.x - touchData.x) in checkPoint() 120 val b: Float = sin(touchData.orientation) * (point.y - touchData.y) in checkPoint() 121 val c: Float = sin(touchData.orientation) * (point.x - touchData.x) in checkPoint() 122 val d: Float = cos(touchData.orientation) * (point.y - touchData.y) in checkPoint() 124 (a + b) * (a + b) / ((touchData.minor / 2) * (touchData.minor / 2)) + in checkPoint() [all …]
|
D | BoundingBoxOverlapDetector.kt | 31 touchData: NormalizedTouchData, in isGoodOverlap() 44 return touchData.isWithinBounds(scaledSensorBounds) in isGoodOverlap()
|
D | SinglePointerTouchProcessor.kt | 46 val touchData = List(event.pointerCount) { event.normalize(it, overlayParams) } in processTouch() constant 48 touchData in processTouch() 57 return PreprocessedTouch(touchData, previousPointerOnSensorId, pointersOnSensor) in processTouch()
|
D | OverlapDetector.kt | 24 touchData: NormalizedTouchData,
|
D | TouchProcessorResult.kt | 37 val touchData: NormalizedTouchData constant in com.android.systemui.biometrics.udfps.TouchProcessorResult.ProcessedTouch
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/udfps/ |
D | FakeOverlapDetector.kt | 25 touchData: NormalizedTouchData, in isGoodOverlap() 29 return shouldReturn[touchData.pointerId] in isGoodOverlap()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 361 final JSONObject touchData = new JSONObject( in syncTouchPressure() local 363 if (touchData.has("min")) { in syncTouchPressure() 364 mPressureMin = Math.min(mPressureMin, touchData.getDouble("min")); in syncTouchPressure() 366 if (touchData.has("max")) { in syncTouchPressure() 367 mPressureMax = Math.max(mPressureMax, touchData.getDouble("max")); in syncTouchPressure() 370 touchData.put("min", mPressureMin); in syncTouchPressure() 371 touchData.put("max", mPressureMax); in syncTouchPressure() 374 touchData.toString()); in syncTouchPressure()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Painting.kt | 217 val touchData = JSONObject( in loadDevicePressureData() constant 219 if (touchData.has("min")) devicePressureMin = touchData.getDouble("min").toFloat() in loadDevicePressureData() 220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/ |
D | NormalizedTouchDataTest.kt | 19 val touchData = TOUCH_DATA.copy(x = testCase.x.toFloat(), y = testCase.y.toFloat()) in <lambda>() constant 20 val actual = touchData.isWithinBounds(SENSOR) in <lambda>()
|
D | BoundingBoxOverlapDetectorTest.kt | 36 val touchData = TOUCH_DATA.copy(x = testCase.x.toFloat(), y = testCase.y.toFloat()) in <lambda>() constant 37 val actual = underTest.isGoodOverlap(touchData, SENSOR, OVERLAY) in <lambda>()
|
D | EllipseOverlapDetectorTest.kt | 40 val touchData = in <lambda>() constant 47 val actual = underTest.isGoodOverlap(touchData, SENSOR, OVERLAY) in <lambda>()
|
D | SinglePointerTouchProcessorTest.kt | 654 touchData = expectedTouchData, in genPositiveTestCases()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 662 NormalizedTouchData touchData = new NormalizedTouchData(pointerId, displayWidth, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() local 665 InteractionEvent.DOWN, 1, touchData); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 751 final NormalizedTouchData touchData = new NormalizedTouchData(0, 0f, 0f, 0f, 0f, 0f, 0L, in fingerDownParameterized() local 754 InteractionEvent.DOWN, 1 /* pointerId */, touchData); in fingerDownParameterized() 1148 final NormalizedTouchData touchData = new NormalizedTouchData(0, 0f, 0f, 0f, 0f, 0f, 0L, in givenFingerEvent() local 1151 event1, 1 /* pointerId */, touchData); in givenFingerEvent() 1153 event2, 1 /* pointerId */, touchData); in givenFingerEvent() 1178 final NormalizedTouchData touchData = new NormalizedTouchData(0, 0f, 0f, 0f, 0f, 0f, 0L, in onTouch_forwardToKeyguard() local 1181 InteractionEvent.UNCHANGED, -1 /* pointerOnSensorId */, touchData); in onTouch_forwardToKeyguard() 1228 final NormalizedTouchData touchData = new NormalizedTouchData(0, 0f, 0f, 0f, 0f, 0f, 0L, in onTouch_doNotPilferPointer() local [all …]
|