Home
last modified time | relevance | path

Searched refs:sensorBounds (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsShell.kt149 val sensorBounds: Rect = udfpsOverlayController!!.sensorBounds in simFingerDown() constant
154 sensorBounds.exactCenterX(), in simFingerDown()
155 sensorBounds.exactCenterY(), in simFingerDown()
164 sensorBounds.exactCenterX(), in simFingerDown()
165 sensorBounds.exactCenterY(), in simFingerDown()
177 val sensorBounds: Rect = udfpsOverlayController!!.sensorBounds in simFingerUp() constant
182 sensorBounds.exactCenterX(), in simFingerUp()
183 sensorBounds.exactCenterY(), in simFingerUp()
DUdfpsFpmEmptyView.kt40 fun updateAccessibilityViewLocation(sensorBounds: Rect) { in getDrawable()
44 params.width = sensorBounds.width() in getDrawable()
45 params.height = sensorBounds.height() in getDrawable()
DUdfpsControllerOverlay.kt157 private var sensorBounds: Rect = Rect() in <lambda>() variable in com.android.systemui.biometrics.UdfpsControllerOverlay
209 sensorBounds = Rect(params.sensorBounds) in <lambda>()
255 sensorRect = sensorBounds in <lambda>()
325 sensorBounds = updatedOverlayParams.sensorBounds in <lambda>()
360 updateAccessibilityViewLocation(sensorBounds) in <lambda>()
372 updateSensorLocation(sensorBounds) in <lambda>()
486 Rect(overlayParams.sensorBounds) in <lambda>()
516 sensorBounds, in <lambda>()
DUdfpsKeyguardViewLegacy.java258 void updateSensorLocation(@NonNull Rect sensorBounds) { in updateSensorLocation() argument
259 mSensorBounds.set(sensorBounds); in updateSensorLocation()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/
DFingerprintSensor.kt28 val sensorBounds: Rect, constant in com.android.systemui.biometrics.shared.model.FingerprintSensor
36 val sensorBounds: Rect = this.location.rect in FingerprintSensorPropertiesInternal() constant
43 sensorBounds, in FingerprintSensorPropertiesInternal()
DUdfpsOverlayParams.kt48 val sensorBounds: Rect = Rect(), constant in com.android.systemui.biometrics.shared.model.UdfpsOverlayParams
58 val nativeSensorBounds = Rect(sensorBounds).apply { scale(1f / scaleFactor) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsShellTest.kt56 private val sensorBounds = Rect() constant
60 whenEver(udfpsOverlayController.sensorBounds).thenReturn(sensorBounds) in setup()
DUdfpsViewTest.kt68 val sensorBounds = SensorLocationInternal("", SENSOR_X, SENSOR_Y, SENSOR_RADIUS).rect in setup() constant
69 view.overlayParams = UdfpsOverlayParams(sensorBounds, sensorBounds, 1920, in setup()
DUdfpsControllerTest.java521 final Rect[] sensorBounds = new Rect[]{new Rect(10, 10, 20, 20), new Rect(5, 5, 25, 25)}; in updateOverlayParams_recreatesOverlay_ifParamsChanged() local
526 final UdfpsOverlayParams oldParams = new UdfpsOverlayParams(sensorBounds[0], in updateOverlayParams_recreatesOverlay_ifParamsChanged()
527 sensorBounds[0], displayWidth[0], displayHeight[0], scaleFactor[0], rotation[0], in updateOverlayParams_recreatesOverlay_ifParamsChanged()
536 sensorBounds[i1], sensorBounds[i1], displayWidth[i2], in updateOverlayParams_recreatesOverlay_ifParamsChanged()
576 final Rect sensorBounds = new Rect(10, 10, 20, 20); in updateOverlayParams_doesNothing_ifParamsDidntChange() local
584 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in updateOverlayParams_doesNothing_ifParamsDidntChange()
595 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in updateOverlayParams_doesNothing_ifParamsDidntChange()
643 final Rect sensorBounds = new Rect(1000, 1900, 1080, 1920); // Bottom right corner. in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() local
677 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
693 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
[all …]
DUdfpsControllerOverlayTest.kt234 verify(mUdfpsKeyguardViewLegacy).updateSensorLocation(eq(overlayParams.sensorBounds)) in <lambda>()
241 val sensorBounds = Rect(0, 0, SENSOR_WIDTH, SENSOR_HEIGHT) in <lambda>() constant
245 sensorBounds, in <lambda>()
536 assertThat(lp.width).isEqualTo(overlayParams.sensorBounds.width()) in <lambda>()
537 assertThat(lp.height).isEqualTo(overlayParams.sensorBounds.height()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt488 val sensorBounds = udfpsOverlayInteractor.udfpsOverlayParams.value.sensorBounds in <lambda>() constant
491 if (sensorBounds == Rect()) { in <lambda>()
510 constrainWidth(R.id.lock_icon_view, sensorBounds.width()) in <lambda>()
511 constrainHeight(R.id.lock_icon_view, sensorBounds.height()) in <lambda>()
512 connect(R.id.lock_icon_view, TOP, PARENT_ID, TOP, sensorBounds.top) in <lambda>()
513 connect(R.id.lock_icon_view, START, PARENT_ID, START, sensorBounds.left) in <lambda>()
518 FrameLayout.LayoutParams(sensorBounds.width(), sensorBounds.height()) in <lambda>()
520 sensorBounds.left, in <lambda>()
521 sensorBounds.top, in <lambda>()
522 sensorBounds.right, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModel.kt140 val rotatedBounds = Rect(params.sensorBounds) in <lambda>()
160 overlayParams.sensorBounds.width() in <lambda>()
170 overlayParams.sensorBounds.height() in <lambda>()
177 udfpsOverlayInteractor.udfpsOverlayParams.value.sensorBounds.width() in <lambda>()
180 udfpsOverlayInteractor.udfpsOverlayParams.value.sensorBounds.height() in <lambda>()
328 sensorBounds, in <lambda>() method
337 Rect(0, 0, 0, sensorBounds.bottom) in <lambda>()
348 Rect(0, 0, sensorBounds.right, sensorBounds.bottom) in <lambda>()
362 Rect(sensorBounds.left, 0, 0, sensorBounds.bottom) in <lambda>()
376 Rect(0, 0, 0, sensorBounds.bottom) in <lambda>()
DPromptIconViewModel.kt84 val rotatedBounds = Rect(params.sensorBounds) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DFingerprintPropertyInteractor.kt116 udfpsOverlayInteractor.udfpsOverlayParams.map { it.sensorBounds }.distinctUntilChanged() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt570 sensorBounds = ROTATION_0_NATIVE_SENSOR_BOUNDS.scaled(scaleFactor), in toOverlayParams()