public class ConfirmPatternActivity extends BasePatternActivity implements PatternView.OnPatternListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
mNumFailedAttempts |
static int |
RESULT_FORGOT_PASSWORD |
mButtonContainer, mLeftButton, mMessageText, mPatternView, mRightButton| Constructor and Description |
|---|
ConfirmPatternActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isPatternCorrect(java.util.List<PatternView.Cell> pattern) |
protected boolean |
isStealthModeEnabled() |
protected void |
onCancel() |
protected void |
onConfirmed() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onForgotPassword() |
void |
onPatternCellAdded(java.util.List<PatternView.Cell> pattern)
The user extended the pattern currently being drawn by one cell.
|
void |
onPatternCleared()
The pattern was cleared.
|
void |
onPatternDetected(java.util.List<PatternView.Cell> pattern)
A pattern was detected from the user.
|
void |
onPatternStart()
A new pattern has begun.
|
protected void |
onSaveInstanceState(android.os.Bundle outState) |
protected void |
onWrongPattern() |
postClearPatternRunnable, removeClearPatternRunnablepublic static final int RESULT_FORGOT_PASSWORD
protected int mNumFailedAttempts
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class BasePatternActivityprotected void onSaveInstanceState(android.os.Bundle outState)
public void onPatternStart()
PatternView.OnPatternListeneronPatternStart in interface PatternView.OnPatternListenerpublic void onPatternCellAdded(java.util.List<PatternView.Cell> pattern)
PatternView.OnPatternListeneronPatternCellAdded in interface PatternView.OnPatternListenerpattern - The pattern with newly added cell.public void onPatternDetected(java.util.List<PatternView.Cell> pattern)
PatternView.OnPatternListeneronPatternDetected in interface PatternView.OnPatternListenerpattern - The pattern.public void onPatternCleared()
PatternView.OnPatternListeneronPatternCleared in interface PatternView.OnPatternListenerprotected boolean isStealthModeEnabled()
protected boolean isPatternCorrect(java.util.List<PatternView.Cell> pattern)
protected void onConfirmed()
protected void onWrongPattern()
protected void onCancel()
protected void onForgotPassword()