Home
last modified time | relevance | path

Searched refs:mPasswordEntry (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordViewController.java71 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 …]
DKeyguardPasswordView.java67 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 …]
DKeyguardPinBasedInputViewController.java48 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 …]
DKeyguardPinBasedInputView.java54 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 …]
DKeyguardPinViewController.java90 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()
DKeyguardSimPukViewController.java194 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()
DKeyguardSimPinViewController.java163 String entry = mPasswordEntry.getText(); in verifyPasswordAndUnlock()
179 mCheckSimPinThread = new CheckSimPin(mPasswordEntry.getText(), mSubId) { in verifyPasswordAndUnlock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPinBasedInputViewControllerTest.java60 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/
DKeyguardAbsKeyInputViewControllerTest.java64 private PasswordTextView mPasswordEntry; field in KeyguardAbsKeyInputViewControllerTest
96 when(mAbsKeyInputView.findViewById(1)).thenReturn(mPasswordEntry); in setup()