/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordViewController.java | 71 private EditText mPasswordEntry; field in KeyguardPasswordViewController 148 mPasswordEntry = mView.findViewById(mView.getPasswordTextViewId()); in KeyguardPasswordViewController() 149 mDefaultPasswordFieldBackground = mPasswordEntry.getBackground(); in KeyguardPasswordViewController() 158 mPasswordEntry.setTextOperationUser( in onViewAttached() 160 mPasswordEntry.setKeyListener(TextKeyListener.getInstance()); in onViewAttached() 161 mPasswordEntry.setInputType(InputType.TYPE_CLASS_TEXT in onViewAttached() 169 mPasswordEntry.setSelected(true); in onViewAttached() 170 mPasswordEntry.setOnEditorActionListener(mOnEditorActionListener); in onViewAttached() 171 mPasswordEntry.setOnKeyListener(mKeyListener); in onViewAttached() 172 mPasswordEntry.addTextChangedListener(mTextWatcher); in onViewAttached() [all …]
|
D | KeyguardPasswordView.java | 67 private TextView mPasswordEntry; field in KeyguardPasswordView 172 mPasswordEntry = findViewById(getPasswordTextViewId()); in onFinishInflate() 173 mPasswordEntryDisabler = new TextViewInputDisabler(mPasswordEntry); in onFinishInflate() 177 mPasswordEntry.setCursorVisible(false); in onFinishInflate() 184 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants() 189 mPasswordEntry.setText(""); in resetPasswordText() 194 return LockscreenCredential.createPasswordOrNone(mPasswordEntry.getText()); in getEnteredCredential() 199 int color = mPasswordEntry.getTextColors().getColorForState( in setPasswordEntryEnabled() 201 mPasswordEntry.setBackgroundTintList(ColorStateList.valueOf(color)); in setPasswordEntryEnabled() 202 mPasswordEntry.setCursorVisible(enabled); in setPasswordEntryEnabled() [all …]
|
D | KeyguardPinBasedInputViewController.java | 48 protected PasswordTextView mPasswordEntry; field in KeyguardPinBasedInputViewController 86 mPasswordEntry = mView.findViewById(mView.getPasswordTextViewId()); in KeyguardPinBasedInputViewController() 95 mPasswordEntry.setShowPassword(showAnimations); in onViewAttached() 105 mPasswordEntry.setOnKeyListener(mOnKeyListener); in onViewAttached() 106 mPasswordEntry.setUserActivityListener(this::onUserInput); in onViewAttached() 112 if (mPasswordEntry.isEnabled()) { in onViewAttached() 113 mPasswordEntry.deleteLastChar(); in onViewAttached() 118 if (mPasswordEntry.isEnabled()) { in onViewAttached() 129 if (mPasswordEntry.isEnabled()) { in onViewAttached() 136 collectFlow(mPasswordEntry, mKeyguardKeyboardInteractor.isAnyKeyboardConnected(), in onViewAttached() [all …]
|
D | KeyguardPinBasedInputView.java | 54 protected PasswordTextView mPasswordEntry; field in KeyguardPinBasedInputView 70 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants() 79 mPasswordEntry.setEnabled(enabled); in setPasswordEntryEnabled() 81 if (enabled && !mPasswordEntry.hasFocus()) { in setPasswordEntryEnabled() 82 mPasswordEntry.requestFocus(); in setPasswordEntryEnabled() 88 mPasswordEntry.setEnabled(enabled); in setPasswordEntryInputEnabled() 91 mPasswordEntry.requestFocus(); in setPasswordEntryInputEnabled() 159 mPasswordEntry.reset(animate, announce); in resetPasswordText() 164 return LockscreenCredential.createPinOrNone(mPasswordEntry.getText()); in getEnteredCredential() 171 mPasswordEntry = findViewById(getPasswordTextViewId()); in onFinishInflate() [all …]
|
D | KeyguardPinViewController.java | 90 mPasswordEntry.setUserActivityListener(this::onUserInput); in onViewAttached() 94 mPasswordEntry.setUsePinShapes(true); in onViewAttached() 103 if (mPasswordEntry.getText().length() == mPinLength in onUserInput() 162 if (mPasswordEntry.getText().length() > 0 in updateBackSpaceVisibility() 172 mPasswordEntry.setIsPinHinting(isAutoPinConfirmEnabledInSettings() && isPinHinting() in updatePinHinting()
|
D | KeyguardSimPukViewController.java | 194 mPasswordEntry.requestFocus(); in reset() 258 if (mPasswordEntry.getText().length() >= 8) { in checkPuk() 259 mPukText = mPasswordEntry.getText(); in checkPuk() 267 int length = mPasswordEntry.getText().length(); in checkPin() 269 mPinText = mPasswordEntry.getText(); in checkPin() 276 return mPinText.equals(mPasswordEntry.getText()); in confirmPin()
|
D | KeyguardSimPinViewController.java | 163 String entry = mPasswordEntry.getText(); in verifyPasswordAndUnlock() 179 mCheckSimPinThread = new CheckSimPin(mPasswordEntry.getText(), mSubId) { in verifyPasswordAndUnlock()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardPinBasedInputViewControllerTest.java | 60 private PasswordTextView mPasswordEntry; field in KeyguardPinBasedInputViewControllerTest 100 when(mPinBasedInputView.findViewById(1)).thenReturn(mPasswordEntry); in setup() 111 when(mPasswordEntry.getLayoutParams()).thenReturn(mPasswordEntryLayoutParams); in setup() 132 verify(mPasswordEntry).requestFocus(); in onResume_requestsFocus()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputViewControllerTest.java | 64 private PasswordTextView mPasswordEntry; field in KeyguardAbsKeyInputViewControllerTest 96 when(mAbsKeyInputView.findViewById(1)).thenReturn(mPasswordEntry); in setup()
|