final class InteractiveArrayList<E> +extends ArrayList<E>+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+ InteractiveArrayList.ChangeListener
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private InteractiveArrayList.ChangeListener
+ |
+ mChangeListener
+ |
+
modCount
+ Constructor and Description | +
---|
InteractiveArrayList()
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+ add(E e)
+ |
+
void |
+ add(int index,
+ E element)
+ |
+
void |
+ clear()
+ |
+
E
+ |
+ remove(int index)
+ |
+
boolean |
+ remove(Object o)
+ |
+
void |
+ setChangeListener(InteractiveArrayList.ChangeListener listener)
+ |
+
addAll, addAll, clone, contains, ensureCapacity,
+ forEach, get, indexOf, isEmpty, iterator, lastIndexOf,
+ listIterator, listIterator,
+ removeAll, removeIf, removeRange,
+ replaceAll, retainAll,
+ set, size, sort, spliterator,
+ subList, toArray, toArray, trimToSize
+ equals, hashCode
+ containsAll, toString
+ finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
+ parallelStream,
+ stream
+ private InteractiveArrayList.ChangeListener mChangeListener+
public void setChangeListener(@NonNull + InteractiveArrayList.ChangeListener listener)+
public boolean add(E e)+ +
public boolean remove(Object o)+ +
public void add(int index, + E element)+ +
public E remove(int index)+ +
public final class KeyNamesBuilder
-extends java.lang.Object
- Modifier and Type | -Field and Description | -
---|---|
static java.lang.String |
- BACKSPACE_TITLE
- |
-
private java.lang.String |
- mKeyEight
- |
-
private java.lang.String |
- mKeyFive
- |
-
private java.lang.String |
- mKeyFour
- |
-
private java.lang.String |
- mKeyNine
- |
-
private java.lang.String |
- mKeyOne
- |
-
private java.lang.String |
- mKeySeven
- |
-
private java.lang.String |
- mKeySix
- |
-
private java.lang.String |
- mKeyThree
- |
-
private java.lang.String |
- mKeyTwo
- |
-
private java.lang.String |
- mKeyZero
- |
-
Constructor and Description | -
---|
KeyNamesBuilder()
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.lang.String[][] |
- build()
- |
-
java.lang.String |
- getKeyEight()
- |
-
java.lang.String |
- getKeyFive()
- |
-
java.lang.String |
- getKeyNine()
- |
-
java.lang.String |
- getKeyOne()
- |
-
java.lang.String |
- getKeySeven()
- |
-
java.lang.String |
- getKeySix()
- |
-
java.lang.String |
- getKeyThree()
- |
-
java.lang.String |
- getKeyTwo()
- |
-
java.lang.String |
- getKeyZero()
- |
-
java.lang.String |
- getmKeyFour()
- |
-
(package private) int |
- getValueOfKey(java.lang.String keyName)
- |
-
KeyNamesBuilder
- |
- setKeyEight(android.content.Context context,
- int keyEight)
- |
-
KeyNamesBuilder
- |
- setKeyEight(java.lang.String keyEight)
- |
-
KeyNamesBuilder
- |
- setKeyFive(android.content.Context context,
- int keyFive)
- |
-
KeyNamesBuilder
- |
- setKeyFive(java.lang.String keyFive)
- |
-
KeyNamesBuilder
- |
- setKeyFour(android.content.Context context,
- int keyFour)
- |
-
KeyNamesBuilder
- |
- setKeyFour(java.lang.String keyFour)
- |
-
KeyNamesBuilder
- |
- setKeyNine(android.content.Context context,
- int keyNine)
- |
-
KeyNamesBuilder
- |
- setKeyNine(java.lang.String keyNine)
- |
-
KeyNamesBuilder
- |
- setKeyOne(android.content.Context context,
- int keyOne)
- |
-
KeyNamesBuilder
- |
- setKeyOne(java.lang.String keyOne)
- |
-
KeyNamesBuilder
- |
- setKeySeven(android.content.Context context,
- int keySeven)
- |
-
KeyNamesBuilder
- |
- setKeySeven(java.lang.String keySeven)
- |
-
KeyNamesBuilder
- |
- setKeySix(android.content.Context context,
- int keySix)
- |
-
KeyNamesBuilder
- |
- setKeySix(java.lang.String keySix)
- |
-
KeyNamesBuilder
- |
- setKeyThree(android.content.Context context,
- int keyThree)
- |
-
KeyNamesBuilder
- |
- setKeyThree(java.lang.String keyThree)
- |
-
KeyNamesBuilder
- |
- setKeyTwo(android.content.Context context,
- int keyTwo)
- |
-
KeyNamesBuilder
- |
- setKeyTwo(java.lang.String keyTwo)
- |
-
KeyNamesBuilder
- |
- setKeyZero(android.content.Context context,
- int keyZero)
- |
-
KeyNamesBuilder
- |
- setKeyZero(java.lang.String keyZero)
- |
-
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
public static final java.lang.String BACKSPACE_TITLE-
private java.lang.String mKeyOne-
private java.lang.String mKeyTwo-
private java.lang.String mKeyThree-
private java.lang.String mKeyFour-
private java.lang.String mKeyFive-
private java.lang.String mKeySix-
private java.lang.String mKeySeven-
private java.lang.String mKeyEight-
private java.lang.String mKeyNine-
private java.lang.String mKeyZero-
public java.lang.String getKeyOne()-
public KeyNamesBuilder setKeyOne(@NonNull - java.lang.String keyOne)-
public KeyNamesBuilder setKeyOne(@NonNull - android.content.Context context, - @StringRes - int keyOne)-
public java.lang.String getKeyTwo()-
public KeyNamesBuilder setKeyTwo(@NonNull - java.lang.String keyTwo)-
public KeyNamesBuilder setKeyTwo(@NonNull - android.content.Context context, - @StringRes - int keyTwo)-
public java.lang.String getKeyThree()-
public KeyNamesBuilder setKeyThree(@NonNull - java.lang.String keyThree)-
public KeyNamesBuilder setKeyThree(@NonNull - android.content.Context context, - @StringRes - int keyThree)-
public java.lang.String getmKeyFour()-
public KeyNamesBuilder setKeyFour(@NonNull - java.lang.String keyFour)-
public KeyNamesBuilder setKeyFour(@NonNull - android.content.Context context, - @StringRes - int keyFour)-
public java.lang.String getKeyFive()-
public KeyNamesBuilder setKeyFive(@NonNull - java.lang.String keyFive)-
public KeyNamesBuilder setKeyFive(@NonNull - android.content.Context context, - @StringRes - int keyFive)-
public java.lang.String getKeySix()-
public KeyNamesBuilder setKeySix(@NonNull - java.lang.String keySix)-
public KeyNamesBuilder setKeySix(@NonNull - android.content.Context context, - @StringRes - int keySix)-
public java.lang.String getKeySeven()-
public KeyNamesBuilder setKeySeven(@NonNull - java.lang.String keySeven)-
public KeyNamesBuilder setKeySeven(@NonNull - android.content.Context context, - @StringRes - int keySeven)-
public java.lang.String getKeyEight()-
public KeyNamesBuilder setKeyEight(@NonNull - java.lang.String keyEight)-
public KeyNamesBuilder setKeyEight(@NonNull - android.content.Context context, - @StringRes - int keyEight)-
public java.lang.String getKeyNine()-
public KeyNamesBuilder setKeyNine(@NonNull - java.lang.String keyNine)-
public KeyNamesBuilder setKeyNine(@NonNull - android.content.Context context, - @StringRes - int keyNine)-
public java.lang.String getKeyZero()-
public KeyNamesBuilder setKeyZero(@NonNull - java.lang.String keyZero)-
public KeyNamesBuilder setKeyZero(@NonNull - android.content.Context context, - @StringRes - int keyZero)-
public java.lang.String[][] build()-
int getValueOfKey(@NonNull - java.lang.String keyName)-
private final class PatternView.PatternAuthenticatorTask +extends AsyncTask<ArrayList<PatternCell>,Void,Boolean>+
AsyncTask.Status
+ Modifier and Type | +Field and Description | +
---|---|
private PatternAuthenticator
+ |
+ mAuthenticator
+ |
+
private Handler
+ |
+ mHandler
+ |
+
private Runnable
+ |
+ mResetRunnable
+ |
+
SERIAL_EXECUTOR,
+ THREAD_POOL_EXECUTOR
+ Modifier | +Constructor and Description | +
---|---|
private |
+ PatternAuthenticatorTask(PatternAuthenticator authenticator)
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Boolean
+ |
+ doInBackground(ArrayList<PatternCell>... pinTyped)
+ |
+
protected void |
+ onCancelled()
+ |
+
protected void |
+ onPostExecute(Boolean isAuthenticated)
+ |
+
cancel, execute, execute, executeOnExecutor,
+ get, get, getStatus,
+ isCancelled, onCancelled,
+ onPreExecute, onProgressUpdate,
+ publishProgress
+ @NonNull +private final PatternAuthenticator mAuthenticator+
private PatternAuthenticatorTask(@NonNull + PatternAuthenticator authenticator)+
@SafeVarargs +protected final Boolean doInBackground(ArrayList<PatternCell>... pinTyped)+
doInBackground
in
+ class AsyncTask<ArrayList<PatternCell>,Void,Boolean>
+ protected void onPostExecute(Boolean isAuthenticated)+
onPostExecute
in
+ class AsyncTask<ArrayList<PatternCell>,Void,Boolean>
+ protected void onCancelled()+
onCancelled
in
+ class AsyncTask<ArrayList<PatternCell>,Void,Boolean>
+ Modifier and Type | +Class and Description | +
---|---|
private class |
+ PatternView.PatternAuthenticatorTask
+ |
+
android.view.View.AccessibilityDelegate,
- android.view.View.BaseSavedState,
- android.view.View.DragShadowBuilder,
- android.view.View.MeasureSpec,
- android.view.View.OnApplyWindowInsetsListener,
- android.view.View.OnAttachStateChangeListener,
- android.view.View.OnCapturedPointerListener,
- android.view.View.OnClickListener,
- android.view.View.OnContextClickListener,
- android.view.View.OnCreateContextMenuListener,
- android.view.View.OnDragListener,
- android.view.View.OnFocusChangeListener,
- android.view.View.OnGenericMotionListener,
- android.view.View.OnHoverListener,
- android.view.View.OnKeyListener,
- android.view.View.OnLayoutChangeListener,
- android.view.View.OnLongClickListener,
- android.view.View.OnScrollChangeListener,
- android.view.View.OnSystemUiVisibilityChangeListener,
- android.view.View.OnTouchListener
View.AccessibilityDelegate,
+ View.BaseSavedState,
+ View.DragShadowBuilder,
+ View.MeasureSpec,
+ View.OnApplyWindowInsetsListener,
+ View.OnAttachStateChangeListener,
+ View.OnCapturedPointerListener,
+ View.OnClickListener,
+ View.OnContextClickListener,
+ View.OnCreateContextMenuListener,
+ View.OnDragListener,
+ View.OnFocusChangeListener,
+ View.OnGenericMotionListener,
+ View.OnHoverListener,
+ View.OnKeyListener,
+ View.OnLayoutChangeListener,
+ View.OnLongClickListener,
+ View.OnScrollChangeListener,
+ View.OnSystemUiVisibilityChangeListener,
+ View.OnTouchListener
+ private boolean
isErrorShowing
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#isErrorShowing">isErrorShowing
+ true
if the error
+ animations are currently being played or false
.
+ private BoxPattern
+ href="../../../com/kevalpatel/passcodeview/authenticator/PatternAuthenticator.html"
+ title="interface in com.kevalpatel.passcodeview.authenticator">PatternAuthenticator
mBoxPattern
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mAuthenticator">mAuthenticator
+ PatternAuthenticator
+ to perform authentication on the pattern entered by the
+ user.
+ private BoxTitle
+ href="../../../com/kevalpatel/passcodeview/internal/BoxPattern.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxPattern
mBoxTitle
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mBoxPattern">mBoxPattern
+ BoxPattern
+ to display the PatternPoint
.
+ private PatternPoint[]
+ href="../../../com/kevalpatel/passcodeview/internal/BoxTitle.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxTitle
mCorrectPattern
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mBoxTitle">mBoxTitle
+ BoxTitle
+ to display the title message.
+ private android.graphics.Paint
+ private Paint
mErrorPaint
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mErrorPathPaint">mErrorPathPaint
+ Paint
+ for the path between two PatternPoint
+ when entered pattern is wrong.
+ private android.graphics.Paint
+ private Paint
mNormalPaint
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mNormalPathPaint">mNormalPathPaint
+ Paint
+ for the path between two PatternPoint
+ while user is entering the pattern.
+ private PatternView.PatternAuthenticatorTask
+ mPatternAuthenticatorTask
+ PatternView.PatternAuthenticatorTask
.
+ private int
mPatternPathColor
private float
mPatternPathEndX
private float
mPatternPathEndY
private java.util.ArrayList<
+ private ArrayList<PatternCell>
mPatternTyped
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#mPatternTyped">mPatternTyped
+ ArrayList
+ that holds the list of all the PatternCell
+ touched by the user
+ while drawing the pattern.
+
mAuthenticationListener,
- mContext,
mRootViewBound
@@ -298,99 +422,343 @@ ACCESSIBILITY_LIVE_REGION_ASSERTIVE,
- ACCESSIBILITY_LIVE_REGION_NONE,
- ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA,
- AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR,
- AUTOFILL_HINT_CREDIT_CARD_NUMBER,
- AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE,
- AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME,
- AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE,
- AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE,
- AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST,
- AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE,
- DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION,
- DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION,
- DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE,
- DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO,
- DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW,
- EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET,
- ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- ENABLED_FOCUSED_STATE_SET,
- ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- ENABLED_SELECTED_STATE_SET,
- ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET,
- ENABLED_WINDOW_FOCUSED_STATE_SET,
- FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT,
- FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT,
- FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO,
- FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE,
- FOCUSED_SELECTED_STATE_SET,
- FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET,
- FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED,
- IMPORTANT_FOR_ACCESSIBILITY_AUTO,
- IMPORTANT_FOR_ACCESSIBILITY_NO,
- IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS,
- IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO,
- IMPORTANT_FOR_AUTOFILL_NO,
- IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS,
- IMPORTANT_FOR_AUTOFILL_YES,
- IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE,
- KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE,
- LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT,
- LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR,
- LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT,
- MEASURED_SIZE_MASK, MEASURED_STATE_MASK,
- MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE,
- OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS,
- OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_SELECTED_STATE_SET,
- PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_STATE_SET,
- PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_FOCUSED_SELECTED_STATE_SET,
- PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_FOCUSED_STATE_SET,
- PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_SELECTED_STATE_SET,
- PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET,
- PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X,
- ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON,
- SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL,
- SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END,
- SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT,
- SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP,
- SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT,
- SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET,
- SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET,
- SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET,
- SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED,
- STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE,
- SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION,
- SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY,
- SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN,
- SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION,
- SYSTEM_UI_FLAG_LAYOUT_STABLE,
- SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR,
- SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE,
- SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS,
- TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY,
- TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END,
- TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END,
- TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL,
- TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR,
- TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT,
- TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL,
- TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG,
- VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
+ ACCESSIBILITY_LIVE_REGION_ASSERTIVE,
+ ACCESSIBILITY_LIVE_REGION_NONE,
+ ACCESSIBILITY_LIVE_REGION_POLITE,
+ ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR,
+ AUTOFILL_HINT_CREDIT_CARD_NUMBER,
+ AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE,
+ AUTOFILL_HINT_EMAIL_ADDRESS,
+ AUTOFILL_HINT_NAME,
+ AUTOFILL_HINT_PASSWORD,
+ AUTOFILL_HINT_PHONE,
+ AUTOFILL_HINT_POSTAL_ADDRESS,
+ AUTOFILL_HINT_POSTAL_CODE,
+ AUTOFILL_HINT_USERNAME,
+ AUTOFILL_TYPE_DATE,
+ AUTOFILL_TYPE_LIST,
+ AUTOFILL_TYPE_NONE,
+ AUTOFILL_TYPE_TEXT,
+ AUTOFILL_TYPE_TOGGLE,
+ DRAG_FLAG_GLOBAL,
+ DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION,
+ DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION,
+ DRAG_FLAG_GLOBAL_URI_READ,
+ DRAG_FLAG_GLOBAL_URI_WRITE,
+ DRAG_FLAG_OPAQUE,
+ DRAWING_CACHE_QUALITY_AUTO,
+ DRAWING_CACHE_QUALITY_HIGH,
+ DRAWING_CACHE_QUALITY_LOW,
+ EMPTY_STATE_SET,
+ ENABLED_FOCUSED_SELECTED_STATE_SET,
+ ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_FOCUSED_STATE_SET,
+ ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_SELECTED_STATE_SET,
+ ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_STATE_SET,
+ ENABLED_WINDOW_FOCUSED_STATE_SET,
+ FIND_VIEWS_WITH_CONTENT_DESCRIPTION,
+ FIND_VIEWS_WITH_TEXT,
+ FOCUS_BACKWARD,
+ FOCUS_DOWN, FOCUS_FORWARD,
+ FOCUS_LEFT, FOCUS_RIGHT,
+ FOCUS_UP, FOCUSABLE,
+ FOCUSABLE_AUTO,
+ FOCUSABLES_ALL,
+ FOCUSABLES_TOUCH_MODE,
+ FOCUSED_SELECTED_STATE_SET,
+ FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ FOCUSED_STATE_SET,
+ FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ GONE, HAPTIC_FEEDBACK_ENABLED,
+ IMPORTANT_FOR_ACCESSIBILITY_AUTO,
+ IMPORTANT_FOR_ACCESSIBILITY_NO,
+ IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS,
+ IMPORTANT_FOR_ACCESSIBILITY_YES,
+ IMPORTANT_FOR_AUTOFILL_AUTO,
+ IMPORTANT_FOR_AUTOFILL_NO,
+ IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS,
+ IMPORTANT_FOR_AUTOFILL_YES,
+ IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS,
+ INVISIBLE, KEEP_SCREEN_ON,
+ LAYER_TYPE_HARDWARE,
+ LAYER_TYPE_NONE,
+ LAYER_TYPE_SOFTWARE,
+ LAYOUT_DIRECTION_INHERIT,
+ LAYOUT_DIRECTION_LOCALE,
+ LAYOUT_DIRECTION_LTR,
+ LAYOUT_DIRECTION_RTL,
+ MEASURED_HEIGHT_STATE_SHIFT,
+ MEASURED_SIZE_MASK,
+ MEASURED_STATE_MASK,
+ MEASURED_STATE_TOO_SMALL,
+ NO_ID, NOT_FOCUSABLE,
+ OVER_SCROLL_ALWAYS,
+ OVER_SCROLL_IF_CONTENT_SCROLLS,
+ OVER_SCROLL_NEVER,
+ PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_SELECTED_STATE_SET,
+ PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_STATE_SET,
+ PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_SELECTED_STATE_SET,
+ PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_SELECTED_STATE_SET,
+ PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_STATE_SET,
+ PRESSED_WINDOW_FOCUSED_STATE_SET,
+ ROTATION, ROTATION_X,
+ ROTATION_Y, SCALE_X,
+ SCALE_Y, SCREEN_STATE_OFF,
+ SCREEN_STATE_ON,
+ SCROLL_AXIS_HORIZONTAL,
+ SCROLL_AXIS_NONE,
+ SCROLL_AXIS_VERTICAL,
+ SCROLL_INDICATOR_BOTTOM,
+ SCROLL_INDICATOR_END,
+ SCROLL_INDICATOR_LEFT,
+ SCROLL_INDICATOR_RIGHT,
+ SCROLL_INDICATOR_START,
+ SCROLL_INDICATOR_TOP,
+ SCROLLBAR_POSITION_DEFAULT,
+ SCROLLBAR_POSITION_LEFT,
+ SCROLLBAR_POSITION_RIGHT,
+ SCROLLBARS_INSIDE_INSET,
+ SCROLLBARS_INSIDE_OVERLAY,
+ SCROLLBARS_OUTSIDE_INSET,
+ SCROLLBARS_OUTSIDE_OVERLAY,
+ SELECTED_STATE_SET,
+ SELECTED_WINDOW_FOCUSED_STATE_SET,
+ SOUND_EFFECTS_ENABLED,
+ STATUS_BAR_HIDDEN,
+ STATUS_BAR_VISIBLE,
+ SYSTEM_UI_FLAG_FULLSCREEN,
+ SYSTEM_UI_FLAG_HIDE_NAVIGATION,
+ SYSTEM_UI_FLAG_IMMERSIVE,
+ SYSTEM_UI_FLAG_IMMERSIVE_STICKY,
+ SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN,
+ SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION,
+ SYSTEM_UI_FLAG_LAYOUT_STABLE,
+ SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR,
+ SYSTEM_UI_FLAG_LIGHT_STATUS_BAR,
+ SYSTEM_UI_FLAG_LOW_PROFILE,
+ SYSTEM_UI_FLAG_VISIBLE,
+ SYSTEM_UI_LAYOUT_FLAGS,
+ TEXT_ALIGNMENT_CENTER,
+ TEXT_ALIGNMENT_GRAVITY,
+ TEXT_ALIGNMENT_INHERIT,
+ TEXT_ALIGNMENT_TEXT_END,
+ TEXT_ALIGNMENT_TEXT_START,
+ TEXT_ALIGNMENT_VIEW_END,
+ TEXT_ALIGNMENT_VIEW_START,
+ TEXT_DIRECTION_ANY_RTL,
+ TEXT_DIRECTION_FIRST_STRONG,
+ TEXT_DIRECTION_FIRST_STRONG_LTR,
+ TEXT_DIRECTION_FIRST_STRONG_RTL,
+ TEXT_DIRECTION_INHERIT,
+ TEXT_DIRECTION_LOCALE,
+ TEXT_DIRECTION_LTR,
+ TEXT_DIRECTION_RTL,
+ TRANSLATION_X,
+ TRANSLATION_Y,
+ TRANSLATION_Z,
+ VIEW_LOG_TAG,
+ VISIBLE, WINDOW_FOCUSED_STATE_SET,
+ X, Y, Z
+
@@ -409,19 +777,27 @@ PatternView(android.content.Context context)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#PatternView-android.content.Context-">PatternView(Context context)
PatternView(android.content.Context context,
- android.util.AttributeSet attrs)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#PatternView-android.content.Context-android.util.AttributeSet-">PatternView(Context context,
+ AttributeSet attrs)
PatternView(android.content.Context context,
- android.util.AttributeSet attrs,
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#PatternView-android.content.Context-android.util.AttributeSet-int-">PatternView(Context context,
+ AttributeSet attrs,
int defStyleAttr)
private void
drawPaths(android.graphics.Canvas canvas)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#drawPaths-android.graphics.Canvas-">drawPaths(Canvas canvas)
void
drawView(android.graphics.Canvas canvas)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#drawView-android.graphics.Canvas-">drawView(Canvas canvas)
PatternAuthenticator
+ getAuthenticator()
+ int
getNoOfColumn()
int
getNoOfRows()
PatternCell.Builder
@@ -491,110 +880,131 @@ int
getPatternPathColor()
java.lang.String
String
+ getTitle()
int
getTitleColor()
void
init()
boolean
isOneHandOperationEnabled()
void
measureView(android.graphics.Rect rootViewBounds)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#measureView-android.graphics.Rect-">measureView(Rect rootViewBounds)
void
onAuthenticationFail()
void
onAuthenticationSuccess()
protected void
onDetachedFromWindow()
+ boolean
onTouchEvent(android.view.MotionEvent event)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#onTouchEvent-android.view.MotionEvent-">onTouchEvent(MotionEvent event)
void
parseTypeArr(android.util.AttributeSet typedArray)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#parseTypeArr-android.util.AttributeSet-">parseTypeArr(AttributeSet typedArray)
void
preparePaint()
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#preparePaint--">preparePaint()
+ mNormalPathPaint
+ and
+ mErrorPathPaint
.
+ void
reset()
void
setCorrectPattern(PatternPoint[] correctPattern)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#setAuthenticator-com.kevalpatel.passcodeview.authenticator.PatternAuthenticator-">setAuthenticator(PatternAuthenticator authenticator)
void
setDefaults()
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#setDefaults--">setDefaults()
+ void
setNoOfColumn(int noOfColumn)
void
setNoOfRows(int noOfRows)
void
setPatternCell(Method Summary
title="class in com.kevalpatel.passcodeview.patternCells">PatternCell.Builder indicatorBuilder)
void
setPatternPathColor(int pathColor)
void
setPatternPathColorRes(int pathColor)
void
setTitle(int titleRes)
void
setTitle(java.lang.String title)
+ href="../../../com/kevalpatel/passcodeview/PatternView.html#setTitle-java.lang.String-">setTitle(String title)
void
setTitleColor(int titleColor)
void
setTitleColorRes(int titleColor)
private void
validatePattern()
- addChildrenForAccessibility,
- addExtraDataToAccessibilityNodeInfo, addFocusables,
- addFocusables, addKeyboardNavigationClusters,
- addOnAttachStateChangeListener, addOnLayoutChangeListener,
- addTouchables, animate, announceForAccessibility, autofill,
- autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars,
- bringToFront, buildDrawingCache, buildDrawingCache, buildLayer,
- callOnClick, cancelDragAndDrop, cancelLongPress,
- cancelPendingInputEvents, canResolveLayoutDirection,
- canResolveTextAlignment, canResolveTextDirection,
- canScrollHorizontally, canScrollVertically,
- checkInputConnectionProxy, clearAnimation, clearFocus,
- combineMeasuredStates, computeHorizontalScrollExtent,
- computeHorizontalScrollOffset, computeHorizontalScrollRange,
- computeScroll, computeSystemWindowInsets,
- computeVerticalScrollExtent, computeVerticalScrollOffset,
- computeVerticalScrollRange, createAccessibilityNodeInfo,
- createContextMenu, destroyDrawingCache,
- dispatchApplyWindowInsets, dispatchCapturedPointerEvent,
- dispatchConfigurationChanged, dispatchDisplayHint,
- dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged,
- dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent,
- dispatchGenericMotionEvent, dispatchGenericPointerEvent,
- dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme,
- dispatchKeyShortcutEvent, dispatchNestedFling,
- dispatchNestedPreFling,
- dispatchNestedPrePerformAccessibilityAction,
- dispatchNestedPreScroll, dispatchNestedScroll,
- dispatchPointerCaptureChanged,
- dispatchPopulateAccessibilityEvent,
- dispatchProvideAutofillStructure, dispatchProvideStructure,
- dispatchRestoreInstanceState, dispatchSaveInstanceState,
- dispatchSetActivated, dispatchSetPressed, dispatchSetSelected,
- dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged,
- dispatchTouchEvent, dispatchTrackballEvent,
- dispatchUnhandledMove, dispatchVisibilityChanged,
- dispatchWindowFocusChanged,
- dispatchWindowSystemUiVisiblityChanged,
- dispatchWindowVisibilityChanged, draw, drawableHotspotChanged,
- drawableStateChanged, findFocus, findViewById,
- findViewsWithText, findViewWithTag, fitSystemWindows,
- focusSearch, forceHasOverlappingRendering, forceLayout,
- generateViewId, getAccessibilityClassName,
- getAccessibilityLiveRegion, getAccessibilityNodeProvider,
- getAccessibilityTraversalAfter, getAccessibilityTraversalBefore,
- getAlpha, getAnimation, getApplicationWindowToken,
- getAutofillHints, getAutofillId, getAutofillType,
- getAutofillValue, getBackground, getBackgroundTintList,
- getBackgroundTintMode, getBaseline, getBottom,
- getBottomFadingEdgeStrength, getBottomPaddingOffset,
- getCameraDistance, getClipBounds, getClipBounds,
- getClipToOutline, getContentDescription, getContext,
- getContextMenuInfo, getDefaultFocusHighlightEnabled,
- getDefaultSize, getDisplay, getDrawableState, getDrawingCache,
- getDrawingCache, getDrawingCacheBackgroundColor,
- getDrawingCacheQuality, getDrawingRect, getDrawingTime,
- getElevation, getFilterTouchesWhenObscured,
- getFitsSystemWindows, getFocusable, getFocusables,
- getFocusedRect, getForeground, getForegroundGravity,
- getForegroundTintList, getForegroundTintMode,
- getGlobalVisibleRect, getGlobalVisibleRect, getHandler,
- getHasOverlappingRendering, getHeight, getHitRect,
- getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight,
- getId, getImportantForAccessibility, getImportantForAutofill,
- getKeepScreenOn, getKeyDispatcherState, getLabelFor,
- getLayerType, getLayoutDirection, getLayoutParams, getLeft,
- getLeftFadingEdgeStrength, getLeftPaddingOffset,
- getLocalVisibleRect, getLocationInWindow, getLocationOnScreen,
- getMatrix, getMeasuredHeight, getMeasuredHeightAndState,
- getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState,
- getMinimumHeight, getMinimumWidth, getNextClusterForwardId,
- getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId,
- getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener,
- getOutlineProvider, getOverlay, getOverScrollMode,
- getPaddingBottom, getPaddingEnd, getPaddingLeft,
- getPaddingRight, getPaddingStart, getPaddingTop, getParent,
- getParentForAccessibility, getPivotX, getPivotY, getPointerIcon,
- getResources, getRevealOnFocusHint, getRight,
- getRightFadingEdgeStrength, getRightPaddingOffset, getRootView,
- getRootWindowInsets, getRotation, getRotationX, getRotationY,
- getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade,
- getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle,
- getScrollIndicators, getScrollX, getScrollY, getSolidColor,
- getStateListAnimator, getSuggestedMinimumHeight,
- getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag,
- getTextAlignment, getTextDirection, getTooltipText, getTop,
- getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables,
- getTouchDelegate, getTransitionName, getTranslationX,
- getTranslationY, getTranslationZ, getVerticalFadingEdgeLength,
- getVerticalScrollbarPosition, getVerticalScrollbarWidth,
- getViewTreeObserver, getVisibility, getWidth,
- getWindowAttachCount, getWindowId, getWindowSystemUiVisibility,
- getWindowToken, getWindowVisibility,
- getWindowVisibleDisplayFrame, getX, getY, getZ,
- hasExplicitFocusable, hasFocus, hasFocusable,
- hasNestedScrollingParent, hasOnClickListeners,
- hasOverlappingRendering, hasPointerCapture, hasTransientState,
- hasWindowFocus, inflate, invalidate, invalidate, invalidate,
- invalidateDrawable, invalidateOutline, isAccessibilityFocused,
- isActivated, isAttachedToWindow, isClickable,
- isContextClickable, isDirty, isDrawingCacheEnabled,
- isDuplicateParentStateEnabled, isEnabled, isFocusable,
- isFocusableInTouchMode, isFocused, isFocusedByDefault,
- isHapticFeedbackEnabled, isHardwareAccelerated,
- isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled,
- isHovered, isImportantForAccessibility, isImportantForAutofill,
- isInEditMode, isInLayout, isInTouchMode,
- isKeyboardNavigationCluster, isLaidOut,
- isLayoutDirectionResolved, isLayoutRequested, isLongClickable,
- isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired,
- isPaddingRelative, isPressed, isSaveEnabled,
- isSaveFromParentEnabled, isScrollbarFadingEnabled,
- isScrollContainer, isSelected, isShown, isSoundEffectsEnabled,
- isTemporarilyDetached, isTextAlignmentResolved,
- isTextDirectionResolved, isVerticalFadingEdgeEnabled,
- isVerticalScrollBarEnabled, jumpDrawablesToCurrentState,
- keyboardNavigationClusterSearch, layout, measure,
- mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom,
- onAnimationEnd, onAnimationStart, onApplyWindowInsets,
- onAttachedToWindow, onCancelPendingInputEvents,
- onCapturedPointerEvent, onCheckIsTextEditor,
- onConfigurationChanged, onCreateContextMenu,
- onCreateDrawableState, onCreateInputConnection, onDisplayHint,
- onDragEvent, onDrawForeground, onDrawScrollBars,
- onFilterTouchEventForSecurity, onFinishInflate,
- onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent,
- onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent,
- onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress,
- onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout,
- onOverScrolled, onPointerCaptureChange,
- onPopulateAccessibilityEvent, onProvideAutofillStructure,
- onProvideAutofillVirtualStructure, onProvideStructure,
- onProvideVirtualStructure, onResolvePointerIcon,
- onRestoreInstanceState, onRtlPropertiesChanged,
- onSaveInstanceState, onScreenStateChanged, onScrollChanged,
- onSetAlpha, onSizeChanged, onStartTemporaryDetach,
- onTrackballEvent, onVisibilityAggregated, onVisibilityChanged,
- onWindowFocusChanged, onWindowSystemUiVisibilityChanged,
- onWindowVisibilityChanged, overScrollBy,
- performAccessibilityAction, performClick, performContextClick,
- performContextClick, performHapticFeedback,
- performHapticFeedback, performLongClick, performLongClick,
- playSoundEffect, post, postDelayed, postInvalidate,
- postInvalidate, postInvalidateDelayed, postInvalidateDelayed,
- postInvalidateOnAnimation, postInvalidateOnAnimation,
- postOnAnimation, postOnAnimationDelayed, refreshDrawableState,
- releasePointerCapture, removeCallbacks,
- removeOnAttachStateChangeListener, removeOnLayoutChangeListener,
- requestApplyInsets, requestFitSystemWindows, requestFocus,
- requestFocus, requestFocus, requestFocusFromTouch,
- requestLayout, requestPointerCapture, requestRectangleOnScreen,
- requestRectangleOnScreen, requestUnbufferedDispatch,
- resolveSize, resolveSizeAndState, restoreDefaultFocus,
- restoreHierarchyState, saveHierarchyState, scheduleDrawable,
- scrollBy, scrollTo, sendAccessibilityEvent,
- sendAccessibilityEventUnchecked, setAccessibilityDelegate,
- setAccessibilityLiveRegion, setAccessibilityTraversalAfter,
- setAccessibilityTraversalBefore, setActivated, setAlpha,
- setAnimation, setAutofillHints, setBackground,
- setBackgroundColor, setBackgroundDrawable,
- setBackgroundResource, setBackgroundTintList,
- setBackgroundTintMode, setBottom, setCameraDistance,
- setClickable, setClipBounds, setClipToOutline,
- setContentDescription, setContextClickable,
- setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor,
- setDrawingCacheEnabled, setDrawingCacheQuality,
- setDuplicateParentStateEnabled, setElevation, setEnabled,
- setFadingEdgeLength, setFilterTouchesWhenObscured,
- setFitsSystemWindows, setFocusable, setFocusable,
- setFocusableInTouchMode, setFocusedByDefault, setForeground,
- setForegroundGravity, setForegroundTintList,
- setForegroundTintMode, setHapticFeedbackEnabled,
- setHasTransientState, setHorizontalFadingEdgeEnabled,
- setHorizontalScrollBarEnabled, setHovered, setId,
- setImportantForAccessibility, setImportantForAutofill,
- setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor,
- setLayerPaint, setLayerType, setLayoutDirection,
- setLayoutParams, setLeft, setLongClickable,
- setMeasuredDimension, setMinimumHeight, setMinimumWidth,
- setNestedScrollingEnabled, setNextClusterForwardId,
- setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId,
- setNextFocusRightId, setNextFocusUpId,
- setOnApplyWindowInsetsListener, setOnCapturedPointerListener,
- setOnClickListener, setOnContextClickListener,
- setOnCreateContextMenuListener, setOnDragListener,
- setOnFocusChangeListener, setOnGenericMotionListener,
- setOnHoverListener, setOnKeyListener, setOnLongClickListener,
- setOnScrollChangeListener,
- setOnSystemUiVisibilityChangeListener, setOnTouchListener,
- setOutlineProvider, setOverScrollMode, setPadding,
- setPaddingRelative, setPivotX, setPivotY, setPointerIcon,
- setPressed, setRevealOnFocusHint, setRight, setRotation,
- setRotationX, setRotationY, setSaveEnabled,
- setSaveFromParentEnabled, setScaleX, setScaleY,
- setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration,
- setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle,
- setScrollContainer, setScrollIndicators, setScrollIndicators,
- setScrollX, setScrollY, setSelected, setSoundEffectsEnabled,
- setStateListAnimator, setSystemUiVisibility, setTag, setTag,
- setTextAlignment, setTextDirection, setTooltipText, setTop,
- setTouchDelegate, setTransitionName, setTranslationX,
- setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled,
- setVerticalScrollBarEnabled, setVerticalScrollbarPosition,
- setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX,
- setY, setZ, showContextMenu, showContextMenu, startActionMode,
- startActionMode, startAnimation, startDrag, startDragAndDrop,
- startNestedScroll, stopNestedScroll, toString,
- unscheduleDrawable, unscheduleDrawable, updateDragShadow,
- verifyDrawable, willNotCacheDrawing, willNotDraw
addChildrenForAccessibility,
+ addExtraDataToAccessibilityNodeInfo,
+ addFocusables,
+ addFocusables,
+ addKeyboardNavigationClusters,
+ addOnAttachStateChangeListener,
+ addOnLayoutChangeListener,
+ addTouchables,
+ animate, announceForAccessibility,
+ autofill, autofill,
+ awakenScrollBars,
+ awakenScrollBars,
+ awakenScrollBars,
+ bringToFront,
+ buildDrawingCache,
+ buildDrawingCache,
+ buildLayer, callOnClick,
+ cancelDragAndDrop,
+ cancelLongPress,
+ cancelPendingInputEvents,
+ canResolveLayoutDirection,
+ canResolveTextAlignment,
+ canResolveTextDirection,
+ canScrollHorizontally,
+ canScrollVertically,
+ checkInputConnectionProxy,
+ clearAnimation,
+ clearFocus, combineMeasuredStates,
+ computeHorizontalScrollExtent,
+ computeHorizontalScrollOffset,
+ computeHorizontalScrollRange,
+ computeScroll,
+ computeSystemWindowInsets,
+ computeVerticalScrollExtent,
+ computeVerticalScrollOffset,
+ computeVerticalScrollRange,
+ createAccessibilityNodeInfo,
+ createContextMenu,
+ destroyDrawingCache,
+ dispatchApplyWindowInsets,
+ dispatchCapturedPointerEvent,
+ dispatchConfigurationChanged,
+ dispatchDisplayHint,
+ dispatchDragEvent,
+ dispatchDraw,
+ dispatchDrawableHotspotChanged,
+ dispatchFinishTemporaryDetach,
+ dispatchGenericFocusedEvent,
+ dispatchGenericMotionEvent,
+ dispatchGenericPointerEvent,
+ dispatchHoverEvent,
+ dispatchKeyEvent,
+ dispatchKeyEventPreIme,
+ dispatchKeyShortcutEvent,
+ dispatchNestedFling,
+ dispatchNestedPreFling,
+ dispatchNestedPrePerformAccessibilityAction,
+ dispatchNestedPreScroll,
+ dispatchNestedScroll,
+ dispatchPointerCaptureChanged,
+ dispatchPopulateAccessibilityEvent,
+ dispatchProvideAutofillStructure,
+ dispatchProvideStructure,
+ dispatchRestoreInstanceState,
+ dispatchSaveInstanceState,
+ dispatchSetActivated,
+ dispatchSetPressed,
+ dispatchSetSelected,
+ dispatchStartTemporaryDetach,
+ dispatchSystemUiVisibilityChanged,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ dispatchUnhandledMove,
+ dispatchVisibilityChanged,
+ dispatchWindowFocusChanged,
+ dispatchWindowSystemUiVisiblityChanged,
+ dispatchWindowVisibilityChanged,
+ draw, drawableHotspotChanged,
+ drawableStateChanged,
+ findFocus, findViewById,
+ findViewsWithText,
+ findViewWithTag,
+ fitSystemWindows,
+ focusSearch,
+ forceHasOverlappingRendering,
+ forceLayout,
+ generateViewId,
+ getAccessibilityClassName,
+ getAccessibilityLiveRegion,
+ getAccessibilityNodeProvider,
+ getAccessibilityTraversalAfter,
+ getAccessibilityTraversalBefore,
+ getAlpha, getAnimation,
+ getApplicationWindowToken,
+ getAutofillHints,
+ getAutofillId,
+ getAutofillType,
+ getAutofillValue,
+ getBackground,
+ getBackgroundTintList,
+ getBackgroundTintMode,
+ getBaseline,
+ getBottom, getBottomFadingEdgeStrength,
+ getBottomPaddingOffset,
+ getCameraDistance,
+ getClipBounds,
+ getClipBounds,
+ getClipToOutline,
+ getContentDescription,
+ getContext, getContextMenuInfo,
+ getDefaultFocusHighlightEnabled,
+ getDefaultSize,
+ getDisplay, getDrawableState,
+ getDrawingCache,
+ getDrawingCache,
+ getDrawingCacheBackgroundColor,
+ getDrawingCacheQuality,
+ getDrawingRect,
+ getDrawingTime,
+ getElevation,
+ getFilterTouchesWhenObscured,
+ getFitsSystemWindows,
+ getFocusable,
+ getFocusables,
+ getFocusedRect,
+ getForeground,
+ getForegroundGravity,
+ getForegroundTintList,
+ getForegroundTintMode,
+ getGlobalVisibleRect,
+ getGlobalVisibleRect,
+ getHandler, getHasOverlappingRendering,
+ getHeight, getHitRect,
+ getHorizontalFadingEdgeLength,
+ getHorizontalScrollbarHeight,
+ getId, getImportantForAccessibility,
+ getImportantForAutofill,
+ getKeepScreenOn,
+ getKeyDispatcherState,
+ getLabelFor,
+ getLayerType,
+ getLayoutDirection,
+ getLayoutParams,
+ getLeft, getLeftFadingEdgeStrength,
+ getLeftPaddingOffset,
+ getLocalVisibleRect,
+ getLocationInWindow,
+ getLocationOnScreen,
+ getMatrix, getMeasuredHeight,
+ getMeasuredHeightAndState,
+ getMeasuredState,
+ getMeasuredWidth,
+ getMeasuredWidthAndState,
+ getMinimumHeight,
+ getMinimumWidth,
+ getNextClusterForwardId,
+ getNextFocusDownId,
+ getNextFocusForwardId,
+ getNextFocusLeftId,
+ getNextFocusRightId,
+ getNextFocusUpId,
+ getOnFocusChangeListener,
+ getOutlineProvider,
+ getOverlay, getOverScrollMode,
+ getPaddingBottom,
+ getPaddingEnd,
+ getPaddingLeft,
+ getPaddingRight,
+ getPaddingStart,
+ getPaddingTop,
+ getParent, getParentForAccessibility,
+ getPivotX, getPivotY,
+ getPointerIcon,
+ getResources,
+ getRevealOnFocusHint,
+ getRight, getRightFadingEdgeStrength,
+ getRightPaddingOffset,
+ getRootView,
+ getRootWindowInsets,
+ getRotation,
+ getRotationX,
+ getRotationY,
+ getScaleX, getScaleY,
+ getScrollBarDefaultDelayBeforeFade,
+ getScrollBarFadeDuration,
+ getScrollBarSize,
+ getScrollBarStyle,
+ getScrollIndicators,
+ getScrollX, getScrollY,
+ getSolidColor,
+ getStateListAnimator,
+ getSuggestedMinimumHeight,
+ getSuggestedMinimumWidth,
+ getSystemUiVisibility,
+ getTag, getTag,
+ getTextAlignment,
+ getTextDirection,
+ getTooltipText,
+ getTop, getTopFadingEdgeStrength,
+ getTopPaddingOffset,
+ getTouchables,
+ getTouchDelegate,
+ getTransitionName,
+ getTranslationX,
+ getTranslationY,
+ getTranslationZ,
+ getVerticalFadingEdgeLength,
+ getVerticalScrollbarPosition,
+ getVerticalScrollbarWidth,
+ getViewTreeObserver,
+ getVisibility,
+ getWidth, getWindowAttachCount,
+ getWindowId,
+ getWindowSystemUiVisibility,
+ getWindowToken,
+ getWindowVisibility,
+ getWindowVisibleDisplayFrame,
+ getX, getY, getZ, hasExplicitFocusable,
+ hasFocus, hasFocusable,
+ hasNestedScrollingParent,
+ hasOnClickListeners,
+ hasOverlappingRendering,
+ hasPointerCapture,
+ hasTransientState,
+ hasWindowFocus,
+ inflate, invalidate,
+ invalidate, invalidate,
+ invalidateDrawable,
+ invalidateOutline,
+ isAccessibilityFocused,
+ isActivated,
+ isAttachedToWindow,
+ isClickable,
+ isContextClickable,
+ isDirty, isDrawingCacheEnabled,
+ isDuplicateParentStateEnabled,
+ isEnabled, isFocusable,
+ isFocusableInTouchMode,
+ isFocused, isFocusedByDefault,
+ isHapticFeedbackEnabled,
+ isHardwareAccelerated,
+ isHorizontalFadingEdgeEnabled,
+ isHorizontalScrollBarEnabled,
+ isHovered, isImportantForAccessibility,
+ isImportantForAutofill,
+ isInEditMode,
+ isInLayout, isInTouchMode,
+ isKeyboardNavigationCluster,
+ isLaidOut, isLayoutDirectionResolved,
+ isLayoutRequested,
+ isLongClickable,
+ isNestedScrollingEnabled,
+ isOpaque, isPaddingOffsetRequired,
+ isPaddingRelative,
+ isPressed, isSaveEnabled,
+ isSaveFromParentEnabled,
+ isScrollbarFadingEnabled,
+ isScrollContainer,
+ isSelected, isShown,
+ isSoundEffectsEnabled,
+ isTemporarilyDetached,
+ isTextAlignmentResolved,
+ isTextDirectionResolved,
+ isVerticalFadingEdgeEnabled,
+ isVerticalScrollBarEnabled,
+ jumpDrawablesToCurrentState,
+ keyboardNavigationClusterSearch,
+ layout, measure,
+ mergeDrawableStates,
+ offsetLeftAndRight,
+ offsetTopAndBottom,
+ onAnimationEnd,
+ onAnimationStart,
+ onApplyWindowInsets,
+ onAttachedToWindow,
+ onCancelPendingInputEvents,
+ onCapturedPointerEvent,
+ onCheckIsTextEditor,
+ onConfigurationChanged,
+ onCreateContextMenu,
+ onCreateDrawableState,
+ onCreateInputConnection,
+ onDisplayHint,
+ onDragEvent,
+ onDrawForeground,
+ onDrawScrollBars,
+ onFilterTouchEventForSecurity,
+ onFinishInflate,
+ onFinishTemporaryDetach,
+ onFocusChanged,
+ onGenericMotionEvent,
+ onHoverChanged,
+ onHoverEvent,
+ onInitializeAccessibilityEvent,
+ onInitializeAccessibilityNodeInfo,
+ onKeyDown, onKeyLongPress,
+ onKeyMultiple,
+ onKeyPreIme,
+ onKeyShortcut,
+ onKeyUp, onLayout,
+ onOverScrolled,
+ onPointerCaptureChange,
+ onPopulateAccessibilityEvent,
+ onProvideAutofillStructure,
+ onProvideAutofillVirtualStructure,
+ onProvideStructure,
+ onProvideVirtualStructure,
+ onResolvePointerIcon,
+ onRestoreInstanceState,
+ onRtlPropertiesChanged,
+ onSaveInstanceState,
+ onScreenStateChanged,
+ onScrollChanged,
+ onSetAlpha, onSizeChanged,
+ onStartTemporaryDetach,
+ onTrackballEvent,
+ onVisibilityAggregated,
+ onVisibilityChanged,
+ onWindowFocusChanged,
+ onWindowSystemUiVisibilityChanged,
+ onWindowVisibilityChanged,
+ overScrollBy,
+ performAccessibilityAction,
+ performClick,
+ performContextClick,
+ performContextClick,
+ performHapticFeedback,
+ performHapticFeedback,
+ performLongClick,
+ performLongClick,
+ playSoundEffect,
+ post, postDelayed,
+ postInvalidate,
+ postInvalidate,
+ postInvalidateDelayed,
+ postInvalidateDelayed,
+ postInvalidateOnAnimation,
+ postInvalidateOnAnimation,
+ postOnAnimation,
+ postOnAnimationDelayed,
+ refreshDrawableState,
+ releasePointerCapture,
+ removeCallbacks,
+ removeOnAttachStateChangeListener,
+ removeOnLayoutChangeListener,
+ requestApplyInsets,
+ requestFitSystemWindows,
+ requestFocus,
+ requestFocus,
+ requestFocus,
+ requestFocusFromTouch,
+ requestLayout,
+ requestPointerCapture,
+ requestRectangleOnScreen,
+ requestRectangleOnScreen,
+ requestUnbufferedDispatch,
+ resolveSize,
+ resolveSizeAndState,
+ restoreDefaultFocus,
+ restoreHierarchyState,
+ saveHierarchyState,
+ scheduleDrawable,
+ scrollBy, scrollTo,
+ sendAccessibilityEvent,
+ sendAccessibilityEventUnchecked,
+ setAccessibilityDelegate,
+ setAccessibilityLiveRegion,
+ setAccessibilityTraversalAfter,
+ setAccessibilityTraversalBefore,
+ setActivated,
+ setAlpha, setAnimation,
+ setAutofillHints,
+ setBackground,
+ setBackgroundColor,
+ setBackgroundDrawable,
+ setBackgroundResource,
+ setBackgroundTintList,
+ setBackgroundTintMode,
+ setBottom, setCameraDistance,
+ setClickable,
+ setClipBounds,
+ setClipToOutline,
+ setContentDescription,
+ setContextClickable,
+ setDefaultFocusHighlightEnabled,
+ setDrawingCacheBackgroundColor,
+ setDrawingCacheEnabled,
+ setDrawingCacheQuality,
+ setDuplicateParentStateEnabled,
+ setElevation,
+ setEnabled, setFadingEdgeLength,
+ setFilterTouchesWhenObscured,
+ setFitsSystemWindows,
+ setFocusable,
+ setFocusable,
+ setFocusableInTouchMode,
+ setFocusedByDefault,
+ setForeground,
+ setForegroundGravity,
+ setForegroundTintList,
+ setForegroundTintMode,
+ setHapticFeedbackEnabled,
+ setHasTransientState,
+ setHorizontalFadingEdgeEnabled,
+ setHorizontalScrollBarEnabled,
+ setHovered, setId, setImportantForAccessibility,
+ setImportantForAutofill,
+ setKeepScreenOn,
+ setKeyboardNavigationCluster,
+ setLabelFor,
+ setLayerPaint,
+ setLayerType,
+ setLayoutDirection,
+ setLayoutParams,
+ setLeft, setLongClickable,
+ setMeasuredDimension,
+ setMinimumHeight,
+ setMinimumWidth,
+ setNestedScrollingEnabled,
+ setNextClusterForwardId,
+ setNextFocusDownId,
+ setNextFocusForwardId,
+ setNextFocusLeftId,
+ setNextFocusRightId,
+ setNextFocusUpId,
+ setOnApplyWindowInsetsListener,
+ setOnCapturedPointerListener,
+ setOnClickListener,
+ setOnContextClickListener,
+ setOnCreateContextMenuListener,
+ setOnDragListener,
+ setOnFocusChangeListener,
+ setOnGenericMotionListener,
+ setOnHoverListener,
+ setOnKeyListener,
+ setOnLongClickListener,
+ setOnScrollChangeListener,
+ setOnSystemUiVisibilityChangeListener,
+ setOnTouchListener,
+ setOutlineProvider,
+ setOverScrollMode,
+ setPadding, setPaddingRelative,
+ setPivotX, setPivotY,
+ setPointerIcon,
+ setPressed, setRevealOnFocusHint,
+ setRight, setRotation,
+ setRotationX,
+ setRotationY,
+ setSaveEnabled,
+ setSaveFromParentEnabled,
+ setScaleX, setScaleY,
+ setScrollBarDefaultDelayBeforeFade,
+ setScrollBarFadeDuration,
+ setScrollbarFadingEnabled,
+ setScrollBarSize,
+ setScrollBarStyle,
+ setScrollContainer,
+ setScrollIndicators,
+ setScrollIndicators,
+ setScrollX, setScrollY,
+ setSelected,
+ setSoundEffectsEnabled,
+ setStateListAnimator,
+ setSystemUiVisibility,
+ setTag, setTag,
+ setTextAlignment,
+ setTextDirection,
+ setTooltipText,
+ setTop, setTouchDelegate,
+ setTransitionName,
+ setTranslationX,
+ setTranslationY,
+ setTranslationZ,
+ setVerticalFadingEdgeEnabled,
+ setVerticalScrollBarEnabled,
+ setVerticalScrollbarPosition,
+ setVisibility,
+ setWillNotCacheDrawing,
+ setWillNotDraw,
+ setX, setY, setZ, showContextMenu,
+ showContextMenu,
+ startActionMode,
+ startActionMode,
+ startAnimation,
+ startDrag, startDragAndDrop,
+ startNestedScroll,
+ stopNestedScroll,
+ toString, unscheduleDrawable,
+ unscheduleDrawable,
+ updateDragShadow,
+ verifyDrawable,
+ willNotCacheDrawing,
+ willNotDraw
+
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private PatternPoint[] mCorrectPattern-
private java.util.ArrayList<private ArrayList<PatternCell> mPatternTyped+
ArrayList
+ that holds the list of all the PatternCell
+ touched by the user
+ while drawing the pattern.
+ private BoxPattern mBoxPattern+ href="../../../com/kevalpatel/passcodeview/internal/BoxPattern.html" + title="class in com.kevalpatel.passcodeview.internal">BoxPattern
BoxPattern
+ to display the PatternPoint
.
+ User can enter the correct pattern
+ in this box.
+ BoxPattern
+ private BoxTitle mBoxTitle+ href="../../../com/kevalpatel/passcodeview/internal/BoxTitle.html" + title="class in com.kevalpatel.passcodeview.internal">BoxTitle
BoxTitle
+ to display the title message.
+ BoxTitle
+ private android.graphics.Paint mNormalPaint+
private Paint mNormalPathPaint+
Paint
+ for the path between two PatternPoint
+ while user is entering the pattern.
+ PatternPoint
+ private android.graphics.Paint mErrorPaint+
private Paint mErrorPathPaint+
Paint
+ for the path between two PatternPoint
+ when entered pattern is wrong.
+ PatternPoint
+ private boolean isErrorShowing+
true
if the error
+ animations are currently being played or false
.
+ private PatternAuthenticator mAuthenticator+
PatternAuthenticator
+ to perform authentication on the pattern entered by the user.
+ This field is required to set.
+ setAuthenticator(PatternAuthenticator)
,
+ getAuthenticator()
+ @Nullable +private PatternView.PatternAuthenticatorTask mPatternAuthenticatorTask+
PatternView.PatternAuthenticatorTask
.
+ If the value is null that indicates,
+ no
+ PatternView.PatternAuthenticatorTask
+ is running currently.
+ PatternView.PatternAuthenticatorTask
+ public PatternView(android.content.Context context)+
public PatternView(Context context)
public PatternView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs)+
public PatternView(Context context, + @Nullable + AttributeSet attrs)
public PatternView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs, +public PatternView(Context context, + @Nullable + AttributeSet attrs, int defStyleAttr)
public void setDefaults()+
public void preparePaint()+
mNormalPathPaint
+ and
+ mErrorPathPaint
.
+ public void parseTypeArr(@NonNull - android.util.AttributeSet typedArray)+
public void parseTypeArr(@NonNull + AttributeSet typedArray)
public void measureView(@NonNull - android.graphics.Rect rootViewBounds)+
public void measureView(@NonNull + Rect rootViewBounds)
onAuthenticationFail
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationFail--">onAuthenticationFailPasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycleonAuthenticationSuccess
- Specified by:
onAuthenticationSuccess
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationSuccess--">onAuthenticationSuccess
in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
onAuthenticationSuccess
-
drawView
- public void drawView(@NonNull
- android.graphics.Canvas canvas)
+ public void drawView(@NonNull
+ Canvas canvas)
Draw method of the view called every time frame
refreshes.
@@ -1192,7 +2670,9 @@ drawView
-
drawPaths
- private void drawPaths(android.graphics.Canvas canvas)
+ private void drawPaths(Canvas canvas)
@@ -1206,10 +2686,10 @@ reset
- Specified by:
reset
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#reset--">reset
in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
reset
-
+
-
-
onTouchEvent
- public boolean onTouchEvent(android.view.MotionEvent event)
+ onDetachedFromWindow
+ protected void onDetachedFromWindow()
- Overrides:
- onTouchEvent
in class android.view.View
+ onDetachedFromWindow
in
+ class BasePasscodeView
-
+
-
-
validatePattern
- private void validatePattern()
+ onTouchEvent
+ public boolean onTouchEvent(MotionEvent event)
+
+ - Overrides:
+ onTouchEvent
in
+ class View
+
+
-
+
-
-
setCorrectPattern
- public void setCorrectPattern(@NonNull
- PatternPoint[] correctPattern)
+ getAuthenticator
+ public PatternAuthenticator getAuthenticator()
-
+
-
-
getPatternCellBuilder
- @Nullable
-public PatternCell.Builder getPatternCellBuilder()
+ setAuthenticator
+ public void setAuthenticator(PatternAuthenticator authenticator)
@@ -1284,32 +2780,29 @@ enableOneHandOperation
public void enableOneHandOperation(boolean isEnable)
-
-
-
-
- -
-
getTitleColor
- public int getTitleColor()
-
-
-
+
-
-
setTitleColor
- public void setTitleColor(int titleColor)
+ setPatternCell
+ public void setPatternCell(@NonNull
+ PatternCell.Builder indicatorBuilder)
-
+
-
-
setTitleColorRes
- public void setTitleColorRes(@ColorRes
- int titleColor)
+ getPatternCellBuilder
+ @Nullable
+public PatternCell.Builder getPatternCellBuilder()
@@ -1336,98 +2829,126 @@ setPatternPathColor
-
setPatternPathColorRes
- public void setPatternPathColorRes(@ColorRes
+ public void setPatternPathColorRes(@ColorRes
int pathColor)
-
+
-
-
getTitle
- public java.lang.String getTitle()
-
- - Returns:
- - Current title of the view.
-
+ getNoOfColumn
+ public int getNoOfColumn()
-
+
-
-
setTitle
- public void setTitle(@StringRes
- int titleRes)
- Set the title at the top of view.
-
- - Parameters:
- titleRes
- String resource for the title.
-
+ setNoOfColumn
+ public void setNoOfColumn(int noOfColumn)
-
+
-
-
setTitle
- public void setTitle(@NonNull
- java.lang.String title)
- Set the title at the top of view.
-
- - Parameters:
- title
- title string
-
+ getNoOfRows
+ public int getNoOfRows()
-
+
-
-
setPatternCell
- public void setPatternCell(@NonNull
- PatternCell.Builder indicatorBuilder)
+ setNoOfRows
+ public void setNoOfRows(int noOfRows)
-
+
-
-
getNoOfColumn
- public int getNoOfColumn()
+ getTitleColor
+ public int getTitleColor()
-
+
-
-
setNoOfColumn
- public void setNoOfColumn(int noOfColumn)
+ setTitleColor
+ public void setTitleColor(int titleColor)
-
+
-
-
getNoOfRows
- public int getNoOfRows()
+ setTitleColorRes
+ public void setTitleColorRes(@ColorRes
+ int titleColor)
-
+
+
+
+
+ -
+
getTitle
+ public String getTitle()
+
+ - Returns:
+ - Current title of the view.
+
+
+
+
+
+
+
+ -
+
setTitle
+ public void setTitle(@StringRes
+ int titleRes)
+ Set the title at the top of view.
+
+ - Parameters:
+ titleRes
- String resource for the title.
+
+
+
+
-
-
setNoOfRows
- public void setNoOfRows(int noOfRows)
+ setTitle
+ public void setTitle(@NonNull
+ String title)
+ Set the title at the top of view.
+
+ - Parameters:
+ title
- title string
+
@@ -1459,10 +2980,10 @@ setNoOfRows
AsyncTask.Status
+ Modifier and Type | +Field and Description | +
---|---|
private PinAuthenticator
+ |
+ mAuthenticator
+ |
+
private Handler
+ |
+ mHandler
+ |
+
private Runnable
+ |
+ mResetRunnable
+ |
+
SERIAL_EXECUTOR,
+ THREAD_POOL_EXECUTOR
+ Modifier | +Constructor and Description | +
---|---|
private |
+ PinAuthenticatorTask(PinAuthenticator authenticator)
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected PinAuthenticator.PinAuthenticationState
+ |
+ doInBackground(ArrayList<Integer>... pinTyped)
+ |
+
protected void |
+ onCancelled()
+ |
+
protected void |
+ onPostExecute(PinAuthenticator.PinAuthenticationState authenticationState)
+ |
+
cancel, execute, execute, executeOnExecutor,
+ get, get, getStatus,
+ isCancelled, onCancelled,
+ onPreExecute, onProgressUpdate,
+ publishProgress
+ @NonNull +private final PinAuthenticator mAuthenticator+
private PinAuthenticatorTask(@NonNull + PinAuthenticator authenticator)+
@SafeVarargs +protected final PinAuthenticator.PinAuthenticationState doInBackground(ArrayList<Integer>... pinTyped)+
doInBackground
in
+ class AsyncTask<ArrayList<Integer>,Void,PinAuthenticator.PinAuthenticationState>
+ protected void onPostExecute(PinAuthenticator.PinAuthenticationState authenticationState)+
onPostExecute
in
+ class AsyncTask<ArrayList<Integer>,Void,PinAuthenticator.PinAuthenticationState>
+ protected void onCancelled()+
onCancelled
in
+ class AsyncTask<ArrayList<Integer>,Void,PinAuthenticator.PinAuthenticationState>
+ public final class PinView extends BasePasscodeView -implements InteractiveArrayList.ChangeListener+implements InteractiveArrayList.ChangeListener
This view will perform the PIN based authentication. This view also support fingerprint authentication. To set this view application has to -
setCorrectPin(int[])
.
- setKey(Key.Builder)
.
BasePasscodeView.setAuthenticationListener(AuthenticationListener)
BoxTitleIndicator
- BoxKeypad
+ href="../../../com/kevalpatel/passcodeview/internal/BoxTitleIndicator.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxTitleIndicator
BoxFingerprint
+ BoxKeypad
AuthenticationListener
@@ -195,30 +209,72 @@ Modifier and Type | +Class and Description | +
---|---|
private class |
+ PinView.PinAuthenticatorTask
+ |
+
android.view.View.AccessibilityDelegate,
- android.view.View.BaseSavedState,
- android.view.View.DragShadowBuilder, android.view.View.MeasureSpec,
- android.view.View.OnApplyWindowInsetsListener,
- android.view.View.OnAttachStateChangeListener,
- android.view.View.OnCapturedPointerListener,
- android.view.View.OnClickListener,
- android.view.View.OnContextClickListener,
- android.view.View.OnCreateContextMenuListener,
- android.view.View.OnDragListener,
- android.view.View.OnFocusChangeListener,
- android.view.View.OnGenericMotionListener,
- android.view.View.OnHoverListener, android.view.View.OnKeyListener,
- android.view.View.OnLayoutChangeListener,
- android.view.View.OnLongClickListener,
- android.view.View.OnScrollChangeListener,
- android.view.View.OnSystemUiVisibilityChangeListener,
- android.view.View.OnTouchListener
View.AccessibilityDelegate,
+ View.BaseSavedState,
+ View.DragShadowBuilder,
+ View.MeasureSpec,
+ View.OnApplyWindowInsetsListener,
+ View.OnAttachStateChangeListener,
+ View.OnCapturedPointerListener,
+ View.OnClickListener,
+ View.OnContextClickListener,
+ View.OnCreateContextMenuListener,
+ View.OnDragListener,
+ View.OnFocusChangeListener,
+ View.OnGenericMotionListener,
+ View.OnHoverListener,
+ View.OnKeyListener,
+ View.OnLayoutChangeListener,
+ View.OnLongClickListener,
+ View.OnScrollChangeListener,
+ View.OnSystemUiVisibilityChangeListener,
+ View.OnTouchListener
+ static int
DYNAMIC_PIN_LENGTH
+ private PinAuthenticator
+ mAuthenticator
+ PinAuthenticator
+ that will perform the authentication for the user pin.
+ private BoxTitleIndicator
+ href="../../../com/kevalpatel/passcodeview/internal/BoxTitleIndicator.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxTitleIndicator
mBoxIndicator
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mBoxIndicator">mBoxIndicator
+ private BoxKeypad
+ href="../../../com/kevalpatel/passcodeview/internal/BoxKeypad.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxKeypad
mBoxKeypad
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mBoxKeypad">mBoxKeypad
+ BoxKeypad
+ that displays the numeric keyboard to display the keys.
+ private int[]
private float
mCorrectPin
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mDownKeyX">mDownKeyX
+ private float
mDownKeyX
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mDownKeyY">mDownKeyY
+ private float
private KeyNamesBuilder
+ mDownKeyY
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mKeyNamesBuilder">mKeyNamesBuilder
+ KeyNamesBuilder
+ that holds the title name of all the keys for keyboard digits.
+ private InteractiveArrayList<java.lang.Integer>
+ href="../../../com/kevalpatel/passcodeview/PinView.PinAuthenticatorTask.html"
+ title="class in com.kevalpatel.passcodeview">PinView.PinAuthenticatorTask
+ mPinAuthenticatorTask
+ PinView.PinAuthenticatorTask
.
+ private InteractiveArrayList<Integer>
mPinTyped
+ href="../../../com/kevalpatel/passcodeview/PinView.html#mPinTyped">mPinTyped
+ ArrayList
+ of the currently typed pin.
+ mAuthenticationListener,
- mContext,
mRootViewBound
ACCESSIBILITY_LIVE_REGION_ASSERTIVE,
- ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE,
- ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH,
- AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR,
- AUTOFILL_HINT_CREDIT_CARD_NUMBER,
- AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE,
- AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME,
- AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE,
- AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE,
- AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST,
- AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE,
- DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION,
- DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ,
- DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE,
- DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH,
- DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET,
- ENABLED_FOCUSED_SELECTED_STATE_SET,
- ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- ENABLED_SELECTED_STATE_SET,
- ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET,
- ENABLED_WINDOW_FOCUSED_STATE_SET,
- FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT,
- FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT,
- FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL,
- FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET,
- FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET,
- FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED,
- IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO,
- IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS,
- IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO,
- IMPORTANT_FOR_AUTOFILL_NO,
- IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS,
- IMPORTANT_FOR_AUTOFILL_YES,
- IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE,
- KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE,
- LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT,
- LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL,
- MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK,
- MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE,
- OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS,
- OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_STATE_SET,
- PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_SELECTED_STATE_SET,
- PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_FOCUSED_SELECTED_STATE_SET,
- PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
- PRESSED_SELECTED_STATE_SET,
- PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET,
- PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y,
- SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON,
- SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL,
- SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END,
- SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT,
- SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP,
- SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT,
- SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET,
- SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET,
- SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET,
- SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED,
- STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN,
- SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE,
- SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN,
- SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE,
- SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR,
- SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE,
- SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS,
- TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY,
- TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END,
- TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END,
- TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL,
- TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR,
- TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT,
- TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL,
- TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE,
- WINDOW_FOCUSED_STATE_SET, X, Y, Z
+ ACCESSIBILITY_LIVE_REGION_ASSERTIVE,
+ ACCESSIBILITY_LIVE_REGION_NONE,
+ ACCESSIBILITY_LIVE_REGION_POLITE,
+ ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH,
+ AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR,
+ AUTOFILL_HINT_CREDIT_CARD_NUMBER,
+ AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE,
+ AUTOFILL_HINT_EMAIL_ADDRESS,
+ AUTOFILL_HINT_NAME,
+ AUTOFILL_HINT_PASSWORD,
+ AUTOFILL_HINT_PHONE,
+ AUTOFILL_HINT_POSTAL_ADDRESS,
+ AUTOFILL_HINT_POSTAL_CODE,
+ AUTOFILL_HINT_USERNAME,
+ AUTOFILL_TYPE_DATE,
+ AUTOFILL_TYPE_LIST,
+ AUTOFILL_TYPE_NONE,
+ AUTOFILL_TYPE_TEXT,
+ AUTOFILL_TYPE_TOGGLE,
+ DRAG_FLAG_GLOBAL,
+ DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION,
+ DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION,
+ DRAG_FLAG_GLOBAL_URI_READ,
+ DRAG_FLAG_GLOBAL_URI_WRITE,
+ DRAG_FLAG_OPAQUE,
+ DRAWING_CACHE_QUALITY_AUTO,
+ DRAWING_CACHE_QUALITY_HIGH,
+ DRAWING_CACHE_QUALITY_LOW,
+ EMPTY_STATE_SET,
+ ENABLED_FOCUSED_SELECTED_STATE_SET,
+ ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_FOCUSED_STATE_SET,
+ ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_SELECTED_STATE_SET,
+ ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ ENABLED_STATE_SET,
+ ENABLED_WINDOW_FOCUSED_STATE_SET,
+ FIND_VIEWS_WITH_CONTENT_DESCRIPTION,
+ FIND_VIEWS_WITH_TEXT,
+ FOCUS_BACKWARD, FOCUS_DOWN,
+ FOCUS_FORWARD, FOCUS_LEFT,
+ FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO,
+ FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE,
+ FOCUSED_SELECTED_STATE_SET,
+ FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ FOCUSED_STATE_SET,
+ FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ GONE, HAPTIC_FEEDBACK_ENABLED,
+ IMPORTANT_FOR_ACCESSIBILITY_AUTO,
+ IMPORTANT_FOR_ACCESSIBILITY_NO,
+ IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS,
+ IMPORTANT_FOR_ACCESSIBILITY_YES,
+ IMPORTANT_FOR_AUTOFILL_AUTO,
+ IMPORTANT_FOR_AUTOFILL_NO,
+ IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS,
+ IMPORTANT_FOR_AUTOFILL_YES,
+ IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS,
+ INVISIBLE, KEEP_SCREEN_ON,
+ LAYER_TYPE_HARDWARE,
+ LAYER_TYPE_NONE,
+ LAYER_TYPE_SOFTWARE,
+ LAYOUT_DIRECTION_INHERIT,
+ LAYOUT_DIRECTION_LOCALE,
+ LAYOUT_DIRECTION_LTR,
+ LAYOUT_DIRECTION_RTL,
+ MEASURED_HEIGHT_STATE_SHIFT,
+ MEASURED_SIZE_MASK,
+ MEASURED_STATE_MASK,
+ MEASURED_STATE_TOO_SMALL,
+ NO_ID, NOT_FOCUSABLE,
+ OVER_SCROLL_ALWAYS,
+ OVER_SCROLL_IF_CONTENT_SCROLLS,
+ OVER_SCROLL_NEVER,
+ PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_SELECTED_STATE_SET,
+ PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_ENABLED_STATE_SET,
+ PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_SELECTED_STATE_SET,
+ PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_STATE_SET,
+ PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_SELECTED_STATE_SET,
+ PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET,
+ PRESSED_STATE_SET,
+ PRESSED_WINDOW_FOCUSED_STATE_SET,
+ ROTATION, ROTATION_X,
+ ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF,
+ SCREEN_STATE_ON,
+ SCROLL_AXIS_HORIZONTAL,
+ SCROLL_AXIS_NONE,
+ SCROLL_AXIS_VERTICAL,
+ SCROLL_INDICATOR_BOTTOM,
+ SCROLL_INDICATOR_END,
+ SCROLL_INDICATOR_LEFT,
+ SCROLL_INDICATOR_RIGHT,
+ SCROLL_INDICATOR_START,
+ SCROLL_INDICATOR_TOP,
+ SCROLLBAR_POSITION_DEFAULT,
+ SCROLLBAR_POSITION_LEFT,
+ SCROLLBAR_POSITION_RIGHT,
+ SCROLLBARS_INSIDE_INSET,
+ SCROLLBARS_INSIDE_OVERLAY,
+ SCROLLBARS_OUTSIDE_INSET,
+ SCROLLBARS_OUTSIDE_OVERLAY,
+ SELECTED_STATE_SET,
+ SELECTED_WINDOW_FOCUSED_STATE_SET,
+ SOUND_EFFECTS_ENABLED,
+ STATUS_BAR_HIDDEN,
+ STATUS_BAR_VISIBLE,
+ SYSTEM_UI_FLAG_FULLSCREEN,
+ SYSTEM_UI_FLAG_HIDE_NAVIGATION,
+ SYSTEM_UI_FLAG_IMMERSIVE,
+ SYSTEM_UI_FLAG_IMMERSIVE_STICKY,
+ SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN,
+ SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION,
+ SYSTEM_UI_FLAG_LAYOUT_STABLE,
+ SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR,
+ SYSTEM_UI_FLAG_LIGHT_STATUS_BAR,
+ SYSTEM_UI_FLAG_LOW_PROFILE,
+ SYSTEM_UI_FLAG_VISIBLE,
+ SYSTEM_UI_LAYOUT_FLAGS,
+ TEXT_ALIGNMENT_CENTER,
+ TEXT_ALIGNMENT_GRAVITY,
+ TEXT_ALIGNMENT_INHERIT,
+ TEXT_ALIGNMENT_TEXT_END,
+ TEXT_ALIGNMENT_TEXT_START,
+ TEXT_ALIGNMENT_VIEW_END,
+ TEXT_ALIGNMENT_VIEW_START,
+ TEXT_DIRECTION_ANY_RTL,
+ TEXT_DIRECTION_FIRST_STRONG,
+ TEXT_DIRECTION_FIRST_STRONG_LTR,
+ TEXT_DIRECTION_FIRST_STRONG_RTL,
+ TEXT_DIRECTION_INHERIT,
+ TEXT_DIRECTION_LOCALE,
+ TEXT_DIRECTION_LTR,
+ TEXT_DIRECTION_RTL,
+ TRANSLATION_X, TRANSLATION_Y,
+ TRANSLATION_Z, VIEW_LOG_TAG,
+ VISIBLE, WINDOW_FOCUSED_STATE_SET,
+ X, Y, Z
@@ -403,19 +767,27 @@ PinView(android.content.Context context)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#PinView-android.content.Context-">PinView(Context context)
PinView(android.content.Context context,
- android.util.AttributeSet attrs)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#PinView-android.content.Context-android.util.AttributeSet-">PinView(Context context,
+ AttributeSet attrs)
PinView(android.content.Context context,
- android.util.AttributeSet attrs,
+ href="../../../com/kevalpatel/passcodeview/PinView.html#PinView-android.content.Context-android.util.AttributeSet-int-">PinView(Context context,
+ AttributeSet attrs,
int defStyleAttr)
void
drawView(android.graphics.Canvas canvas)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#drawView-android.graphics.Canvas-">drawView(Canvas canvas)
java.lang.String
PinAuthenticator
+ getTitle()
+ href="../../../com/kevalpatel/passcodeview/PinView.html#getPinAuthenticator--">getPinAuthenticator()
int
getTitleColor()
+ href="../../../com/kevalpatel/passcodeview/PinView.html#getPinLength--">getPinLength()
String
getTitle()
+ int
getTitleColor()
+ void
init()
boolean
isDynamicPinEnabled()
+ boolean
isOneHandOperationEnabled()
void
measureView(android.graphics.Rect rootViewBounds)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#measureView-android.graphics.Rect-">measureView(Rect rootViewBounds)
void
onArrayValueChange(int size)
@@ -524,70 +923,75 @@ void
onAuthenticationFail()
void
onAuthenticationSuccess()
protected void
onDetachedFromWindow()
+ private void
onKeyPressed(java.lang.String newDigit)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#onKeyPressed-java.lang.String-">onKeyPressed(String newDigit)
boolean
onTouchEvent(android.view.MotionEvent event)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#onTouchEvent-android.view.MotionEvent-">onTouchEvent(MotionEvent event)
void
parseTypeArr(android.util.AttributeSet typedArray)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#parseTypeArr-android.util.AttributeSet-">parseTypeArr(AttributeSet typedArray)
void
preparePaint()
void
reset()
void
setCorrectPin(int[] correctPin)
- void
setCurrentTypedPin(int[] currentTypedPin)
void
setDefaults()
@@ -595,7 +999,7 @@ void
setIndicator(Method Summary
Set the PIN change indicator.
void
setKey(Method Summary
void
setKeyNames(KeyNamesBuilder keyNames)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#setKeyNames-com.kevalpatel.passcodeview.keys.KeyNamesBuilder-">setKeyNames(KeyNamesBuilder keyNamesBuilder)
void
setPinAuthenticator(PinAuthenticator authenticator)
+ void
setPinLength(int pinLength)
+ void
setTitle(java.lang.String title)
+ href="../../../com/kevalpatel/passcodeview/PinView.html#setTitle-java.lang.String-">setTitle(String title)
void
setTitleColor(int titleColor)
void
setTitleColorResource(int titleColor)
@@ -661,9 +1081,9 @@ addChildrenForAccessibility, addExtraDataToAccessibilityNodeInfo,
- addFocusables, addFocusables, addKeyboardNavigationClusters,
- addOnAttachStateChangeListener, addOnLayoutChangeListener,
- addTouchables, animate, announceForAccessibility, autofill,
- autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars,
- bringToFront, buildDrawingCache, buildDrawingCache, buildLayer,
- callOnClick, cancelDragAndDrop, cancelLongPress,
- cancelPendingInputEvents, canResolveLayoutDirection,
- canResolveTextAlignment, canResolveTextDirection,
- canScrollHorizontally, canScrollVertically,
- checkInputConnectionProxy, clearAnimation, clearFocus,
- combineMeasuredStates, computeHorizontalScrollExtent,
- computeHorizontalScrollOffset, computeHorizontalScrollRange,
- computeScroll, computeSystemWindowInsets,
- computeVerticalScrollExtent, computeVerticalScrollOffset,
- computeVerticalScrollRange, createAccessibilityNodeInfo,
- createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets,
- dispatchCapturedPointerEvent, dispatchConfigurationChanged,
- dispatchDisplayHint, dispatchDragEvent, dispatchDraw,
- dispatchDrawableHotspotChanged, dispatchFinishTemporaryDetach,
- dispatchGenericFocusedEvent, dispatchGenericMotionEvent,
- dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent,
- dispatchKeyEventPreIme, dispatchKeyShortcutEvent,
- dispatchNestedFling, dispatchNestedPreFling,
- dispatchNestedPrePerformAccessibilityAction,
- dispatchNestedPreScroll, dispatchNestedScroll,
- dispatchPointerCaptureChanged, dispatchPopulateAccessibilityEvent,
- dispatchProvideAutofillStructure, dispatchProvideStructure,
- dispatchRestoreInstanceState, dispatchSaveInstanceState,
- dispatchSetActivated, dispatchSetPressed, dispatchSetSelected,
- dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged,
- dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove,
- dispatchVisibilityChanged, dispatchWindowFocusChanged,
- dispatchWindowSystemUiVisiblityChanged,
- dispatchWindowVisibilityChanged, draw, drawableHotspotChanged,
- drawableStateChanged, findFocus, findViewById, findViewsWithText,
- findViewWithTag, fitSystemWindows, focusSearch,
- forceHasOverlappingRendering, forceLayout, generateViewId,
- getAccessibilityClassName, getAccessibilityLiveRegion,
- getAccessibilityNodeProvider, getAccessibilityTraversalAfter,
- getAccessibilityTraversalBefore, getAlpha, getAnimation,
- getApplicationWindowToken, getAutofillHints, getAutofillId,
- getAutofillType, getAutofillValue, getBackground,
- getBackgroundTintList, getBackgroundTintMode, getBaseline,
- getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset,
- getCameraDistance, getClipBounds, getClipBounds, getClipToOutline,
- getContentDescription, getContext, getContextMenuInfo,
- getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay,
- getDrawableState, getDrawingCache, getDrawingCache,
- getDrawingCacheBackgroundColor, getDrawingCacheQuality,
- getDrawingRect, getDrawingTime, getElevation,
- getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable,
- getFocusables, getFocusedRect, getForeground, getForegroundGravity,
- getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect,
- getGlobalVisibleRect, getHandler, getHasOverlappingRendering,
- getHeight, getHitRect, getHorizontalFadingEdgeLength,
- getHorizontalScrollbarHeight, getId, getImportantForAccessibility,
- getImportantForAutofill, getKeepScreenOn, getKeyDispatcherState,
- getLabelFor, getLayerType, getLayoutDirection, getLayoutParams,
- getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset,
- getLocalVisibleRect, getLocationInWindow, getLocationOnScreen,
- getMatrix, getMeasuredHeight, getMeasuredHeightAndState,
- getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState,
- getMinimumHeight, getMinimumWidth, getNextClusterForwardId,
- getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId,
- getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener,
- getOutlineProvider, getOverlay, getOverScrollMode, getPaddingBottom,
- getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart,
- getPaddingTop, getParent, getParentForAccessibility, getPivotX,
- getPivotY, getPointerIcon, getResources, getRevealOnFocusHint,
- getRight, getRightFadingEdgeStrength, getRightPaddingOffset,
- getRootView, getRootWindowInsets, getRotation, getRotationX,
- getRotationY, getScaleX, getScaleY,
- getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration,
- getScrollBarSize, getScrollBarStyle, getScrollIndicators,
- getScrollX, getScrollY, getSolidColor, getStateListAnimator,
- getSuggestedMinimumHeight, getSuggestedMinimumWidth,
- getSystemUiVisibility, getTag, getTag, getTextAlignment,
- getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength,
- getTopPaddingOffset, getTouchables, getTouchDelegate,
- getTransitionName, getTranslationX, getTranslationY,
- getTranslationZ, getVerticalFadingEdgeLength,
- getVerticalScrollbarPosition, getVerticalScrollbarWidth,
- getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount,
- getWindowId, getWindowSystemUiVisibility, getWindowToken,
- getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ,
- hasExplicitFocusable, hasFocus, hasFocusable,
- hasNestedScrollingParent, hasOnClickListeners,
- hasOverlappingRendering, hasPointerCapture, hasTransientState,
- hasWindowFocus, inflate, invalidate, invalidate, invalidate,
- invalidateDrawable, invalidateOutline, isAccessibilityFocused,
- isActivated, isAttachedToWindow, isClickable, isContextClickable,
- isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled,
- isEnabled, isFocusable, isFocusableInTouchMode, isFocused,
- isFocusedByDefault, isHapticFeedbackEnabled, isHardwareAccelerated,
- isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled,
- isHovered, isImportantForAccessibility, isImportantForAutofill,
- isInEditMode, isInLayout, isInTouchMode,
- isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved,
- isLayoutRequested, isLongClickable, isNestedScrollingEnabled,
- isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed,
- isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled,
- isScrollContainer, isSelected, isShown, isSoundEffectsEnabled,
- isTemporarilyDetached, isTextAlignmentResolved,
- isTextDirectionResolved, isVerticalFadingEdgeEnabled,
- isVerticalScrollBarEnabled, jumpDrawablesToCurrentState,
- keyboardNavigationClusterSearch, layout, measure,
- mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom,
- onAnimationEnd, onAnimationStart, onApplyWindowInsets,
- onAttachedToWindow, onCancelPendingInputEvents,
- onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged,
- onCreateContextMenu, onCreateDrawableState, onCreateInputConnection,
- onDisplayHint, onDragEvent, onDrawForeground, onDrawScrollBars,
- onFilterTouchEventForSecurity, onFinishInflate,
- onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent,
- onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent,
- onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress,
- onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout,
- onOverScrolled, onPointerCaptureChange,
- onPopulateAccessibilityEvent, onProvideAutofillStructure,
- onProvideAutofillVirtualStructure, onProvideStructure,
- onProvideVirtualStructure, onResolvePointerIcon,
- onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState,
- onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged,
- onStartTemporaryDetach, onTrackballEvent, onVisibilityAggregated,
- onVisibilityChanged, onWindowFocusChanged,
- onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged,
- overScrollBy, performAccessibilityAction, performClick,
- performContextClick, performContextClick, performHapticFeedback,
- performHapticFeedback, performLongClick, performLongClick,
- playSoundEffect, post, postDelayed, postInvalidate, postInvalidate,
- postInvalidateDelayed, postInvalidateDelayed,
- postInvalidateOnAnimation, postInvalidateOnAnimation,
- postOnAnimation, postOnAnimationDelayed, refreshDrawableState,
- releasePointerCapture, removeCallbacks,
- removeOnAttachStateChangeListener, removeOnLayoutChangeListener,
- requestApplyInsets, requestFitSystemWindows, requestFocus,
- requestFocus, requestFocus, requestFocusFromTouch, requestLayout,
- requestPointerCapture, requestRectangleOnScreen,
- requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize,
- resolveSizeAndState, restoreDefaultFocus, restoreHierarchyState,
- saveHierarchyState, scheduleDrawable, scrollBy, scrollTo,
- sendAccessibilityEvent, sendAccessibilityEventUnchecked,
- setAccessibilityDelegate, setAccessibilityLiveRegion,
- setAccessibilityTraversalAfter, setAccessibilityTraversalBefore,
- setActivated, setAlpha, setAnimation, setAutofillHints,
- setBackground, setBackgroundColor, setBackgroundDrawable,
- setBackgroundResource, setBackgroundTintList, setBackgroundTintMode,
- setBottom, setCameraDistance, setClickable, setClipBounds,
- setClipToOutline, setContentDescription, setContextClickable,
- setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor,
- setDrawingCacheEnabled, setDrawingCacheQuality,
- setDuplicateParentStateEnabled, setElevation, setEnabled,
- setFadingEdgeLength, setFilterTouchesWhenObscured,
- setFitsSystemWindows, setFocusable, setFocusable,
- setFocusableInTouchMode, setFocusedByDefault, setForeground,
- setForegroundGravity, setForegroundTintList, setForegroundTintMode,
- setHapticFeedbackEnabled, setHasTransientState,
- setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled,
- setHovered, setId, setImportantForAccessibility,
- setImportantForAutofill, setKeepScreenOn,
- setKeyboardNavigationCluster, setLabelFor, setLayerPaint,
- setLayerType, setLayoutDirection, setLayoutParams, setLeft,
- setLongClickable, setMeasuredDimension, setMinimumHeight,
- setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId,
- setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId,
- setNextFocusRightId, setNextFocusUpId,
- setOnApplyWindowInsetsListener, setOnCapturedPointerListener,
- setOnClickListener, setOnContextClickListener,
- setOnCreateContextMenuListener, setOnDragListener,
- setOnFocusChangeListener, setOnGenericMotionListener,
- setOnHoverListener, setOnKeyListener, setOnLongClickListener,
- setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener,
- setOnTouchListener, setOutlineProvider, setOverScrollMode,
- setPadding, setPaddingRelative, setPivotX, setPivotY,
- setPointerIcon, setPressed, setRevealOnFocusHint, setRight,
- setRotation, setRotationX, setRotationY, setSaveEnabled,
- setSaveFromParentEnabled, setScaleX, setScaleY,
- setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration,
- setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle,
- setScrollContainer, setScrollIndicators, setScrollIndicators,
- setScrollX, setScrollY, setSelected, setSoundEffectsEnabled,
- setStateListAnimator, setSystemUiVisibility, setTag, setTag,
- setTextAlignment, setTextDirection, setTooltipText, setTop,
- setTouchDelegate, setTransitionName, setTranslationX,
- setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled,
- setVerticalScrollBarEnabled, setVerticalScrollbarPosition,
- setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY,
- setZ, showContextMenu, showContextMenu, startActionMode,
- startActionMode, startAnimation, startDrag, startDragAndDrop,
- startNestedScroll, stopNestedScroll, toString, unscheduleDrawable,
- unscheduleDrawable, updateDragShadow, verifyDrawable,
- willNotCacheDrawing, willNotDraw
+ addChildrenForAccessibility,
+ addExtraDataToAccessibilityNodeInfo,
+ addFocusables, addFocusables,
+ addKeyboardNavigationClusters,
+ addOnAttachStateChangeListener,
+ addOnLayoutChangeListener,
+ addTouchables, animate, announceForAccessibility,
+ autofill, autofill, awakenScrollBars,
+ awakenScrollBars,
+ awakenScrollBars,
+ bringToFront, buildDrawingCache,
+ buildDrawingCache,
+ buildLayer, callOnClick,
+ cancelDragAndDrop,
+ cancelLongPress,
+ cancelPendingInputEvents,
+ canResolveLayoutDirection,
+ canResolveTextAlignment,
+ canResolveTextDirection,
+ canScrollHorizontally,
+ canScrollVertically,
+ checkInputConnectionProxy,
+ clearAnimation, clearFocus,
+ combineMeasuredStates,
+ computeHorizontalScrollExtent,
+ computeHorizontalScrollOffset,
+ computeHorizontalScrollRange,
+ computeScroll, computeSystemWindowInsets,
+ computeVerticalScrollExtent,
+ computeVerticalScrollOffset,
+ computeVerticalScrollRange,
+ createAccessibilityNodeInfo,
+ createContextMenu,
+ destroyDrawingCache,
+ dispatchApplyWindowInsets,
+ dispatchCapturedPointerEvent,
+ dispatchConfigurationChanged,
+ dispatchDisplayHint,
+ dispatchDragEvent,
+ dispatchDraw, dispatchDrawableHotspotChanged,
+ dispatchFinishTemporaryDetach,
+ dispatchGenericFocusedEvent,
+ dispatchGenericMotionEvent,
+ dispatchGenericPointerEvent,
+ dispatchHoverEvent,
+ dispatchKeyEvent,
+ dispatchKeyEventPreIme,
+ dispatchKeyShortcutEvent,
+ dispatchNestedFling,
+ dispatchNestedPreFling,
+ dispatchNestedPrePerformAccessibilityAction,
+ dispatchNestedPreScroll,
+ dispatchNestedScroll,
+ dispatchPointerCaptureChanged,
+ dispatchPopulateAccessibilityEvent,
+ dispatchProvideAutofillStructure,
+ dispatchProvideStructure,
+ dispatchRestoreInstanceState,
+ dispatchSaveInstanceState,
+ dispatchSetActivated,
+ dispatchSetPressed,
+ dispatchSetSelected,
+ dispatchStartTemporaryDetach,
+ dispatchSystemUiVisibilityChanged,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ dispatchUnhandledMove,
+ dispatchVisibilityChanged,
+ dispatchWindowFocusChanged,
+ dispatchWindowSystemUiVisiblityChanged,
+ dispatchWindowVisibilityChanged,
+ draw, drawableHotspotChanged,
+ drawableStateChanged,
+ findFocus, findViewById,
+ findViewsWithText,
+ findViewWithTag,
+ fitSystemWindows,
+ focusSearch, forceHasOverlappingRendering,
+ forceLayout, generateViewId,
+ getAccessibilityClassName,
+ getAccessibilityLiveRegion,
+ getAccessibilityNodeProvider,
+ getAccessibilityTraversalAfter,
+ getAccessibilityTraversalBefore,
+ getAlpha, getAnimation,
+ getApplicationWindowToken,
+ getAutofillHints,
+ getAutofillId, getAutofillType,
+ getAutofillValue,
+ getBackground, getBackgroundTintList,
+ getBackgroundTintMode,
+ getBaseline, getBottom, getBottomFadingEdgeStrength,
+ getBottomPaddingOffset,
+ getCameraDistance,
+ getClipBounds, getClipBounds,
+ getClipToOutline,
+ getContentDescription,
+ getContext, getContextMenuInfo,
+ getDefaultFocusHighlightEnabled,
+ getDefaultSize, getDisplay,
+ getDrawableState,
+ getDrawingCache,
+ getDrawingCache,
+ getDrawingCacheBackgroundColor,
+ getDrawingCacheQuality,
+ getDrawingRect, getDrawingTime,
+ getElevation, getFilterTouchesWhenObscured,
+ getFitsSystemWindows,
+ getFocusable, getFocusables,
+ getFocusedRect, getForeground,
+ getForegroundGravity,
+ getForegroundTintList,
+ getForegroundTintMode,
+ getGlobalVisibleRect,
+ getGlobalVisibleRect,
+ getHandler, getHasOverlappingRendering,
+ getHeight, getHitRect,
+ getHorizontalFadingEdgeLength,
+ getHorizontalScrollbarHeight,
+ getId, getImportantForAccessibility,
+ getImportantForAutofill,
+ getKeepScreenOn,
+ getKeyDispatcherState,
+ getLabelFor, getLayerType,
+ getLayoutDirection,
+ getLayoutParams,
+ getLeft, getLeftFadingEdgeStrength,
+ getLeftPaddingOffset,
+ getLocalVisibleRect,
+ getLocationInWindow,
+ getLocationOnScreen,
+ getMatrix, getMeasuredHeight,
+ getMeasuredHeightAndState,
+ getMeasuredState,
+ getMeasuredWidth,
+ getMeasuredWidthAndState,
+ getMinimumHeight,
+ getMinimumWidth,
+ getNextClusterForwardId,
+ getNextFocusDownId,
+ getNextFocusForwardId,
+ getNextFocusLeftId,
+ getNextFocusRightId,
+ getNextFocusUpId,
+ getOnFocusChangeListener,
+ getOutlineProvider,
+ getOverlay, getOverScrollMode,
+ getPaddingBottom,
+ getPaddingEnd, getPaddingLeft,
+ getPaddingRight,
+ getPaddingStart,
+ getPaddingTop, getParent, getParentForAccessibility,
+ getPivotX, getPivotY, getPointerIcon,
+ getResources, getRevealOnFocusHint,
+ getRight, getRightFadingEdgeStrength,
+ getRightPaddingOffset,
+ getRootView, getRootWindowInsets,
+ getRotation, getRotationX,
+ getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade,
+ getScrollBarFadeDuration,
+ getScrollBarSize,
+ getScrollBarStyle,
+ getScrollIndicators,
+ getScrollX, getScrollY,
+ getSolidColor, getStateListAnimator,
+ getSuggestedMinimumHeight,
+ getSuggestedMinimumWidth,
+ getSystemUiVisibility,
+ getTag, getTag, getTextAlignment,
+ getTextDirection,
+ getTooltipText, getTop, getTopFadingEdgeStrength,
+ getTopPaddingOffset,
+ getTouchables, getTouchDelegate,
+ getTransitionName,
+ getTranslationX,
+ getTranslationY,
+ getTranslationZ,
+ getVerticalFadingEdgeLength,
+ getVerticalScrollbarPosition,
+ getVerticalScrollbarWidth,
+ getViewTreeObserver,
+ getVisibility, getWidth, getWindowAttachCount,
+ getWindowId, getWindowSystemUiVisibility,
+ getWindowToken, getWindowVisibility,
+ getWindowVisibleDisplayFrame,
+ getX, getY, getZ, hasExplicitFocusable,
+ hasFocus, hasFocusable,
+ hasNestedScrollingParent,
+ hasOnClickListeners,
+ hasOverlappingRendering,
+ hasPointerCapture,
+ hasTransientState,
+ hasWindowFocus, inflate, invalidate,
+ invalidate, invalidate,
+ invalidateDrawable,
+ invalidateOutline,
+ isAccessibilityFocused,
+ isActivated, isAttachedToWindow,
+ isClickable, isContextClickable,
+ isDirty, isDrawingCacheEnabled,
+ isDuplicateParentStateEnabled,
+ isEnabled, isFocusable,
+ isFocusableInTouchMode,
+ isFocused, isFocusedByDefault,
+ isHapticFeedbackEnabled,
+ isHardwareAccelerated,
+ isHorizontalFadingEdgeEnabled,
+ isHorizontalScrollBarEnabled,
+ isHovered, isImportantForAccessibility,
+ isImportantForAutofill,
+ isInEditMode, isInLayout,
+ isInTouchMode, isKeyboardNavigationCluster,
+ isLaidOut, isLayoutDirectionResolved,
+ isLayoutRequested,
+ isLongClickable,
+ isNestedScrollingEnabled,
+ isOpaque, isPaddingOffsetRequired,
+ isPaddingRelative,
+ isPressed, isSaveEnabled,
+ isSaveFromParentEnabled,
+ isScrollbarFadingEnabled,
+ isScrollContainer,
+ isSelected, isShown, isSoundEffectsEnabled,
+ isTemporarilyDetached,
+ isTextAlignmentResolved,
+ isTextDirectionResolved,
+ isVerticalFadingEdgeEnabled,
+ isVerticalScrollBarEnabled,
+ jumpDrawablesToCurrentState,
+ keyboardNavigationClusterSearch,
+ layout, measure, mergeDrawableStates,
+ offsetLeftAndRight,
+ offsetTopAndBottom,
+ onAnimationEnd, onAnimationStart,
+ onApplyWindowInsets,
+ onAttachedToWindow,
+ onCancelPendingInputEvents,
+ onCapturedPointerEvent,
+ onCheckIsTextEditor,
+ onConfigurationChanged,
+ onCreateContextMenu,
+ onCreateDrawableState,
+ onCreateInputConnection,
+ onDisplayHint, onDragEvent,
+ onDrawForeground,
+ onDrawScrollBars,
+ onFilterTouchEventForSecurity,
+ onFinishInflate,
+ onFinishTemporaryDetach,
+ onFocusChanged, onGenericMotionEvent,
+ onHoverChanged, onHoverEvent,
+ onInitializeAccessibilityEvent,
+ onInitializeAccessibilityNodeInfo,
+ onKeyDown, onKeyLongPress,
+ onKeyMultiple, onKeyPreIme,
+ onKeyShortcut, onKeyUp, onLayout, onOverScrolled,
+ onPointerCaptureChange,
+ onPopulateAccessibilityEvent,
+ onProvideAutofillStructure,
+ onProvideAutofillVirtualStructure,
+ onProvideStructure,
+ onProvideVirtualStructure,
+ onResolvePointerIcon,
+ onRestoreInstanceState,
+ onRtlPropertiesChanged,
+ onSaveInstanceState,
+ onScreenStateChanged,
+ onScrollChanged,
+ onSetAlpha, onSizeChanged,
+ onStartTemporaryDetach,
+ onTrackballEvent,
+ onVisibilityAggregated,
+ onVisibilityChanged,
+ onWindowFocusChanged,
+ onWindowSystemUiVisibilityChanged,
+ onWindowVisibilityChanged,
+ overScrollBy, performAccessibilityAction,
+ performClick, performContextClick,
+ performContextClick,
+ performHapticFeedback,
+ performHapticFeedback,
+ performLongClick,
+ performLongClick,
+ playSoundEffect,
+ post, postDelayed,
+ postInvalidate, postInvalidate,
+ postInvalidateDelayed,
+ postInvalidateDelayed,
+ postInvalidateOnAnimation,
+ postInvalidateOnAnimation,
+ postOnAnimation,
+ postOnAnimationDelayed,
+ refreshDrawableState,
+ releasePointerCapture,
+ removeCallbacks,
+ removeOnAttachStateChangeListener,
+ removeOnLayoutChangeListener,
+ requestApplyInsets,
+ requestFitSystemWindows,
+ requestFocus, requestFocus,
+ requestFocus, requestFocusFromTouch,
+ requestLayout, requestPointerCapture,
+ requestRectangleOnScreen,
+ requestRectangleOnScreen,
+ requestUnbufferedDispatch,
+ resolveSize, resolveSizeAndState,
+ restoreDefaultFocus,
+ restoreHierarchyState,
+ saveHierarchyState,
+ scheduleDrawable,
+ scrollBy, scrollTo, sendAccessibilityEvent,
+ sendAccessibilityEventUnchecked,
+ setAccessibilityDelegate,
+ setAccessibilityLiveRegion,
+ setAccessibilityTraversalAfter,
+ setAccessibilityTraversalBefore,
+ setActivated, setAlpha, setAnimation,
+ setAutofillHints,
+ setBackground, setBackgroundColor,
+ setBackgroundDrawable,
+ setBackgroundResource,
+ setBackgroundTintList,
+ setBackgroundTintMode,
+ setBottom, setCameraDistance,
+ setClickable, setClipBounds,
+ setClipToOutline,
+ setContentDescription,
+ setContextClickable,
+ setDefaultFocusHighlightEnabled,
+ setDrawingCacheBackgroundColor,
+ setDrawingCacheEnabled,
+ setDrawingCacheQuality,
+ setDuplicateParentStateEnabled,
+ setElevation, setEnabled,
+ setFadingEdgeLength,
+ setFilterTouchesWhenObscured,
+ setFitsSystemWindows,
+ setFocusable, setFocusable,
+ setFocusableInTouchMode,
+ setFocusedByDefault,
+ setForeground, setForegroundGravity,
+ setForegroundTintList,
+ setForegroundTintMode,
+ setHapticFeedbackEnabled,
+ setHasTransientState,
+ setHorizontalFadingEdgeEnabled,
+ setHorizontalScrollBarEnabled,
+ setHovered, setId, setImportantForAccessibility,
+ setImportantForAutofill,
+ setKeepScreenOn,
+ setKeyboardNavigationCluster,
+ setLabelFor, setLayerPaint,
+ setLayerType, setLayoutDirection,
+ setLayoutParams,
+ setLeft, setLongClickable,
+ setMeasuredDimension,
+ setMinimumHeight,
+ setMinimumWidth,
+ setNestedScrollingEnabled,
+ setNextClusterForwardId,
+ setNextFocusDownId,
+ setNextFocusForwardId,
+ setNextFocusLeftId,
+ setNextFocusRightId,
+ setNextFocusUpId,
+ setOnApplyWindowInsetsListener,
+ setOnCapturedPointerListener,
+ setOnClickListener,
+ setOnContextClickListener,
+ setOnCreateContextMenuListener,
+ setOnDragListener,
+ setOnFocusChangeListener,
+ setOnGenericMotionListener,
+ setOnHoverListener,
+ setOnKeyListener,
+ setOnLongClickListener,
+ setOnScrollChangeListener,
+ setOnSystemUiVisibilityChangeListener,
+ setOnTouchListener,
+ setOutlineProvider,
+ setOverScrollMode,
+ setPadding, setPaddingRelative,
+ setPivotX, setPivotY, setPointerIcon,
+ setPressed, setRevealOnFocusHint,
+ setRight, setRotation,
+ setRotationX, setRotationY,
+ setSaveEnabled, setSaveFromParentEnabled,
+ setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade,
+ setScrollBarFadeDuration,
+ setScrollbarFadingEnabled,
+ setScrollBarSize,
+ setScrollBarStyle,
+ setScrollContainer,
+ setScrollIndicators,
+ setScrollIndicators,
+ setScrollX, setScrollY,
+ setSelected, setSoundEffectsEnabled,
+ setStateListAnimator,
+ setSystemUiVisibility,
+ setTag, setTag, setTextAlignment,
+ setTextDirection,
+ setTooltipText, setTop, setTouchDelegate,
+ setTransitionName,
+ setTranslationX,
+ setTranslationY,
+ setTranslationZ,
+ setVerticalFadingEdgeEnabled,
+ setVerticalScrollBarEnabled,
+ setVerticalScrollbarPosition,
+ setVisibility, setWillNotCacheDrawing,
+ setWillNotDraw, setX, setY, setZ, showContextMenu,
+ showContextMenu,
+ startActionMode,
+ startActionMode,
+ startAnimation, startDrag, startDragAndDrop,
+ startNestedScroll,
+ stopNestedScroll,
+ toString, unscheduleDrawable,
+ unscheduleDrawable,
+ updateDragShadow,
+ verifyDrawable, willNotCacheDrawing,
+ willNotDraw
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
- wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private float mDownKeyX+
public static final int DYNAMIC_PIN_LENGTH+
private float mDownKeyY+
private float mDownKeyX+
private int[] mCorrectPin+
private float mDownKeyY+
private InteractiveArrayList<java.lang.Integer> mPinTyped+ href="../../../com/kevalpatel/passcodeview/InteractiveArrayList.html" + title="class in com.kevalpatel.passcodeview">InteractiveArrayList
ArrayList
+ of the currently typed pin. At any given time this array will
+ hold the digits of the PIN that user typed.
+ InteractiveArrayList
+ private BoxKeypad mBoxKeypad+ href="../../../com/kevalpatel/passcodeview/internal/BoxKeypad.html" + title="class in com.kevalpatel.passcodeview.internal">BoxKeypad
BoxKeypad
+ that displays the numeric keyboard to display the keys.
+ private BoxTitleIndicator mBoxIndicator+ href="../../../com/kevalpatel/passcodeview/internal/BoxTitleIndicator.html" + title="class in com.kevalpatel.passcodeview.internal">BoxTitleIndicator mBoxIndicator +
@NonNull +private KeyNamesBuilder mKeyNamesBuilder+
KeyNamesBuilder
+ that holds the title name of all the keys for keyboard digits.
+ private volatile PinAuthenticator mAuthenticator+
PinAuthenticator
+ that will perform the authentication for the user pin.
+ PinAuthenticator
+ @Nullable +private PinView.PinAuthenticatorTask mPinAuthenticatorTask+
PinView.PinAuthenticatorTask
.
+ If the value is null that indicates,
+ no
+ PinView.PinAuthenticatorTask
+ is running currently.
+ PinView.PinAuthenticatorTask
+ public PinView(android.content.Context context)+
public PinView(Context context)
public PinView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs)+
public PinView(Context context, + @Nullable + AttributeSet attrs)
public PinView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs, +public PinView(Context context, + @Nullable + AttributeSet attrs, int defStyleAttr)
init
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#init--">initPasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
@@ -1041,10 +2514,10 @@ setDefaults
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#setDefaults--">setDefaults in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
preparePaint
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#preparePaint--">preparePaint in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
public void parseTypeArr(@NonNull - android.util.AttributeSet typedArray)+
public void parseTypeArr(@NonNull + AttributeSet typedArray)
parseTypeArr
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#parseTypeArr-android.util.AttributeSet-">parseTypeArr in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
typedArray
- AttributeSet
received
- from the XML.
+ typedArray
- AttributeSet
+ received from the XML.
public void measureView(@NonNull - android.graphics.Rect rootViewBounds)+
public void measureView(@NonNull + Rect rootViewBounds)
measureView
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#measureView-android.graphics.Rect-">measureView in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
onAuthenticationFail
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationFail--">onAuthenticationFail in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
onAuthenticationSuccess
- Specified by:
onAuthenticationSuccess
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationSuccess--">onAuthenticationSuccess
in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
reset
- Specified by:
reset
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#reset--">reset
in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
reset
-
drawView
- public void drawView(@NonNull
- android.graphics.Canvas canvas)
+ public void drawView(@NonNull
+ Canvas canvas)
Draw method of the view called every time frame
refreshes.
- Specified by:
drawView
in
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#drawView-android.graphics.Canvas-">drawView
in
interface PasscodeViewLifeCycle
+ href="../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
canvas
- view canvasprotected void onDetachedFromWindow()+
onDetachedFromWindow
in
+ class BasePasscodeView
+ public boolean onTouchEvent(android.view.MotionEvent event)+
public boolean onTouchEvent(MotionEvent event)
onTouchEvent
in class android.view.View
+ onTouchEvent
in
+ class View
private void onKeyPressed(@Nullable - java.lang.String newDigit)+
private void onKeyPressed(@Nullable + String newDigit)
mPinTyped
.
If the new digit is KeyNamesBuilder.BACKSPACE_TITLE
,
+ href="../../../com/kevalpatel/passcodeview/keys/KeyNamesBuilder.html#BACKSPACE_TITLE">KeyNamesBuilder.BACKSPACE_TITLE
,
remove the last digit of the mPinTyped
.
- If the mPinTyped
- has length of mCorrectPin
- and equals to mCorrectPin
- notify application as authenticated.
onArrayValueChange
in
+ href="../../../com/kevalpatel/passcodeview/InteractiveArrayList.ChangeListener.html#onArrayValueChange-int-">onArrayValueChange in
interface InteractiveArrayList.ChangeListener
+ href="../../../com/kevalpatel/passcodeview/InteractiveArrayList.ChangeListener.html"
+ title="interface in com.kevalpatel.passcodeview">InteractiveArrayList.ChangeListener
size
- this is the new size of onArrayValueChange
InteractiveArrayList
+ InteractiveArrayList
@Nullable +public PinAuthenticator getPinAuthenticator()+
public void setPinAuthenticator(PinAuthenticator authenticator)+
public int[] getCurrentTypedPin()+
public void setCurrentTypedPin(int[] currentTypedPin)+
currentTypedPin
- Array of PIN digits.public void setPinLength(int pinLength)+
public int getPinLength()+
public boolean isDynamicPinEnabled()+
public void setCorrectPin(@NonNull - int[] correctPin)-
public void setKey(@NonNull + Key.Builder keyBuilder)+
Key.Builder
.
+ https://github.com/kevalpatel2106/PasscodeView/wiki/Diffrent-Key-Shapes
correctPin
- Array if single digits of the PIN. The
- single digit should not be less than 0 or grater
- than 9.
+ keyBuilder
- Key.Builder
+ public void setKeyNames(@NonNull + KeyNamesBuilder keyNamesBuilder)+
keyNamesBuilder
- KeyNamesBuilder
@Nullable +public Key.Builder getKeyBuilder()+
Key.Builder
+ public void setTitleColorResource(@ColorRes +public void setTitleColorResource(@ColorRes int titleColor)Set the color of the view title.
public java.lang.String getTitle()+
public String getTitle()
public void setTitle(@NonNull - java.lang.String title)+
public void setTitle(@NonNull + String title)
@Nullable -public Key.Builder getKeyBuilder()-
Key.Builder
- public void setIndicator(@NonNull +public void setIndicator(@NonNull Indicator.Builder indicatorBuilder)Set the PIN change indicator. Use setIndicator -+
@@ -1572,10 +3118,10 @@- - - -
getIndicatorBuilder
-@Nullable -public Indicator.Builder getIndicatorBuilder()+public Indicator.Builder getIndicatorBuilder()
- Returns:
- @@ -1470,79 +3089,6 @@
getIndicatorBuilder
-
- - - -- -
-setKey
-public void setKey(@NonNull - Key.Builder keyBuilder)-Set the key shape and theme properties by using-Key.Builder
. - https://github.com/kevalpatel2106/PasscodeView/wiki/Diffrent-Key-Shapes --
-- Parameters:
-- -
keyBuilder
-Key.Builder
--
- - - -- -
-setKeyNames
-public void setKeyNames(@NonNull - KeyNamesBuilder keyNames)-Set the name of the keys. So that you can support - different locale. - https://github.com/kevalpatel2106/PasscodeView/wiki/Add-localized-key-names ---
-- Parameters:
-- -
keyNames
-KeyNamesBuilder
--
- - - -- -
-getCurrentTypedPin
-public int[] getCurrentTypedPin()-Get the currently typed PIN numbers.--
-- Returns:
-- Array of PIN digits.
--
- -
-setCurrentTypedPin
-public void setCurrentTypedPin(int[] currentTypedPin)-Set the currently typed PIN numbers.--
-- Parameters:
-- -
currentTypedPin
- Array of PIN digits.setCurrentTypedPin
@@ -1603,8 +3149,7 @@setCurrentTypedPin
- Summary:
-- Nested | -
+- Nested |
- Field |
- Constr |
- Method
diff --git a/docs/com/kevalpatel/passcodeview/Utils.html b/docs/com/kevalpatel/passcodeview/Utils.html index adcd0a7..623097b 100644 --- a/docs/com/kevalpatel/passcodeview/Utils.html +++ b/docs/com/kevalpatel/passcodeview/Utils.html @@ -1,11 +1,25 @@ + + - +Utils - + @@ -19,7 +33,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -51,7 +65,7 @@-
@@ -141,12 +157,10 @@- java.lang.Object
+- java.lang.Object
- com.kevalpatel.passcodeview.Utils
@@ -116,13 +131,14 @@Class Utils
public final class Utils -extends java.lang.Object
+extends ObjectCreated by Keval on 07-Oct-16. This class contains utility methods for the library.
- Author:
-- 'https://github.com/kevalpatel2106'
+- kevalpatel2106
Constructor Summary
Constructors - Modifier -Constructor and Description +Constructor and Description - @@ -177,93 +191,35 @@- private
Utils()
Method Summary
static int
getColorCompat(android.content.Context context, + href="../../../com/kevalpatel/passcodeview/Utils.html#getColorCompat-android.content.Context-int-">getColorCompat(Context context, int colorRes)
- -- (package private) static void
- giveTactileFeedbackForAuthFail(android.content.Context context)
-Run the vibrator to give tactile feedback for - 350ms when user authentication is successful. --- -- (package private) static void
- giveTactileFeedbackForAuthSuccess(android.content.Context context)
-Run the vibrator to give tactile feedback for - 100ms at difference of 50ms for two times when - user authentication is failed. --- -- (package private) static void
- giveTactileFeedbackForKeyPress(android.content.Context context)
-Run the vibrator to give tactile feedback for - 50ms when any key is pressed. --- static boolean
hasSupportedFingerprintHardware(android.content.Context context)
+ href="../../../com/kevalpatel/passcodeview/Utils.html#hasSupportedFingerprintHardware-android.content.Context-">hasSupportedFingerprintHardware(Context context)Check if the device have supported hardware fir the finger print scanner.+ - static boolean
isFingerPrintEnrolled(android.content.Context context)
+ href="../../../com/kevalpatel/passcodeview/Utils.html#isFingerPrintEnrolled-android.content.Context-">isFingerPrintEnrolled(Context context)Check if the device has any fingerprint registered?- -- (package private) static boolean
-- isPatternMatched(PatternPoint[] correctPattern, - java.util.ArrayList<PatternCell> patternToCheck)
-Check if the both pattern matches? It uses-PatternPoint.equals(Object)
- to match row and - column number of both pattern poins. -- -- (package private) static boolean
-- isPINMatched(int[] correctPin, - java.util.ArrayList<java.lang.Integer> pinToCheck)
-Compare two arrays of the PIN and check if - both pin matches? --- -- (package private) static boolean
-- isValidPin(int[] pinToCheck)
-Check if the given pin is valid or not?-+ - static int
makeColorDark(int color)
@@ -271,10 +227,12 @@Method Summary
+ @@ -284,9 +242,32 @@ static void
openSecuritySettings(android.content.Context context)
+ href="../../../com/kevalpatel/passcodeview/Utils.html#openSecuritySettings-android.content.Context-">openSecuritySettings(Context context)Open the Security settings screen.Method Summary
name="methods.inherited.from.class.java.lang.Object"> -Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, - notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -308,7 +289,7 @@Constructor Detail
@@ -325,8 +306,11 @@
Utils
-private Utils()+public Utils()Method Detail
openSecuritySettings
-public static void openSecuritySettings(@NonNull - android.content.Context context)+public static void openSecuritySettings(@NonNull + Context context)Open the Security settings screen. This settings screen will allow user to register finger prints. @@ -343,7 +327,9 @@openSecuritySettings
hasSupportedFingerprintHardware
-public static boolean hasSupportedFingerprintHardware(android.content.Context context)+public static boolean hasSupportedFingerprintHardware(Context context)Check if the device have supported hardware fir the finger print scanner.@@ -361,7 +347,9 @@hasSupportedFingerprintHardware
isFingerPrintEnrolled
-public static boolean isFingerPrintEnrolled(android.content.Context context)+public static boolean isFingerPrintEnrolled(Context context)Check if the device has any fingerprint registered?@@ -376,80 +364,6 @@
isFingerPrintEnrolled
- - - --
- - - -- -
-isValidPin
-static boolean isValidPin(int[] pinToCheck)-Check if the given pin is valid or not?--
-- Parameters:
-- -
pinToCheck
- pin to validate- Returns:
-- true if the entered pin is valid.
--
- - - -- -
-isPINMatched
-static boolean isPINMatched(int[] correctPin, - java.util.ArrayList<java.lang.Integer> pinToCheck)-Compare two arrays of the PIN and check if both - pin matches? ---
-- Parameters:
-- -
correctPin
- correct pin.- -
pinToCheck
- pin entered by the user.- Returns:
-- true if the both pin matches.
--
@@ -468,55 +382,19 @@- -
-isPatternMatched
-static boolean isPatternMatched(@NonNull - PatternPoint[] correctPattern, - @NonNull - java.util.ArrayList<PatternCell> patternToCheck)-Check if the both pattern matches? It uses-PatternPoint.equals(Object)
- to match row and - column number of both pattern poins. --
-- Parameters:
-- -
correctPattern
- correct list ofPatternPoint
. -- -
patternToCheck
- list ofPatternPoint
- to check. -- Returns:
-- true if both pattern matches.
-- See Also:
-- -
-PatternPoint.equals(Object)
-makeColorDark
- - - --
- - - -- -
-giveTactileFeedbackForKeyPress
-static void giveTactileFeedbackForKeyPress(@NonNull - android.content.Context context)-Run the vibrator to give tactile feedback for - 50ms when any key is pressed. ---
- - - -- -
-giveTactileFeedbackForAuthFail
-static void giveTactileFeedbackForAuthFail(@NonNull - android.content.Context context)-Run the vibrator to give tactile feedback for - 350ms when user authentication is successful. ---
- -
-giveTactileFeedbackForAuthSuccess
-static void giveTactileFeedbackForAuthSuccess(@NonNull - android.content.Context context)-Run the vibrator to give tactile feedback for - 100ms at difference of 50ms for two times when - user authentication is failed. --@@ -549,7 +427,7 @@
getColorCompat
-public static int getColorCompat(@NonNull - android.content.Context context, - @ColorRes +public static int getColorCompat(@NonNull + Context context, + @ColorRes int colorRes)getColorCompat
-+Uses of - Class
+
com.kevalpatel.passcodeview.internal.ConstantsUses of Class
+
com.kevalpatel.passcodeview.authenticator.PasscodeViewPinAuthenticator +No usage of + com.kevalpatel.passcodeview.authenticator.PasscodeViewPinAuthenticator-No usage of com.kevalpatel.passcodeview.internal.Constants@@ -93,8 +111,9 @@
- Overview
- Package
-- Class
+- + Class
- Tree
- Deprecated
@@ -109,9 +128,9 @@
- - Frames
-- No Frames
+- No Frames
+ + + + + + +++ + + + ++ ++ + +++Hierarchy For Package com.kevalpatel.passcodeview.authenticator
+ Package Hierarchies: ++
+- All Packages
+++ + +Class Hierarchy
++
+- java.lang.Object +
++
+- com.kevalpatel.passcodeview.authenticator.PasscodeViewPatternAuthenticator (implements + com.kevalpatel.passcodeview.authenticator.PatternAuthenticator) +
+- com.kevalpatel.passcodeview.authenticator.PasscodeViewPinAuthenticator (implements + com.kevalpatel.passcodeview.authenticator.PinAuthenticator) +
+Interface Hierarchy
++
+- com.kevalpatel.passcodeview.authenticator.PatternAuthenticator
+- com.kevalpatel.passcodeview.authenticator.PinAuthenticator
+Enum Hierarchy
++
+- java.lang.Object +
++
+- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +
++
+- com.kevalpatel.passcodeview.authenticator.PinAuthenticator.PinAuthenticationState +
+++ + + diff --git a/docs/com/kevalpatel/passcodeview/internal/box/package-use.html b/docs/com/kevalpatel/passcodeview/authenticator/package-use.html similarity index 50% rename from docs/com/kevalpatel/passcodeview/internal/box/package-use.html rename to docs/com/kevalpatel/passcodeview/authenticator/package-use.html index d87d702..0a0f90e 100644 --- a/docs/com/kevalpatel/passcodeview/internal/box/package-use.html +++ b/docs/com/kevalpatel/passcodeview/authenticator/package-use.html @@ -1,25 +1,38 @@ + + - - + + ++ ++ + +Uses of Package com.kevalpatel.passcodeview.internal.box - - - + +Uses of Package com.kevalpatel.passcodeview.authenticator + + +@@ -51,12 +64,12 @@+ + + + + + +++ + + + ++ ++ + +++Uses of Class
+
com.kevalpatel.passcodeview.Constants +No usage of com.kevalpatel.passcodeview.Constants+ + +++ + + diff --git a/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.ChangeListener.html b/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.ChangeListener.html new file mode 100644 index 0000000..ff4110f --- /dev/null +++ b/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.ChangeListener.html @@ -0,0 +1,260 @@ + + + + + + + + + + ++ ++ + +Uses of Interface com.kevalpatel.passcodeview.InteractiveArrayList.ChangeListener + + + + + + + + + +++ + + + ++ ++ + +++Uses of Interface
+
com.kevalpatel.passcodeview.InteractiveArrayList.ChangeListener +++ + ++
+- +
++
+Packages that use InteractiveArrayList.ChangeListener ++ + +Package +Description ++ + +com.kevalpatel.passcodeview + ++ - +
++
+- + + +
+Uses of InteractiveArrayList.ChangeListener + in com.kevalpatel.passcodeview +
++
+Classes in com.kevalpatel.passcodeview that implement InteractiveArrayList.ChangeListener ++ + +Modifier and Type +Class and Description ++ + ++ class
+ PinView
+Created by Keval on 06-Apr-17.++
+Fields in com.kevalpatel.passcodeview declared as InteractiveArrayList.ChangeListener ++ + +Modifier and Type +Field and Description ++ + ++ private InteractiveArrayList.ChangeListener
+InteractiveArrayList. +mChangeListener
++
+Methods in com.kevalpatel.passcodeview with parameters of type InteractiveArrayList.ChangeListener ++ + +Modifier and Type +Method and Description ++ + ++ void
InteractiveArrayList. +setChangeListener(InteractiveArrayList.ChangeListener listener)
+++ + + diff --git a/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.html b/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.html new file mode 100644 index 0000000..ba6887b --- /dev/null +++ b/docs/com/kevalpatel/passcodeview/class-use/InteractiveArrayList.html @@ -0,0 +1,218 @@ + + + + + + + + + + ++ ++ + +Uses of Class com.kevalpatel.passcodeview.InteractiveArrayList + + + + + + + + + +++ + + + ++ ++ + +++Uses of + Class
+
com.kevalpatel.passcodeview.InteractiveArrayList++ + ++
+- +
++
+Packages that use InteractiveArrayList ++ + +Package +Description ++ + +com.kevalpatel.passcodeview + ++ - +
++
+- + + +
+Uses of InteractiveArrayList in + com.kevalpatel.passcodeview +
++
+Fields in com.kevalpatel.passcodeview declared as InteractiveArrayList ++ + +Modifier and Type +Field and Description ++ + ++ private InteractiveArrayList<Integer>
+PinView. +mPinTyped
++ArrayList
+ of the currently typed pin. +++ + + diff --git a/docs/com/kevalpatel/passcodeview/class-use/PatternView.PatternAuthenticatorTask.html b/docs/com/kevalpatel/passcodeview/class-use/PatternView.PatternAuthenticatorTask.html new file mode 100644 index 0000000..042622b --- /dev/null +++ b/docs/com/kevalpatel/passcodeview/class-use/PatternView.PatternAuthenticatorTask.html @@ -0,0 +1,221 @@ + + + + + + + + + + ++ ++ + +Uses of Class com.kevalpatel.passcodeview.PatternView.PatternAuthenticatorTask + + + + + + + + + +++ + + + ++ ++ + +++Uses of Class
+
com.kevalpatel.passcodeview.PatternView.PatternAuthenticatorTask +++ + ++
+- +
++
+Packages that use PatternView.PatternAuthenticatorTask ++ + +Package +Description ++ + +com.kevalpatel.passcodeview + ++ - +
++
+- + + +
+Uses of PatternView.PatternAuthenticatorTask + in com.kevalpatel.passcodeview +
++
+Fields in com.kevalpatel.passcodeview declared as PatternView.PatternAuthenticatorTask ++ + +Modifier and Type +Field and Description ++ + ++ private PatternView.PatternAuthenticatorTask
+PatternView. +mPatternAuthenticatorTask
+Instance of the currently running+PatternView.PatternAuthenticatorTask
. +++ + + diff --git a/docs/com/kevalpatel/passcodeview/class-use/PatternView.html b/docs/com/kevalpatel/passcodeview/class-use/PatternView.html index f604205..cc3b05e 100644 --- a/docs/com/kevalpatel/passcodeview/class-use/PatternView.html +++ b/docs/com/kevalpatel/passcodeview/class-use/PatternView.html @@ -1,11 +1,25 @@ + + - + + + ++ ++ + +Uses of Class com.kevalpatel.passcodeview.PatternView - + @@ -109,67 +123,6 @@Uses of PatternView in com.kevalpatel.passcodeview.patternCells
--
-Fields in com.kevalpatel.passcodeview.patternCells declared as PatternView -- - -Modifier and Type -Field and Description -- -- private PatternView
-PatternCell. -mPatternView
-- - -- private PatternView
-PatternCell.Builder. -mPatternView
--
Methods in com.kevalpatel.passcodeview.patternCells that return PatternView -- - -Modifier and Type -Method and Description -- - -- protected PatternView
-PatternCell.Builder. -getRootView()
-diff --git a/docs/com/kevalpatel/passcodeview/internal/box/class-use/BoxTitleIndicator.html b/docs/com/kevalpatel/passcodeview/class-use/PinView.PinAuthenticatorTask.html similarity index 55% rename from docs/com/kevalpatel/passcodeview/internal/box/class-use/BoxTitleIndicator.html rename to docs/com/kevalpatel/passcodeview/class-use/PinView.PinAuthenticatorTask.html index cd4dd27..6f2ee31 100644 --- a/docs/com/kevalpatel/passcodeview/internal/box/class-use/BoxTitleIndicator.html +++ b/docs/com/kevalpatel/passcodeview/class-use/PinView.PinAuthenticatorTask.html @@ -1,19 +1,33 @@ + + - -
Constructors in Uses of PatternView patternView) - - -- Builder(PatternView patternView)
-- -- Builder(PatternView pinView)
-- -- CirclePatternCell(PatternView patternView, - android.graphics.Rect bound, - CirclePatternCell.Builder builder, - android.graphics.Point point)
-- -- DotPatternCell(PatternView patternView, - android.graphics.Rect bound, - DotPatternCell.Builder builder, - android.graphics.Point point)
-- - PatternCell(PatternView pinView, - android.graphics.Rect bound, - PatternCell.Builder builder, - android.graphics.Point location)
-Uses of Class com.kevalpatel.passcodeview.internal.box.BoxTitleIndicator - - - + +Uses of Class com.kevalpatel.passcodeview.PinView.PinAuthenticatorTask + + + @@ -98,11 +112,6 @@Uses
Modifier and Type | -Field and Description | -
---|---|
private PinView
- |
- Indicator.mPinView
- |
-
private PinView
- |
- Indicator.Builder.mPinView
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected PinView
- |
- Indicator.getRootView()
- |
-
protected PinView
- |
- Indicator.Builder.getRootView()
- |
-
Modifier and Type | -Field and Description | -
---|---|
private PinView
- |
- Key.Builder.mPinView
- |
-
private PinView
- |
- Key.mView
- |
-
Modifier and Type | -Method and Description | -
---|---|
PinView
- |
- Key.getPinView()
- |
-
protected PinView
- |
- Key.Builder.getPinView()
- |
-
Constructor and Description | -
---|
Builder(PinView pinView)
- |
-
Builder(PinView pinView)
- |
-
Builder(PinView pinView)
- |
-
Builder(PinView pinView)
- |
-
Key(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- Key.Builder builder)
- |
-
RectKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RectKey.Builder builder)
- Public constructor.
- |
-
RoundKey(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RoundKey.Builder builder)
- Public constructor.
- |
-
SquareKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- SquareKey.Builder builder)
- Public constructor.
- |
-
private android.graphics.Paint
- mEmptyIndicatorPaint
- private android.graphics.Paint
- mErrorIndicatorPaint
- private int
Field Summary
href="../../../../com/kevalpatel/passcodeview/indicators/CircleIndicator.Builder.html#mIndicatorStrokeWidth">mIndicatorStrokeWidth
private android.graphics.Paint
- mSolidIndicatorPaint
- CircleIndicator.Builder
- build()
- android.graphics.Paint
getEmptyIndicatorPaint()
- android.graphics.Paint
getErrorIndicatorPaint()
- Indicator
getIndicator(android.graphics.Rect bound)
- int
getIndicatorFilledColor()
- float
getIndicatorRadius()
- int
getIndicatorStrokeColor()
- float
getIndicatorStrokeWidth()
+ href="../../../../com/kevalpatel/passcodeview/indicators/CircleIndicator.Builder.html#buildInternal-android.graphics.Rect-">buildInternal(Rect bound)
float
getIndicatorWidth()
android.graphics.Paint
getSolidIndicatorPaint()
- protected void
setDefaults(android.content.Context context)
- CircleIndicator.Builder
@@ -328,7 +267,7 @@ CircleIndicator.Builder
@@ -337,7 +276,7 @@ CircleIndicator.Builder
@@ -346,7 +285,7 @@ CircleIndicator.Builder
@@ -355,7 +294,7 @@ CircleIndicator.Builder
@@ -364,7 +303,7 @@ CircleIndicator.Builder
@@ -373,7 +312,7 @@ CircleIndicator.Builder
@@ -382,7 +321,7 @@ CircleIndicator.Builder
@@ -411,9 +350,32 @@ clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -453,47 +415,22 @@ @Dimension +@Dimension private float mIndicatorRadius
@Dimension +@Dimension private float mIndicatorStrokeWidth
private android.graphics.Paint mEmptyIndicatorPaint-
private android.graphics.Paint mSolidIndicatorPaint-
private android.graphics.Paint mErrorIndicatorPaint-
public Builder(@NonNull +public Builder(@NonNull PinView pinView)
@Dimension -public float getIndicatorWidth()-
getIndicatorWidth
in
- class Indicator.Builder
- public CircleIndicator.Builder build()-
build
in
- class Indicator.Builder
- protected void setDefaults(@NonNull - android.content.Context context)-
setDefaults
in
- class Indicator.Builder
- public Indicator getIndicator(@NonNull - android.graphics.Rect bound)-
getIndicator
in
- class Indicator.Builder
- public int getIndicatorStrokeColor()-
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorStrokeColor(int indicatorStrokeColor)
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorStrokeColorResource(@ColorRes - int indicatorStrokeColor)-
public int getIndicatorFilledColor()+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder setIndicatorStrokeColorResource(@ColorRes + int indicatorStrokeColor)
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorFilledColor(int indicatorFilledColor)
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorFilledColorResource(@ColorRes - int indicatorFilledColor)-
@Dimension -public float getIndicatorRadius()+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorRadius(@DimenRes - int indicatorRadius)+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorRadius(@Dimension - float indicatorRadius)-
@Dimension -public float getIndicatorStrokeWidth()+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder setIndicatorRadius(@Dimension + float indicatorRadius)
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorStrokeWidth(@DimenRes - int indicatorStrokeWidth)+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder
@NonNull +@NonNull public CircleIndicator.Builder setIndicatorStrokeWidth(@Dimension - float indicatorStrokeWidth)-
@NonNull -public android.graphics.Paint getEmptyIndicatorPaint()+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder setIndicatorStrokeWidth(@Dimension + float indicatorStrokeWidth)
@NonNull -public android.graphics.Paint getSolidIndicatorPaint()+
@Dimension +public float getIndicatorWidth()+
getIndicatorWidth
in
+ class Indicator.Builder
+ @NonNull -public android.graphics.Paint getErrorIndicatorPaint()+
@NonNull +public Indicator buildInternal(@NonNull + Rect bound)+
buildInternal
in
+ class Indicator.Builder
+ private static long
ERROR_ANIMATION_DURATION
+ private boolean
isDisplayError
private android.graphics.Rect
private Rect
+ mBounds
private CircleIndicator.Builder
@@ -196,6 +220,33 @@ private Paint
+ mEmptyIndicatorPaint
+ private Paint
+ mErrorIndicatorPaint
+ private Paint
+ mSolidIndicatorPaint
+ private
CircleIndicator(PinView pinView,
- android.graphics.Rect bound,
- CircleIndicator.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/indicators/CircleIndicator.html#CircleIndicator-com.kevalpatel.passcodeview.indicators.CircleIndicator.Builder-android.graphics.Rect-">CircleIndicator(CircleIndicator.Builder builder,
+ Rect bound)
void
draw(android.graphics.Canvas canvas,
+ href="../../../../com/kevalpatel/passcodeview/indicators/CircleIndicator.html#draw-android.graphics.Canvas-boolean-">draw(Canvas canvas,
boolean isFilled)
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -307,14 +382,31 @@ private static final long ERROR_ANIMATION_DURATION+
@NonNull -private final android.graphics.Rect mBounds+
@NonNull +private final Rect mBounds
@NonNull +@NonNull private final CircleIndicator.Builder mBuilder
private CircleIndicator(@NonNull - PinView pinView, - @NonNull - android.graphics.Rect bound, - @NonNull +private CircleIndicator(@NonNull CircleIndicator.Builder builder)+ title="class in com.kevalpatel.passcodeview.indicators">CircleIndicator.Builder builder, + @NonNull + Rect bound)
public void draw(@NonNull - android.graphics.Canvas canvas, +public void draw(@NonNull + Canvas canvas, boolean isFilled)Draw the indicator.
private android.graphics.Paint
- private int
mEmptyIndicatorPaint
+ href="../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.Builder.html#mEmptyIndicatorColor">mEmptyIndicatorColor
private android.graphics.Paint
- mErrorIndicatorPaint
- private int
mIndicatorFilledColor
private float
mIndicatorRadius
private int
mIndicatorStrokeColor
- private android.graphics.Paint
- mSolidIndicatorPaint
- DotIndicator.Builder
- build()
- android.graphics.Paint
getErrorIndicatorPaint()
- Indicator
getIndicator(android.graphics.Rect bound)
- int
getIndicatorFilledColor()
- float
getIndicatorRadius()
- int
getIndicatorStrokeColor()
+ href="../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.Builder.html#buildInternal-android.graphics.Rect-">buildInternal(Rect bound)
float
getIndicatorWidth()
android.graphics.Paint
getNormalIndicatorPaint()
- android.graphics.Paint
getSelectedIndicatorPaint()
+ DotIndicator.Builder
protected void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.Builder.html#setIndicatorEmptyColor-int-">setIndicatorEmptyColor(int indicatorStrokeColor)
DotIndicator.Builder
@@ -316,7 +270,7 @@ DotIndicator.Builder
@@ -325,7 +279,7 @@ DotIndicator.Builder
@@ -334,7 +288,7 @@ DotIndicator.Builder
@@ -343,7 +297,7 @@ DotIndicator.Builder
@@ -352,15 +306,6 @@ DotIndicator.Builder
- setIndicatorStrokeColor(int indicatorStrokeColor)
- clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private int mIndicatorStrokeColor+
private int mEmptyIndicatorColor
@Dimension +@Dimension private float mIndicatorRadius
private android.graphics.Paint mEmptyIndicatorPaint-
private android.graphics.Paint mSolidIndicatorPaint-
private android.graphics.Paint mErrorIndicatorPaint-
public Builder(@NonNull +public Builder(@NonNull PinView pinView)
@Dimension -public float getIndicatorWidth()-
getIndicatorWidth
in
- class Indicator.Builder
- public DotIndicator.Builder build()-
build
in
- class Indicator.Builder
- protected void setDefaults(@NonNull - android.content.Context context)-
setDefaults
in
- class Indicator.Builder
- public Indicator getIndicator(@NonNull - android.graphics.Rect bound)-
getIndicator
in
- class Indicator.Builder
- public int getIndicatorStrokeColor()-
@NonNull +setIndicatorEmptyColor
+@NonNull public DotIndicator.Builder setIndicatorStrokeColor(int indicatorStrokeColor)+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder setIndicatorEmptyColor(int indicatorStrokeColor)
@NonNull +@NonNull public DotIndicator.Builder setIndicatorEmptyColorResource(@ColorRes - int indicatorStrokeColor)-
public int getIndicatorFilledColor()+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder setIndicatorEmptyColorResource(@ColorRes + int indicatorStrokeColor)
@NonNull +@NonNull public DotIndicator.Builder setIndicatorFilledColor(int indicatorFilledColor)
@NonNull +@NonNull public DotIndicator.Builder setIndicatorFilledColorResource(@ColorRes - int indicatorFilledColor)-
@Dimension -public float getIndicatorRadius()+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder
@NonNull +@NonNull public DotIndicator.Builder setIndicatorRadius(@DimenRes - int indicatorRadius)+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder
@NonNull +@NonNull public DotIndicator.Builder setIndicatorRadius(@Dimension - float indicatorRadius)+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder
@NonNull -public android.graphics.Paint getNormalIndicatorPaint()-
@NonNull -public android.graphics.Paint getSelectedIndicatorPaint()+
@Dimension +public float getIndicatorWidth()+
getIndicatorWidth
in
+ class Indicator.Builder
+ @NonNull -public android.graphics.Paint getErrorIndicatorPaint()+
@NonNull +public Indicator buildInternal(@NonNull + Rect bound)+
buildInternal
in
+ class Indicator.Builder
+ private static long
ERROR_ANIMATION_DURATION
+ private boolean
isDisplayError
private DotIndicator.Builder
@@ -192,6 +213,33 @@ private Paint
+ mEmptyIndicatorPaint
+ private Paint
+ mErrorIndicatorPaint
+ private Paint
+ mSolidIndicatorPaint
+ private
DotIndicator(PinView pinView,
- android.graphics.Rect bound,
- DotIndicator.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.html#DotIndicator-com.kevalpatel.passcodeview.indicators.DotIndicator.Builder-android.graphics.Rect-">DotIndicator(DotIndicator.Builder builder,
+ Rect bound)
void
draw(android.graphics.Canvas canvas,
+ href="../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.html#draw-android.graphics.Canvas-boolean-">draw(Canvas canvas,
boolean isSelected)
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -303,17 +375,69 @@ private static final long ERROR_ANIMATION_DURATION+
@NonNull +@NonNull private final DotIndicator.Builder mBuilder
private DotIndicator(@NonNull - PinView pinView, - @NonNull - android.graphics.Rect bound, - @NonNull +private DotIndicator(@NonNull DotIndicator.Builder builder)+ title="class in com.kevalpatel.passcodeview.indicators">DotIndicator.Builder builder, + @NonNull + Rect bound)
public void draw(@NonNull - android.graphics.Canvas canvas, +public void draw(@NonNull + Canvas canvas, boolean isSelected)Draw the indicator.
public abstract static class Indicator.Builder
-extends java.lang.Object
+extends Object
private PinView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
mPinView
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.Builder.html#mPasscodeView">mPasscodeView
private
Builder()
-
Builder(PinView pinView)
+ Builder(BasePasscodeView passcodeView)
abstract Indicator.Builder
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.html"
+ title="class in com.kevalpatel.passcodeview.indicators">Indicator
build()
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.Builder.html#buildInternal-android.graphics.Rect-">buildInternal(Rect bound)
protected android.content.Context
+ protected Context
getContext()
abstract Indicator
- getIndicator(android.graphics.Rect bound)
- abstract float
getIndicatorWidth()
protected PinView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
getRootView()
protected abstract void
setDefaults(android.content.Context context)
- clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private PinView mPinView+
@NonNull +private final BasePasscodeView mPasscodeView
private Builder()-
public Builder(@NonNull - PinView pinView)+
public Builder(@NonNull + BasePasscodeView passcodeView)
@NonNull -protected final PinView getRootView()-
@NonNull -protected final android.content.Context getContext()+
@NonNull +protected final BasePasscodeView getRootView()
@Dimension +@Dimension public abstract float getIndicatorWidth()
public abstract Indicator.Builder build()-
protected abstract void setDefaults(@NonNull - android.content.Context context)+
@NonNull +protected final Context getContext()
public abstract Indicator getIndicator(@NonNull - android.graphics.Rect bound)+ title="class in com.kevalpatel.passcodeview.indicators">Indicator buildInternal(@NonNull + Rect bound)
public abstract class Indicator
-extends java.lang.Object
+extends Object
private android.graphics.Rect
private Rect
+ mBound
private PinView
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.Builder.html"
+ title="class in com.kevalpatel.passcodeview.indicators">Indicator.Builder
mPinView
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.html#mBuilder">mBuilder
private
Indicator()
- (package private)
Indicator(PinView pinView,
- android.graphics.Rect bound,
- Indicator.Builder builder)
+ Indicator(Indicator.Builder builder,
+ Rect bound)
abstract void
draw(android.graphics.Canvas canvas,
+ href="../../../../com/kevalpatel/passcodeview/indicators/Indicator.html#draw-android.graphics.Canvas-boolean-">draw(Canvas canvas,
boolean isFilled)
android.graphics.Rect
Rect
+ getBound()
protected android.content.Context
+ protected Context
getContext()
@@ -274,8 +291,8 @@ protected PinView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
getRootView()
@@ -299,9 +316,32 @@ clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -317,24 +357,28 @@ private android.graphics.Rect mBound+
@NonNull +private final Indicator.Builder mBuilder
private Indicator()-
Indicator(@NonNull - PinView pinView, - @NonNull - android.graphics.Rect bound, - @NonNull +Indicator(@NonNull Indicator.Builder builder)+ title="class in com.kevalpatel.passcodeview.indicators">Indicator.Builder builder, + @NonNull + Rect bound)
protected final PinView getRootView()+
@NonNull +protected final BasePasscodeView getRootView()
public abstract void draw(@NonNull - android.graphics.Canvas canvas, +public abstract void draw(@NonNull + Canvas canvas, boolean isFilled)
public abstract void onAuthSuccess()
@NonNull -public android.graphics.Rect getBound()-
CircleIndicator.Builder
- build()
- CircleIndicator.Builder
@@ -173,7 +176,7 @@ CircleIndicator.Builder
@@ -184,7 +187,7 @@ CircleIndicator.Builder
@@ -195,7 +198,7 @@ CircleIndicator.Builder
@@ -206,7 +209,7 @@ CircleIndicator.Builder
@@ -217,7 +220,7 @@ CircleIndicator.Builder
@@ -228,7 +231,7 @@ CircleIndicator.Builder
@@ -239,7 +242,7 @@ CircleIndicator.Builder
@@ -265,12 +268,11 @@ CircleIndicator(PinView pinView,
- android.graphics.Rect bound,
- CircleIndicator.Builder builder)
+ href="../../../../../com/kevalpatel/passcodeview/indicators/CircleIndicator.html#CircleIndicator-com.kevalpatel.passcodeview.indicators.CircleIndicator.Builder-android.graphics.Rect-">CircleIndicator(CircleIndicator.Builder builder,
+ Rect bound)
build()
+ href="../../../../../com/kevalpatel/passcodeview/indicators/DotIndicator.Builder.html#setIndicatorEmptyColor-int-">setIndicatorEmptyColor(int indicatorStrokeColor)
DotIndicator.Builder
- setIndicatorStrokeColor(int indicatorStrokeColor)
- Class and Description | @@ -181,13 +195,13 @@||
---|---|---|
Indicator
+ href="../../../../com/kevalpatel/passcodeview/indicators/class-use/Indicator.html#com.kevalpatel.passcodeview.internal">Indicator
Created by Keval Patel on 07/04/17.
|
||
Indicator.Builder + href="../../../../com/kevalpatel/passcodeview/indicators/class-use/Indicator.Builder.html#com.kevalpatel.passcodeview.internal">Indicator.Builder |
addChildrenForAccessibility,
- addExtraDataToAccessibilityNodeInfo, addFocusables,
- addFocusables, addKeyboardNavigationClusters,
- addOnAttachStateChangeListener, addOnLayoutChangeListener,
- addTouchables, animate, announceForAccessibility, autofill,
- autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars,
- bringToFront, buildDrawingCache, buildDrawingCache, buildLayer,
- callOnClick, cancelDragAndDrop, cancelLongPress,
- cancelPendingInputEvents, canResolveLayoutDirection,
- canResolveTextAlignment, canResolveTextDirection,
- canScrollHorizontally, canScrollVertically,
- checkInputConnectionProxy, clearAnimation, clearFocus,
- combineMeasuredStates, computeHorizontalScrollExtent,
- computeHorizontalScrollOffset, computeHorizontalScrollRange,
- computeScroll, computeSystemWindowInsets,
- computeVerticalScrollExtent, computeVerticalScrollOffset,
- computeVerticalScrollRange, createAccessibilityNodeInfo,
- createContextMenu, destroyDrawingCache,
- dispatchApplyWindowInsets, dispatchCapturedPointerEvent,
- dispatchConfigurationChanged, dispatchDisplayHint,
- dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged,
- dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent,
- dispatchGenericMotionEvent, dispatchGenericPointerEvent,
- dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme,
- dispatchKeyShortcutEvent, dispatchNestedFling,
- dispatchNestedPreFling,
- dispatchNestedPrePerformAccessibilityAction,
- dispatchNestedPreScroll, dispatchNestedScroll,
- dispatchPointerCaptureChanged,
- dispatchPopulateAccessibilityEvent,
- dispatchProvideAutofillStructure, dispatchProvideStructure,
- dispatchRestoreInstanceState, dispatchSaveInstanceState,
- dispatchSetActivated, dispatchSetPressed, dispatchSetSelected,
- dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged,
- dispatchTouchEvent, dispatchTrackballEvent,
- dispatchUnhandledMove, dispatchVisibilityChanged,
- dispatchWindowFocusChanged,
- dispatchWindowSystemUiVisiblityChanged,
- dispatchWindowVisibilityChanged, draw, drawableHotspotChanged,
- drawableStateChanged, findFocus, findViewById,
- findViewsWithText, findViewWithTag, fitSystemWindows,
- focusSearch, forceHasOverlappingRendering, forceLayout,
- generateViewId, getAccessibilityClassName,
- getAccessibilityLiveRegion, getAccessibilityNodeProvider,
- getAccessibilityTraversalAfter, getAccessibilityTraversalBefore,
- getAlpha, getAnimation, getApplicationWindowToken,
- getAutofillHints, getAutofillId, getAutofillType,
- getAutofillValue, getBackground, getBackgroundTintList,
- getBackgroundTintMode, getBaseline, getBottom,
- getBottomFadingEdgeStrength, getBottomPaddingOffset,
- getCameraDistance, getClipBounds, getClipBounds,
- getClipToOutline, getContentDescription, getContext,
- getContextMenuInfo, getDefaultFocusHighlightEnabled,
- getDefaultSize, getDisplay, getDrawableState, getDrawingCache,
- getDrawingCache, getDrawingCacheBackgroundColor,
- getDrawingCacheQuality, getDrawingRect, getDrawingTime,
- getElevation, getFilterTouchesWhenObscured,
- getFitsSystemWindows, getFocusable, getFocusables,
- getFocusedRect, getForeground, getForegroundGravity,
- getForegroundTintList, getForegroundTintMode,
- getGlobalVisibleRect, getGlobalVisibleRect, getHandler,
- getHasOverlappingRendering, getHeight, getHitRect,
- getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight,
- getId, getImportantForAccessibility, getImportantForAutofill,
- getKeepScreenOn, getKeyDispatcherState, getLabelFor,
- getLayerType, getLayoutDirection, getLayoutParams, getLeft,
- getLeftFadingEdgeStrength, getLeftPaddingOffset,
- getLocalVisibleRect, getLocationInWindow, getLocationOnScreen,
- getMatrix, getMeasuredHeight, getMeasuredHeightAndState,
- getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState,
- getMinimumHeight, getMinimumWidth, getNextClusterForwardId,
- getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId,
- getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener,
- getOutlineProvider, getOverlay, getOverScrollMode,
- getPaddingBottom, getPaddingEnd, getPaddingLeft,
- getPaddingRight, getPaddingStart, getPaddingTop, getParent,
- getParentForAccessibility, getPivotX, getPivotY, getPointerIcon,
- getResources, getRevealOnFocusHint, getRight,
- getRightFadingEdgeStrength, getRightPaddingOffset, getRootView,
- getRootWindowInsets, getRotation, getRotationX, getRotationY,
- getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade,
- getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle,
- getScrollIndicators, getScrollX, getScrollY, getSolidColor,
- getStateListAnimator, getSuggestedMinimumHeight,
- getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag,
- getTextAlignment, getTextDirection, getTooltipText, getTop,
- getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables,
- getTouchDelegate, getTransitionName, getTranslationX,
- getTranslationY, getTranslationZ, getVerticalFadingEdgeLength,
- getVerticalScrollbarPosition, getVerticalScrollbarWidth,
- getViewTreeObserver, getVisibility, getWidth,
- getWindowAttachCount, getWindowId, getWindowSystemUiVisibility,
- getWindowToken, getWindowVisibility,
- getWindowVisibleDisplayFrame, getX, getY, getZ,
- hasExplicitFocusable, hasFocus, hasFocusable,
- hasNestedScrollingParent, hasOnClickListeners,
- hasOverlappingRendering, hasPointerCapture, hasTransientState,
- hasWindowFocus, inflate, invalidate, invalidate, invalidate,
- invalidateDrawable, invalidateOutline, isAccessibilityFocused,
- isActivated, isAttachedToWindow, isClickable,
- isContextClickable, isDirty, isDrawingCacheEnabled,
- isDuplicateParentStateEnabled, isEnabled, isFocusable,
- isFocusableInTouchMode, isFocused, isFocusedByDefault,
- isHapticFeedbackEnabled, isHardwareAccelerated,
- isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled,
- isHovered, isImportantForAccessibility, isImportantForAutofill,
- isInEditMode, isInLayout, isInTouchMode,
- isKeyboardNavigationCluster, isLaidOut,
- isLayoutDirectionResolved, isLayoutRequested, isLongClickable,
- isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired,
- isPaddingRelative, isPressed, isSaveEnabled,
- isSaveFromParentEnabled, isScrollbarFadingEnabled,
- isScrollContainer, isSelected, isShown, isSoundEffectsEnabled,
- isTemporarilyDetached, isTextAlignmentResolved,
- isTextDirectionResolved, isVerticalFadingEdgeEnabled,
- isVerticalScrollBarEnabled, jumpDrawablesToCurrentState,
- keyboardNavigationClusterSearch, layout, measure,
- mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom,
- onAnimationEnd, onAnimationStart, onApplyWindowInsets,
- onAttachedToWindow, onCancelPendingInputEvents,
- onCapturedPointerEvent, onCheckIsTextEditor,
- onConfigurationChanged, onCreateContextMenu,
- onCreateDrawableState, onCreateInputConnection, onDisplayHint,
- onDragEvent, onDrawForeground, onDrawScrollBars,
- onFilterTouchEventForSecurity, onFinishInflate,
- onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent,
- onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent,
- onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress,
- onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout,
- onOverScrolled, onPointerCaptureChange,
- onPopulateAccessibilityEvent, onProvideAutofillStructure,
- onProvideAutofillVirtualStructure, onProvideStructure,
- onProvideVirtualStructure, onResolvePointerIcon,
- onRestoreInstanceState, onRtlPropertiesChanged,
- onSaveInstanceState, onScreenStateChanged, onScrollChanged,
- onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent,
- onTrackballEvent, onVisibilityAggregated, onVisibilityChanged,
- onWindowFocusChanged, onWindowSystemUiVisibilityChanged,
- onWindowVisibilityChanged, overScrollBy,
- performAccessibilityAction, performClick, performContextClick,
- performContextClick, performHapticFeedback,
- performHapticFeedback, performLongClick, performLongClick,
- playSoundEffect, post, postDelayed, postInvalidate,
- postInvalidate, postInvalidateDelayed, postInvalidateDelayed,
- postInvalidateOnAnimation, postInvalidateOnAnimation,
- postOnAnimation, postOnAnimationDelayed, refreshDrawableState,
- releasePointerCapture, removeCallbacks,
- removeOnAttachStateChangeListener, removeOnLayoutChangeListener,
- requestApplyInsets, requestFitSystemWindows, requestFocus,
- requestFocus, requestFocus, requestFocusFromTouch,
- requestLayout, requestPointerCapture, requestRectangleOnScreen,
- requestRectangleOnScreen, requestUnbufferedDispatch,
- resolveSize, resolveSizeAndState, restoreDefaultFocus,
- restoreHierarchyState, saveHierarchyState, scheduleDrawable,
- scrollBy, scrollTo, sendAccessibilityEvent,
- sendAccessibilityEventUnchecked, setAccessibilityDelegate,
- setAccessibilityLiveRegion, setAccessibilityTraversalAfter,
- setAccessibilityTraversalBefore, setActivated, setAlpha,
- setAnimation, setAutofillHints, setBackground,
- setBackgroundColor, setBackgroundDrawable,
- setBackgroundResource, setBackgroundTintList,
- setBackgroundTintMode, setBottom, setCameraDistance,
- setClickable, setClipBounds, setClipToOutline,
- setContentDescription, setContextClickable,
- setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor,
- setDrawingCacheEnabled, setDrawingCacheQuality,
- setDuplicateParentStateEnabled, setElevation, setEnabled,
- setFadingEdgeLength, setFilterTouchesWhenObscured,
- setFitsSystemWindows, setFocusable, setFocusable,
- setFocusableInTouchMode, setFocusedByDefault, setForeground,
- setForegroundGravity, setForegroundTintList,
- setForegroundTintMode, setHapticFeedbackEnabled,
- setHasTransientState, setHorizontalFadingEdgeEnabled,
- setHorizontalScrollBarEnabled, setHovered, setId,
- setImportantForAccessibility, setImportantForAutofill,
- setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor,
- setLayerPaint, setLayerType, setLayoutDirection,
- setLayoutParams, setLeft, setLongClickable,
- setMeasuredDimension, setMinimumHeight, setMinimumWidth,
- setNestedScrollingEnabled, setNextClusterForwardId,
- setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId,
- setNextFocusRightId, setNextFocusUpId,
- setOnApplyWindowInsetsListener, setOnCapturedPointerListener,
- setOnClickListener, setOnContextClickListener,
- setOnCreateContextMenuListener, setOnDragListener,
- setOnFocusChangeListener, setOnGenericMotionListener,
- setOnHoverListener, setOnKeyListener, setOnLongClickListener,
- setOnScrollChangeListener,
- setOnSystemUiVisibilityChangeListener, setOnTouchListener,
- setOutlineProvider, setOverScrollMode, setPadding,
- setPaddingRelative, setPivotX, setPivotY, setPointerIcon,
- setPressed, setRevealOnFocusHint, setRight, setRotation,
- setRotationX, setRotationY, setSaveEnabled,
- setSaveFromParentEnabled, setScaleX, setScaleY,
- setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration,
- setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle,
- setScrollContainer, setScrollIndicators, setScrollIndicators,
- setScrollX, setScrollY, setSelected, setSoundEffectsEnabled,
- setStateListAnimator, setSystemUiVisibility, setTag, setTag,
- setTextAlignment, setTextDirection, setTooltipText, setTop,
- setTouchDelegate, setTransitionName, setTranslationX,
- setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled,
- setVerticalScrollBarEnabled, setVerticalScrollbarPosition,
- setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX,
- setY, setZ, showContextMenu, showContextMenu, startActionMode,
- startActionMode, startAnimation, startDrag, startDragAndDrop,
- startNestedScroll, stopNestedScroll, toString,
- unscheduleDrawable, unscheduleDrawable, updateDragShadow,
- verifyDrawable, willNotCacheDrawing, willNotDraw
addChildrenForAccessibility,
+ addExtraDataToAccessibilityNodeInfo,
+ addFocusables,
+ addFocusables,
+ addKeyboardNavigationClusters,
+ addOnAttachStateChangeListener,
+ addOnLayoutChangeListener,
+ addTouchables,
+ animate, announceForAccessibility,
+ autofill, autofill,
+ awakenScrollBars,
+ awakenScrollBars,
+ awakenScrollBars,
+ bringToFront,
+ buildDrawingCache,
+ buildDrawingCache,
+ buildLayer, callOnClick,
+ cancelDragAndDrop,
+ cancelLongPress,
+ cancelPendingInputEvents,
+ canResolveLayoutDirection,
+ canResolveTextAlignment,
+ canResolveTextDirection,
+ canScrollHorizontally,
+ canScrollVertically,
+ checkInputConnectionProxy,
+ clearAnimation,
+ clearFocus, combineMeasuredStates,
+ computeHorizontalScrollExtent,
+ computeHorizontalScrollOffset,
+ computeHorizontalScrollRange,
+ computeScroll,
+ computeSystemWindowInsets,
+ computeVerticalScrollExtent,
+ computeVerticalScrollOffset,
+ computeVerticalScrollRange,
+ createAccessibilityNodeInfo,
+ createContextMenu,
+ destroyDrawingCache,
+ dispatchApplyWindowInsets,
+ dispatchCapturedPointerEvent,
+ dispatchConfigurationChanged,
+ dispatchDisplayHint,
+ dispatchDragEvent,
+ dispatchDraw,
+ dispatchDrawableHotspotChanged,
+ dispatchFinishTemporaryDetach,
+ dispatchGenericFocusedEvent,
+ dispatchGenericMotionEvent,
+ dispatchGenericPointerEvent,
+ dispatchHoverEvent,
+ dispatchKeyEvent,
+ dispatchKeyEventPreIme,
+ dispatchKeyShortcutEvent,
+ dispatchNestedFling,
+ dispatchNestedPreFling,
+ dispatchNestedPrePerformAccessibilityAction,
+ dispatchNestedPreScroll,
+ dispatchNestedScroll,
+ dispatchPointerCaptureChanged,
+ dispatchPopulateAccessibilityEvent,
+ dispatchProvideAutofillStructure,
+ dispatchProvideStructure,
+ dispatchRestoreInstanceState,
+ dispatchSaveInstanceState,
+ dispatchSetActivated,
+ dispatchSetPressed,
+ dispatchSetSelected,
+ dispatchStartTemporaryDetach,
+ dispatchSystemUiVisibilityChanged,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ dispatchUnhandledMove,
+ dispatchVisibilityChanged,
+ dispatchWindowFocusChanged,
+ dispatchWindowSystemUiVisiblityChanged,
+ dispatchWindowVisibilityChanged,
+ draw, drawableHotspotChanged,
+ drawableStateChanged,
+ findFocus, findViewById,
+ findViewsWithText,
+ findViewWithTag,
+ fitSystemWindows,
+ focusSearch,
+ forceHasOverlappingRendering,
+ forceLayout,
+ generateViewId,
+ getAccessibilityClassName,
+ getAccessibilityLiveRegion,
+ getAccessibilityNodeProvider,
+ getAccessibilityTraversalAfter,
+ getAccessibilityTraversalBefore,
+ getAlpha, getAnimation,
+ getApplicationWindowToken,
+ getAutofillHints,
+ getAutofillId,
+ getAutofillType,
+ getAutofillValue,
+ getBackground,
+ getBackgroundTintList,
+ getBackgroundTintMode,
+ getBaseline,
+ getBottom, getBottomFadingEdgeStrength,
+ getBottomPaddingOffset,
+ getCameraDistance,
+ getClipBounds,
+ getClipBounds,
+ getClipToOutline,
+ getContentDescription,
+ getContext, getContextMenuInfo,
+ getDefaultFocusHighlightEnabled,
+ getDefaultSize,
+ getDisplay, getDrawableState,
+ getDrawingCache,
+ getDrawingCache,
+ getDrawingCacheBackgroundColor,
+ getDrawingCacheQuality,
+ getDrawingRect,
+ getDrawingTime,
+ getElevation,
+ getFilterTouchesWhenObscured,
+ getFitsSystemWindows,
+ getFocusable,
+ getFocusables,
+ getFocusedRect,
+ getForeground,
+ getForegroundGravity,
+ getForegroundTintList,
+ getForegroundTintMode,
+ getGlobalVisibleRect,
+ getGlobalVisibleRect,
+ getHandler, getHasOverlappingRendering,
+ getHeight, getHitRect,
+ getHorizontalFadingEdgeLength,
+ getHorizontalScrollbarHeight,
+ getId, getImportantForAccessibility,
+ getImportantForAutofill,
+ getKeepScreenOn,
+ getKeyDispatcherState,
+ getLabelFor,
+ getLayerType,
+ getLayoutDirection,
+ getLayoutParams,
+ getLeft, getLeftFadingEdgeStrength,
+ getLeftPaddingOffset,
+ getLocalVisibleRect,
+ getLocationInWindow,
+ getLocationOnScreen,
+ getMatrix, getMeasuredHeight,
+ getMeasuredHeightAndState,
+ getMeasuredState,
+ getMeasuredWidth,
+ getMeasuredWidthAndState,
+ getMinimumHeight,
+ getMinimumWidth,
+ getNextClusterForwardId,
+ getNextFocusDownId,
+ getNextFocusForwardId,
+ getNextFocusLeftId,
+ getNextFocusRightId,
+ getNextFocusUpId,
+ getOnFocusChangeListener,
+ getOutlineProvider,
+ getOverlay, getOverScrollMode,
+ getPaddingBottom,
+ getPaddingEnd,
+ getPaddingLeft,
+ getPaddingRight,
+ getPaddingStart,
+ getPaddingTop,
+ getParent, getParentForAccessibility,
+ getPivotX, getPivotY,
+ getPointerIcon,
+ getResources,
+ getRevealOnFocusHint,
+ getRight, getRightFadingEdgeStrength,
+ getRightPaddingOffset,
+ getRootView,
+ getRootWindowInsets,
+ getRotation,
+ getRotationX,
+ getRotationY,
+ getScaleX, getScaleY,
+ getScrollBarDefaultDelayBeforeFade,
+ getScrollBarFadeDuration,
+ getScrollBarSize,
+ getScrollBarStyle,
+ getScrollIndicators,
+ getScrollX, getScrollY,
+ getSolidColor,
+ getStateListAnimator,
+ getSuggestedMinimumHeight,
+ getSuggestedMinimumWidth,
+ getSystemUiVisibility,
+ getTag, getTag,
+ getTextAlignment,
+ getTextDirection,
+ getTooltipText,
+ getTop, getTopFadingEdgeStrength,
+ getTopPaddingOffset,
+ getTouchables,
+ getTouchDelegate,
+ getTransitionName,
+ getTranslationX,
+ getTranslationY,
+ getTranslationZ,
+ getVerticalFadingEdgeLength,
+ getVerticalScrollbarPosition,
+ getVerticalScrollbarWidth,
+ getViewTreeObserver,
+ getVisibility,
+ getWidth, getWindowAttachCount,
+ getWindowId,
+ getWindowSystemUiVisibility,
+ getWindowToken,
+ getWindowVisibility,
+ getWindowVisibleDisplayFrame,
+ getX, getY, getZ, hasExplicitFocusable,
+ hasFocus, hasFocusable,
+ hasNestedScrollingParent,
+ hasOnClickListeners,
+ hasOverlappingRendering,
+ hasPointerCapture,
+ hasTransientState,
+ hasWindowFocus,
+ inflate, invalidate,
+ invalidate, invalidate,
+ invalidateDrawable,
+ invalidateOutline,
+ isAccessibilityFocused,
+ isActivated,
+ isAttachedToWindow,
+ isClickable,
+ isContextClickable,
+ isDirty, isDrawingCacheEnabled,
+ isDuplicateParentStateEnabled,
+ isEnabled, isFocusable,
+ isFocusableInTouchMode,
+ isFocused, isFocusedByDefault,
+ isHapticFeedbackEnabled,
+ isHardwareAccelerated,
+ isHorizontalFadingEdgeEnabled,
+ isHorizontalScrollBarEnabled,
+ isHovered, isImportantForAccessibility,
+ isImportantForAutofill,
+ isInEditMode,
+ isInLayout, isInTouchMode,
+ isKeyboardNavigationCluster,
+ isLaidOut, isLayoutDirectionResolved,
+ isLayoutRequested,
+ isLongClickable,
+ isNestedScrollingEnabled,
+ isOpaque, isPaddingOffsetRequired,
+ isPaddingRelative,
+ isPressed, isSaveEnabled,
+ isSaveFromParentEnabled,
+ isScrollbarFadingEnabled,
+ isScrollContainer,
+ isSelected, isShown,
+ isSoundEffectsEnabled,
+ isTemporarilyDetached,
+ isTextAlignmentResolved,
+ isTextDirectionResolved,
+ isVerticalFadingEdgeEnabled,
+ isVerticalScrollBarEnabled,
+ jumpDrawablesToCurrentState,
+ keyboardNavigationClusterSearch,
+ layout, measure,
+ mergeDrawableStates,
+ offsetLeftAndRight,
+ offsetTopAndBottom,
+ onAnimationEnd,
+ onAnimationStart,
+ onApplyWindowInsets,
+ onAttachedToWindow,
+ onCancelPendingInputEvents,
+ onCapturedPointerEvent,
+ onCheckIsTextEditor,
+ onConfigurationChanged,
+ onCreateContextMenu,
+ onCreateDrawableState,
+ onCreateInputConnection,
+ onDisplayHint,
+ onDragEvent,
+ onDrawForeground,
+ onDrawScrollBars,
+ onFilterTouchEventForSecurity,
+ onFinishInflate,
+ onFinishTemporaryDetach,
+ onFocusChanged,
+ onGenericMotionEvent,
+ onHoverChanged,
+ onHoverEvent,
+ onInitializeAccessibilityEvent,
+ onInitializeAccessibilityNodeInfo,
+ onKeyDown, onKeyLongPress,
+ onKeyMultiple,
+ onKeyPreIme,
+ onKeyShortcut,
+ onKeyUp, onLayout,
+ onOverScrolled,
+ onPointerCaptureChange,
+ onPopulateAccessibilityEvent,
+ onProvideAutofillStructure,
+ onProvideAutofillVirtualStructure,
+ onProvideStructure,
+ onProvideVirtualStructure,
+ onResolvePointerIcon,
+ onRestoreInstanceState,
+ onRtlPropertiesChanged,
+ onSaveInstanceState,
+ onScreenStateChanged,
+ onScrollChanged,
+ onSetAlpha, onSizeChanged,
+ onStartTemporaryDetach,
+ onTouchEvent,
+ onTrackballEvent,
+ onVisibilityAggregated,
+ onVisibilityChanged,
+ onWindowFocusChanged,
+ onWindowSystemUiVisibilityChanged,
+ onWindowVisibilityChanged,
+ overScrollBy,
+ performAccessibilityAction,
+ performClick,
+ performContextClick,
+ performContextClick,
+ performHapticFeedback,
+ performHapticFeedback,
+ performLongClick,
+ performLongClick,
+ playSoundEffect,
+ post, postDelayed,
+ postInvalidate,
+ postInvalidate,
+ postInvalidateDelayed,
+ postInvalidateDelayed,
+ postInvalidateOnAnimation,
+ postInvalidateOnAnimation,
+ postOnAnimation,
+ postOnAnimationDelayed,
+ refreshDrawableState,
+ releasePointerCapture,
+ removeCallbacks,
+ removeOnAttachStateChangeListener,
+ removeOnLayoutChangeListener,
+ requestApplyInsets,
+ requestFitSystemWindows,
+ requestFocus,
+ requestFocus,
+ requestFocus,
+ requestFocusFromTouch,
+ requestLayout,
+ requestPointerCapture,
+ requestRectangleOnScreen,
+ requestRectangleOnScreen,
+ requestUnbufferedDispatch,
+ resolveSize,
+ resolveSizeAndState,
+ restoreDefaultFocus,
+ restoreHierarchyState,
+ saveHierarchyState,
+ scheduleDrawable,
+ scrollBy, scrollTo,
+ sendAccessibilityEvent,
+ sendAccessibilityEventUnchecked,
+ setAccessibilityDelegate,
+ setAccessibilityLiveRegion,
+ setAccessibilityTraversalAfter,
+ setAccessibilityTraversalBefore,
+ setActivated,
+ setAlpha, setAnimation,
+ setAutofillHints,
+ setBackground,
+ setBackgroundColor,
+ setBackgroundDrawable,
+ setBackgroundResource,
+ setBackgroundTintList,
+ setBackgroundTintMode,
+ setBottom, setCameraDistance,
+ setClickable,
+ setClipBounds,
+ setClipToOutline,
+ setContentDescription,
+ setContextClickable,
+ setDefaultFocusHighlightEnabled,
+ setDrawingCacheBackgroundColor,
+ setDrawingCacheEnabled,
+ setDrawingCacheQuality,
+ setDuplicateParentStateEnabled,
+ setElevation,
+ setEnabled, setFadingEdgeLength,
+ setFilterTouchesWhenObscured,
+ setFitsSystemWindows,
+ setFocusable,
+ setFocusable,
+ setFocusableInTouchMode,
+ setFocusedByDefault,
+ setForeground,
+ setForegroundGravity,
+ setForegroundTintList,
+ setForegroundTintMode,
+ setHapticFeedbackEnabled,
+ setHasTransientState,
+ setHorizontalFadingEdgeEnabled,
+ setHorizontalScrollBarEnabled,
+ setHovered, setId, setImportantForAccessibility,
+ setImportantForAutofill,
+ setKeepScreenOn,
+ setKeyboardNavigationCluster,
+ setLabelFor,
+ setLayerPaint,
+ setLayerType,
+ setLayoutDirection,
+ setLayoutParams,
+ setLeft, setLongClickable,
+ setMeasuredDimension,
+ setMinimumHeight,
+ setMinimumWidth,
+ setNestedScrollingEnabled,
+ setNextClusterForwardId,
+ setNextFocusDownId,
+ setNextFocusForwardId,
+ setNextFocusLeftId,
+ setNextFocusRightId,
+ setNextFocusUpId,
+ setOnApplyWindowInsetsListener,
+ setOnCapturedPointerListener,
+ setOnClickListener,
+ setOnContextClickListener,
+ setOnCreateContextMenuListener,
+ setOnDragListener,
+ setOnFocusChangeListener,
+ setOnGenericMotionListener,
+ setOnHoverListener,
+ setOnKeyListener,
+ setOnLongClickListener,
+ setOnScrollChangeListener,
+ setOnSystemUiVisibilityChangeListener,
+ setOnTouchListener,
+ setOutlineProvider,
+ setOverScrollMode,
+ setPadding, setPaddingRelative,
+ setPivotX, setPivotY,
+ setPointerIcon,
+ setPressed, setRevealOnFocusHint,
+ setRight, setRotation,
+ setRotationX,
+ setRotationY,
+ setSaveEnabled,
+ setSaveFromParentEnabled,
+ setScaleX, setScaleY,
+ setScrollBarDefaultDelayBeforeFade,
+ setScrollBarFadeDuration,
+ setScrollbarFadingEnabled,
+ setScrollBarSize,
+ setScrollBarStyle,
+ setScrollContainer,
+ setScrollIndicators,
+ setScrollIndicators,
+ setScrollX, setScrollY,
+ setSelected,
+ setSoundEffectsEnabled,
+ setStateListAnimator,
+ setSystemUiVisibility,
+ setTag, setTag,
+ setTextAlignment,
+ setTextDirection,
+ setTooltipText,
+ setTop, setTouchDelegate,
+ setTransitionName,
+ setTranslationX,
+ setTranslationY,
+ setTranslationZ,
+ setVerticalFadingEdgeEnabled,
+ setVerticalScrollBarEnabled,
+ setVerticalScrollbarPosition,
+ setVisibility,
+ setWillNotCacheDrawing,
+ setWillNotDraw,
+ setX, setY, setZ, showContextMenu,
+ showContextMenu,
+ startActionMode,
+ startActionMode,
+ startAnimation,
+ startDrag, startDragAndDrop,
+ startNestedScroll,
+ stopNestedScroll,
+ toString, unscheduleDrawable,
+ unscheduleDrawable,
+ updateDragShadow,
+ verifyDrawable,
+ willNotCacheDrawing,
+ willNotDraw
+ drawView,
- init,
- measureView,
- parseTypeArr,
- preparePaint,
- setDefaults
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#drawView-android.graphics.Canvas-">drawView,
+ init,
+ measureView,
+ parseTypeArr,
+ preparePaint,
+ setDefaults
@NonNull +private final BoxFingerprint mBoxFingerprint+
BoxFingerprint
+ protected final android.content.Context mContext-
@NonNull +private final Rect mDividerBound+
protected android.graphics.Rect mRootViewBound+
@NonNull +protected Rect mRootViewBound
BasePasscodeView
.
@@ -900,7 +2240,7 @@ private BoxFingerprint mBoxFingerprint-
private int mDividerColor+
private android.graphics.Paint mDividerPaint-
private android.graphics.Rect mDividerBound+
private Paint mDividerPaint+
Paint
+ of the horizontal divider within the view.
+ private boolean mIsTactileFeedbackEnabled+
public BasePasscodeView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs)+
public BasePasscodeView(@NonNull + Context context, + @Nullable + AttributeSet attrs)
public BasePasscodeView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs, +public BasePasscodeView(@NonNull + Context context, + @Nullable + AttributeSet attrs, int defStyleAttr)
public BasePasscodeView(android.content.Context context, - @Nullable - android.util.AttributeSet attrs, +public BasePasscodeView(@NonNull + Context context, + @Nullable + AttributeSet attrs, int defStyleAttr, int defStyleRes)
private void init(@Nullable - android.util.AttributeSet attrs)+
private void init(@Nullable + AttributeSet attrs)
BoxFingerprint
- and parse TypedArray
to
+ href="../../../../com/kevalpatel/passcodeview/internal/BoxFingerprint.html"
+ title="class in com.kevalpatel.passcodeview.internal">BoxFingerprint
+ and parse TypedArray
+ to
read all the parameters added in xml file.
If you wan to enable customized parameters, override PasscodeViewLifeCycle.init()
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#init--">PasscodeViewLifeCycle.init()
method and initialize the
- parameters. This method will call before parsing the TypedArray
.
+ parameters. This method will call before parsing the TypedArray
.
If you want to parse view specific XML parameters, override
- PasscodeViewLifeCycle.parseTypeArr(AttributeSet)
- and parse the TypedArray
. This method will only
- call if there is any custom parameters
+ PasscodeViewLifeCycle.parseTypeArr(AttributeSet)
+ and parse the TypedArray
.
+ This method will only call if there is any custom parameters
defined in XML.
You can set default theme parameters by overriding PasscodeViewLifeCycle.setDefaults()
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#setDefaults--">PasscodeViewLifeCycle.setDefaults()
if there are no
parameters defined in XML layout.
attrs
- AttributeSet
attrs
- AttributeSet
+ protected void onDraw(android.graphics.Canvas canvas)+
protected void onDraw(Canvas canvas)
private void drawDivider(android.graphics.Canvas canvas)+
private void drawDivider(Canvas canvas)+
canvas
- Canvas
+ on which the divider is to draw.
+ protected void onDetachedFromWindow()
onDetachedFromWindow
in class android.view.View
+ onDetachedFromWindow
in
+ class View
@CallSuper +@CallSuper public void onAuthenticationSuccess()
onAuthenticationSuccess
in
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationSuccess--">onAuthenticationSuccessPasscodeViewLifeCycle
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle@CallSuper +@CallSuper public void onAuthenticationFail()
onAuthenticationFail
in
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#onAuthenticationFail--">onAuthenticationFail in
interface PasscodeViewLifeCycle
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
@CallSuper +@CallSuper public void reset()
reset
in
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html#reset--">reset in
interface PasscodeViewLifeCycle
+ href="../../../../com/kevalpatel/passcodeview/internal/PasscodeViewLifeCycle.html"
+ title="interface in com.kevalpatel.passcodeview.internal">PasscodeViewLifeCycle
private void giveTactileFeedbackForAuthFail()+
private void giveTactileFeedbackForAuthSuccess()+
protected void giveTactileFeedbackForKeyPress()+
public void setAuthenticationListener(@NonNull +public void setAuthenticationListener(@NonNull AuthenticationListener authenticationListener)+Set the+AuthenticationListener
+ to get callbacks when the user is authenticated or + not. This is the required parameter to set. +
authenticationListener
- AuthenticationListener
.
+ public int getDividerColor()-
public void setDividerColor(int dividerColor)+
dividerColor
- Integer color.setDividerColorRes(int)
+ public void setDividerColorRes(@ColorRes +public void setDividerColorRes(@ColorRes int dividerColor)+Set the color resource for the color of the + divider. ++
dividerColor
- color resource.setDividerColor(int)
+ public boolean isTactileFeedbackEnable()+
public void setTactileFeedback(boolean enable)+
enable
- True if application wants to enable
+ tactile feedback else false.
+ public java.lang.Boolean isFingerPrintEnable()+
public Boolean isFingerPrintEnable()+
PinView
+ or
+ PatternView
+ are not displaying fingerprint scanning view.
+ setIsFingerPrintEnable(boolean)
+ else true.
+ public void setIsFingerPrintEnable(boolean isEnable)+
isFingerPrintEnable()
.
+ isEnable
- True to enable fingerprint scanning
+ else false.
+ isFingerPrintEnable()
+ public void setFingerPrintStatusTextColorRes(@ColorRes +public void setFingerPrintStatusTextColorRes(@ColorRes int statusTextColor)
public float getFingerPrintStatusTextSize()+
@Dimension +public float getFingerPrintStatusTextSize()
public void setFingerPrintStatusTextSize(@DimenRes - int statusTextSize)+
public void setFingerPrintStatusTextSize(@Dimension + float statusTextSize)
public void setFingerPrintStatusTextSize(@Dimension - float statusTextSize)+
public void setFingerPrintStatusTextSize(@DimenRes + int statusTextSize)
public final class InteractiveArrayList<E>
-extends java.util.ArrayList<E>
- Modifier and Type | -Class and Description | -
---|---|
static interface |
- InteractiveArrayList.ChangeListener
- |
-
Modifier and Type | -Field and Description | -
---|---|
private InteractiveArrayList.ChangeListener
- |
- mChangeListener
- |
-
modCount
Constructor and Description | -
---|
InteractiveArrayList()
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
- add(E e)
- |
-
void |
- add(int index,
- E element)
- |
-
void |
- clear()
- |
-
E
- |
- remove(int index)
- |
-
boolean |
- remove(java.lang.Object o)
- |
-
void |
- setChangeListener(InteractiveArrayList.ChangeListener listener)
- |
-
addAll, addAll, clone, contains, ensureCapacity, forEach, get,
- indexOf, isEmpty, iterator, lastIndexOf, listIterator,
- listIterator, removeAll, removeIf, removeRange, replaceAll,
- retainAll, set, size, sort, spliterator, subList, toArray,
- toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
- containsAll, equals, hashCode
parallelStream, stream
private InteractiveArrayList.ChangeListener mChangeListener-
public void setChangeListener(@NonNull - InteractiveArrayList.ChangeListener listener)-
public boolean add(E e)- -
public boolean remove(java.lang.Object o)- -
public void add(int index, - E element)- -
public E remove(int index)- -
@interface InternalApi
+ Package | -Description | -
---|---|
com.kevalpatel.passcodeview.internal.box - | -- |
Modifier and Type | -Class and Description | -
---|---|
class |
- BoxFingerprint
- Created by Keval on 07-Apr-17.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private FingerPrintAuthHelper.FingerPrintAuthCallback
- |
- FingerPrintAuthHelper.mCallback
- FingerPrintAuthHelper.FingerPrintAuthCallback
- to notify the parent caller about the authentication status.
- |
-
Constructor and Description | -
---|
FingerPrintAuthHelper(android.content.Context context,
- FingerPrintAuthHelper.FingerPrintAuthCallback callback)
- Public constructor.
- |
-
abstract Key.Builder
- build()
- protected android.content.Context
- getContext()
- abstract Key
getKey(java.lang.String digit,
- android.graphics.Rect bound)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
+ Key
.
+ abstract android.graphics.Paint
- getKeyPaint()
- abstract android.graphics.Paint
- getKeyTextPaint()
- protected PinView
- getPinView()
+ href="https://developer.android.com/reference/android/content/Context.html?is-external=true"
+ title="class or interface in android.content">Context
protected abstract void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#getContext--">getContext()
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private PinView mPinView+
@NonNull +private final BasePasscodeView mPasscodeView+
BasePasscodeView
+ in which the key will be displayed.
+ private Builder()-
protected Builder(PinView pinView)+ href="https://developer.android.com/reference/android/support/annotation/NonNull.html?is-external=true" + title="class or interface in android.support.annotation">@NonNull + BasePasscodeView passcodeView) +
passcodeView
- BasePasscodeView
+ in which the key will be displayed.
+ @NonNull -protected final PinView getPinView()-
@NonNull -protected final android.content.Context getContext()-
public abstract Key.Builder build()-
protected abstract void setDefaults(@NonNull - android.content.Context context)+
@NonNull +protected Context getContext()+
Context
+ of the caller.
+ @NonNull -public abstract android.graphics.Paint getKeyPaint()-
@NonNull -public abstract android.graphics.Paint getKeyTextPaint()-
@NonNull -public abstract Key getKey(@NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bound)+
public abstract Key buildInternal(@NonNull + String keyTitle, + @NonNull + Rect bound)+
Key
.
+ keyTitle
- Title of the key to display.Key
+ #Key(Builder, String, Rect)
public abstract class Key
-extends java.lang.Object
+extends Object
static class
Key.Builder
+ title="class in com.kevalpatel.passcodeview.keys">Key.Builder
+ Key
.
+ private java.lang.String
private Rect
+ mDigit
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#mBound">mBound
+ Rect
+ bound of the key.
+ private PinView
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html"
+ title="class in com.kevalpatel.passcodeview.keys">Key.Builder
+ mBuilder
+ private String
mView
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#mDigit">mDigit
+ private
Key()
- protected
Key(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- Key.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#Key-com.kevalpatel.passcodeview.keys.Key.Builder-java.lang.String-android.graphics.Rect-">Key(Key.Builder builder,
+ String keyTitle,
+ Rect bound)
abstract void
drawBackSpace(android.graphics.Canvas canvas,
- android.graphics.drawable.Drawable backSpaceIcon)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#drawBackSpace-android.graphics.Canvas-android.graphics.drawable.Drawable-">drawBackSpace(Canvas canvas,
+ Drawable backSpaceIcon)
+ abstract void
drawShape(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#drawShape-android.graphics.Canvas-">drawShape(Canvas canvas)
+ abstract void
drawText(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#drawText-android.graphics.Canvas-">drawText(Canvas canvas)
+ android.content.Context
boolean
getContext()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#equals-java.lang.Object-">equals(Object obj)
java.lang.String
protected Rect
+ getDigit()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#getBounds--">getBounds()
PinView
+ protected Context
getPinView()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#getContext--">getContext()
String
+ getDigit()
+ protected BasePasscodeView
+ getPasscodeView()
+ int
hashCode()
+ abstract boolean
isKeyPressed(float touchX,
@@ -301,22 +376,25 @@ Method Summary
abstract void
onAuthFail()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#onAuthFail--">onAuthFail()
+ abstract void
onAuthSuccess()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#onAuthSuccess--">onAuthSuccess()
+ abstract void
playClickAnimation()
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#playClickAnimation--">playClickAnimation()
+ clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
@@ -343,24 +440,44 @@ @NonNull -private PinView mView+
@NonNull +private final Rect mBound+
Rect
+ bound of the key. Between this bound the key will be drawn.
+ private java.lang.String mDigit+
private String mDigit+
private Key.Builder mBuilder
private Key()-
protected Key(@NonNull - PinView view, - @NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bounds, - @NonNull +protected Key(@NonNull Key.Builder builder)+ title="class in com.kevalpatel.passcodeview.keys">Key.Builder builder, + @NonNull + String keyTitle, + @NonNull + Rect bound)
public abstract void drawText(@NonNull - android.graphics.Canvas canvas)+
@NonNull +protected final BasePasscodeView getPasscodeView()
public abstract void drawShape(@NonNull - android.graphics.Canvas canvas)+
@NonNull +protected final Context getContext()
public abstract void drawBackSpace(@NonNull - android.graphics.Canvas canvas, - @NonNull - android.graphics.drawable.Drawable backSpaceIcon)+
@NonNull +public final String getDigit()
public final java.lang.String getDigit()+
@NonNull +protected final Rect getBounds()
@NonNull -public final PinView getPinView()+
public abstract void drawText(@NonNull + Canvas canvas)+
BoxKeypad
+ when ever it's time to
+ draw the text on the Canvas
.
+ Application should draw only the key ranging from 0 to 9.
+ Backspace key is drawn separately using drawBackSpace(Canvas,
+ Drawable)
.
+ canvas
- Canvas
+ on which the key text will be draw.
+ RoundKey.drawText(Canvas)
+ @NonNull -public final android.content.Context getContext()+
public abstract void drawShape(@NonNull + Canvas canvas)+
BoxKeypad
+ when ever
+ it's time to draw the shape of the key on the Canvas
.
+ Application daw any shape such
+ as round or square.
+ canvas
- Canvas
+ on which the key text will be draw.
+ RoundKey.drawShape(Canvas)
+ public abstract void drawBackSpace(@NonNull + Canvas canvas, + @NonNull + Drawable backSpaceIcon)+
public abstract void playClickAnimation()+
public abstract void onAuthFail()+
public abstract void onAuthSuccess()+
public abstract void playClickAnimation()+
public int hashCode()+
public final class KeyNamesBuilder +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String
+ |
+ BACKSPACE_TITLE
+ Title of the backspace key.
+ |
+
private String
+ |
+ mKeyEight
+ |
+
private String
+ |
+ mKeyFive
+ |
+
private String
+ |
+ mKeyFour
+ |
+
private String
+ |
+ mKeyNine
+ |
+
private String
+ |
+ mKeyOne
+ |
+
private String
+ |
+ mKeySeven
+ |
+
private String
+ |
+ mKeySix
+ |
+
private String
+ |
+ mKeyThree
+ |
+
private String
+ |
+ mKeyTwo
+ |
+
private String
+ |
+ mKeyZero
+ |
+
Constructor and Description | +
---|
KeyNamesBuilder()
+ Public constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String
+ |
+ getKeyEight()
+ |
+
String
+ |
+ getKeyFive()
+ |
+
String
+ |
+ getKeyFour()
+ |
+
String
+ |
+ getKeyNine()
+ |
+
String
+ |
+ getKeyOne()
+ |
+
String
+ |
+ getKeySeven()
+ |
+
String
+ |
+ getKeySix()
+ |
+
String
+ |
+ getKeyThree()
+ |
+
String
+ |
+ getKeyTwo()
+ |
+
String
+ |
+ getKeyZero()
+ |
+
int |
+ getValueOfKey(String keyName)
+ Get the value of the key based on the key
+ name.
+
+ |
+
KeyNamesBuilder
+ |
+ setKeyEight(Context context,
+ int keyEight)
+ |
+
KeyNamesBuilder
+ |
+ setKeyEight(String keyEight)
+ |
+
KeyNamesBuilder
+ |
+ setKeyFive(Context context,
+ int keyFive)
+ |
+
KeyNamesBuilder
+ |
+ setKeyFive(String keyFive)
+ |
+
KeyNamesBuilder
+ |
+ setKeyFour(Context context,
+ int keyFour)
+ |
+
KeyNamesBuilder
+ |
+ setKeyFour(String keyFour)
+ |
+
KeyNamesBuilder
+ |
+ setKeyNine(Context context,
+ int keyNine)
+ |
+
KeyNamesBuilder
+ |
+ setKeyNine(String keyNine)
+ |
+
KeyNamesBuilder
+ |
+ setKeyOne(Context context,
+ int keyOne)
+ |
+
KeyNamesBuilder
+ |
+ setKeyOne(String keyOne)
+ |
+
KeyNamesBuilder
+ |
+ setKeySeven(Context context,
+ int keySeven)
+ |
+
KeyNamesBuilder
+ |
+ setKeySeven(String keySeven)
+ |
+
KeyNamesBuilder
+ |
+ setKeySix(Context context,
+ int keySix)
+ |
+
KeyNamesBuilder
+ |
+ setKeySix(String keySix)
+ |
+
KeyNamesBuilder
+ |
+ setKeyThree(Context context,
+ int keyThree)
+ |
+
KeyNamesBuilder
+ |
+ setKeyThree(String keyThree)
+ |
+
KeyNamesBuilder
+ |
+ setKeyTwo(Context context,
+ int keyTwo)
+ |
+
KeyNamesBuilder
+ |
+ setKeyTwo(String keyTwo)
+ |
+
KeyNamesBuilder
+ |
+ setKeyZero(Context context,
+ int keyZero)
+ |
+
KeyNamesBuilder
+ |
+ setKeyZero(String keyZero)
+ |
+
public static final String BACKSPACE_TITLE+
getValueOfKey(String)
,
+ Constant
+ Field Valuesprivate String mKeyOne+
private String mKeyTwo+
private String mKeyThree+
private String mKeyFour+
private String mKeyFive+
private String mKeySix+
private String mKeySeven+
private String mKeyEight+
private String mKeyNine+
private String mKeyZero+
public KeyNamesBuilder()+
public String getKeyOne()+
public KeyNamesBuilder setKeyOne(@NonNull + String keyOne)+
public KeyNamesBuilder setKeyOne(@NonNull + Context context, + @StringRes + int keyOne)+
public String getKeyTwo()+
public KeyNamesBuilder setKeyTwo(@NonNull + String keyTwo)+
public KeyNamesBuilder setKeyTwo(@NonNull + Context context, + @StringRes + int keyTwo)+
public String getKeyThree()+
public KeyNamesBuilder setKeyThree(@NonNull + String keyThree)+
public KeyNamesBuilder setKeyThree(@NonNull + Context context, + @StringRes + int keyThree)+
public String getKeyFour()+
public KeyNamesBuilder setKeyFour(@NonNull + String keyFour)+
public KeyNamesBuilder setKeyFour(@NonNull + Context context, + @StringRes + int keyFour)+
public String getKeyFive()+
public KeyNamesBuilder setKeyFive(@NonNull + String keyFive)+
public KeyNamesBuilder setKeyFive(@NonNull + Context context, + @StringRes + int keyFive)+
public String getKeySix()+
public KeyNamesBuilder setKeySix(@NonNull + String keySix)+
public KeyNamesBuilder setKeySix(@NonNull + Context context, + @StringRes + int keySix)+
public String getKeySeven()+
public KeyNamesBuilder setKeySeven(@NonNull + String keySeven)+
public KeyNamesBuilder setKeySeven(@NonNull + Context context, + @StringRes + int keySeven)+
public String getKeyEight()+
public KeyNamesBuilder setKeyEight(@NonNull + String keyEight)+
public KeyNamesBuilder setKeyEight(@NonNull + Context context, + @StringRes + int keyEight)+
public String getKeyNine()+
public KeyNamesBuilder setKeyNine(@NonNull + String keyNine)+
public KeyNamesBuilder setKeyNine(@NonNull + Context context, + @StringRes + int keyNine)+
public String getKeyZero()+
public KeyNamesBuilder setKeyZero(@NonNull + String keyZero)+
public KeyNamesBuilder setKeyZero(@NonNull + Context context, + @StringRes + int keyZero)+
public int getValueOfKey(@NonNull + String keyName)+
keyName
- Name of the key. (e.g. 1)IllegalArgumentException
+ - if the key name is invalid.
+ private android.graphics.Paint
- mClickPaint
- private float
mKeyPadding
- private android.graphics.Paint
- mKeyPaint
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#mKeyPadding">mKeyPadding
+ private int
mKeyStrokeColor
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#mKeyStrokeColor">mKeyStrokeColor
+ private float
mKeyStrokeWidth
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#mKeyStrokeWidth">mKeyStrokeWidth
+ private int
mKeyTextColor
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#mKeyTextColor">mKeyTextColor
+ private android.text.TextPaint
- mKeyTextPaint
- private float
mKeyTextSize
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#mKeyTextSize">mKeyTextSize
+ Builder(PinView pinView)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#Builder-com.kevalpatel.passcodeview.internal.BasePasscodeView-">Builder(BasePasscodeView passcodeView)
RectKey.Builder
- build()
- protected android.graphics.Paint
- getClickPaint()
- RectKey
getKey(java.lang.String digit,
- android.graphics.Rect bound)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
+ RectKey
.
+ float
getKeyPadding()
- android.graphics.Paint
getKeyPaint()
- int
getKeyStrokeColor()
- float
getKeyStrokeWidth()
- int
getKeyTextColor()
- android.graphics.Paint
getKeyTextPaint()
- float
getKeyTextSize()
- protected void
private void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#setDefaults-android.content.Context-">setDefaults(Context context)
+ RectKey.Builder
@@ -332,7 +287,7 @@ RectKey.Builder
@@ -341,7 +296,7 @@ RectKey.Builder
@@ -350,7 +305,7 @@ RectKey.Builder
@@ -359,7 +314,7 @@ RectKey.Builder
@@ -368,7 +323,7 @@ RectKey.Builder
@@ -377,7 +332,7 @@ RectKey.Builder
@@ -386,7 +341,7 @@ RectKey.Builder
@@ -395,7 +350,7 @@ RectKey.Builder
@@ -404,7 +359,7 @@ RectKey.Builder
@@ -424,8 +379,7 @@ getContext,
- getPinView
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#getContext--">getContext
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Dimension +@Dimension private float mKeyPadding+Surround padding to each single key.
@Dimension +@Dimension private float mKeyTextSize+Size of the key title text in pixels.
@Dimension +@Dimension private float mKeyStrokeWidth+Size of the width of the key border in pixels. +
private int mKeyStrokeColor+
private int mKeyTextColor-
@NonNull -private android.graphics.Paint mKeyPaint-
@NonNull -private android.text.TextPaint mKeyTextPaint-
private android.graphics.Paint mClickPaint+
public Builder(@NonNull - PinView pinView)+
public Builder(@NonNull + BasePasscodeView passcodeView)
@Dimension -public float getKeyPadding()-
public RectKey.Builder setKeyPadding(@DimenRes - int keyPaddingRes)+
@NonNull +public RectKey.Builder setKeyPadding(@DimenRes + int keyPaddingRes)
public RectKey.Builder setKeyPadding(@Dimension - float keyPadding)-
public float getKeyTextSize()+
@NonNull +public RectKey.Builder setKeyPadding(@Dimension + float keyPadding)
public RectKey.Builder setKeyTextSize(@DimenRes - int keyTextSize)+
@NonNull +public RectKey.Builder setKeyTextSize(@DimenRes + int keyTextSize)
public RectKey.Builder setKeyTextSize(float keyTextSize)-
public float getKeyStrokeWidth()+
@NonNull +public RectKey.Builder setKeyTextSize(float keyTextSize)
@Dimension +@NonNull public RectKey.Builder setKeyStrokeWidth(@DimenRes - int keyStrokeWidth)+ title="class in com.kevalpatel.passcodeview.keys">RectKey.Builder
@Dimension +@NonNull public RectKey.Builder setKeyStrokeWidth(float keyStrokeWidth)
public int getKeyStrokeColor()-
public RectKey.Builder setKeyStrokeColor(int keyStrokeColor)+
@NonNull +public RectKey.Builder setKeyStrokeColor(int keyStrokeColor)
public RectKey.Builder setKeyStrokeColorResource(@ColorRes - int keyStrokeColor)-
public int getKeyTextColor()+
@NonNull +public RectKey.Builder setKeyStrokeColorResource(@ColorRes + int keyStrokeColor)
public RectKey.Builder setKeyTextColor(int keyTextColor)+
@NonNull +public RectKey.Builder setKeyTextColor(int keyTextColor)
public RectKey.Builder setKeyTextColorResource(@ColorRes - int keyTextColor)-
public RectKey.Builder build()-
build
in
- class Key.Builder
- @NonNull +public RectKey.Builder setKeyTextColorResource(@ColorRes + int keyTextColor)
protected void setDefaults(@NonNull - android.content.Context context)+
@NonNull +public RectKey buildInternal(@NonNull + String keyTitle, + @NonNull + Rect bound)+
RectKey
.
+ setDefaults
in
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal in
class Key.Builder
@NonNull -public android.graphics.Paint getKeyPaint()-
getKeyPaint
in
- class Key.Builder
+ keyTitle
- Title of the key to display.RectKey
#Key(Builder, String, Rect)
@NonNull -public android.graphics.Paint getKeyTextPaint()-
getKeyTextPaint
in
- class Key.Builder
- @NonNull -protected android.graphics.Paint getClickPaint()-
@NonNull -public RectKey getKey(@NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bound)+
private void setDefaults(@NonNull + Context context)+
getKey
in
- class Key.Builder
+ context
- Context
+ of the caller.
private boolean
private static long
isClickedAnimationRunning
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#ANIMATION_DURATION">ANIMATION_DURATION
+ private android.graphics.Rect
private boolean
mBounds
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#isClickedAnimationRunning">isClickedAnimationRunning
+ private
- android.animation.ValueAnimator
private ValueAnimator
+ mErrorAnimator
private Paint
+ mKeyPaint
+ private TextPaint
+ mKeyTextPaint
+ private Paint
+ mRipplePaint
+ private
RectKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RectKey.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#RectKey-com.kevalpatel.passcodeview.keys.RectKey.Builder-java.lang.String-android.graphics.Rect-">RectKey(RectKey.Builder builder,
+ String keyTitle,
+ Rect bound)
void
drawBackSpace(android.graphics.Canvas canvas,
- android.graphics.drawable.Drawable backSpaceIcon)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#drawBackSpace-android.graphics.Canvas-android.graphics.drawable.Drawable-">drawBackSpace(Canvas canvas,
+ Drawable backSpaceIcon)
+ void
drawShape(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#drawShape-android.graphics.Canvas-">drawShape(Canvas canvas)
+ void
drawText(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#drawText-android.graphics.Canvas-">drawText(Canvas canvas)
void
onAuthSuccess()
+ href="../../../../com/kevalpatel/passcodeview/keys/RectKey.html#onAuthSuccess--">onAuthSuccess()
+ getContext,
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#equals-java.lang.Object-">equals,
+ getBounds,
+ getContext,
getDigit,
- getPinView
+ getPasscodeView,
+ hashCode
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private final android.graphics.Rect mBounds+
private static final long ANIMATION_DURATION+
@NonNull +private final ValueAnimator mErrorAnimator
private final RectKey.Builder mBuilder+
@NonNull +private final RectKey.Builder mBuilder
private final android.animation.ValueAnimator mErrorAnimator+
@NonNull +private final Paint mKeyPaint+
private boolean isClickedAnimationRunning+
private RectKey(@NonNull - PinView pinView, - @NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bounds, - @NonNull +private RectKey(@NonNull RectKey.Builder builder)+ title="class in com.kevalpatel.passcodeview.keys">RectKey.Builder builder, + @NonNull + String keyTitle, + @NonNull + Rect bound)
pinView
- PinView
- digit
- title of the key. (-1 for the backspace
- key)
- bounds
- Rect
bound.public void onAuthFail()-
onAuthFail
in
- class Key
- public void drawText(@NonNull - android.graphics.Canvas canvas)-
public void drawText(@NonNull + Canvas canvas)+
public void drawShape(@NonNull - android.graphics.Canvas canvas)+
public void drawShape(@NonNull + Canvas canvas)+
Key
+ BoxKeypad
+ when ever
+ it's time to draw the shape of the key on the Canvas
.
+ Application daw any shape such
+ as round or square.
+ drawShape
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ RoundKey.drawShape(Canvas)
+ public void drawBackSpace(@NonNull - android.graphics.Canvas canvas, - @NonNull - android.graphics.drawable.Drawable backSpaceIcon)+
public void drawBackSpace(@NonNull + Canvas canvas, + @NonNull + Drawable backSpaceIcon)+
drawBackSpace
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ backSpaceIcon
- Drawable
+ to display on the backspace key.
+ public void onAuthSuccess()+
onAuthSuccess
public void onAuthFail()+
onAuthFail
in
+ class Key
+ private float
mKeyPadding
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#mKeyPadding">mKeyPadding
+ private android.graphics.Paint
- mKeyPaint
- private int
mKeyStrokeColor
- private float
mKeyStrokeWidth
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#mKeyStrokeColor">mKeyStrokeColor
+ private int
private float
mKeyTextColor
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#mKeyStrokeWidth">mKeyStrokeWidth
+ private android.text.TextPaint
- private int
mKeyTextPaint
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#mKeyTextColor">mKeyTextColor
+ private float
mKeyTextSize
- private android.graphics.Paint
- mRipplePaint
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#mKeyTextSize">mKeyTextSize
+ Builder(PinView pinView)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#Builder-com.kevalpatel.passcodeview.internal.BasePasscodeView-">Builder(BasePasscodeView passcodeView)
RoundKey.Builder
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
+ title="class in com.kevalpatel.passcodeview.keys">Key
build()
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
+ Key
.
+ RoundKey
- private void
getKey(java.lang.String digit,
- android.graphics.Rect bound)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.Builder.html#setDefaults-android.content.Context-">setDefaults(Context context)
float
getKeyPadding()
- android.graphics.Paint
getKeyPaint()
- int
getKeyStrokeColor()
- float
getKeyStrokeWidth()
- int
getKeyTextColor()
- android.graphics.Paint
getKeyTextPaint()
- float
getKeyTextSize()
- protected android.graphics.Paint
- getRipplePaint()
- protected void
setDefaults(android.content.Context context)
- RoundKey.Builder
@@ -332,7 +284,7 @@ RoundKey.Builder
@@ -341,7 +293,7 @@ RoundKey.Builder
@@ -350,7 +302,7 @@ RoundKey.Builder
@@ -359,7 +311,7 @@ RoundKey.Builder
@@ -368,7 +320,7 @@ RoundKey.Builder
@@ -377,7 +329,7 @@ RoundKey.Builder
@@ -386,7 +338,7 @@ RoundKey.Builder
@@ -395,7 +347,7 @@ RoundKey.Builder
@@ -404,7 +356,7 @@ RoundKey.Builder
@@ -424,8 +376,7 @@ getContext,
- getPinView
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#getContext--">getContext
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Dimension +@Dimension private float mKeyPadding+Surround padding to each single key.
@Dimension +@Dimension private float mKeyTextSize+Size of the key title text in pixels.
@Dimension +@Dimension private float mKeyStrokeWidth+Size of the width of the key border in pixels. +
private int mKeyStrokeColor+
private int mKeyTextColor-
@NonNull -private android.graphics.Paint mKeyPaint-
@NonNull -private android.text.TextPaint mKeyTextPaint-
@NonNull -private android.graphics.Paint mRipplePaint+
public Builder(@NonNull - PinView pinView)+
public Builder(@NonNull + BasePasscodeView passcodeView)
@Dimension -public float getKeyPadding()-
public RoundKey.Builder setKeyPadding(@Dimension - float keyPadding)+
@NonNull +public RoundKey.Builder setKeyPadding(@Dimension + float keyPadding)
public RoundKey.Builder setKeyPadding(@DimenRes - int keyPaddingRes)-
public float getKeyTextSize()+
@NonNull +public RoundKey.Builder setKeyPadding(@DimenRes + int keyPaddingRes)
public RoundKey.Builder setKeyTextSize(float keyTextSize)+
@NonNull +public RoundKey.Builder setKeyTextSize(float keyTextSize)
public RoundKey.Builder setKeyTextSize(@DimenRes - int keyTextSize)-
public float getKeyStrokeWidth()+
@NonNull +public RoundKey.Builder setKeyTextSize(@DimenRes + int keyTextSize)
@Dimension +@NonNull public RoundKey.Builder setKeyStrokeWidth(float keyStrokeWidth)
@Dimension +@NonNull public RoundKey.Builder setKeyStrokeWidth(@DimenRes - int keyStrokeWidth)-
public int getKeyStrokeColor()+ title="class in com.kevalpatel.passcodeview.keys">RoundKey.Builder
public RoundKey.Builder setKeyStrokeColor(int keyStrokeColor)+
@NonNull +public RoundKey.Builder setKeyStrokeColor(int keyStrokeColor)
public RoundKey.Builder setKeyStrokeColorResource(@ColorRes - int keyStrokeColor)-
public int getKeyTextColor()+
@NonNull +public RoundKey.Builder setKeyStrokeColorResource(@ColorRes + int keyStrokeColor)
public RoundKey.Builder setKeyTextColor(int keyTextColor)+
@NonNull +public RoundKey.Builder setKeyTextColor(int keyTextColor)
public RoundKey.Builder setKeyTextColorResource(@ColorRes - int keyTextColor)+
@NonNull +public RoundKey.Builder setKeyTextColorResource(@ColorRes + int keyTextColor)
public RoundKey.Builder build()-
build
in
- class Key.Builder
- protected void setDefaults(@NonNull - android.content.Context context)+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html" + title="class in com.kevalpatel.passcodeview.keys">Key buildInternal(@NonNull + String keyTitle, + @NonNull + Rect bound) +
Key.Builder
+ Key
.
+ setDefaults
in
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal in
class Key.Builder
@NonNull -public android.graphics.Paint getKeyPaint()-
getKeyPaint
in
- class Key.Builder
+ keyTitle
- Title of the key to display.Key
#Key(Builder, String, Rect)
@NonNull -public android.graphics.Paint getKeyTextPaint()-
getKeyTextPaint
in
- class Key.Builder
- @NonNull -protected android.graphics.Paint getRipplePaint()-
@NonNull -public RoundKey getKey(@NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bound)-
getKey
in
- class Key.Builder
- private void setDefaults(@NonNull + Context context)
private boolean
isRippleEffectRunning
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#isRippleEffectRunning">isRippleEffectRunning
+ true
if the
+ ripple animation is running else false
.
+ private static int
MAX_RIPPLE_ALPHA
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#MAX_RIPPLE_ALPHA">MAX_RIPPLE_ALPHA
+ private android.graphics.Rect
private int
mBounds
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mCurrentAlpha">mCurrentAlpha
+ private RoundKey.Builder
- private int
mBuilder
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mCurrentRippleRadius">mCurrentRippleRadius
+ private int
private ValueAnimator
+ mCurrentAlpha
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mErrorAnimator">mErrorAnimator
+ ValueAnimator
+ for the authentication error.
+ private int
private Paint
+ mCurrentRippleRadius
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mKeyPaint">mKeyPaint
+ Paint
+ of the key.
+ private
- android.animation.ValueAnimator
private float
mErrorAnimator
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mKeyRadius">mKeyRadius
+ private float
private TextPaint
+ mKeyRadius
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mKeyTextPaint">mKeyTextPaint
+ TextPaint
+ of the key title text.
+ private
- android.animation.ValueAnimator
private Paint
+ mRippleValueAnimator
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mRipplePaint">mRipplePaint
+ Paint
+ of the ripple animations.
+ private android.view.View
private ValueAnimator
+ mView
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#mRippleValueAnimator">mRippleValueAnimator
+ ValueAnimator
+ for the key ripple animations.
+ private static int
RIPPLE_DURATION
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#RIPPLE_DURATION">RIPPLE_DURATION
+ private
RoundKey(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RoundKey.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#RoundKey-com.kevalpatel.passcodeview.keys.RoundKey.Builder-java.lang.String-android.graphics.Rect-">RoundKey(RoundKey.Builder builder,
+ String keyTitle,
+ Rect bound)
private float
calculateKeyRadius(android.graphics.Rect bounds,
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#calculateKeyRadius-android.graphics.Rect-float-">calculateKeyRadius(Rect bounds,
float padding)
void
drawBackSpace(android.graphics.Canvas canvas,
- android.graphics.drawable.Drawable backSpaceIcon)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#drawBackSpace-android.graphics.Canvas-android.graphics.drawable.Drawable-">drawBackSpace(Canvas canvas,
+ Drawable backSpaceIcon)
+ void
drawShape(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#drawShape-android.graphics.Canvas-">drawShape(Canvas canvas)
+ void
drawText(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#drawText-android.graphics.Canvas-">drawText(Canvas canvas)
void
onAuthSuccess()
+ href="../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#onAuthSuccess--">onAuthSuccess()
+ getContext,
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#equals-java.lang.Object-">equals,
+ getBounds,
+ getContext,
getDigit,
- getPinView
+ getPasscodeView,
+ hashCode
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private static final int MAX_RIPPLE_ALPHA+
private static final int RIPPLE_DURATION+
private final android.graphics.Rect mBounds+
@NonNull +private final Paint mKeyPaint+
Paint
+ of the key.
+ private final android.view.View mView+
@NonNull +private final TextPaint mKeyTextPaint+
TextPaint
+ of the key title text.
+ private final float mKeyRadius+
@NonNull +private final Paint mRipplePaint+
Paint
+ of the ripple animations.
+ private RoundKey.Builder mBuilder+
private final float mKeyRadius+
calculateKeyRadius(Rect,
+ float)
private android.animation.ValueAnimator mRippleValueAnimator+
private ValueAnimator mRippleValueAnimator+
ValueAnimator
+ for the key ripple animations.
+ private android.animation.ValueAnimator mErrorAnimator+
private ValueAnimator mErrorAnimator+
ValueAnimator
+ for the authentication error. This animator will shake the view
+ left-right
+ for two times.
+ private boolean isRippleEffectRunning+
true
if the ripple
+ animation is running else false
.
+ private int mCurrentRippleRadius+
private int mCurrentAlpha+
private RoundKey(@NonNull - PinView view, - @NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bounds, - @NonNull +private RoundKey(@NonNull RoundKey.Builder builder)+ title="class in com.kevalpatel.passcodeview.keys">RoundKey.Builder builder, + @NonNull + String keyTitle, + @NonNull + Rect bound)
view
- PinView
+ builder
- RoundKey.Builder
.
digit
- title of the key. (-1 for the backspace
- key)
- bounds
- Rect
bound.private float calculateKeyRadius(android.graphics.Rect bounds, +private float calculateKeyRadius(Rect bounds, float padding)Calculate the circle radius.
public void onAuthSuccess()+
Key
+ onAuthSuccess
-
drawText
- public void drawText(@NonNull
- android.graphics.Canvas canvas)
+ public void drawText(@NonNull
+ Canvas canvas)
Draw the key of canvas.
Don't change until you know what you are doing. :-)
@@ -682,6 +845,10 @@ drawText
canvas
- canvas of the view o which key will be
drawn
+ - See Also:
+ -
+
drawText(Canvas)
+
public void drawShape(@NonNull - android.graphics.Canvas canvas)+
public void drawShape(@NonNull + Canvas canvas)+
Key
+ BoxKeypad
+ when ever
+ it's time to draw the shape of the key on the Canvas
.
+ Application daw any shape such
+ as round or square.
+ drawShape
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ drawShape(Canvas)
+ public void drawBackSpace(@NonNull - android.graphics.Canvas canvas, - @NonNull - android.graphics.drawable.Drawable backSpaceIcon)+
public void drawBackSpace(@NonNull + Canvas canvas, + @NonNull + Drawable backSpaceIcon)+
Key
+ drawBackSpace
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ backSpaceIcon
- Drawable
+ to display on the backspace key.
+ private android.graphics.Paint
- mClickPaint
- private float
mKeyPadding
- private android.graphics.Paint
- mKeyPaint
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#mKeyPadding">mKeyPadding
+ private int
mKeyStrokeColor
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#mKeyStrokeColor">mKeyStrokeColor
+ private float
mKeyStrokeWidth
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#mKeyStrokeWidth">mKeyStrokeWidth
+ private int
mKeyTextColor
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#mKeyTextColor">mKeyTextColor
+ private android.text.TextPaint
- mKeyTextPaint
- private float
mKeyTextSize
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#mKeyTextSize">mKeyTextSize
+ Builder(PinView pinView)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#Builder-com.kevalpatel.passcodeview.internal.BasePasscodeView-">Builder(BasePasscodeView passcodeView)
SquareKey.Builder
- build()
- protected android.graphics.Paint
- getClickPaint()
- SquareKey
getKey(java.lang.String digit,
- android.graphics.Rect bound)
- float
getKeyPadding()
- android.graphics.Paint
getKeyPaint()
- int
getKeyStrokeColor()
- float
getKeyStrokeWidth()
- int
getKeyTextColor()
- android.graphics.Paint
getKeyTextPaint()
- float
getKeyTextSize()
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
+ Key
.
+ protected void
private void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#setDefaults-android.content.Context-">setDefaults(Context context)
SquareKey.Builder
@@ -330,7 +282,7 @@ SquareKey.Builder
@@ -339,7 +291,7 @@ SquareKey.Builder
@@ -348,7 +300,7 @@ SquareKey.Builder
@@ -357,7 +309,7 @@ SquareKey.Builder
@@ -366,7 +318,7 @@ SquareKey.Builder
@@ -375,7 +327,7 @@ SquareKey.Builder
@@ -384,7 +336,7 @@ SquareKey.Builder
@@ -393,7 +345,7 @@ SquareKey.Builder
@@ -402,7 +354,7 @@ SquareKey.Builder
@@ -422,8 +374,7 @@ getContext,
- getPinView
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#getContext--">getContext
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Dimension +@Dimension private float mKeyPadding+Surround padding to each single key.
@Dimension +@Dimension private float mKeyTextSize+Size of the key title text in pixels.
@Dimension +@Dimension private float mKeyStrokeWidth+Size of the width of the key border in pixels. +
private int mKeyStrokeColor+
private int mKeyTextColor-
@NonNull -private android.graphics.Paint mKeyPaint-
@NonNull -private android.text.TextPaint mKeyTextPaint-
private android.graphics.Paint mClickPaint+
public Builder(@NonNull - PinView pinView)+
public Builder(@NonNull + BasePasscodeView passcodeView)
@Dimension -public float getKeyPadding()-
public SquareKey.Builder setKeyPadding(@DimenRes - int keyPaddingRes)+
@NonNull +public SquareKey.Builder setKeyPadding(@DimenRes + int keyPaddingRes)
public SquareKey.Builder setKeyPadding(@Dimension - float keyPadding)-
public float getKeyTextSize()+
@NonNull +public SquareKey.Builder setKeyPadding(@Dimension + float keyPadding)
public SquareKey.Builder setKeyTextSize(@DimenRes - int keyTextSize)+
@NonNull +public SquareKey.Builder setKeyTextSize(@DimenRes + int keyTextSize)
public SquareKey.Builder setKeyTextSize(float keyTextSize)-
public float getKeyStrokeWidth()+
@NonNull +public SquareKey.Builder setKeyTextSize(float keyTextSize)
@Dimension +@NonNull public SquareKey.Builder setKeyStrokeWidth(@DimenRes - int keyStrokeWidth)+ title="class in com.kevalpatel.passcodeview.keys">SquareKey.Builder
@Dimension +@NonNull public SquareKey.Builder setKeyStrokeWidth(float keyStrokeWidth)
public int getKeyStrokeColor()-
public SquareKey.Builder setKeyStrokeColor(int keyStrokeColor)+
@NonNull +public SquareKey.Builder setKeyStrokeColor(int keyStrokeColor)
public SquareKey.Builder setKeyStrokeColorResource(@ColorRes - int keyStrokeColor)-
public int getKeyTextColor()+
@NonNull +public SquareKey.Builder setKeyStrokeColorResource(@ColorRes + int keyStrokeColor)
public SquareKey.Builder setKeyTextColor(int keyTextColor)+
@NonNull +public SquareKey.Builder setKeyTextColor(int keyTextColor)
public SquareKey.Builder setKeyTextColorResource(@ColorRes - int keyTextColor)-
public SquareKey.Builder build()-
build
in
- class Key.Builder
- @NonNull +public SquareKey.Builder setKeyTextColorResource(@ColorRes + int keyTextColor)
protected void setDefaults(@NonNull - android.content.Context context)+
@NonNull +public SquareKey buildInternal(@NonNull + String keyTitle, + @NonNull + Rect bound)+
Key.Builder
+ Key
.
+ setDefaults
in
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal in
class Key.Builder
@NonNull -public android.graphics.Paint getKeyPaint()-
getKeyPaint
in
- class Key.Builder
+ keyTitle
- Title of the key to display.Key
#Key(Builder, String, Rect)
@NonNull -public android.graphics.Paint getKeyTextPaint()-
getKeyTextPaint
in
- class Key.Builder
- @NonNull -protected android.graphics.Paint getClickPaint()-
@NonNull -public SquareKey getKey(@NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bound)-
getKey
in
- class Key.Builder
- private void setDefaults(@NonNull + Context context)
private boolean
private static long
isClickedAnimationRunning
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#ANIMATION_DURATION">ANIMATION_DURATION
+ private android.graphics.Rect
private boolean
mBounds
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#isClickedAnimationRunning">isClickedAnimationRunning
+ mBuilder
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#mBuilder">mBuilder
+ SquareKey.Builder
+ of this key.
+ private
- android.animation.ValueAnimator
private ValueAnimator
+ mErrorAnimator
+ ValueAnimator
+ for the authentication error.
+ private Paint
+ mErrorAnimator
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#mKeyPaint">mKeyPaint
+ Paint
+ of the key.
+ private TextPaint
+ mKeyTextPaint
+ TextPaint
+ of the key title text.
+ private Paint
+ mRipplePaint
+ Paint
+ of the ripple animations.
+ private
SquareKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- SquareKey.Builder builder)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#SquareKey-com.kevalpatel.passcodeview.keys.SquareKey.Builder-java.lang.String-android.graphics.Rect-">SquareKey(SquareKey.Builder builder,
+ String keyTitle,
+ Rect bound)
void
drawBackSpace(android.graphics.Canvas canvas,
- android.graphics.drawable.Drawable backSpaceIcon)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#drawBackSpace-android.graphics.Canvas-android.graphics.drawable.Drawable-">drawBackSpace(Canvas canvas,
+ Drawable backSpaceIcon)
+ void
drawShape(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#drawShape-android.graphics.Canvas-">drawShape(Canvas canvas)
+ void
drawText(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#drawText-android.graphics.Canvas-">drawText(Canvas canvas)
void
onAuthSuccess()
+ href="../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#onAuthSuccess--">onAuthSuccess()
+ getContext,
+ href="../../../../com/kevalpatel/passcodeview/keys/Key.html#equals-java.lang.Object-">equals,
+ getBounds,
+ getContext,
getDigit,
- getPinView
+ getPasscodeView,
+ hashCode
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private final android.graphics.Rect mBounds+
private static final long ANIMATION_DURATION+
private final @NonNull +private final SquareKey.Builder mBuilder+
SquareKey.Builder
+ of this key.
+ private final android.animation.ValueAnimator mErrorAnimator+
@NonNull +private final ValueAnimator mErrorAnimator+
ValueAnimator
+ for the authentication error. This animator will shake the view
+ left-right
+ for two times.
+ @NonNull +private final TextPaint mKeyTextPaint+
TextPaint
+ of the key title text.
+ private boolean isClickedAnimationRunning+
private SquareKey(@NonNull - PinView pinView, - @NonNull - java.lang.String digit, - @NonNull - android.graphics.Rect bounds, - @NonNull +private SquareKey(@NonNull SquareKey.Builder builder)+ title="class in com.kevalpatel.passcodeview.keys">SquareKey.Builder builder, + @NonNull + String keyTitle, + @NonNull + Rect bound)
pinView
- PinView
- digit
- title of the key. (-1 for the backspace
- key)
- bounds
- Rect
bound.public void drawText(@NonNull - android.graphics.Canvas canvas)+
public void drawText(@NonNull + Canvas canvas)
canvas
- canvas of the view o which key will be
drawn
RoundKey.drawText(Canvas)
+ public void drawShape(@NonNull - android.graphics.Canvas canvas)+
public void drawShape(@NonNull + Canvas canvas)+
Key
+ BoxKeypad
+ when ever
+ it's time to draw the shape of the key on the Canvas
.
+ Application daw any shape such
+ as round or square.
+ drawShape
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ RoundKey.drawShape(Canvas)
+ public void drawBackSpace(@NonNull - android.graphics.Canvas canvas, - @NonNull - android.graphics.drawable.Drawable backSpaceIcon)+
public void drawBackSpace(@NonNull + Canvas canvas, + @NonNull + Drawable backSpaceIcon)+
Key
+ drawBackSpace
href="../../../../com/kevalpatel/passcodeview/keys/Key.html"
title="class in com.kevalpatel.passcodeview.keys">Key
canvas
- Canvas
+ on which the key text will be draw.
+ backSpaceIcon
- Drawable
+ to display on the backspace key.
+ public void onAuthSuccess()+
Key
+ Modifier and Type | -Method and Description | +Field and Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
abstract |
- Key.Builder.Key.
|
|||||||||
Key(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- Key.Builder builder)
+ href="../../../../../com/kevalpatel/passcodeview/keys/Key.html#Key-com.kevalpatel.passcodeview.keys.Key.Builder-java.lang.String-android.graphics.Rect-">Key(Key.Builder builder,
+ String keyTitle,
+ Rect bound)
|
||||||||||
com.kevalpatel.passcodeview.internal.box + | com.kevalpatel.passcodeview.internal |
private java.util.ArrayList<Key>
- |
- BoxKeypad.mKeys
- |
-
Modifier and Type | -Method and Description | -||||||||
---|---|---|---|---|---|---|---|---|---|
java.util.ArrayList< |
BoxKeypad.getKeys()
+ href="../../../../../com/kevalpatel/passcodeview/internal/BoxKeypad.html#mKeys">mKeys
+ List of all the
Key .
+ |
||||||||
Key
+ |
+ RoundKey.Builder.buildInternal(String keyTitle,
+ Rect bound)
+ |
+ ||||||||
abstract Key
@@ -230,8 +239,15 @@ Uses of Key.Builder.Key .
+ |
|||||||||
RectKey.Builder
- |
- RectKey.Builder.build()
- |
- ||||||||
RectKey.Builder
@@ -170,7 +173,7 @@ Uses of setKeyPadding(float keyPadding) |
|||||||||
RectKey.Builder
@@ -181,7 +184,7 @@ Uses of setKeyPadding(int keyPaddingRes) |
|||||||||
RectKey.Builder
@@ -192,7 +195,7 @@ Uses of setKeyStrokeColor(int keyStrokeColor) |
|||||||||
RectKey.Builder
@@ -203,7 +206,7 @@ Uses of setKeyStrokeColorResource(int keyStrokeColor) |
|||||||||
RectKey.Builder
@@ -214,7 +217,7 @@ Uses of setKeyStrokeWidth(float keyStrokeWidth) |
|||||||||
RectKey.Builder
@@ -225,7 +228,7 @@ Uses of setKeyStrokeWidth(int keyStrokeWidth) |
|||||||||
RectKey.Builder
@@ -236,7 +239,7 @@ Uses of setKeyTextColor(int keyTextColor) |
|||||||||
RectKey.Builder
@@ -247,7 +250,7 @@ Uses of setKeyTextColorResource(int keyTextColor) |
|||||||||
RectKey.Builder
@@ -258,7 +261,7 @@ Uses of setKeyTextSize(float keyTextSize) |
|||||||||
RectKey.Builder
@@ -284,13 +287,13 @@ Uses of
RectKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RectKey.Builder builder)
+ href="../../../../../com/kevalpatel/passcodeview/keys/RectKey.html#RectKey-com.kevalpatel.passcodeview.keys.RectKey.Builder-java.lang.String-android.graphics.Rect-">RectKey(RectKey.Builder builder,
+ String keyTitle,
+ Rect bound)
Public constructor.
|
getKey(java.lang.String digit,
- android.graphics.Rect bound)
+ href="../../../../../com/kevalpatel/passcodeview/keys/RectKey.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
+ RectKey
.
+ Modifier and Type | -Field and Description | -
---|---|
private RoundKey.Builder
- |
- RoundKey.mBuilder
- |
-
RoundKey.Builder
- |
- RoundKey.Builder.build()
- |
- ||||||||
RoundKey.Builder
@@ -169,7 +148,7 @@ Uses of setKeyPadding(float keyPadding) |
|||||||||
RoundKey.Builder
@@ -179,7 +158,7 @@ Uses of setKeyPadding(int keyPaddingRes) |
|||||||||
RoundKey.Builder
@@ -189,7 +168,7 @@ Uses of setKeyStrokeColor(int keyStrokeColor) |
|||||||||
RoundKey.Builder
@@ -199,7 +178,7 @@ Uses of setKeyStrokeColorResource(int keyStrokeColor) |
|||||||||
RoundKey.Builder
@@ -209,7 +188,7 @@ Uses of setKeyStrokeWidth(float keyStrokeWidth) |
|||||||||
RoundKey.Builder
@@ -219,7 +198,7 @@ Uses of setKeyStrokeWidth(int keyStrokeWidth) |
|||||||||
RoundKey.Builder
@@ -229,7 +208,7 @@ Uses of setKeyTextColor(int keyTextColor) |
|||||||||
RoundKey.Builder
@@ -239,7 +218,7 @@ Uses of setKeyTextColorResource(int keyTextColor) |
|||||||||
RoundKey.Builder
@@ -249,7 +228,7 @@ Uses of setKeyTextSize(float keyTextSize) |
|||||||||
RoundKey.Builder
@@ -274,13 +253,13 @@ Uses of
RoundKey(PinView view,
- java.lang.String digit,
- android.graphics.Rect bounds,
- RoundKey.Builder builder)
+ href="../../../../../com/kevalpatel/passcodeview/keys/RoundKey.html#RoundKey-com.kevalpatel.passcodeview.keys.RoundKey.Builder-java.lang.String-android.graphics.Rect-">RoundKey(RoundKey.Builder builder,
+ String keyTitle,
+ Rect bound)
Public constructor.
|
|||||||||
SquareKey.Builder
- |
- SquareKey.Builder.build()
- |
- ||||||||
SquareKey.Builder
@@ -171,7 +179,7 @@ Uses of setKeyPadding(float keyPadding) |
|||||||||
SquareKey.Builder
@@ -182,7 +190,7 @@ Uses of setKeyPadding(int keyPaddingRes) |
|||||||||
SquareKey.Builder
@@ -193,7 +201,7 @@ Uses of setKeyStrokeColor(int keyStrokeColor) |
|||||||||
SquareKey.Builder
@@ -204,7 +212,7 @@ Uses of setKeyStrokeColorResource(int keyStrokeColor) |
|||||||||
SquareKey.Builder
@@ -215,7 +223,7 @@ Uses of setKeyStrokeWidth(float keyStrokeWidth) |
|||||||||
SquareKey.Builder
@@ -226,7 +234,7 @@ Uses of setKeyStrokeWidth(int keyStrokeWidth) |
|||||||||
SquareKey.Builder
@@ -237,7 +245,7 @@ Uses of setKeyTextColor(int keyTextColor) |
|||||||||
SquareKey.Builder
@@ -248,7 +256,7 @@ Uses of setKeyTextColorResource(int keyTextColor) |
|||||||||
SquareKey.Builder
@@ -259,7 +267,7 @@ Uses of setKeyTextSize(float keyTextSize) |
|||||||||
SquareKey.Builder
@@ -285,13 +293,13 @@ Uses of
SquareKey(PinView pinView,
- java.lang.String digit,
- android.graphics.Rect bounds,
- SquareKey.Builder builder)
+ href="../../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#SquareKey-com.kevalpatel.passcodeview.keys.SquareKey.Builder-java.lang.String-android.graphics.Rect-">SquareKey(SquareKey.Builder builder,
+ String keyTitle,
+ Rect bound)
Public constructor.
|
Package | -Description | -
---|---|
com.kevalpatel.passcodeview.keys - | -- |
Modifier and Type | -Method and Description | -
---|---|
RoundKey
- |
- RoundKey.Builder.getKey(java.lang.String digit,
- android.graphics.Rect bound)
- |
-
mBuilder
+ href="../../../../../com/kevalpatel/passcodeview/keys/SquareKey.html#mBuilder">mBuilder
+ SquareKey.Builder
+ of this key.
+ getKey(java.lang.String digit,
- android.graphics.Rect bound)
+ href="../../../../../com/kevalpatel/passcodeview/keys/SquareKey.Builder.html#buildInternal-java.lang.String-android.graphics.Rect-">buildInternal(String keyTitle,
+ Rect bound)
Class and Description | @@ -144,13 +168,23 @@|||
---|---|---|---|
Key
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/Key.html#com.kevalpatel.passcodeview.internal">Key
Created by Keval Patel on 07/04/17.
|
|||
Key.Builder
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/Key.Builder.html#com.kevalpatel.passcodeview.internal">Key.Builder
+ Builder for building the
+ Key .
+ |
+ |||
KeyNamesBuilder
+ Created by Keval Patel on 13/04/17.
|
|||
Key.Builder
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/Key.Builder.html#com.kevalpatel.passcodeview.keys">Key.Builder
+ Builder for building the
Key .
+ |
|||
RectKey
- Created by Keval on 06-Apr-17.
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/KeyNamesBuilder.html#com.kevalpatel.passcodeview.keys">KeyNamesBuilder
+ Created by Keval Patel on 13/04/17.
|
|||
RectKey.Builder
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/RectKey.html#com.kevalpatel.passcodeview.keys">RectKey
+ Created by Keval on 06-Apr-17.
|
|||
RoundKey
- Created by Keval on 06-Apr-17.
+ href="../../../../com/kevalpatel/passcodeview/keys/class-use/RectKey.Builder.html#com.kevalpatel.passcodeview.keys">RectKey.Builder
|
|||
Class and Description | -
---|
PinView
- Created by Keval on 06-Apr-17.
- |
-
Class and Description | -
---|
PasscodeViewLifeCycle
- Created by Kevalpatel2106 on 05-Feb-18.
+ href="../../../com/kevalpatel/passcodeview/class-use/InteractiveArrayList.ChangeListener.html#com.kevalpatel.passcodeview">InteractiveArrayList.ChangeListener
|
Class and Description | -
---|
KeyNamesBuilder
- Created by Keval Patel on 13/04/17.
+ href="../../../com/kevalpatel/passcodeview/class-use/PatternView.PatternAuthenticatorTask.html#com.kevalpatel.passcodeview">PatternView.PatternAuthenticatorTask
|
PasscodeViewLifeCycle
- Created by Kevalpatel2106 on 05-Feb-18.
+ href="../../../com/kevalpatel/passcodeview/class-use/PinView.PinAuthenticatorTask.html#com.kevalpatel.passcodeview">PinView.PinAuthenticatorTask
|
Class and Description | @@ -243,7 +179,7 @@||||||||||
---|---|---|---|---|---|---|---|---|---|---|
PinView
+ href="../../../com/kevalpatel/passcodeview/class-use/PinView.html#com.kevalpatel.passcodeview.indicators">PinView
Created by Keval on 06-Apr-17.
|
Modifier and Type | Field and Description | -||||||||
private android.graphics.Paint
- |
- mCellPaint
- |
- |||||||||
private android.graphics.Paint
- |
- mErrorPaint
- |
- |||||||||
private int |
Constructor Summary
| |||||||||
Builder(PatternView patternView)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.Builder.html#Builder-com.kevalpatel.passcodeview.internal.BasePasscodeView-">Builder(BasePasscodeView basePasscodeView)
|
CirclePatternCell.Builder
- build()
- PatternCell
getCell(android.graphics.Rect bound,
- android.graphics.Point point)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.Builder.html#buildInternal-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">buildInternal(Rect bound,
+ PatternPoint point)
android.graphics.Paint
getCellPaint()
- float
getCellRadius()
- android.graphics.Paint
getErrorPaint()
- int
getNormalColor()
- float
getRadius()
- float
getStrokeWidth()
- CirclePatternCell.Builder
@@ -299,13 +258,13 @@ protected void
private void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.Builder.html#setDefaults--">setDefaults()
CirclePatternCell.Builder
@@ -314,7 +273,7 @@ CirclePatternCell.Builder
@@ -323,7 +282,7 @@ CirclePatternCell.Builder
@@ -332,7 +291,7 @@ CirclePatternCell.Builder
@@ -341,7 +300,7 @@ CirclePatternCell.Builder
@@ -370,9 +329,32 @@ clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -403,38 +385,22 @@ @Dimension +@Dimension private float mRadius
@Dimension +@Dimension private float mStrokeWidth
private android.graphics.Paint mCellPaint-
private android.graphics.Paint mErrorPaint-
public Builder(@NonNull - PatternView patternView)+
public Builder(@NonNull + BasePasscodeView basePasscodeView)
@Dimension -public float getCellRadius()-
getCellRadius
in
- class PatternCell.Builder
- public CirclePatternCell.Builder build()-
build
in
- class PatternCell.Builder
- protected void setDefaults(@NonNull - android.content.Context context)-
setDefaults
in
- class PatternCell.Builder
- public PatternCell getCell(@NonNull - android.graphics.Rect bound, - android.graphics.Point point)-
getCell
in
- class PatternCell.Builder
- public int getNormalColor()+
private void setDefaults()
@NonNull +@NonNull public CirclePatternCell.Builder setNormalColor(int normalColor)
@NonNull +@NonNull public CirclePatternCell.Builder setCellColorResource(@ColorRes - int indicatorStrokeColor)-
@Dimension -public float getRadius()+ title="class in com.kevalpatel.passcodeview.patternCells">CirclePatternCell.Builder
@NonNull +@NonNull public CirclePatternCell.Builder setRadius(@Dimension - float radius)+ title="class in com.kevalpatel.passcodeview.patternCells">CirclePatternCell.Builder
@NonNull +@NonNull public CirclePatternCell.Builder setRadius(@DimenRes - int indicatorRadius)-
@Dimension -public float getStrokeWidth()+ title="class in com.kevalpatel.passcodeview.patternCells">CirclePatternCell.Builder setRadius(@DimenRes + int indicatorRadius)
@NonNull +@NonNull public CirclePatternCell.Builder setStrokeWidth(@Dimension - float strokeWidth)+ title="class in com.kevalpatel.passcodeview.patternCells">CirclePatternCell.Builder
@NonNull +@NonNull public CirclePatternCell.Builder setStrokeWidth(@DimenRes - int indicatorStrokeWidth)-
@NonNull -public android.graphics.Paint getCellPaint()+ title="class in com.kevalpatel.passcodeview.patternCells">CirclePatternCell.Builder setStrokeWidth(@DimenRes + int indicatorStrokeWidth)
@NonNull -public android.graphics.Paint getErrorPaint()+
@NonNull +public PatternCell buildInternal(@NonNull + Rect bound, + @NonNull + PatternPoint point)+
buildInternal
in
+ class PatternCell.Builder
+ private Paint
+ mCellPaint
+ private Paint
+ mErrorPaint
+ private float
Constructor Summary
private
CirclePatternCell(PatternView patternView,
- android.graphics.Rect bound,
- CirclePatternCell.Builder builder,
- android.graphics.Point point)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.html#CirclePatternCell-com.kevalpatel.passcodeview.patternCells.CirclePatternCell.Builder-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">CirclePatternCell(CirclePatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
void
draw(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.html#draw-android.graphics.Canvas-">draw(Canvas canvas)
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@NonNull +@NonNull private final CirclePatternCell.Builder mBuilder
private CirclePatternCell(@NonNull - PatternView patternView, - @NonNull - android.graphics.Rect bound, - @NonNull +private CirclePatternCell(@NonNull CirclePatternCell.Builder builder, - android.graphics.Point point)+ @NonNull + Rect bound, + @NonNull + PatternPoint point)
public void draw(@NonNull - android.graphics.Canvas canvas)+
public void draw(@NonNull + Canvas canvas)
private android.graphics.Paint
- mCellPaint
- private android.graphics.Paint
- mErrorCellPaint
- private float
Method Summary
DotPatternCell.Builder
+ href="../../../../com/kevalpatel/passcodeview/patternCells/DotPatternCell.html"
+ title="class in com.kevalpatel.passcodeview.patternCells">DotPatternCell
build()
+ href="../../../../com/kevalpatel/passcodeview/patternCells/DotPatternCell.Builder.html#buildInternal-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">buildInternal(Rect bound,
+ PatternPoint point)
PatternCell
- getCell(android.graphics.Rect bound,
- android.graphics.Point point)
- int
getCellColor()
- float
getCellRadius()
- android.graphics.Paint
getErrorCellPaint()
- android.graphics.Paint
getNormalCellPaint()
- float
getRadius()
- DotPatternCell.Builder
@@ -286,7 +251,7 @@ DotPatternCell.Builder
@@ -295,13 +260,13 @@ protected void
private void
setDefaults(android.content.Context context)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/DotPatternCell.Builder.html#setDefaults--">setDefaults()
DotPatternCell.Builder
@@ -310,7 +275,7 @@ DotPatternCell.Builder
@@ -339,9 +304,32 @@ clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -369,31 +357,14 @@ @Dimension +@Dimension private float mRadius
private android.graphics.Paint mCellPaint-
private android.graphics.Paint mErrorCellPaint-
public Builder(@NonNull +public Builder(@NonNull PatternView patternView)
@Dimension -public float getCellRadius()-
getCellRadius
in
- class PatternCell.Builder
- public DotPatternCell.Builder build()-
build
in
- class PatternCell.Builder
- protected void setDefaults(@NonNull - android.content.Context context)-
setDefaults
in
- class PatternCell.Builder
- public PatternCell getCell(@NonNull - android.graphics.Rect bound, - android.graphics.Point point)-
getCell
in
- class PatternCell.Builder
- public int getCellColor()+
private void setDefaults()
@NonNull +@NonNull public DotPatternCell.Builder setCellColor(int normalColor)
@NonNull +@NonNull public DotPatternCell.Builder setCellColorResource(@ColorRes - int indicatorStrokeColor)-
@Dimension -public float getRadius()+ title="class in com.kevalpatel.passcodeview.patternCells">DotPatternCell.Builder
@NonNull +@NonNull public DotPatternCell.Builder setRadius(@DimenRes - int indicatorRadius)+ title="class in com.kevalpatel.passcodeview.patternCells">DotPatternCell.Builder
@NonNull +@NonNull public DotPatternCell.Builder setRadius(@Dimension - float radius)-
@NonNull -public android.graphics.Paint getNormalCellPaint()+ title="class in com.kevalpatel.passcodeview.patternCells">DotPatternCell.Builder setRadius(@Dimension + float radius)
@NonNull -public android.graphics.Paint getErrorCellPaint()+
@NonNull +public DotPatternCell buildInternal(@NonNull + Rect bound, + @NonNull + PatternPoint point)+
buildInternal
in
+ class PatternCell.Builder
+ private Paint
+ mCellPaint
+ private Paint
+ mErrorCellPaint
+ private float
Constructor Summary
Constructors
- Constructor and Description
+ Modifier
+ Constructor and Description
- DotPatternCell(PatternView patternView,
- android.graphics.Rect bound,
- DotPatternCell.Builder builder,
- android.graphics.Point point)
+ private
+ DotPatternCell(DotPatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
@@ -253,7 +288,9 @@ Method Summary
void
draw(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/DotPatternCell.html#draw-android.graphics.Canvas-">draw(Canvas canvas)
Draw the indicator.
@@ -300,9 +337,32 @@ Methods inherited from class com.kevalpatel.passcodeview.patternCells.<
name="methods.inherited.from.class.java.lang.Object">
- Methods inherited from class java.lang.Object
- clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ Methods inherited from class java.lang.Object
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -324,9 +384,10 @@ Field Detail
-
mBuilder
- private DotPatternCell.Builder mBuilder
+ @NonNull
+private final DotPatternCell.Builder mBuilder
@@ -335,7 +396,31 @@ mBuilder
-
mTouchRadius
- private float mTouchRadius
+ private final float mTouchRadius
+
+
+
+
+
+
+
+
+
+
@@ -355,21 +440,25 @@ isDisplayError
Constructor Detail
-
+
-
DotPatternCell
- DotPatternCell(@NonNull
- PatternView patternView,
- @NonNull
- android.graphics.Rect bound,
- @NonNull
- DotPatternCell.Builder builder,
- android.graphics.Point point)
+ private DotPatternCell(@NonNull
+ DotPatternCell.Builder builder,
+ @NonNull
+ Rect bound,
+ @NonNull
+ PatternPoint point)
@@ -386,8 +475,11 @@ Method Detail
-
draw
- public void draw(@NonNull
- android.graphics.Canvas canvas)
+ public void draw(@NonNull
+ Canvas canvas)
Draw the indicator.
- Specified by:
diff --git a/docs/com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html b/docs/com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html
index 6df20cb..7b39c8d 100644
--- a/docs/com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html
+++ b/docs/com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html
@@ -1,11 +1,25 @@
+
+
-
+
PatternCell.Builder
-
+
@@ -19,7 +33,7 @@
catch(err) {
}
//-->
-var methods = {"i0":6,"i1":6,"i2":6,"i3":10,"i4":10,"i5":6};
+var methods = {"i0":6,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -106,7 +120,8 @@ Class PatternCell.Builder
- - java.lang.Object
+ - java.lang.Object
-
- com.kevalpatel.passcodeview.patternCells.PatternCell.Builder
@@ -136,7 +151,8 @@ Class PatternCell.Builder
public abstract static class PatternCell.Builder
-extends java.lang.Object
+extends Object
@@ -158,11 +174,11 @@ Field Summary
private PatternView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
mPatternView
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html#mBasePasscodeView">mBasePasscodeView
private
Builder()
-
Builder(PatternView pinView)
+ Builder(BasePasscodeView passcodeView)
abstract PatternCell.Builder
- build()
- abstract PatternCell
getCell(android.graphics.Rect bound,
- android.graphics.Point point)
- abstract float
getCellRadius()
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html#buildInternal-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">buildInternal(Rect bound,
+ PatternPoint point)
protected android.content.Context
+ protected Context
getContext()
protected PatternView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
getRootView()
protected abstract void
setDefaults(android.content.Context context)
- private PatternView mPatternView+
@NonNull +private final BasePasscodeView mBasePasscodeView
private Builder()-
public Builder(@NonNull - PatternView pinView)+
public Builder(@NonNull + BasePasscodeView passcodeView)
@NonNull -protected final PatternView getRootView()+
@NonNull +protected final BasePasscodeView getRootView()
@NonNull -protected final android.content.Context getContext()-
@Dimension -public abstract float getCellRadius()+
@NonNull +protected final Context getContext()
public abstract PatternCell.Builder build()-
protected abstract void setDefaults(@NonNull - android.content.Context context)-
public abstract PatternCell getCell(@NonNull - android.graphics.Rect bound, - android.graphics.Point point)+
@NonNull +public abstract PatternCell buildInternal(@NonNull + Rect bound, + @NonNull + PatternPoint point)
public abstract class PatternCell
-extends java.lang.Object
+extends Object
private android.graphics.Rect
private Rect
+ mBound
private PatternView
+ href="../../../../com/kevalpatel/passcodeview/internal/BasePasscodeView.html"
+ title="class in com.kevalpatel.passcodeview.internal">BasePasscodeView
mPatternView
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.html#mPasscodeView">mPasscodeView
private android.graphics.Point
+ private PatternPoint
mPoint
@@ -218,21 +239,15 @@ private
PatternCell()
- protected
PatternCell(PatternView pinView,
- android.graphics.Rect bound,
- PatternCell.Builder builder,
- android.graphics.Point location)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.html#PatternCell-com.kevalpatel.passcodeview.patternCells.PatternCell.Builder-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">PatternCell(PatternCell.Builder builder,
+ Rect bound,
+ PatternPoint location)
abstract void
draw(android.graphics.Canvas canvas)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.html#draw-android.graphics.Canvas-">draw(Canvas canvas)
android.graphics.Rect
Rect
+ getBound()
protected android.content.Context
+ protected Context
getContext()
android.graphics.Point
PatternPoint
+ getPoint()
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -351,15 +399,16 @@ private PatternView mPatternView+
@NonNull +private final BasePasscodeView mPasscodeView
private android.graphics.Point mPoint+
@NonNull +private final PatternPoint mPoint
private PatternCell()-
protected PatternCell(@NonNull - PatternView pinView, - @NonNull - android.graphics.Rect bound, - @NonNull +protected PatternCell(@NonNull PatternCell.Builder builder, - android.graphics.Point location)+ @NonNull + Rect bound, + @NonNull + PatternPoint location)
protected final android.content.Context getContext()-
public abstract void draw(@NonNull - android.graphics.Canvas canvas)+
protected final Context getContext()
public abstract void onAuthFailed()+
@NonNull +public PatternPoint getPoint()
public abstract void onAuthSuccess()+
@NonNull +public Rect getBound()
public float getCenterY()- +
@NonNull -public android.graphics.Rect getBound()+
public abstract void draw(@NonNull + Canvas canvas)
public abstract boolean isIndicatorTouched(float touchX, - float touchY)+
public abstract void onAuthFailed()
public abstract void onAuthSuccess()+
public android.graphics.Point getPoint()+
public abstract boolean isIndicatorTouched(float touchX, + float touchY)
public final class PatternPoint
-extends java.lang.Object
+extends Object
private int
column
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternPoint.html#mColumn">mColumn
private int
row
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternPoint.html#mRow">mRow
boolean
equals(java.lang.Object o)
+ href="../../../../com/kevalpatel/passcodeview/patternCells/PatternPoint.html#equals-java.lang.Object-">equals(Object o)
java.lang.String
String
+ toString()
clone, finalize, getClass, notify, notifyAll, wait, wait,
- wait
+ clone, finalize, getClass, notify, notifyAll, wait, wait, wait
@@ -238,22 +276,22 @@ private final int row+
private final int mRow
private final int column+
private final int mColumn
public boolean equals(java.lang.Object o)+
public boolean equals(Object o)
public int hashCode()@@ -316,10 +366,17 @@
public java.lang.String toString()+
public String toString()
CirclePatternCell.Builder
- build()
- CirclePatternCell.Builder
@@ -171,7 +175,7 @@ CirclePatternCell.Builder
@@ -181,7 +185,7 @@ CirclePatternCell.Builder
@@ -191,7 +195,7 @@ CirclePatternCell.Builder
@@ -201,7 +205,7 @@ CirclePatternCell.Builder
@@ -211,7 +215,7 @@ CirclePatternCell.Builder
@@ -236,13 +240,13 @@ CirclePatternCell(PatternView patternView,
- android.graphics.Rect bound,
- CirclePatternCell.Builder builder,
- android.graphics.Point point)
+ href="../../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.html#CirclePatternCell-com.kevalpatel.passcodeview.patternCells.CirclePatternCell.Builder-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">CirclePatternCell(CirclePatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
DotPatternCell.Builder
- build()
- DotPatternCell.Builder
@@ -173,7 +176,7 @@ DotPatternCell.Builder
@@ -184,7 +187,7 @@ DotPatternCell.Builder
@@ -195,7 +198,7 @@ DotPatternCell.Builder
@@ -221,13 +224,13 @@ DotPatternCell(PatternView patternView,
- android.graphics.Rect bound,
- DotPatternCell.Builder builder,
- android.graphics.Point point)
+ href="../../../../../com/kevalpatel/passcodeview/patternCells/DotPatternCell.html#DotPatternCell-com.kevalpatel.passcodeview.patternCells.DotPatternCell.Builder-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">DotPatternCell(DotPatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
Package | +Description | +
---|---|
com.kevalpatel.passcodeview.patternCells + | ++ |
Modifier and Type | +Method and Description | +
---|---|
DotPatternCell
+ |
+ DotPatternCell.Builder.buildInternal(Rect bound,
+ PatternPoint point)
+ |
+
BoxPattern.mCellBuilder
+ href="../../../../../com/kevalpatel/passcodeview/internal/BoxPattern.html#mCellBuilder">mCellBuilder
+ builder of the
PatternCell .
+ |
@@ -210,7 +228,7 @@ BoxPattern.getCellBuilder()
+ href="../../../../../com/kevalpatel/passcodeview/internal/BoxPattern.html#getCellBuilder--">getCellBuilder()
|
@@ -234,7 +252,7 @@ BoxPattern.setCellBuilder(setCellBuilder(PatternCell.Builder mIndicatorBuilder)
|
@@ -292,31 +310,6 @@
Modifier and Type | -Method and Description | -
---|---|
abstract PatternCell.Builder
- |
- PatternCell.Builder.build()
- |
-
PatternCell(PatternView pinView,
- android.graphics.Rect bound,
- PatternCell.Builder builder,
- android.graphics.Point location)
+ href="../../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.html#PatternCell-com.kevalpatel.passcodeview.patternCells.PatternCell.Builder-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">PatternCell(PatternCell.Builder builder,
+ Rect bound,
+ PatternPoint location)
|
||
com.kevalpatel.passcodeview.internal.box + | com.kevalpatel.passcodeview.internal | |
private java.util.ArrayList< |
PatternView.mPatternTyped
- |
-
Modifier and Type | -Method and Description | -
---|---|
(package private) static boolean |
- Utils.isPatternMatched(PatternPoint[] correctPattern,
- java.util.ArrayList<PatternCell> patternToCheck)
- Check if the both pattern matches? It uses PatternPoint.equals(Object)
- to match row and
- column number of both pattern poins.
+ href="../../../../../com/kevalpatel/passcodeview/PatternView.html#mPatternTyped">mPatternTyped
+ ArrayList
+ that holds the list of all the PatternCell
+ touched by the user
+ while drawing the pattern.
|
private java.util.ArrayList< |
BoxPattern.mPatternCells
+ href="../../../../../com/kevalpatel/passcodeview/internal/BoxPattern.html#mPatternCells">mPatternCells
+ List of all the
PatternCell
+ in this box.
+ |
BoxPattern.findCell(float touchX,
+ href="../../../../../com/kevalpatel/passcodeview/internal/BoxPattern.html#findCell-float-float-">findCell(float touchX,
float touchY)
|
Modifier and Type | -Method and Description | -
---|---|
java.util.ArrayList<PatternCell>
- |
- BoxPattern.getPatternCells()
- |
-
PatternCell
- getCell(android.graphics.Rect bound,
- android.graphics.Point point)
- PatternCell
getCell(android.graphics.Rect bound,
- android.graphics.Point point)
+ href="../../../../../com/kevalpatel/passcodeview/patternCells/CirclePatternCell.Builder.html#buildInternal-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">buildInternal(Rect bound,
+ PatternPoint point)
abstract PatternCell
@@ -347,8 +315,11 @@ getCell(android.graphics.Rect bound,
- android.graphics.Point point)
+ href="../../../../../com/kevalpatel/passcodeview/patternCells/PatternCell.Builder.html#buildInternal-android.graphics.Rect-com.kevalpatel.passcodeview.patternCells.PatternPoint-">buildInternal(Rect bound,
+ PatternPoint point)
PatternView.PasscodeViewPatternAuthenticator.
|
(package private) static boolean |
- Utils.
|
+ PatternAuthenticator.isPatternMatched(isValidPattern(ArrayList<PatternPoint[] correctPattern,
- java.util.ArrayList<PatternCell> patternToCheck)
- Check if the both pattern matches? It uses
+ title="class in com.kevalpatel.passcodeview.patternCells">PatternPoint> patternPoints)
equals(Object)
- to match row and
- column number of both pattern poins.
- |
void |
- PatternView.
|
+ PasscodeViewPatternAuthenticator.setCorrectPattern(isValidPattern(ArrayList<PatternPoint> patternPoints)
+ |
+
Constructor and Description | +
---|
PasscodeViewPatternAuthenticator(PatternPoint[] correctPattern)
|
@@ -179,6 +213,170 @@
Modifier and Type | +Field and Description | +
---|---|
private PatternPoint
+ |
+ PatternCell.mPoint
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PatternPoint
+ |
+ PatternCell.getPoint()
+ |
+
Modifier and Type | +Method and Description | +
---|---|
DotPatternCell
+ |
+ DotPatternCell.Builder.buildInternal(Rect bound,
+ PatternPoint point)
+ |
+
PatternCell
+ |
+ CirclePatternCell.Builder.buildInternal(Rect bound,
+ PatternPoint point)
+ |
+
abstract PatternCell
+ |
+ PatternCell.Builder.buildInternal(Rect bound,
+ PatternPoint point)
+ |
+
Constructor and Description | +
---|
CirclePatternCell(CirclePatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
+ |
+
DotPatternCell(DotPatternCell.Builder builder,
+ Rect bound,
+ PatternPoint point)
+ |
+
PatternCell(PatternCell.Builder builder,
+ Rect bound,
+ PatternPoint location)
+ |
+
Class and Description | +
---|
PatternPoint
+ href="../../../../com/kevalpatel/passcodeview/patternCells/class-use/PatternPoint.html#com.kevalpatel.passcodeview.authenticator">PatternPoint
Created by Keval on 19-Apr-17.
|
Class and Description | @@ -157,13 +192,13 @@PatternCell
+ href="../../../../com/kevalpatel/passcodeview/patternCells/class-use/PatternCell.html#com.kevalpatel.passcodeview.internal">PatternCell
Created by Keval Patel on 07/04/17.
|
---|---|
PatternCell.Builder + href="../../../../com/kevalpatel/passcodeview/patternCells/class-use/PatternCell.Builder.html#com.kevalpatel.passcodeview.internal">PatternCell.Builder | DotPatternCell.Builder
+ href="../../../../com/kevalpatel/passcodeview/patternCells/class-use/DotPatternCell.html#com.kevalpatel.passcodeview.patternCells">DotPatternCell
+ Created by Keval on 06-Apr-17.
|
DotPatternCell.Builder + | +|
PatternCell
Created by Keval Patel on 07/04/17.
|
|
PatternCell.Builder | |
PatternPoint
+ Created by Keval on 19-Apr-17.
+ |
+
public class AuthenticatedActivity
-extends android.support.v7.app.AppCompatActivity
+extends AppCompatActivity
android.support.v4.app.SupportActivity.ExtraData
SupportActivity.ExtraData
+ DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE,
- DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL,
- DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED,
- RESULT_FIRST_USER, RESULT_OK
DEFAULT_KEYS_DIALER,
+ DEFAULT_KEYS_DISABLE,
+ DEFAULT_KEYS_SEARCH_GLOBAL,
+ DEFAULT_KEYS_SEARCH_LOCAL,
+ DEFAULT_KEYS_SHORTCUT,
+ FOCUSED_STATE_SET,
+ RESULT_CANCELED,
+ RESULT_FIRST_USER,
+ RESULT_OK
+ ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE,
- ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE,
- AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT,
- BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT,
- BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE,
- BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY,
- BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE,
- CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE,
- COMPANION_DEVICE_SERVICE, CONNECTIVITY_SERVICE,
- CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY,
- CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE,
- DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE,
- FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE,
- INPUT_METHOD_SERVICE, INPUT_SERVICE, JOB_SCHEDULER_SERVICE,
- KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE,
- LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE,
- MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE,
- MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND,
- MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS,
- MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE,
- MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE,
- NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE,
- RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE,
- SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE,
- STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE,
- TELECOM_SERVICE, TELEPHONY_SERVICE,
- TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE,
- TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE,
- UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE,
- VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE,
- WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
ACCESSIBILITY_SERVICE,
+ ACCOUNT_SERVICE,
+ ACTIVITY_SERVICE,
+ ALARM_SERVICE,
+ APP_OPS_SERVICE,
+ APPWIDGET_SERVICE,
+ AUDIO_SERVICE,
+ BATTERY_SERVICE,
+ BIND_ABOVE_CLIENT,
+ BIND_ADJUST_WITH_ACTIVITY,
+ BIND_ALLOW_OOM_MANAGEMENT,
+ BIND_AUTO_CREATE,
+ BIND_DEBUG_UNBIND,
+ BIND_EXTERNAL_SERVICE,
+ BIND_IMPORTANT,
+ BIND_NOT_FOREGROUND,
+ BIND_WAIVE_PRIORITY,
+ BLUETOOTH_SERVICE,
+ CAMERA_SERVICE,
+ CAPTIONING_SERVICE,
+ CARRIER_CONFIG_SERVICE,
+ CLIPBOARD_SERVICE,
+ COMPANION_DEVICE_SERVICE,
+ CONNECTIVITY_SERVICE,
+ CONSUMER_IR_SERVICE,
+ CONTEXT_IGNORE_SECURITY,
+ CONTEXT_INCLUDE_CODE,
+ CONTEXT_RESTRICTED,
+ DEVICE_POLICY_SERVICE,
+ DISPLAY_SERVICE,
+ DOWNLOAD_SERVICE,
+ DROPBOX_SERVICE,
+ FINGERPRINT_SERVICE,
+ HARDWARE_PROPERTIES_SERVICE,
+ INPUT_METHOD_SERVICE,
+ INPUT_SERVICE,
+ JOB_SCHEDULER_SERVICE,
+ KEYGUARD_SERVICE,
+ LAUNCHER_APPS_SERVICE,
+ LAYOUT_INFLATER_SERVICE,
+ LOCATION_SERVICE,
+ MEDIA_PROJECTION_SERVICE,
+ MEDIA_ROUTER_SERVICE,
+ MEDIA_SESSION_SERVICE,
+ MIDI_SERVICE,
+ MODE_APPEND,
+ MODE_ENABLE_WRITE_AHEAD_LOGGING,
+ MODE_MULTI_PROCESS,
+ MODE_NO_LOCALIZED_COLLATORS,
+ MODE_PRIVATE,
+ MODE_WORLD_READABLE,
+ MODE_WORLD_WRITEABLE,
+ NETWORK_STATS_SERVICE,
+ NFC_SERVICE,
+ NOTIFICATION_SERVICE,
+ NSD_SERVICE,
+ POWER_SERVICE,
+ PRINT_SERVICE,
+ RECEIVER_VISIBLE_TO_INSTANT_APPS,
+ RESTRICTIONS_SERVICE,
+ SEARCH_SERVICE,
+ SENSOR_SERVICE,
+ SHORTCUT_SERVICE,
+ STORAGE_SERVICE,
+ STORAGE_STATS_SERVICE,
+ SYSTEM_HEALTH_SERVICE,
+ TELECOM_SERVICE,
+ TELEPHONY_SERVICE,
+ TELEPHONY_SUBSCRIPTION_SERVICE,
+ TEXT_CLASSIFICATION_SERVICE,
+ TEXT_SERVICES_MANAGER_SERVICE,
+ TV_INPUT_SERVICE,
+ UI_MODE_SERVICE,
+ USAGE_STATS_SERVICE,
+ USB_SERVICE,
+ USER_SERVICE,
+ VIBRATOR_SERVICE,
+ WALLPAPER_SERVICE,
+ WIFI_AWARE_SERVICE,
+ WIFI_P2P_SERVICE,
+ WIFI_SERVICE,
+ WINDOW_SERVICE
+ TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE,
- TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL,
- TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE,
- TRIM_MEMORY_UI_HIDDEN
TRIM_MEMORY_BACKGROUND,
+ TRIM_MEMORY_COMPLETE,
+ TRIM_MEMORY_MODERATE,
+ TRIM_MEMORY_RUNNING_CRITICAL,
+ TRIM_MEMORY_RUNNING_LOW,
+ TRIM_MEMORY_RUNNING_MODERATE,
+ TRIM_MEMORY_UI_HIDDEN
+ protected void
onCreate(android.os.Bundle savedInstanceState)
+ href="../../../com/securelockview/sample/AuthenticatedActivity.html#onCreate-android.os.Bundle-">onCreate(Bundle savedInstanceState)
addContentView, closeOptionsMenu, dispatchKeyEvent,
- findViewById, getDelegate, getDrawerToggleDelegate,
- getMenuInflater, getResources, getSupportActionBar,
- getSupportParentActivityIntent, invalidateOptionsMenu,
- onConfigurationChanged, onContentChanged,
- onCreateSupportNavigateUpTaskStack, onDestroy, onKeyDown,
- onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate,
- onPostResume, onPrepareSupportNavigateUpTaskStack,
- onSaveInstanceState, onStart, onStop,
- onSupportActionModeFinished, onSupportActionModeStarted,
- onSupportContentChanged, onSupportNavigateUp, onTitleChanged,
- onWindowStartingSupportActionMode, openOptionsMenu,
- setContentView, setContentView, setContentView,
- setSupportActionBar, setSupportProgress,
- setSupportProgressBarIndeterminate,
- setSupportProgressBarIndeterminateVisibility,
- setSupportProgressBarVisibility, setTheme,
- startSupportActionMode, supportInvalidateOptionsMenu,
- supportNavigateUpTo, supportRequestWindowFeature,
- supportShouldUpRecreateTask
+ addContentView,
+ closeOptionsMenu,
+ dispatchKeyEvent,
+ findViewById,
+ getDelegate,
+ getDrawerToggleDelegate,
+ getMenuInflater,
+ getResources,
+ getSupportActionBar,
+ getSupportParentActivityIntent,
+ invalidateOptionsMenu,
+ onConfigurationChanged,
+ onContentChanged,
+ onCreateSupportNavigateUpTaskStack,
+ onDestroy,
+ onKeyDown,
+ onMenuItemSelected,
+ onMenuOpened,
+ onPanelClosed,
+ onPostCreate,
+ onPostResume,
+ onPrepareSupportNavigateUpTaskStack,
+ onSaveInstanceState,
+ onStart,
+ onStop,
+ onSupportActionModeFinished,
+ onSupportActionModeStarted,
+ onSupportContentChanged,
+ onSupportNavigateUp,
+ onTitleChanged,
+ onWindowStartingSupportActionMode,
+ openOptionsMenu,
+ setContentView,
+ setContentView,
+ setContentView,
+ setSupportActionBar,
+ setSupportProgress,
+ setSupportProgressBarIndeterminate,
+ setSupportProgressBarIndeterminateVisibility,
+ setSupportProgressBarVisibility,
+ setTheme,
+ startSupportActionMode,
+ supportInvalidateOptionsMenu,
+ supportNavigateUpTo,
+ supportRequestWindowFeature,
+ supportShouldUpRecreateTask
+
dump, getLastCustomNonConfigurationInstance, getLifecycle,
- getSupportFragmentManager, getSupportLoaderManager,
- getViewModelStore, onActivityResult, onAttachFragment,
- onBackPressed, onCreatePanelMenu, onLowMemory,
- onMultiWindowModeChanged, onNewIntent, onPause,
- onPictureInPictureModeChanged, onPrepareOptionsPanel,
- onPreparePanel, onRequestPermissionsResult, onResume,
- onResumeFragments, onRetainCustomNonConfigurationInstance,
- onRetainNonConfigurationInstance, onStateNotSaved,
- setEnterSharedElementCallback, setExitSharedElementCallback,
- startActivityForResult, startActivityFromFragment,
- startActivityFromFragment, startIntentSenderFromFragment,
- supportFinishAfterTransition, supportPostponeEnterTransition,
- supportStartPostponedEnterTransition,
- validateRequestPermissionsRequestCode
dump,
+ getLastCustomNonConfigurationInstance,
+ getLifecycle,
+ getSupportFragmentManager,
+ getSupportLoaderManager,
+ getViewModelStore,
+ onActivityResult,
+ onAttachFragment,
+ onBackPressed,
+ onCreatePanelMenu,
+ onLowMemory,
+ onMultiWindowModeChanged,
+ onNewIntent,
+ onPause,
+ onPictureInPictureModeChanged,
+ onPrepareOptionsPanel,
+ onPreparePanel,
+ onRequestPermissionsResult,
+ onResume,
+ onResumeFragments,
+ onRetainCustomNonConfigurationInstance,
+ onRetainNonConfigurationInstance,
+ onStateNotSaved,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ startActivityForResult,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startIntentSenderFromFragment,
+ supportFinishAfterTransition,
+ supportPostponeEnterTransition,
+ supportStartPostponedEnterTransition,
+ validateRequestPermissionsRequestCode
+
getExtraData, putExtraData
getExtraData,
+ putExtraData
+
attachBaseContext, closeContextMenu, createPendingResult,
- dismissDialog, dismissKeyboardShortcutsHelper,
- dispatchGenericMotionEvent, dispatchKeyShortcutEvent,
- dispatchPopulateAccessibilityEvent, dispatchTouchEvent,
- dispatchTrackballEvent, enterPictureInPictureMode,
- enterPictureInPictureMode, finish, finishActivity,
- finishActivityFromChild, finishAffinity, finishAfterTransition,
- finishAndRemoveTask, finishFromChild, getActionBar,
- getApplication, getCallingActivity, getCallingPackage,
- getChangingConfigurations, getComponentName, getContentScene,
- getContentTransitionManager, getCurrentFocus,
- getFragmentManager, getIntent, getLastNonConfigurationInstance,
- getLayoutInflater, getLoaderManager, getLocalClassName,
- getMaxNumPictureInPictureActions, getMediaController, getParent,
- getParentActivityIntent, getPreferences, getReferrer,
- getRequestedOrientation, getSearchEvent, getSystemService,
- getTaskId, getTitle, getTitleColor, getVoiceInteractor,
- getVolumeControlStream, getWindow, getWindowManager,
- hasWindowFocus, isActivityTransitionRunning,
- isChangingConfigurations, isChild, isDestroyed, isFinishing,
- isImmersive, isInMultiWindowMode, isInPictureInPictureMode,
- isLocalVoiceInteractionSupported, isTaskRoot,
- isVoiceInteraction, isVoiceInteractionRoot, managedQuery,
- moveTaskToBack, navigateUpTo, navigateUpToFromChild,
- onActionModeFinished, onActionModeStarted, onActivityReenter,
- onApplyThemeResource, onAttachedToWindow, onAttachFragment,
- onChildTitleChanged, onContextItemSelected, onContextMenuClosed,
- onCreate, onCreateContextMenu, onCreateDescription,
- onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack,
- onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail,
- onDetachedFromWindow, onEnterAnimationComplete,
- onGenericMotionEvent, onKeyLongPress, onKeyMultiple,
- onKeyShortcut, onKeyUp, onLocalVoiceInteractionStarted,
- onLocalVoiceInteractionStopped, onMultiWindowModeChanged,
- onNavigateUp, onNavigateUpFromChild, onOptionsItemSelected,
- onOptionsMenuClosed, onPictureInPictureModeChanged,
- onPostCreate, onPrepareDialog, onPrepareDialog,
- onPrepareNavigateUpTaskStack, onPrepareOptionsMenu,
- onProvideAssistContent, onProvideAssistData,
- onProvideKeyboardShortcuts, onProvideReferrer, onRestart,
- onRestoreInstanceState, onRestoreInstanceState,
- onSaveInstanceState, onSearchRequested, onSearchRequested,
- onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction,
- onUserLeaveHint, onVisibleBehindCanceled,
- onWindowAttributesChanged, onWindowFocusChanged,
- onWindowStartingActionMode, onWindowStartingActionMode,
- openContextMenu, overridePendingTransition,
- postponeEnterTransition, recreate, registerForContextMenu,
- releaseInstance, removeDialog, reportFullyDrawn,
- requestDragAndDropPermissions, requestPermissions,
- requestShowKeyboardShortcuts, requestVisibleBehind,
- requestWindowFeature, runOnUiThread, setActionBar,
- setContentTransitionManager, setDefaultKeyMode,
- setEnterSharedElementCallback, setExitSharedElementCallback,
- setFeatureDrawable, setFeatureDrawableAlpha,
- setFeatureDrawableResource, setFeatureDrawableUri,
- setFinishOnTouchOutside, setImmersive, setIntent,
- setMediaController, setPictureInPictureParams, setProgress,
- setProgressBarIndeterminate,
- setProgressBarIndeterminateVisibility, setProgressBarVisibility,
- setRequestedOrientation, setResult, setResult,
- setSecondaryProgress, setShowWhenLocked, setTaskDescription,
- setTitle, setTitle, setTitleColor, setTurnScreenOn, setVisible,
- setVolumeControlStream, setVrModeEnabled,
- shouldShowRequestPermissionRationale, shouldUpRecreateTask,
- showAssist, showDialog, showDialog, showLockTaskEscapeMessage,
- startActionMode, startActionMode, startActivities,
- startActivities, startActivity, startActivity,
- startActivityFromChild, startActivityFromChild,
- startActivityFromFragment, startActivityFromFragment,
- startActivityIfNeeded, startActivityIfNeeded, startIntentSender,
- startIntentSender, startIntentSenderFromChild,
- startIntentSenderFromChild, startLocalVoiceInteraction,
- startLockTask, startManagingCursor, startNextMatchingActivity,
- startNextMatchingActivity, startPostponedEnterTransition,
- startSearch, stopLocalVoiceInteraction, stopLockTask,
- stopManagingCursor, takeKeyEvents, triggerSearch,
- unregisterForContextMenu
attachBaseContext,
+ closeContextMenu,
+ createPendingResult,
+ dismissDialog,
+ dismissKeyboardShortcutsHelper,
+ dispatchGenericMotionEvent,
+ dispatchKeyShortcutEvent,
+ dispatchPopulateAccessibilityEvent,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ enterPictureInPictureMode,
+ enterPictureInPictureMode,
+ finish, finishActivity,
+ finishActivityFromChild,
+ finishAffinity,
+ finishAfterTransition,
+ finishAndRemoveTask,
+ finishFromChild,
+ getActionBar,
+ getApplication,
+ getCallingActivity,
+ getCallingPackage,
+ getChangingConfigurations,
+ getComponentName,
+ getContentScene,
+ getContentTransitionManager,
+ getCurrentFocus,
+ getFragmentManager,
+ getIntent, getLastNonConfigurationInstance,
+ getLayoutInflater,
+ getLoaderManager,
+ getLocalClassName,
+ getMaxNumPictureInPictureActions,
+ getMediaController,
+ getParent, getParentActivityIntent,
+ getPreferences,
+ getReferrer, getRequestedOrientation,
+ getSearchEvent,
+ getSystemService,
+ getTaskId, getTitle,
+ getTitleColor,
+ getVoiceInteractor,
+ getVolumeControlStream,
+ getWindow, getWindowManager,
+ hasWindowFocus,
+ isActivityTransitionRunning,
+ isChangingConfigurations,
+ isChild, isDestroyed,
+ isFinishing, isImmersive,
+ isInMultiWindowMode,
+ isInPictureInPictureMode,
+ isLocalVoiceInteractionSupported,
+ isTaskRoot, isVoiceInteraction,
+ isVoiceInteractionRoot,
+ managedQuery,
+ moveTaskToBack,
+ navigateUpTo,
+ navigateUpToFromChild,
+ onActionModeFinished,
+ onActionModeStarted,
+ onActivityReenter,
+ onApplyThemeResource,
+ onAttachedToWindow,
+ onAttachFragment,
+ onChildTitleChanged,
+ onContextItemSelected,
+ onContextMenuClosed,
+ onCreate, onCreateContextMenu,
+ onCreateDescription,
+ onCreateDialog,
+ onCreateDialog,
+ onCreateNavigateUpTaskStack,
+ onCreateOptionsMenu,
+ onCreatePanelView,
+ onCreateThumbnail,
+ onDetachedFromWindow,
+ onEnterAnimationComplete,
+ onGenericMotionEvent,
+ onKeyLongPress,
+ onKeyMultiple,
+ onKeyShortcut,
+ onKeyUp, onLocalVoiceInteractionStarted,
+ onLocalVoiceInteractionStopped,
+ onMultiWindowModeChanged,
+ onNavigateUp,
+ onNavigateUpFromChild,
+ onOptionsItemSelected,
+ onOptionsMenuClosed,
+ onPictureInPictureModeChanged,
+ onPostCreate,
+ onPrepareDialog,
+ onPrepareDialog,
+ onPrepareNavigateUpTaskStack,
+ onPrepareOptionsMenu,
+ onProvideAssistContent,
+ onProvideAssistData,
+ onProvideKeyboardShortcuts,
+ onProvideReferrer,
+ onRestart, onRestoreInstanceState,
+ onRestoreInstanceState,
+ onSaveInstanceState,
+ onSearchRequested,
+ onSearchRequested,
+ onTouchEvent,
+ onTrackballEvent,
+ onTrimMemory,
+ onUserInteraction,
+ onUserLeaveHint,
+ onVisibleBehindCanceled,
+ onWindowAttributesChanged,
+ onWindowFocusChanged,
+ onWindowStartingActionMode,
+ onWindowStartingActionMode,
+ openContextMenu,
+ overridePendingTransition,
+ postponeEnterTransition,
+ recreate, registerForContextMenu,
+ releaseInstance,
+ removeDialog,
+ reportFullyDrawn,
+ requestDragAndDropPermissions,
+ requestPermissions,
+ requestShowKeyboardShortcuts,
+ requestVisibleBehind,
+ requestWindowFeature,
+ runOnUiThread,
+ setActionBar,
+ setContentTransitionManager,
+ setDefaultKeyMode,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ setFeatureDrawable,
+ setFeatureDrawableAlpha,
+ setFeatureDrawableResource,
+ setFeatureDrawableUri,
+ setFinishOnTouchOutside,
+ setImmersive,
+ setIntent, setMediaController,
+ setPictureInPictureParams,
+ setProgress, setProgressBarIndeterminate,
+ setProgressBarIndeterminateVisibility,
+ setProgressBarVisibility,
+ setRequestedOrientation,
+ setResult, setResult,
+ setSecondaryProgress,
+ setShowWhenLocked,
+ setTaskDescription,
+ setTitle, setTitle,
+ setTitleColor,
+ setTurnScreenOn,
+ setVisible, setVolumeControlStream,
+ setVrModeEnabled,
+ shouldShowRequestPermissionRationale,
+ shouldUpRecreateTask,
+ showAssist, showDialog,
+ showDialog, showLockTaskEscapeMessage,
+ startActionMode,
+ startActionMode,
+ startActivities,
+ startActivities,
+ startActivity,
+ startActivity,
+ startActivityFromChild,
+ startActivityFromChild,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startActivityIfNeeded,
+ startActivityIfNeeded,
+ startIntentSender,
+ startIntentSender,
+ startIntentSenderFromChild,
+ startIntentSenderFromChild,
+ startLocalVoiceInteraction,
+ startLockTask,
+ startManagingCursor,
+ startNextMatchingActivity,
+ startNextMatchingActivity,
+ startPostponedEnterTransition,
+ startSearch, stopLocalVoiceInteraction,
+ stopLockTask,
+ stopManagingCursor,
+ takeKeyEvents,
+ triggerSearch,
+ unregisterForContextMenu
+
applyOverrideConfiguration, getAssets, getTheme
applyOverrideConfiguration,
+ getAssets, getTheme
+
bindService, checkCallingOrSelfPermission,
- checkCallingOrSelfUriPermission, checkCallingPermission,
- checkCallingUriPermission, checkPermission, checkSelfPermission,
- checkUriPermission, checkUriPermission, clearWallpaper,
- createConfigurationContext, createContextForSplit,
- createDeviceProtectedStorageContext, createDisplayContext,
- createPackageContext, databaseList, deleteDatabase, deleteFile,
- deleteSharedPreferences, enforceCallingOrSelfPermission,
- enforceCallingOrSelfUriPermission, enforceCallingPermission,
- enforceCallingUriPermission, enforcePermission,
- enforceUriPermission, enforceUriPermission, fileList,
- getApplicationContext, getApplicationInfo, getBaseContext,
- getCacheDir, getClassLoader, getCodeCacheDir,
- getContentResolver, getDatabasePath, getDataDir, getDir,
- getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir,
- getExternalFilesDirs, getExternalMediaDirs, getFilesDir,
- getFileStreamPath, getMainLooper, getNoBackupFilesDir,
- getObbDir, getObbDirs, getPackageCodePath, getPackageManager,
- getPackageName, getPackageResourcePath, getSharedPreferences,
- getSystemServiceName, getWallpaper,
- getWallpaperDesiredMinimumHeight,
- getWallpaperDesiredMinimumWidth, grantUriPermission,
- isDeviceProtectedStorage, isRestricted, moveDatabaseFrom,
- moveSharedPreferencesFrom, openFileInput, openFileOutput,
- openOrCreateDatabase, openOrCreateDatabase, peekWallpaper,
- registerReceiver, registerReceiver, registerReceiver,
- registerReceiver, removeStickyBroadcast,
- removeStickyBroadcastAsUser, revokeUriPermission,
- revokeUriPermission, sendBroadcast, sendBroadcast,
- sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast,
- sendOrderedBroadcast, sendOrderedBroadcastAsUser,
- sendStickyBroadcast, sendStickyBroadcastAsUser,
- sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser,
- setWallpaper, setWallpaper, startForegroundService,
- startInstrumentation, startService, stopService, unbindService,
- unregisterReceiver
bindService,
+ checkCallingOrSelfPermission,
+ checkCallingOrSelfUriPermission,
+ checkCallingPermission,
+ checkCallingUriPermission,
+ checkPermission,
+ checkSelfPermission,
+ checkUriPermission,
+ checkUriPermission,
+ clearWallpaper,
+ createConfigurationContext,
+ createContextForSplit,
+ createDeviceProtectedStorageContext,
+ createDisplayContext,
+ createPackageContext,
+ databaseList,
+ deleteDatabase,
+ deleteFile,
+ deleteSharedPreferences,
+ enforceCallingOrSelfPermission,
+ enforceCallingOrSelfUriPermission,
+ enforceCallingPermission,
+ enforceCallingUriPermission,
+ enforcePermission,
+ enforceUriPermission,
+ enforceUriPermission,
+ fileList,
+ getApplicationContext,
+ getApplicationInfo,
+ getBaseContext,
+ getCacheDir,
+ getClassLoader,
+ getCodeCacheDir,
+ getContentResolver,
+ getDatabasePath,
+ getDataDir,
+ getDir, getExternalCacheDir,
+ getExternalCacheDirs,
+ getExternalFilesDir,
+ getExternalFilesDirs,
+ getExternalMediaDirs,
+ getFilesDir,
+ getFileStreamPath,
+ getMainLooper,
+ getNoBackupFilesDir,
+ getObbDir,
+ getObbDirs,
+ getPackageCodePath,
+ getPackageManager,
+ getPackageName,
+ getPackageResourcePath,
+ getSharedPreferences,
+ getSystemServiceName,
+ getWallpaper,
+ getWallpaperDesiredMinimumHeight,
+ getWallpaperDesiredMinimumWidth,
+ grantUriPermission,
+ isDeviceProtectedStorage,
+ isRestricted,
+ moveDatabaseFrom,
+ moveSharedPreferencesFrom,
+ openFileInput,
+ openFileOutput,
+ openOrCreateDatabase,
+ openOrCreateDatabase,
+ peekWallpaper,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ removeStickyBroadcast,
+ removeStickyBroadcastAsUser,
+ revokeUriPermission,
+ revokeUriPermission,
+ sendBroadcast,
+ sendBroadcast,
+ sendBroadcastAsUser,
+ sendBroadcastAsUser,
+ sendOrderedBroadcast,
+ sendOrderedBroadcast,
+ sendOrderedBroadcastAsUser,
+ sendStickyBroadcast,
+ sendStickyBroadcastAsUser,
+ sendStickyOrderedBroadcast,
+ sendStickyOrderedBroadcastAsUser,
+ setWallpaper,
+ setWallpaper,
+ startForegroundService,
+ startInstrumentation,
+ startService,
+ stopService,
+ unbindService,
+ unregisterReceiver
+
getColor, getColorStateList, getDrawable, getString,
- getString, getSystemService, getText, obtainStyledAttributes,
- obtainStyledAttributes, obtainStyledAttributes,
- obtainStyledAttributes, registerComponentCallbacks,
- unregisterComponentCallbacks
getColor,
+ getColorStateList,
+ getDrawable,
+ getString,
+ getString,
+ getSystemService,
+ getText, obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ registerComponentCallbacks,
+ unregisterComponentCallbacks
+
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPointerCaptureChanged
onPointerCaptureChanged
+
protected void onCreate(@Nullable - android.os.Bundle savedInstanceState)+
protected void onCreate(@Nullable + Bundle savedInstanceState)
onCreate
in class android.support.v7.app.AppCompatActivity
+ onCreate
in
+ class AppCompatActivity
public class MainActivity +extends AppCompatActivity+
SupportActivity.ExtraData
+ DEFAULT_KEYS_DIALER,
+ DEFAULT_KEYS_DISABLE,
+ DEFAULT_KEYS_SEARCH_GLOBAL,
+ DEFAULT_KEYS_SEARCH_LOCAL,
+ DEFAULT_KEYS_SHORTCUT,
+ FOCUSED_STATE_SET,
+ RESULT_CANCELED,
+ RESULT_FIRST_USER,
+ RESULT_OK
+ ACCESSIBILITY_SERVICE,
+ ACCOUNT_SERVICE,
+ ACTIVITY_SERVICE,
+ ALARM_SERVICE,
+ APP_OPS_SERVICE,
+ APPWIDGET_SERVICE,
+ AUDIO_SERVICE,
+ BATTERY_SERVICE,
+ BIND_ABOVE_CLIENT,
+ BIND_ADJUST_WITH_ACTIVITY,
+ BIND_ALLOW_OOM_MANAGEMENT,
+ BIND_AUTO_CREATE,
+ BIND_DEBUG_UNBIND,
+ BIND_EXTERNAL_SERVICE,
+ BIND_IMPORTANT,
+ BIND_NOT_FOREGROUND,
+ BIND_WAIVE_PRIORITY,
+ BLUETOOTH_SERVICE,
+ CAMERA_SERVICE,
+ CAPTIONING_SERVICE,
+ CARRIER_CONFIG_SERVICE,
+ CLIPBOARD_SERVICE,
+ COMPANION_DEVICE_SERVICE,
+ CONNECTIVITY_SERVICE,
+ CONSUMER_IR_SERVICE,
+ CONTEXT_IGNORE_SECURITY,
+ CONTEXT_INCLUDE_CODE,
+ CONTEXT_RESTRICTED,
+ DEVICE_POLICY_SERVICE,
+ DISPLAY_SERVICE,
+ DOWNLOAD_SERVICE,
+ DROPBOX_SERVICE,
+ FINGERPRINT_SERVICE,
+ HARDWARE_PROPERTIES_SERVICE,
+ INPUT_METHOD_SERVICE,
+ INPUT_SERVICE,
+ JOB_SCHEDULER_SERVICE,
+ KEYGUARD_SERVICE,
+ LAUNCHER_APPS_SERVICE,
+ LAYOUT_INFLATER_SERVICE,
+ LOCATION_SERVICE,
+ MEDIA_PROJECTION_SERVICE,
+ MEDIA_ROUTER_SERVICE,
+ MEDIA_SESSION_SERVICE,
+ MIDI_SERVICE,
+ MODE_APPEND,
+ MODE_ENABLE_WRITE_AHEAD_LOGGING,
+ MODE_MULTI_PROCESS,
+ MODE_NO_LOCALIZED_COLLATORS,
+ MODE_PRIVATE,
+ MODE_WORLD_READABLE,
+ MODE_WORLD_WRITEABLE,
+ NETWORK_STATS_SERVICE,
+ NFC_SERVICE,
+ NOTIFICATION_SERVICE,
+ NSD_SERVICE,
+ POWER_SERVICE,
+ PRINT_SERVICE,
+ RECEIVER_VISIBLE_TO_INSTANT_APPS,
+ RESTRICTIONS_SERVICE,
+ SEARCH_SERVICE,
+ SENSOR_SERVICE,
+ SHORTCUT_SERVICE,
+ STORAGE_SERVICE,
+ STORAGE_STATS_SERVICE,
+ SYSTEM_HEALTH_SERVICE,
+ TELECOM_SERVICE,
+ TELEPHONY_SERVICE,
+ TELEPHONY_SUBSCRIPTION_SERVICE,
+ TEXT_CLASSIFICATION_SERVICE,
+ TEXT_SERVICES_MANAGER_SERVICE,
+ TV_INPUT_SERVICE,
+ UI_MODE_SERVICE,
+ USAGE_STATS_SERVICE,
+ USB_SERVICE,
+ USER_SERVICE,
+ VIBRATOR_SERVICE,
+ WALLPAPER_SERVICE,
+ WIFI_AWARE_SERVICE,
+ WIFI_P2P_SERVICE,
+ WIFI_SERVICE,
+ WINDOW_SERVICE
+ TRIM_MEMORY_BACKGROUND,
+ TRIM_MEMORY_COMPLETE,
+ TRIM_MEMORY_MODERATE,
+ TRIM_MEMORY_RUNNING_CRITICAL,
+ TRIM_MEMORY_RUNNING_LOW,
+ TRIM_MEMORY_RUNNING_MODERATE,
+ TRIM_MEMORY_UI_HIDDEN
+ Constructor and Description | +
---|
MainActivity()
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+ onCreate(Bundle savedInstanceState)
+ |
+
addContentView,
+ closeOptionsMenu,
+ dispatchKeyEvent,
+ findViewById,
+ getDelegate,
+ getDrawerToggleDelegate,
+ getMenuInflater,
+ getResources,
+ getSupportActionBar,
+ getSupportParentActivityIntent,
+ invalidateOptionsMenu,
+ onConfigurationChanged,
+ onContentChanged,
+ onCreateSupportNavigateUpTaskStack,
+ onDestroy,
+ onKeyDown,
+ onMenuItemSelected,
+ onMenuOpened,
+ onPanelClosed,
+ onPostCreate,
+ onPostResume,
+ onPrepareSupportNavigateUpTaskStack,
+ onSaveInstanceState,
+ onStart,
+ onStop,
+ onSupportActionModeFinished,
+ onSupportActionModeStarted,
+ onSupportContentChanged,
+ onSupportNavigateUp,
+ onTitleChanged,
+ onWindowStartingSupportActionMode,
+ openOptionsMenu,
+ setContentView,
+ setContentView,
+ setContentView,
+ setSupportActionBar,
+ setSupportProgress,
+ setSupportProgressBarIndeterminate,
+ setSupportProgressBarIndeterminateVisibility,
+ setSupportProgressBarVisibility,
+ setTheme,
+ startSupportActionMode,
+ supportInvalidateOptionsMenu,
+ supportNavigateUpTo,
+ supportRequestWindowFeature,
+ supportShouldUpRecreateTask
+ dump,
+ getLastCustomNonConfigurationInstance,
+ getLifecycle,
+ getSupportFragmentManager,
+ getSupportLoaderManager,
+ getViewModelStore,
+ onActivityResult,
+ onAttachFragment,
+ onBackPressed,
+ onCreatePanelMenu,
+ onLowMemory,
+ onMultiWindowModeChanged,
+ onNewIntent,
+ onPause,
+ onPictureInPictureModeChanged,
+ onPrepareOptionsPanel,
+ onPreparePanel,
+ onRequestPermissionsResult,
+ onResume,
+ onResumeFragments,
+ onRetainCustomNonConfigurationInstance,
+ onRetainNonConfigurationInstance,
+ onStateNotSaved,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ startActivityForResult,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startIntentSenderFromFragment,
+ supportFinishAfterTransition,
+ supportPostponeEnterTransition,
+ supportStartPostponedEnterTransition,
+ validateRequestPermissionsRequestCode
+ getExtraData,
+ putExtraData
+ attachBaseContext,
+ closeContextMenu,
+ createPendingResult,
+ dismissDialog,
+ dismissKeyboardShortcutsHelper,
+ dispatchGenericMotionEvent,
+ dispatchKeyShortcutEvent,
+ dispatchPopulateAccessibilityEvent,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ enterPictureInPictureMode,
+ enterPictureInPictureMode,
+ finish, finishActivity,
+ finishActivityFromChild,
+ finishAffinity,
+ finishAfterTransition,
+ finishAndRemoveTask,
+ finishFromChild,
+ getActionBar,
+ getApplication,
+ getCallingActivity,
+ getCallingPackage,
+ getChangingConfigurations,
+ getComponentName,
+ getContentScene,
+ getContentTransitionManager,
+ getCurrentFocus,
+ getFragmentManager,
+ getIntent, getLastNonConfigurationInstance,
+ getLayoutInflater,
+ getLoaderManager,
+ getLocalClassName,
+ getMaxNumPictureInPictureActions,
+ getMediaController,
+ getParent, getParentActivityIntent,
+ getPreferences,
+ getReferrer, getRequestedOrientation,
+ getSearchEvent,
+ getSystemService,
+ getTaskId, getTitle,
+ getTitleColor,
+ getVoiceInteractor,
+ getVolumeControlStream,
+ getWindow, getWindowManager,
+ hasWindowFocus,
+ isActivityTransitionRunning,
+ isChangingConfigurations,
+ isChild, isDestroyed,
+ isFinishing, isImmersive,
+ isInMultiWindowMode,
+ isInPictureInPictureMode,
+ isLocalVoiceInteractionSupported,
+ isTaskRoot, isVoiceInteraction,
+ isVoiceInteractionRoot,
+ managedQuery,
+ moveTaskToBack,
+ navigateUpTo,
+ navigateUpToFromChild,
+ onActionModeFinished,
+ onActionModeStarted,
+ onActivityReenter,
+ onApplyThemeResource,
+ onAttachedToWindow,
+ onAttachFragment,
+ onChildTitleChanged,
+ onContextItemSelected,
+ onContextMenuClosed,
+ onCreate, onCreateContextMenu,
+ onCreateDescription,
+ onCreateDialog,
+ onCreateDialog,
+ onCreateNavigateUpTaskStack,
+ onCreateOptionsMenu,
+ onCreatePanelView,
+ onCreateThumbnail,
+ onDetachedFromWindow,
+ onEnterAnimationComplete,
+ onGenericMotionEvent,
+ onKeyLongPress,
+ onKeyMultiple,
+ onKeyShortcut,
+ onKeyUp, onLocalVoiceInteractionStarted,
+ onLocalVoiceInteractionStopped,
+ onMultiWindowModeChanged,
+ onNavigateUp,
+ onNavigateUpFromChild,
+ onOptionsItemSelected,
+ onOptionsMenuClosed,
+ onPictureInPictureModeChanged,
+ onPostCreate,
+ onPrepareDialog,
+ onPrepareDialog,
+ onPrepareNavigateUpTaskStack,
+ onPrepareOptionsMenu,
+ onProvideAssistContent,
+ onProvideAssistData,
+ onProvideKeyboardShortcuts,
+ onProvideReferrer,
+ onRestart, onRestoreInstanceState,
+ onRestoreInstanceState,
+ onSaveInstanceState,
+ onSearchRequested,
+ onSearchRequested,
+ onTouchEvent,
+ onTrackballEvent,
+ onTrimMemory,
+ onUserInteraction,
+ onUserLeaveHint,
+ onVisibleBehindCanceled,
+ onWindowAttributesChanged,
+ onWindowFocusChanged,
+ onWindowStartingActionMode,
+ onWindowStartingActionMode,
+ openContextMenu,
+ overridePendingTransition,
+ postponeEnterTransition,
+ recreate, registerForContextMenu,
+ releaseInstance,
+ removeDialog,
+ reportFullyDrawn,
+ requestDragAndDropPermissions,
+ requestPermissions,
+ requestShowKeyboardShortcuts,
+ requestVisibleBehind,
+ requestWindowFeature,
+ runOnUiThread,
+ setActionBar,
+ setContentTransitionManager,
+ setDefaultKeyMode,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ setFeatureDrawable,
+ setFeatureDrawableAlpha,
+ setFeatureDrawableResource,
+ setFeatureDrawableUri,
+ setFinishOnTouchOutside,
+ setImmersive,
+ setIntent, setMediaController,
+ setPictureInPictureParams,
+ setProgress, setProgressBarIndeterminate,
+ setProgressBarIndeterminateVisibility,
+ setProgressBarVisibility,
+ setRequestedOrientation,
+ setResult, setResult,
+ setSecondaryProgress,
+ setShowWhenLocked,
+ setTaskDescription,
+ setTitle, setTitle,
+ setTitleColor,
+ setTurnScreenOn,
+ setVisible, setVolumeControlStream,
+ setVrModeEnabled,
+ shouldShowRequestPermissionRationale,
+ shouldUpRecreateTask,
+ showAssist, showDialog,
+ showDialog, showLockTaskEscapeMessage,
+ startActionMode,
+ startActionMode,
+ startActivities,
+ startActivities,
+ startActivity,
+ startActivity,
+ startActivityFromChild,
+ startActivityFromChild,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startActivityIfNeeded,
+ startActivityIfNeeded,
+ startIntentSender,
+ startIntentSender,
+ startIntentSenderFromChild,
+ startIntentSenderFromChild,
+ startLocalVoiceInteraction,
+ startLockTask,
+ startManagingCursor,
+ startNextMatchingActivity,
+ startNextMatchingActivity,
+ startPostponedEnterTransition,
+ startSearch, stopLocalVoiceInteraction,
+ stopLockTask,
+ stopManagingCursor,
+ takeKeyEvents,
+ triggerSearch,
+ unregisterForContextMenu
+ applyOverrideConfiguration,
+ getAssets, getTheme
+ bindService,
+ checkCallingOrSelfPermission,
+ checkCallingOrSelfUriPermission,
+ checkCallingPermission,
+ checkCallingUriPermission,
+ checkPermission,
+ checkSelfPermission,
+ checkUriPermission,
+ checkUriPermission,
+ clearWallpaper,
+ createConfigurationContext,
+ createContextForSplit,
+ createDeviceProtectedStorageContext,
+ createDisplayContext,
+ createPackageContext,
+ databaseList,
+ deleteDatabase,
+ deleteFile,
+ deleteSharedPreferences,
+ enforceCallingOrSelfPermission,
+ enforceCallingOrSelfUriPermission,
+ enforceCallingPermission,
+ enforceCallingUriPermission,
+ enforcePermission,
+ enforceUriPermission,
+ enforceUriPermission,
+ fileList,
+ getApplicationContext,
+ getApplicationInfo,
+ getBaseContext,
+ getCacheDir,
+ getClassLoader,
+ getCodeCacheDir,
+ getContentResolver,
+ getDatabasePath,
+ getDataDir,
+ getDir, getExternalCacheDir,
+ getExternalCacheDirs,
+ getExternalFilesDir,
+ getExternalFilesDirs,
+ getExternalMediaDirs,
+ getFilesDir,
+ getFileStreamPath,
+ getMainLooper,
+ getNoBackupFilesDir,
+ getObbDir,
+ getObbDirs,
+ getPackageCodePath,
+ getPackageManager,
+ getPackageName,
+ getPackageResourcePath,
+ getSharedPreferences,
+ getSystemServiceName,
+ getWallpaper,
+ getWallpaperDesiredMinimumHeight,
+ getWallpaperDesiredMinimumWidth,
+ grantUriPermission,
+ isDeviceProtectedStorage,
+ isRestricted,
+ moveDatabaseFrom,
+ moveSharedPreferencesFrom,
+ openFileInput,
+ openFileOutput,
+ openOrCreateDatabase,
+ openOrCreateDatabase,
+ peekWallpaper,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ removeStickyBroadcast,
+ removeStickyBroadcastAsUser,
+ revokeUriPermission,
+ revokeUriPermission,
+ sendBroadcast,
+ sendBroadcast,
+ sendBroadcastAsUser,
+ sendBroadcastAsUser,
+ sendOrderedBroadcast,
+ sendOrderedBroadcast,
+ sendOrderedBroadcastAsUser,
+ sendStickyBroadcast,
+ sendStickyBroadcastAsUser,
+ sendStickyOrderedBroadcast,
+ sendStickyOrderedBroadcastAsUser,
+ setWallpaper,
+ setWallpaper,
+ startForegroundService,
+ startInstrumentation,
+ startService,
+ stopService,
+ unbindService,
+ unregisterReceiver
+ getColor,
+ getColorStateList,
+ getDrawable,
+ getString,
+ getString,
+ getSystemService,
+ getText, obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ registerComponentCallbacks,
+ unregisterComponentCallbacks
+ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPointerCaptureChanged
+ private static java.lang.String
+ private static String
ARG_CURRENT_PIN
@@ -237,60 +295,231 @@ DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE,
- DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL,
- DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED,
- RESULT_FIRST_USER, RESULT_OK
+ DEFAULT_KEYS_DIALER,
+ DEFAULT_KEYS_DISABLE,
+ DEFAULT_KEYS_SEARCH_GLOBAL,
+ DEFAULT_KEYS_SEARCH_LOCAL,
+ DEFAULT_KEYS_SHORTCUT,
+ FOCUSED_STATE_SET,
+ RESULT_CANCELED,
+ RESULT_FIRST_USER,
+ RESULT_OK
+
ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE,
- ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE,
- AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT,
- BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT,
- BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE,
- BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY,
- BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE,
- CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE,
- COMPANION_DEVICE_SERVICE, CONNECTIVITY_SERVICE,
- CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY,
- CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE,
- DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE,
- FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE,
- INPUT_METHOD_SERVICE, INPUT_SERVICE, JOB_SCHEDULER_SERVICE,
- KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE,
- LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE,
- MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE,
- MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND,
- MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS,
- MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE,
- MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE,
- NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE,
- RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE,
- SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE,
- STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE,
- TELECOM_SERVICE, TELEPHONY_SERVICE,
- TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE,
- TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE,
- UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE,
- VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE,
- WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
ACCESSIBILITY_SERVICE,
+ ACCOUNT_SERVICE,
+ ACTIVITY_SERVICE,
+ ALARM_SERVICE,
+ APP_OPS_SERVICE,
+ APPWIDGET_SERVICE,
+ AUDIO_SERVICE,
+ BATTERY_SERVICE,
+ BIND_ABOVE_CLIENT,
+ BIND_ADJUST_WITH_ACTIVITY,
+ BIND_ALLOW_OOM_MANAGEMENT,
+ BIND_AUTO_CREATE,
+ BIND_DEBUG_UNBIND,
+ BIND_EXTERNAL_SERVICE,
+ BIND_IMPORTANT,
+ BIND_NOT_FOREGROUND,
+ BIND_WAIVE_PRIORITY,
+ BLUETOOTH_SERVICE,
+ CAMERA_SERVICE,
+ CAPTIONING_SERVICE,
+ CARRIER_CONFIG_SERVICE,
+ CLIPBOARD_SERVICE,
+ COMPANION_DEVICE_SERVICE,
+ CONNECTIVITY_SERVICE,
+ CONSUMER_IR_SERVICE,
+ CONTEXT_IGNORE_SECURITY,
+ CONTEXT_INCLUDE_CODE,
+ CONTEXT_RESTRICTED,
+ DEVICE_POLICY_SERVICE,
+ DISPLAY_SERVICE,
+ DOWNLOAD_SERVICE,
+ DROPBOX_SERVICE,
+ FINGERPRINT_SERVICE,
+ HARDWARE_PROPERTIES_SERVICE,
+ INPUT_METHOD_SERVICE,
+ INPUT_SERVICE,
+ JOB_SCHEDULER_SERVICE,
+ KEYGUARD_SERVICE,
+ LAUNCHER_APPS_SERVICE,
+ LAYOUT_INFLATER_SERVICE,
+ LOCATION_SERVICE,
+ MEDIA_PROJECTION_SERVICE,
+ MEDIA_ROUTER_SERVICE,
+ MEDIA_SESSION_SERVICE,
+ MIDI_SERVICE,
+ MODE_APPEND,
+ MODE_ENABLE_WRITE_AHEAD_LOGGING,
+ MODE_MULTI_PROCESS,
+ MODE_NO_LOCALIZED_COLLATORS,
+ MODE_PRIVATE,
+ MODE_WORLD_READABLE,
+ MODE_WORLD_WRITEABLE,
+ NETWORK_STATS_SERVICE,
+ NFC_SERVICE,
+ NOTIFICATION_SERVICE,
+ NSD_SERVICE,
+ POWER_SERVICE,
+ PRINT_SERVICE,
+ RECEIVER_VISIBLE_TO_INSTANT_APPS,
+ RESTRICTIONS_SERVICE,
+ SEARCH_SERVICE,
+ SENSOR_SERVICE,
+ SHORTCUT_SERVICE,
+ STORAGE_SERVICE,
+ STORAGE_STATS_SERVICE,
+ SYSTEM_HEALTH_SERVICE,
+ TELECOM_SERVICE,
+ TELEPHONY_SERVICE,
+ TELEPHONY_SUBSCRIPTION_SERVICE,
+ TEXT_CLASSIFICATION_SERVICE,
+ TEXT_SERVICES_MANAGER_SERVICE,
+ TV_INPUT_SERVICE,
+ UI_MODE_SERVICE,
+ USAGE_STATS_SERVICE,
+ USB_SERVICE,
+ USER_SERVICE,
+ VIBRATOR_SERVICE,
+ WALLPAPER_SERVICE,
+ WIFI_AWARE_SERVICE,
+ WIFI_P2P_SERVICE,
+ WIFI_SERVICE,
+ WINDOW_SERVICE
+
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE,
- TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL,
- TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE,
- TRIM_MEMORY_UI_HIDDEN
TRIM_MEMORY_BACKGROUND,
+ TRIM_MEMORY_COMPLETE,
+ TRIM_MEMORY_MODERATE,
+ TRIM_MEMORY_RUNNING_CRITICAL,
+ TRIM_MEMORY_RUNNING_LOW,
+ TRIM_MEMORY_RUNNING_MODERATE,
+ TRIM_MEMORY_UI_HIDDEN
+
protected void
onCreate(android.os.Bundle savedInstanceState)
+ href="../../../com/securelockview/sample/PinViewActivity.html#onCreate-android.os.Bundle-">onCreate(Bundle savedInstanceState)
protected void
onRestoreInstanceState(android.os.Bundle savedInstanceState)
+ href="../../../com/securelockview/sample/PinViewActivity.html#onRestoreInstanceState-android.os.Bundle-">onRestoreInstanceState(Bundle savedInstanceState)
protected void
onSaveInstanceState(android.os.Bundle outState)
+ href="../../../com/securelockview/sample/PinViewActivity.html#onSaveInstanceState-android.os.Bundle-">onSaveInstanceState(Bundle outState)
addContentView, closeOptionsMenu, dispatchKeyEvent,
- findViewById, getDelegate, getDrawerToggleDelegate,
- getMenuInflater, getResources, getSupportActionBar,
- getSupportParentActivityIntent, invalidateOptionsMenu,
- onConfigurationChanged, onContentChanged,
- onCreateSupportNavigateUpTaskStack, onDestroy, onKeyDown,
- onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate,
- onPostResume, onPrepareSupportNavigateUpTaskStack, onStart,
- onStop, onSupportActionModeFinished, onSupportActionModeStarted,
- onSupportContentChanged, onSupportNavigateUp, onTitleChanged,
- onWindowStartingSupportActionMode, openOptionsMenu,
- setContentView, setContentView, setContentView,
- setSupportActionBar, setSupportProgress,
- setSupportProgressBarIndeterminate,
- setSupportProgressBarIndeterminateVisibility,
- setSupportProgressBarVisibility, setTheme,
- startSupportActionMode, supportInvalidateOptionsMenu,
- supportNavigateUpTo, supportRequestWindowFeature,
- supportShouldUpRecreateTask
+ addContentView,
+ closeOptionsMenu,
+ dispatchKeyEvent,
+ findViewById,
+ getDelegate,
+ getDrawerToggleDelegate,
+ getMenuInflater,
+ getResources,
+ getSupportActionBar,
+ getSupportParentActivityIntent,
+ invalidateOptionsMenu,
+ onConfigurationChanged,
+ onContentChanged,
+ onCreateSupportNavigateUpTaskStack,
+ onDestroy,
+ onKeyDown,
+ onMenuItemSelected,
+ onMenuOpened,
+ onPanelClosed,
+ onPostCreate,
+ onPostResume,
+ onPrepareSupportNavigateUpTaskStack,
+ onStart,
+ onStop,
+ onSupportActionModeFinished,
+ onSupportActionModeStarted,
+ onSupportContentChanged,
+ onSupportNavigateUp,
+ onTitleChanged,
+ onWindowStartingSupportActionMode,
+ openOptionsMenu,
+ setContentView,
+ setContentView,
+ setContentView,
+ setSupportActionBar,
+ setSupportProgress,
+ setSupportProgressBarIndeterminate,
+ setSupportProgressBarIndeterminateVisibility,
+ setSupportProgressBarVisibility,
+ setTheme,
+ startSupportActionMode,
+ supportInvalidateOptionsMenu,
+ supportNavigateUpTo,
+ supportRequestWindowFeature,
+ supportShouldUpRecreateTask
+
dump, getLastCustomNonConfigurationInstance, getLifecycle,
- getSupportFragmentManager, getSupportLoaderManager,
- getViewModelStore, onActivityResult, onAttachFragment,
- onBackPressed, onCreatePanelMenu, onLowMemory,
- onMultiWindowModeChanged, onNewIntent, onPause,
- onPictureInPictureModeChanged, onPrepareOptionsPanel,
- onPreparePanel, onRequestPermissionsResult, onResume,
- onResumeFragments, onRetainCustomNonConfigurationInstance,
- onRetainNonConfigurationInstance, onStateNotSaved,
- setEnterSharedElementCallback, setExitSharedElementCallback,
- startActivityForResult, startActivityFromFragment,
- startActivityFromFragment, startIntentSenderFromFragment,
- supportFinishAfterTransition, supportPostponeEnterTransition,
- supportStartPostponedEnterTransition,
- validateRequestPermissionsRequestCode
dump,
+ getLastCustomNonConfigurationInstance,
+ getLifecycle,
+ getSupportFragmentManager,
+ getSupportLoaderManager,
+ getViewModelStore,
+ onActivityResult,
+ onAttachFragment,
+ onBackPressed,
+ onCreatePanelMenu,
+ onLowMemory,
+ onMultiWindowModeChanged,
+ onNewIntent,
+ onPause,
+ onPictureInPictureModeChanged,
+ onPrepareOptionsPanel,
+ onPreparePanel,
+ onRequestPermissionsResult,
+ onResume,
+ onResumeFragments,
+ onRetainCustomNonConfigurationInstance,
+ onRetainNonConfigurationInstance,
+ onStateNotSaved,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ startActivityForResult,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startIntentSenderFromFragment,
+ supportFinishAfterTransition,
+ supportPostponeEnterTransition,
+ supportStartPostponedEnterTransition,
+ validateRequestPermissionsRequestCode
+
getExtraData, putExtraData
getExtraData,
+ putExtraData
+
attachBaseContext, closeContextMenu, createPendingResult,
- dismissDialog, dismissKeyboardShortcutsHelper,
- dispatchGenericMotionEvent, dispatchKeyShortcutEvent,
- dispatchPopulateAccessibilityEvent, dispatchTouchEvent,
- dispatchTrackballEvent, enterPictureInPictureMode,
- enterPictureInPictureMode, finish, finishActivity,
- finishActivityFromChild, finishAffinity, finishAfterTransition,
- finishAndRemoveTask, finishFromChild, getActionBar,
- getApplication, getCallingActivity, getCallingPackage,
- getChangingConfigurations, getComponentName, getContentScene,
- getContentTransitionManager, getCurrentFocus,
- getFragmentManager, getIntent, getLastNonConfigurationInstance,
- getLayoutInflater, getLoaderManager, getLocalClassName,
- getMaxNumPictureInPictureActions, getMediaController, getParent,
- getParentActivityIntent, getPreferences, getReferrer,
- getRequestedOrientation, getSearchEvent, getSystemService,
- getTaskId, getTitle, getTitleColor, getVoiceInteractor,
- getVolumeControlStream, getWindow, getWindowManager,
- hasWindowFocus, isActivityTransitionRunning,
- isChangingConfigurations, isChild, isDestroyed, isFinishing,
- isImmersive, isInMultiWindowMode, isInPictureInPictureMode,
- isLocalVoiceInteractionSupported, isTaskRoot,
- isVoiceInteraction, isVoiceInteractionRoot, managedQuery,
- moveTaskToBack, navigateUpTo, navigateUpToFromChild,
- onActionModeFinished, onActionModeStarted, onActivityReenter,
- onApplyThemeResource, onAttachedToWindow, onAttachFragment,
- onChildTitleChanged, onContextItemSelected, onContextMenuClosed,
- onCreate, onCreateContextMenu, onCreateDescription,
- onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack,
- onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail,
- onDetachedFromWindow, onEnterAnimationComplete,
- onGenericMotionEvent, onKeyLongPress, onKeyMultiple,
- onKeyShortcut, onKeyUp, onLocalVoiceInteractionStarted,
- onLocalVoiceInteractionStopped, onMultiWindowModeChanged,
- onNavigateUp, onNavigateUpFromChild, onOptionsItemSelected,
- onOptionsMenuClosed, onPictureInPictureModeChanged,
- onPostCreate, onPrepareDialog, onPrepareDialog,
- onPrepareNavigateUpTaskStack, onPrepareOptionsMenu,
- onProvideAssistContent, onProvideAssistData,
- onProvideKeyboardShortcuts, onProvideReferrer, onRestart,
- onRestoreInstanceState, onSaveInstanceState, onSearchRequested,
- onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory,
- onUserInteraction, onUserLeaveHint, onVisibleBehindCanceled,
- onWindowAttributesChanged, onWindowFocusChanged,
- onWindowStartingActionMode, onWindowStartingActionMode,
- openContextMenu, overridePendingTransition,
- postponeEnterTransition, recreate, registerForContextMenu,
- releaseInstance, removeDialog, reportFullyDrawn,
- requestDragAndDropPermissions, requestPermissions,
- requestShowKeyboardShortcuts, requestVisibleBehind,
- requestWindowFeature, runOnUiThread, setActionBar,
- setContentTransitionManager, setDefaultKeyMode,
- setEnterSharedElementCallback, setExitSharedElementCallback,
- setFeatureDrawable, setFeatureDrawableAlpha,
- setFeatureDrawableResource, setFeatureDrawableUri,
- setFinishOnTouchOutside, setImmersive, setIntent,
- setMediaController, setPictureInPictureParams, setProgress,
- setProgressBarIndeterminate,
- setProgressBarIndeterminateVisibility, setProgressBarVisibility,
- setRequestedOrientation, setResult, setResult,
- setSecondaryProgress, setShowWhenLocked, setTaskDescription,
- setTitle, setTitle, setTitleColor, setTurnScreenOn, setVisible,
- setVolumeControlStream, setVrModeEnabled,
- shouldShowRequestPermissionRationale, shouldUpRecreateTask,
- showAssist, showDialog, showDialog, showLockTaskEscapeMessage,
- startActionMode, startActionMode, startActivities,
- startActivities, startActivity, startActivity,
- startActivityFromChild, startActivityFromChild,
- startActivityFromFragment, startActivityFromFragment,
- startActivityIfNeeded, startActivityIfNeeded, startIntentSender,
- startIntentSender, startIntentSenderFromChild,
- startIntentSenderFromChild, startLocalVoiceInteraction,
- startLockTask, startManagingCursor, startNextMatchingActivity,
- startNextMatchingActivity, startPostponedEnterTransition,
- startSearch, stopLocalVoiceInteraction, stopLockTask,
- stopManagingCursor, takeKeyEvents, triggerSearch,
- unregisterForContextMenu
attachBaseContext,
+ closeContextMenu,
+ createPendingResult,
+ dismissDialog,
+ dismissKeyboardShortcutsHelper,
+ dispatchGenericMotionEvent,
+ dispatchKeyShortcutEvent,
+ dispatchPopulateAccessibilityEvent,
+ dispatchTouchEvent,
+ dispatchTrackballEvent,
+ enterPictureInPictureMode,
+ enterPictureInPictureMode,
+ finish, finishActivity,
+ finishActivityFromChild,
+ finishAffinity,
+ finishAfterTransition,
+ finishAndRemoveTask,
+ finishFromChild,
+ getActionBar,
+ getApplication,
+ getCallingActivity,
+ getCallingPackage,
+ getChangingConfigurations,
+ getComponentName,
+ getContentScene,
+ getContentTransitionManager,
+ getCurrentFocus,
+ getFragmentManager,
+ getIntent, getLastNonConfigurationInstance,
+ getLayoutInflater,
+ getLoaderManager,
+ getLocalClassName,
+ getMaxNumPictureInPictureActions,
+ getMediaController,
+ getParent, getParentActivityIntent,
+ getPreferences,
+ getReferrer, getRequestedOrientation,
+ getSearchEvent,
+ getSystemService,
+ getTaskId, getTitle,
+ getTitleColor,
+ getVoiceInteractor,
+ getVolumeControlStream,
+ getWindow, getWindowManager,
+ hasWindowFocus,
+ isActivityTransitionRunning,
+ isChangingConfigurations,
+ isChild, isDestroyed,
+ isFinishing, isImmersive,
+ isInMultiWindowMode,
+ isInPictureInPictureMode,
+ isLocalVoiceInteractionSupported,
+ isTaskRoot, isVoiceInteraction,
+ isVoiceInteractionRoot,
+ managedQuery,
+ moveTaskToBack,
+ navigateUpTo,
+ navigateUpToFromChild,
+ onActionModeFinished,
+ onActionModeStarted,
+ onActivityReenter,
+ onApplyThemeResource,
+ onAttachedToWindow,
+ onAttachFragment,
+ onChildTitleChanged,
+ onContextItemSelected,
+ onContextMenuClosed,
+ onCreate, onCreateContextMenu,
+ onCreateDescription,
+ onCreateDialog,
+ onCreateDialog,
+ onCreateNavigateUpTaskStack,
+ onCreateOptionsMenu,
+ onCreatePanelView,
+ onCreateThumbnail,
+ onDetachedFromWindow,
+ onEnterAnimationComplete,
+ onGenericMotionEvent,
+ onKeyLongPress,
+ onKeyMultiple,
+ onKeyShortcut,
+ onKeyUp, onLocalVoiceInteractionStarted,
+ onLocalVoiceInteractionStopped,
+ onMultiWindowModeChanged,
+ onNavigateUp,
+ onNavigateUpFromChild,
+ onOptionsItemSelected,
+ onOptionsMenuClosed,
+ onPictureInPictureModeChanged,
+ onPostCreate,
+ onPrepareDialog,
+ onPrepareDialog,
+ onPrepareNavigateUpTaskStack,
+ onPrepareOptionsMenu,
+ onProvideAssistContent,
+ onProvideAssistData,
+ onProvideKeyboardShortcuts,
+ onProvideReferrer,
+ onRestart, onRestoreInstanceState,
+ onSaveInstanceState,
+ onSearchRequested,
+ onSearchRequested,
+ onTouchEvent,
+ onTrackballEvent,
+ onTrimMemory,
+ onUserInteraction,
+ onUserLeaveHint,
+ onVisibleBehindCanceled,
+ onWindowAttributesChanged,
+ onWindowFocusChanged,
+ onWindowStartingActionMode,
+ onWindowStartingActionMode,
+ openContextMenu,
+ overridePendingTransition,
+ postponeEnterTransition,
+ recreate, registerForContextMenu,
+ releaseInstance,
+ removeDialog,
+ reportFullyDrawn,
+ requestDragAndDropPermissions,
+ requestPermissions,
+ requestShowKeyboardShortcuts,
+ requestVisibleBehind,
+ requestWindowFeature,
+ runOnUiThread,
+ setActionBar,
+ setContentTransitionManager,
+ setDefaultKeyMode,
+ setEnterSharedElementCallback,
+ setExitSharedElementCallback,
+ setFeatureDrawable,
+ setFeatureDrawableAlpha,
+ setFeatureDrawableResource,
+ setFeatureDrawableUri,
+ setFinishOnTouchOutside,
+ setImmersive,
+ setIntent, setMediaController,
+ setPictureInPictureParams,
+ setProgress, setProgressBarIndeterminate,
+ setProgressBarIndeterminateVisibility,
+ setProgressBarVisibility,
+ setRequestedOrientation,
+ setResult, setResult,
+ setSecondaryProgress,
+ setShowWhenLocked,
+ setTaskDescription,
+ setTitle, setTitle,
+ setTitleColor,
+ setTurnScreenOn,
+ setVisible, setVolumeControlStream,
+ setVrModeEnabled,
+ shouldShowRequestPermissionRationale,
+ shouldUpRecreateTask,
+ showAssist, showDialog,
+ showDialog, showLockTaskEscapeMessage,
+ startActionMode,
+ startActionMode,
+ startActivities,
+ startActivities,
+ startActivity,
+ startActivity,
+ startActivityFromChild,
+ startActivityFromChild,
+ startActivityFromFragment,
+ startActivityFromFragment,
+ startActivityIfNeeded,
+ startActivityIfNeeded,
+ startIntentSender,
+ startIntentSender,
+ startIntentSenderFromChild,
+ startIntentSenderFromChild,
+ startLocalVoiceInteraction,
+ startLockTask,
+ startManagingCursor,
+ startNextMatchingActivity,
+ startNextMatchingActivity,
+ startPostponedEnterTransition,
+ startSearch, stopLocalVoiceInteraction,
+ stopLockTask,
+ stopManagingCursor,
+ takeKeyEvents,
+ triggerSearch,
+ unregisterForContextMenu
+
applyOverrideConfiguration, getAssets, getTheme
applyOverrideConfiguration,
+ getAssets, getTheme
+
bindService, checkCallingOrSelfPermission,
- checkCallingOrSelfUriPermission, checkCallingPermission,
- checkCallingUriPermission, checkPermission, checkSelfPermission,
- checkUriPermission, checkUriPermission, clearWallpaper,
- createConfigurationContext, createContextForSplit,
- createDeviceProtectedStorageContext, createDisplayContext,
- createPackageContext, databaseList, deleteDatabase, deleteFile,
- deleteSharedPreferences, enforceCallingOrSelfPermission,
- enforceCallingOrSelfUriPermission, enforceCallingPermission,
- enforceCallingUriPermission, enforcePermission,
- enforceUriPermission, enforceUriPermission, fileList,
- getApplicationContext, getApplicationInfo, getBaseContext,
- getCacheDir, getClassLoader, getCodeCacheDir,
- getContentResolver, getDatabasePath, getDataDir, getDir,
- getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir,
- getExternalFilesDirs, getExternalMediaDirs, getFilesDir,
- getFileStreamPath, getMainLooper, getNoBackupFilesDir,
- getObbDir, getObbDirs, getPackageCodePath, getPackageManager,
- getPackageName, getPackageResourcePath, getSharedPreferences,
- getSystemServiceName, getWallpaper,
- getWallpaperDesiredMinimumHeight,
- getWallpaperDesiredMinimumWidth, grantUriPermission,
- isDeviceProtectedStorage, isRestricted, moveDatabaseFrom,
- moveSharedPreferencesFrom, openFileInput, openFileOutput,
- openOrCreateDatabase, openOrCreateDatabase, peekWallpaper,
- registerReceiver, registerReceiver, registerReceiver,
- registerReceiver, removeStickyBroadcast,
- removeStickyBroadcastAsUser, revokeUriPermission,
- revokeUriPermission, sendBroadcast, sendBroadcast,
- sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast,
- sendOrderedBroadcast, sendOrderedBroadcastAsUser,
- sendStickyBroadcast, sendStickyBroadcastAsUser,
- sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser,
- setWallpaper, setWallpaper, startForegroundService,
- startInstrumentation, startService, stopService, unbindService,
- unregisterReceiver
bindService,
+ checkCallingOrSelfPermission,
+ checkCallingOrSelfUriPermission,
+ checkCallingPermission,
+ checkCallingUriPermission,
+ checkPermission,
+ checkSelfPermission,
+ checkUriPermission,
+ checkUriPermission,
+ clearWallpaper,
+ createConfigurationContext,
+ createContextForSplit,
+ createDeviceProtectedStorageContext,
+ createDisplayContext,
+ createPackageContext,
+ databaseList,
+ deleteDatabase,
+ deleteFile,
+ deleteSharedPreferences,
+ enforceCallingOrSelfPermission,
+ enforceCallingOrSelfUriPermission,
+ enforceCallingPermission,
+ enforceCallingUriPermission,
+ enforcePermission,
+ enforceUriPermission,
+ enforceUriPermission,
+ fileList,
+ getApplicationContext,
+ getApplicationInfo,
+ getBaseContext,
+ getCacheDir,
+ getClassLoader,
+ getCodeCacheDir,
+ getContentResolver,
+ getDatabasePath,
+ getDataDir,
+ getDir, getExternalCacheDir,
+ getExternalCacheDirs,
+ getExternalFilesDir,
+ getExternalFilesDirs,
+ getExternalMediaDirs,
+ getFilesDir,
+ getFileStreamPath,
+ getMainLooper,
+ getNoBackupFilesDir,
+ getObbDir,
+ getObbDirs,
+ getPackageCodePath,
+ getPackageManager,
+ getPackageName,
+ getPackageResourcePath,
+ getSharedPreferences,
+ getSystemServiceName,
+ getWallpaper,
+ getWallpaperDesiredMinimumHeight,
+ getWallpaperDesiredMinimumWidth,
+ grantUriPermission,
+ isDeviceProtectedStorage,
+ isRestricted,
+ moveDatabaseFrom,
+ moveSharedPreferencesFrom,
+ openFileInput,
+ openFileOutput,
+ openOrCreateDatabase,
+ openOrCreateDatabase,
+ peekWallpaper,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ registerReceiver,
+ removeStickyBroadcast,
+ removeStickyBroadcastAsUser,
+ revokeUriPermission,
+ revokeUriPermission,
+ sendBroadcast,
+ sendBroadcast,
+ sendBroadcastAsUser,
+ sendBroadcastAsUser,
+ sendOrderedBroadcast,
+ sendOrderedBroadcast,
+ sendOrderedBroadcastAsUser,
+ sendStickyBroadcast,
+ sendStickyBroadcastAsUser,
+ sendStickyOrderedBroadcast,
+ sendStickyOrderedBroadcastAsUser,
+ setWallpaper,
+ setWallpaper,
+ startForegroundService,
+ startInstrumentation,
+ startService,
+ stopService,
+ unbindService,
+ unregisterReceiver
+
getColor, getColorStateList, getDrawable, getString,
- getString, getSystemService, getText, obtainStyledAttributes,
- obtainStyledAttributes, obtainStyledAttributes,
- obtainStyledAttributes, registerComponentCallbacks,
- unregisterComponentCallbacks
getColor,
+ getColorStateList,
+ getDrawable,
+ getString,
+ getString,
+ getSystemService,
+ getText, obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ obtainStyledAttributes,
+ registerComponentCallbacks,
+ unregisterComponentCallbacks
+
clone, equals, finalize, getClass, hashCode, notify,
- notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPointerCaptureChanged
onPointerCaptureChanged
+
private static final java.lang.String ARG_CURRENT_PIN+
private static final String ARG_CURRENT_PIN
protected void onCreate(android.os.Bundle savedInstanceState)+
protected void onCreate(Bundle savedInstanceState)
onCreate
in class android.support.v7.app.AppCompatActivity
+ onCreate
in
+ class AppCompatActivity
protected void onSaveInstanceState(android.os.Bundle outState)+
protected void onSaveInstanceState(Bundle outState)
onSaveInstanceState
in class android.support.v7.app.AppCompatActivity
+ onSaveInstanceState
in
+ class AppCompatActivity
protected void onRestoreInstanceState(android.os.Bundle savedInstanceState)+
protected void onRestoreInstanceState(Bundle savedInstanceState)
onRestoreInstanceState
in
- class android.app.Activity
onRestoreInstanceState
in
+ class Activity
+ Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
- public static final java.lang.String |
- BACKSPACE_TITLE
- |
- "-1" |
-
Modifier and Type | @@ -128,65 +114,116 @@||
---|---|---|
+ name="com.kevalpatel.passcodeview.Constants.DEF_PATTERN_LENGTH">
public static final int |
DEF_PATTERN_LENGTH
+ href="com/kevalpatel/passcodeview/Constants.html#DEF_PATTERN_LENGTH">DEF_PATTERN_LENGTH
|
3 |
+ name="com.kevalpatel.passcodeview.Constants.KEY_BOARD_BOTTOM_WEIGHT">
public static final float |
KEY_BOARD_BOTTOM_WEIGHT
+ href="com/kevalpatel/passcodeview/Constants.html#KEY_BOARD_BOTTOM_WEIGHT">KEY_BOARD_BOTTOM_WEIGHT
|
0.14000000059604645f |
+ name="com.kevalpatel.passcodeview.Constants.KEY_BOARD_TOP_WEIGHT">
public static final float |
KEY_BOARD_TOP_WEIGHT
+ href="com/kevalpatel/passcodeview/Constants.html#KEY_BOARD_TOP_WEIGHT">KEY_BOARD_TOP_WEIGHT
|
0.20000000298023224f |
+ name="com.kevalpatel.passcodeview.Constants.NO_OF_KEY_BOARD_COLUMNS">
public static final int |
NO_OF_KEY_BOARD_COLUMNS
+ href="com/kevalpatel/passcodeview/Constants.html#NO_OF_KEY_BOARD_COLUMNS">NO_OF_KEY_BOARD_COLUMNS
|
3 |
+ name="com.kevalpatel.passcodeview.Constants.NO_OF_KEY_BOARD_ROWS">
public static final int |
NO_OF_KEY_BOARD_ROWS
+ href="com/kevalpatel/passcodeview/Constants.html#NO_OF_KEY_BOARD_ROWS">NO_OF_KEY_BOARD_ROWS
|
4 |
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ public static final int |
+ DYNAMIC_PIN_LENGTH
+ |
+ 0 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ private static final long |
+ ERROR_ANIMATION_DURATION
+ |
+ 400L |
+
Modifier and Type | @@ -196,11 +233,49 @@||
---|---|---|
+ name="com.kevalpatel.passcodeview.indicators.DotIndicator.ERROR_ANIMATION_DURATION">
- private static final java.lang.String |
+ DEF_FINGERPRINT_STATUS
+ href="com/kevalpatel/passcodeview/indicators/DotIndicator.html#ERROR_ANIMATION_DURATION">ERROR_ANIMATION_DURATION
+ |
+ 400L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ private static final long |
+ ANIMATION_DURATION
+ |
+ 1000L |
+
+
+ private static final String |
+ DEF_FINGERPRINT_STATUS
|
"Scan your finger to authenticate" |
Modifier and Type | @@ -222,11 +297,13 @@||
---|---|---|
+ name="com.kevalpatel.passcodeview.internal.BoxTitle.DEF_TITLE_TEXT">
- private static final java.lang.String |
+ DEF_TITLE_TEXT
+ href="com/kevalpatel/passcodeview/internal/BoxTitle.html#DEF_TITLE_TEXT">DEF_TITLE_TEXT
|
"Enter pattern" |
Modifier and Type | @@ -248,21 +325,33 @@||
---|---|---|
+ name="com.kevalpatel.passcodeview.internal.BoxTitleIndicator.DEF_TITLE_TEXT">
- private static final java.lang.String |
+ DEF_TITLE_TEXT
+ href="com/kevalpatel/passcodeview/internal/BoxTitleIndicator.html#DEF_TITLE_TEXT">DEF_TITLE_TEXT
|
"Enter PIN" |
+
+ private static final long |
+ ERROR_ANIMATION_DURATION
+ |
+ 400L |
+
Modifier and Type | @@ -272,53 +361,57 @@||
---|---|---|
+ name="com.kevalpatel.passcodeview.internal.FingerPrintAuthHelper.CANNOT_RECOGNIZE_ERROR">
static final int |
CANNOT_RECOGNIZE_ERROR
+ href="com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.html#CANNOT_RECOGNIZE_ERROR">CANNOT_RECOGNIZE_ERROR
|
456 |
+ name="com.kevalpatel.passcodeview.internal.FingerPrintAuthHelper.ERROR_FAILED_TO_GENERATE_KEY">
- private static final java.lang.String |
+ ERROR_FAILED_TO_GENERATE_KEY
+ href="com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.html#ERROR_FAILED_TO_GENERATE_KEY">ERROR_FAILED_TO_GENERATE_KEY
|
"Failed to generate secrete key for
authentication." |
+ name="com.kevalpatel.passcodeview.internal.FingerPrintAuthHelper.ERROR_FAILED_TO_INIT_CHIPPER">
- private static final java.lang.String |
+ ERROR_FAILED_TO_INIT_CHIPPER
+ href="com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.html#ERROR_FAILED_TO_INIT_CHIPPER">ERROR_FAILED_TO_INIT_CHIPPER
|
"Failed to generate cipher key for
authentication." |
+ name="com.kevalpatel.passcodeview.internal.FingerPrintAuthHelper.NON_RECOVERABLE_ERROR">
static final int |
NON_RECOVERABLE_ERROR
+ href="com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.html#NON_RECOVERABLE_ERROR">NON_RECOVERABLE_ERROR
|
566 |
+ name="com.kevalpatel.passcodeview.internal.FingerPrintAuthHelper.RECOVERABLE_ERROR">
static final int |
RECOVERABLE_ERROR
+ href="com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.html#RECOVERABLE_ERROR">RECOVERABLE_ERROR
|
843 |
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ public static final String |
+ BACKSPACE_TITLE
+ |
+ "-1" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ private static final long |
+ ANIMATION_DURATION
+ |
+ 200L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+ private static final long |
+ ANIMATION_DURATION
+ |
+ 200L |
+
private static final java.lang.String
private static final String
ARG_CURRENT_PIN
Key
.
+ PatternAuthenticator
+ to perform authentication on the pattern entered by the user.
+ PinAuthenticator
+ that will perform the authentication for the user pin.
Rect
bound of
+ the key.
+ Rect
bound for the BoxFingerprint
.
+ Rect
bound for
+ the BoxFingerprint
.
Rect
containing
+ the bound of this box.
+ BoxKeypad
+ that displays the numeric keyboard to display the keys.
+ BoxPattern
+ to display the PatternPoint
.
+ BoxTitle
+ to display the title message.
+ SquareKey.Builder
+ of this key.
+ FingerPrintAuthHelper.FingerPrintAuthCallback
+ href="../com/kevalpatel/passcodeview/internal/FingerPrintAuthHelper.FingerPrintAuthCallback.html"
+ title="interface in com.kevalpatel.passcodeview.internal">FingerPrintAuthHelper.FingerPrintAuthCallback
to notify the parent caller about the authentication status.
CancellationSignal
for finger print authentication.
+ CancellationSignal
for
+ finger print authentication.
PatternCell
.
+ Paint
of the
+ horizontal divider within the view.
+ ValueAnimator
+ for the authentication error.
+ ValueAnimator
+ for the authentication error.
+ Paint
for the
+ path between two PatternPoint
+ when entered pattern is wrong.
+ Indicator
.
+ Rect
coordinates
+ of the keyboard box.
+ Key.Builder
with the parameters of the key.KeyNamesBuilder
+ that holds the title name of all the keys for keyboard digits.
+ Paint
of the
+ key.
+ Paint
of the
+ key.
+ Key
.
+ TextPaint
of the key
+ title text.
+ TextPaint
of the key
+ title text.
+ Paint
for the
+ path between two PatternPoint
+ while user is entering the pattern.
+ BasePasscodeView
+ in which the key will be displayed.
+ PatternView.PatternAuthenticatorTask
.
+ Rect
with the
+ bound of this box.
+ PatternCell
+ in this box.
+ ArrayList
that holds
+ the list of all the PatternCell
+ touched by the user
+ while drawing the pattern.
+ PinView.PinAuthenticatorTask
.
+ ArrayList
of the
+ currently typed pin.
+ Paint
of the
+ ripple animations.
+ Paint
of the
+ ripple animations.
+ ValueAnimator
+ for the key ripple animations.
+ TextPaint
of the
+ title with the BoxTitle.mTitleColor
+ as the text color.
+ TextPaint
of the
+ title with BoxTitleIndicator.mTitleColor
+ ast thetext color.
+ BasePasscodeView
.
PatternView.mNormalPathPaint
+ and PatternView.mErrorPathPaint
.
+ AuthenticationListener
+ to get callbacks when the user is authenticated or
+ not.
+ BoxFingerprint.mStatusTextColor
,
+ BoxFingerprint.mNormalStatusText
+ and
+ BoxFingerprint.mStatusTextSize
.
+ Key
.
+ RectKey
.
+ true
if the error animations are
+ currently being played or false
.
+ PatternPoint.equals(Object)
- to match row and
- column number of both pattern poins.
- true
if the ripple animation is running
+ else false
.
+ InteractiveArrayList.ChangeListener mChangeListener-