Home
last modified time | relevance | path

Searched refs:isFolded (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/fragment/education/
DSfpsEnrollFindSensorFragment.kt85 viewModel.sfpsLottieInfo.collect { (isFolded, rotation) -> in <lambda>() method
86 setupLottie(view, getSfpsIllustrationLottieAnimation(isFolded, rotation)) in <lambda>()
126 private fun getSfpsIllustrationLottieAnimation(isFolded: Boolean, rotation: Int): Int { in <lambda>()
131 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_top_left in <lambda>()
135 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_bottom_left in <lambda>()
139 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_bottom_right in <lambda>()
143 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_top_right in <lambda>()
DUdfpsEnrollFindSensorFragment.kt127 private fun getSfpsIllustrationLottieAnimation(isFolded: Boolean, rotation: Int): Int { in <lambda>()
132 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_top_left in <lambda>()
136 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_bottom_left in <lambda>()
140 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_bottom_right in <lambda>()
144 (if (isFolded) R.raw.fingerprint_edu_lottie_folded_top_right in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/enrollment/viewmodel/
DFingerprintEnrollFindSensorViewModelV2Test.kt112 override val isFolded: Flow<Boolean> = foldState.asStateFlow() in setup() constant
175 var isFolded = false in sfpsLottieInfoWhenFolded() variable
179 isFolded = it.first in sfpsLottieInfoWhenFolded()
187 assertThat(isFolded).isTrue() in sfpsLottieInfoWhenFolded()
195 var isFolded = false in sfpsLottieInfoWhenUnFolded() variable
199 isFolded = it.first in sfpsLottieInfoWhenUnFolded()
207 assertThat(isFolded).isFalse() in sfpsLottieInfoWhenUnFolded()
271 private fun createConfiguration(isFolded: Boolean): Configuration { in createConfiguration()
274 if (isFolded) INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP - 1 in createConfiguration()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/
DFoldStateInteractor.kt29 val isFolded: Flow<Boolean> in <lambda>() constant
40 override val isFolded: Flow<Boolean> = callbackFlow { in <lambda>() constant
41 val foldStateListener = FoldProvider.FoldCallback { isFolded -> trySend(isFolded) } in <lambda>() method
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DDeviceFoldedViewModel.java43 private final FoldProvider.FoldCallback mIsFoldedCallback = isFolded -> {
44 Log.d(TAG, "onFoldUpdated= " + isFolded);
45 mLiveData.postValue(isFolded);
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollFindSfpsFragment.kt258 val isFolded = java.lang.Boolean.FALSE != foldedViewModel.liveData.value in <lambda>() constant
261 if (isFolded) in <lambda>()
266 if (isFolded) in <lambda>()
271 if (isFolded) in <lambda>()
276 if (isFolded) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/viewmodel/
DFingerprintEnrollFindSensorViewModel.kt77 foldStateInteractor.isFolded, in <lambda>()
79 ) { _, isFolded, rotation -> in <lambda>() method
80 emit(Pair(isFolded, rotation)) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEducation.java204 mFoldCallback = isFolded -> { in onStart()
205 mDevicePostureState = isFolded ? BiometricUtils.DEVICE_POSTURE_CLOSED in onStart()
DFaceEnrollIntroduction.java312 mFoldCallback = isFolded -> { in listenFoldEventForPostureGuidance()
313 mDevicePostureState = isFolded ? BiometricUtils.DEVICE_POSTURE_CLOSED in listenFoldEventForPostureGuidance()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt168 isFolded: Boolean = false in <lambda>()
188 if (isFolded) { in <lambda>()
/packages/apps/Settings/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/
DInjector.kt82 override val isFolded: Flow<Boolean> = _foldState.asStateFlow() constant