Home
last modified time | relevance | path

Searched refs:screenRecordSwitch (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recordissue/
DRecordIssueDialogDelegateTest.kt161 val screenRecordSwitch = dialog.requireViewById<Switch>(R.id.screenrecord_switch) in screenCaptureDisabledDialog_isShown_whenFunctionalityIsDisabled() constant
162 screenRecordSwitch.isChecked = true in screenCaptureDisabledDialog_isShown_whenFunctionalityIsDisabled()
172 assertThat(screenRecordSwitch.isChecked).isFalse() in screenCaptureDisabledDialog_isShown_whenFunctionalityIsDisabled()
184 val screenRecordSwitch = dialog.requireViewById<Switch>(R.id.screenrecord_switch) in screenCapturePermissionDialog_isShown_correctly() constant
185 screenRecordSwitch.isChecked = true in screenCapturePermissionDialog_isShown_correctly()
206 val screenRecordSwitch = dialog.requireViewById<Switch>(R.id.screenrecord_switch) in noDialogsAreShown_forScreenRecord_whenApprovalIsAlreadyGiven() constant
207 screenRecordSwitch.isChecked = true in noDialogsAreShown_forScreenRecord_whenApprovalIsAlreadyGiven()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DRecordIssueDialogDelegate.kt78 @SuppressLint("UseSwitchCompatOrMaterialCode") private lateinit var screenRecordSwitch: Switch in <lambda>() variable in com.android.systemui.recordissue.RecordIssueDialogDelegate
103 screenRecordSwitch = in <lambda>()
144 screenRecordSwitch.isChecked = false in <lambda>()
160 setOnCancelListener { screenRecordSwitch.isChecked = false } in <lambda>()