Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsEditingActivityTest.kt108 with(launchActivity(isFromFavoriting = false)) { in testNotLaunchFromFavoriting_saveButton_disabled()
116 with(launchActivity(isFromFavoriting = true)) { in testLaunchFromFavoriting_saveButton_enabled()
124 with(launchActivity(isFromFavoriting = false)) { in testNotFromFavoriting_addControlsPressed_launchesFavouriting()
149 isFromFavoriting: Boolean = false, in launchActivity()
154 putExtra(ControlsEditingActivity.EXTRA_FROM_FAVORITING, isFromFavoriting) in launchActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsEditingActivity.kt74 private var isFromFavoriting: Boolean = false variable
100 isFromFavoriting = intent.getBooleanExtra(EXTRA_FROM_FAVORITING, false) in onCreate()
184 if (isFromFavoriting) { in bindButtons()
207 isEnabled = isFromFavoriting in bindButtons()