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.java65 private Stage mUiStage = Stage.Introduction; field in ChooseLockPinPasswordFragment
145 mUiStage = Stage.values()[savedInstanceState.getInt(STATE_UI_STAGE)]; in onCreate()
183 if (mUiStage == Stage.ConfirmWrong) { in onViewCreated()
184 mUiStage = Stage.NeedToConfirm; in onViewCreated()
185 } else if (mUiStage == Stage.PasswordInvalid) { in onViewCreated()
186 mUiStage = Stage.Introduction; in onViewCreated()
226 updateStage(mUiStage); in onStart()
236 outState.putInt(STATE_UI_STAGE, mUiStage.ordinal()); in onSaveInstanceState()
334 switch (mUiStage) { in handlePrimaryButtonClick()
409 mPinPad.setEnterKeyIcon(mUiStage.enterKeyIcon); in updateUi()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPattern.java272 if (mUiStage == Stage.NeedToConfirm || mUiStage == Stage.ConfirmWrong) {
283 } else if (mUiStage == Stage.Introduction || mUiStage == Stage.ChoiceTooShort){
291 throw new IllegalStateException("Unexpected stage " + mUiStage + " when "
428 private Stage mUiStage = Stage.Introduction; field in ChooseLockPattern.ChooseLockPatternFragment
616 updateStage(mUiStage); in onResume()
650 if (mUiStage.leftMode == LeftButtonMode.Retry) { in handleLeftButton()
659 mUiStage + " doesn't make sense"); in handleLeftButton()
664 if (mUiStage.rightMode == RightButtonMode.Continue) { in handleRightButton()
665 if (mUiStage != Stage.FirstChoiceValid) { in handleRightButton()
671 } else if (mUiStage.rightMode == RightButtonMode.Confirm) { in handleRightButton()
[all …]
DChooseLockPassword.java253 protected Stage mUiStage = Stage.Introduction; field in ChooseLockPassword.ChooseLockPasswordFragment
616 mUiStage = Stage.valueOf(state); in onViewCreated()
617 updateStage(mUiStage); in onViewCreated()
700 updateStage(mUiStage); in onResume()
720 outState.putString(KEY_UI_STAGE, mUiStage.name()); in onSaveInstanceState()
751 final Stage previousStage = mUiStage; in updateStage()
752 mUiStage = stage; in updateStage()
803 if (mUiStage == Stage.Introduction) { in handleNext()
811 } else if (mUiStage == Stage.NeedToConfirm) { in handleNext()
954 if (mUiStage == Stage.Introduction) { in updateUi()
[all …]
DSetupChooseLockPassword.java170 if (mUiStage == Stage.Introduction) { in updateUi()
180 mUiStage == Stage.Introduction ? View.VISIBLE : View.GONE); in updateUi()