Lines Matching defs:mode
199 * The current mode.
204 * Keeps track of what mode the current unlock screen is (cached from most recent computation in
320 // navigating away from unlock screen during verify mode means
791 // can only verify unlock when in pattern/password mode
846 throw new IllegalStateException("unknown unlock mode " + unlockMode);
851 private void updateScreen(Mode mode, boolean force) {
853 if (DEBUG_CONFIGURATION) Log.v(TAG, "**** UPDATE SCREEN: mode=" + mode
854 + " last mode=" + mMode + ", force = " + force, new RuntimeException());
856 mMode = mode;
859 if (mode == Mode.LockScreen || mShowLockBeforeUnlock) {
867 if (mode == Mode.UnlockScreen) {
877 final View goneScreen = (mode == Mode.LockScreen) ? mUnlockScreen : mLockScreen;
878 final View visibleScreen = (mode == Mode.LockScreen) ? mLockScreen : mUnlockScreen;
965 // unlock UI, just bring back the regular "Pattern" unlock mode.
982 throw new IllegalArgumentException("unknown unlock mode " + unlockMode);
1003 * Given the current state of things, what should be the initial mode of
1032 final int mode = mLockPatternUtils.getKeyguardStoredPasswordQuality();
1033 switch (mode) {
1042 // "forgot pattern" button is only available in the pattern mode...
1050 throw new IllegalStateException("Unknown unlock mode:" + mode);