Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/domain/interactor/
DSideFpsSensorInteractorTest.kt226 val sensorLocation by collectLastValue(underTest.sensorLocation) in <lambda>() constant
227 assertThat(sensorLocation!!.left).isEqualTo(1000) in <lambda>()
228 assertThat(sensorLocation!!.top).isEqualTo(200) in <lambda>()
229 assertThat(sensorLocation!!.isSensorVerticalInDefaultOrientation).isEqualTo(true) in <lambda>()
230 assertThat(sensorLocation!!.length).isEqualTo(100) in <lambda>()
254 val sensorLocation by collectLastValue(underTest.sensorLocation) in <lambda>() constant
255 assertThat(sensorLocation!!.left).isEqualTo(500) in <lambda>()
256 assertThat(sensorLocation!!.top).isEqualTo(1000) in <lambda>()
257 assertThat(sensorLocation!!.isSensorVerticalInDefaultOrientation).isEqualTo(true) in <lambda>()
258 assertThat(sensorLocation!!.length).isEqualTo(100) in <lambda>()
[all …]
DFingerprintPropertyInteractorTest.kt63 val currSensorLocation by collectLastValue(underTest.sensorLocation) in sensorLocation_resolution1f()
89 val currSensorLocation by collectLastValue(underTest.sensorLocation) in sensorLocation_resolution2f()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DSideFpsSensorInteractor.kt115 val sensorLocation: Flow<SideFpsSensorLocation> = in <lambda>() constant
117 .map { (rotation, sensorLocation: SensorLocationInternal) -> in <lambda>() method
118 val isSensorVerticalInDefaultOrientation = sensorLocation.sensorLocationY != 0 in <lambda>()
127 val sensorLengthInPx = sensorLocation.sensorRadius * 2 in <lambda>()
133 Pair(displayWidth, sensorLocation.sensorLocationY) in <lambda>()
136 Pair(sensorLocation.sensorLocationY, 0) in <lambda>()
142 sensorLocation.sensorLocationY - in <lambda>()
149 sensorLocation.sensorLocationY - in <lambda>()
158 Pair(sensorLocation.sensorLocationX, 0) in <lambda>()
163 displayWidth - sensorLocation.sensorLocationX - sensorLengthInPx in <lambda>()
[all …]
DFingerprintPropertyInteractor.kt94 val sensorLocation: Flow<SensorLocation> = in <lambda>() constant
99 val sensorLocation = in <lambda>() constant
106 sensorLocation in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModel.kt75 private val sensorLocation = sfpsSensorInteractor.sensorLocation in <lambda>() constant
97 combine(displayRotation, sensorLocation) { rotation: DisplayRotation, sensorLocation -> in <lambda>() method
98 val yAligned = sensorLocation.isSensorVerticalInDefaultOrientation in <lambda>()
127 sensorLocation, in <lambda>()
128 ) { rotation: DisplayRotation, sensorLocation -> in <lambda>() method
129 val yAligned = sensorLocation.isSensorVerticalInDefaultOrientation in <lambda>()
149 sensorLocation, in <lambda>()
151 ) { bounds: Rect?, sensorLocation: SideFpsSensorLocation, displayRotation: DisplayRotation in <lambda>() method
153 val topLeft = Point(sensorLocation.left, sensorLocation.top) in <lambda>()
156 if (sensorLocation.isSensorVerticalInDefaultOrientation) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt175 collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfOuterCameraFromOnPhysicalCameraAvailable()
188 val sensorLocation by collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfOuterCameraFromOnPhysicalCameraAvailable() constant
189 assertThat(sensorLocation) in providesTheSensorLocationOfOuterCameraFromOnPhysicalCameraAvailable()
198 collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfInnerCameraFromOnPhysicalCameraAvailable()
211 val sensorLocation by collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfInnerCameraFromOnPhysicalCameraAvailable() constant
212 assertThat(sensorLocation) in providesTheSensorLocationOfInnerCameraFromOnPhysicalCameraAvailable()
221 collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfCameraFromOnPhysicalCameraUnavailable()
234 val sensorLocation by collectLastValue(underTest.sensorLocation) in providesTheSensorLocationOfCameraFromOnPhysicalCameraUnavailable() constant
235 assertThat(sensorLocation) in providesTheSensorLocationOfCameraFromOnPhysicalCameraUnavailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DSideFpsProgressBarViewModel.kt115 sfpsSensorInteractor.sensorLocation.map { it.length }.distinctUntilChanged() in <lambda>()
121 combine(displayStateInteractor.currentRotation, sfpsSensorInteractor.sensorLocation, ::Pair) in <lambda>()
122 .map { (rotation, sensorLocation) -> in <lambda>() method
127 val viewLeftTop = Point(sensorLocation.left, sensorLocation.top) in <lambda>()
131 sensorLocation.isSensorVerticalInDefaultOrientation == in <lambda>()
137 viewLeftTop.y += sensorLocation.length in <lambda>()
177 combine(displayStateInteractor.currentRotation, sfpsSensorInteractor.sensorLocation, ::Pair) in <lambda>()
178 .map { (rotation, sensorLocation) -> in <lambda>() method
181 sensorLocation.isSensorVerticalInDefaultOrientation in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModelTest.kt109 private lateinit var sensorLocation: SensorLocationInternal variable in com.android.systemui.biometrics.ui.viewmodel.SideFpsOverlayViewModelTest
216 assertThat(overlayViewParams!!.x).isEqualTo(sensorLocation.sensorLocationX) in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor()
224 displayHeight - sensorLocation.sensorLocationX - sensorLocation.sensorRadius * 2 in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor()
231 displayWidth - sensorLocation.sensorLocationX - sensorLocation.sensorRadius * 2 in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor()
238 assertThat(overlayViewParams!!.y).isEqualTo(sensorLocation.sensorLocationX) in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor()
260 assertThat(overlayViewParams!!.y).isEqualTo(sensorLocation.sensorLocationY) in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor()
264 assertThat(overlayViewParams!!.x).isEqualTo(sensorLocation.sensorLocationY) in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor()
272 displayHeight - sensorLocation.sensorLocationY - sensorLocation.sensorRadius * 2 in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor()
279 displayWidth - sensorLocation.sensorLocationY - sensorLocation.sensorRadius * 2 in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor()
413 sensorLocation = SensorLocationInternal("", 2500, 0, boundsWidth / 2) in setupTestConfiguration()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DFaceScanningProviderFactory.kt58 if (facePropertyRepository.sensorLocation.value == null) { in <lambda>()
169 logger.faceSensorLocation(facePropertyRepository.sensorLocation.value) in updateLayoutParams()
170 facePropertyRepository.sensorLocation.value?.y?.let { in updateLayoutParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/
DSideFpsOverlayViewBinderTest.kt100 private lateinit var sensorLocation: SensorLocationInternal variable in com.android.systemui.biometrics.ui.binder.SideFpsOverlayViewBinderTest
354 sensorLocation = SensorLocationInternal("", 2500, 0, boundsWidth / 2) in setupTestConfiguration()
361 sensorLocation = SensorLocationInternal("", displayWidth, 300, boundsHeight / 2) in setupTestConfiguration()
379 sensorLocations = mapOf(DISPLAY_ID to sensorLocation) in setupTestConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryUdfpsInteractor.kt70 fingerprintPropertyInteractor.sensorLocation in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakeFacePropertyRepository.kt39 override val sensorLocation: StateFlow<Point?> constant in com.android.systemui.biometrics.data.repository.FakeFacePropertyRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepository.kt68 val sensorLocation: StateFlow<Point?> in <lambda>() constant
212 override val sensorLocation: StateFlow<Point?> = constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleController.kt296 faceSensorLocation = facePropertyRepository.sensorLocation.value in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt642 override val faceSensorLocation: Flow<Point?> = facePropertyRepository.sensorLocation