Home
last modified time | relevance | path

Searched refs:mUiStage (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPatternFragment.java68 private Stage mUiStage = Stage.Introduction; field in ChooseLockPatternFragment
95 switch (mUiStage) {
105 throw new IllegalStateException("Unexpected stage " + mUiStage
179 mUiStage = Stage.values()[savedInstanceState.getInt(STATE_UI_STAGE)]; in onCreate()
215 updateStage(mUiStage); in onStart()
226 outState.putInt(STATE_UI_STAGE, mUiStage.ordinal()); in onSaveInstanceState()
256 mUiStage = stage; in updateStage()
284 switch (mUiStage) { in updateStage()
347 switch (mUiStage.mPrimaryButtonState) { in handlePrimaryButtonClick()
349 if (mUiStage != Stage.FirstChoiceValid) { in handlePrimaryButtonClick()
[all …]
DChooseLockPinPasswordFragment.java66 private Stage mUiStage = Stage.Introduction; field in ChooseLockPinPasswordFragment
153 mUiStage = Stage.values()[savedInstanceState.getInt(STATE_UI_STAGE)]; in onCreate()
191 if (mUiStage == Stage.ConfirmWrong) { in onViewCreated()
192 mUiStage = Stage.NeedToConfirm; in onViewCreated()
193 } else if (mUiStage == Stage.PasswordInvalid) { in onViewCreated()
194 mUiStage = Stage.Introduction; in onViewCreated()
234 updateStage(mUiStage); in onStart()
244 outState.putInt(STATE_UI_STAGE, mUiStage.ordinal()); in onSaveInstanceState()
340 switch (mUiStage) { in handlePrimaryButtonClick()
414 mPinPad.setEnterKeyIcon(mUiStage.enterKeyIcon); in updateUi()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPattern.java268 if (mUiStage == Stage.NeedToConfirm || mUiStage == Stage.ConfirmWrong) {
279 } else if (mUiStage == Stage.Introduction || mUiStage == Stage.ChoiceTooShort){
287 throw new IllegalStateException("Unexpected stage " + mUiStage + " when "
427 private Stage mUiStage = Stage.Introduction; field in ChooseLockPattern.ChooseLockPatternFragment
605 updateStage(mUiStage); in onResume()
639 if (mUiStage.leftMode == LeftButtonMode.Retry) { in handleLeftButton()
648 mUiStage + " doesn't make sense"); in handleLeftButton()
653 if (mUiStage.rightMode == RightButtonMode.Continue) { in handleRightButton()
654 if (mUiStage != Stage.FirstChoiceValid) { in handleRightButton()
660 } else if (mUiStage.rightMode == RightButtonMode.Confirm) { in handleRightButton()
[all …]
DChooseLockPassword.java235 protected Stage mUiStage = Stage.Introduction; field in ChooseLockPassword.ChooseLockPasswordFragment
565 mUiStage = Stage.valueOf(state); in onViewCreated()
566 updateStage(mUiStage); in onViewCreated()
625 updateStage(mUiStage); in onResume()
645 outState.putString(KEY_UI_STAGE, mUiStage.name()); in onSaveInstanceState()
674 final Stage previousStage = mUiStage; in updateStage()
675 mUiStage = stage; in updateStage()
727 if (mUiStage == Stage.Introduction) { in handleNext()
735 } else if (mUiStage == Stage.NeedToConfirm) { in handleNext()
862 if (mUiStage == Stage.Introduction) { in updateUi()
[all …]
DSetupChooseLockPassword.java163 if (mUiStage == Stage.Introduction) { in updateUi()
173 mUiStage == Stage.Introduction ? View.VISIBLE : View.GONE); in updateUi()