Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsShell.kt141 val sensorBounds: Rect = udfpsOverlayController!!.sensorBounds
143 val downEvent: MotionEvent? = obtainMotionEvent(ACTION_DOWN, sensorBounds.exactCenterX(),
144 sensorBounds.exactCenterY(), MINOR, MAJOR)
147 val moveEvent: MotionEvent? = obtainMotionEvent(ACTION_MOVE, sensorBounds.exactCenterX(),
148 sensorBounds.exactCenterY(), MINOR, MAJOR)
157 val sensorBounds: Rect = udfpsOverlayController!!.sensorBounds
159 val upEvent: MotionEvent? = obtainMotionEvent(ACTION_UP, sensorBounds.exactCenterX(),
160 sensorBounds.exactCenterY(), MINOR, MAJOR)
H A DUdfpsFpmEmptyView.kt40 fun updateAccessibilityViewLocation(sensorBounds: Rect) {
44 params.width = sensorBounds.width()
45 params.height = sensorBounds.height()
H A DUdfpsControllerOverlay.kt122 private var sensorBounds: Rect = Rect()
176 sensorBounds = Rect(params.sensorBounds)
195 sensorRect = sensorBounds
245 updateAccessibilityViewLocation(sensorBounds)
255 udfpsKeyguardViewModels.get().setSensorBounds(sensorBounds)
268 updateSensorLocation(sensorBounds)
388 Rect(overlayParams.sensorBounds)
398 Rect(overlayParams.sensorBounds)
421 sensorBounds,
H A DUdfpsView.kt107 (overlayParams.sensorBounds.width() + paddingX),
108 (overlayParams.sensorBounds.height() + paddingY)
H A DSideFpsController.kt333 val sensorBounds = regex
351 sensorBounds,
356 overlayViewParams.x = sensorBounds.left
357 overlayViewParams.y = sensorBounds.top
H A DUdfpsKeyguardViewLegacy.java259 void updateSensorLocation(@NonNull Rect sensorBounds) { in updateSensorLocation() argument
260 mSensorBounds.set(sensorBounds); in updateSensorLocation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
H A DUdfpsKeyguardViewModels.kt22 fun setSensorBounds(sensorBounds: Rect) {
23 viewModel.sensorBounds = sensorBounds
H A DUdfpsKeyguardViewModel.kt31 var sensorBounds: Rect = Rect()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DUdfpsShellTest.kt58 private val sensorBounds = Rect() regex
62 whenEver(udfpsOverlayController.sensorBounds).thenReturn(sensorBounds)
H A DUdfpsViewTest.kt73 val sensorBounds = SensorLocationInternal("", SENSOR_X, SENSOR_Y, SENSOR_RADIUS).rect regex
74 view.overlayParams = UdfpsOverlayParams(sensorBounds, sensorBounds, 1920,
H A DUdfpsControllerOverlayTest.kt167 verify(mUdfpsKeyguardViewLegacy).updateSensorLocation(eq(overlayParams.sensorBounds))
175 val sensorBounds = Rect(0, 0, SENSOR_WIDTH, SENSOR_HEIGHT) regex
178 sensorBounds,
348 assertThat(lp.width).isEqualTo(overlayParams.sensorBounds.width())
349 assertThat(lp.height).isEqualTo(overlayParams.sensorBounds.height())
H A DUdfpsControllerTest.java481 final Rect[] sensorBounds = new Rect[]{new Rect(10, 10, 20, 20), new Rect(5, 5, 25, 25)}; in updateOverlayParams_recreatesOverlay_ifParamsChanged() local
486 final UdfpsOverlayParams oldParams = new UdfpsOverlayParams(sensorBounds[0], in updateOverlayParams_recreatesOverlay_ifParamsChanged()
495 sensorBounds[i1], sensorBounds[i1], displayWidth[i2], in updateOverlayParams_recreatesOverlay_ifParamsChanged()
531 final Rect sensorBounds = new Rect(10, 10, 20, 20); in updateOverlayParams_doesNothing_ifParamsDidntChange() local
539 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in updateOverlayParams_doesNothing_ifParamsDidntChange()
550 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in updateOverlayParams_doesNothing_ifParamsDidntChange()
602 final Rect sensorBounds = new Rect(1000, 1900, 1080, 1920); // Bottom right corner. in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() local
627 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
651 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
674 new UdfpsOverlayParams(sensorBounds, sensorBounds, displayWidth, displayHeight, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/udfps/
H A DUdfpsOverlayParams.kt28 val sensorBounds: Rect = Rect(),
37 val nativeSensorBounds = Rect(sensorBounds).apply { scale(1f / scaleFactor) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
H A DKeyguardPreviewRenderer.kt354 val sensorBounds = udfpsOverlayInteractor.udfpsOverlayParams.value.sensorBounds regex
357 if (sensorBounds == Rect()) {
363 FrameLayout.LayoutParams(sensorBounds.width(), sensorBounds.height())
365 sensorBounds.left,
366 sensorBounds.top,
367 sensorBounds.right,
368 sensorBounds.bottom
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DUdfpsKeyguardViewBinder.kt68 lp.width = viewModel.sensorBounds.width()
69 lp.height = viewModel.sensorBounds.height()
73 RectF(viewModel.sensorBounds),
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
H A DSinglePointerTouchProcessorTest.kt545 sensorBounds = ROTATION_0_NATIVE_SENSOR_BOUNDS.scaled(scaleFactor),