Pattern Lock Extension : Protect user's privacy πŸ”’

Write a short description

A pattern lock view to make pattern lock pass :lock:.

Add a picture of all the blocks

Instructions to use your extension

No instructions :wink:. :smiley: just check the docs, demo blocks, demo aia and demo apk.

Docs

Docs for: PatternLock

Events

PatternDrawingStarted

Triggers when user starts drawing pattern.

PatternProgressed

Triggers when user has changed the pattern while drawing.
Params

patternInString | text


PatternCompleted

Triggers when user completes the pattern. Use the patternInString to save this pattern and compare in future use.
Params

patternInString | text


PatternCleared

Triggers when the pattern is cleared successfully.

Methods

SetupPatternLockView

Returns the sum of the given list of integers.
Params

arrangement | component


Properties

PathEndAnimationDuration

Get the property set for path end animation duration.

Property Type : read-write
Accepts : number


TactileFeedbackEnabled

Get the property set for tactile feedback enabled.

Property Type : read-write
Accepts : boolean


DotAnimationDuration

Get the property set for dot animation duration.

Property Type : read-write
Accepts : number


DotSelectedSize

Get the property set for dot selected size.

Property Type : read-write
Accepts : number


WrongStateColor

Get the property set for wrong state color.

Property Type : read-write
Accepts : number


InputEnabled

Get the property set for input enabled.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_CORRECT

This state represents a correctly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


PatternViewMode

Get the property set for pattern view mode.

Property Type : read-write
Accepts : number


StealthMode

Get the property set for stealth mode.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_WRONG

This state represents a wrongly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


NormalStateColor

Get the property set for normal state color.

Property Type : read-write
Accepts : number


PathWidth

Get the property set for path width.

Property Type : read-write
Accepts : number


CorrectStateColor

Get the property set for correct state color.

Property Type : read-write
Accepts : number


DotCount

Get the property set for dot count.

Property Type : read-write
Accepts : number


PATTERN_VIEW_MODE_DEMO

Automatically draw the pattern for demo or tutorial purposes.

Property Type : read-only
Accepts : number


DotNormalSize

Get the property set for dot normal size.

Property Type : read-write
Accepts : number


Docs for: PatternLock

Events

PatternDrawingStarted

Triggers when user starts drawing pattern.

PatternProgressed

Triggers when user has changed the pattern while drawing.
Params

patternInString | text


PatternCompleted

Triggers when user completes the pattern. Use the patternInString to save this pattern and compare in future use.
Params

patternInString | text


PatternCleared

Triggers when the pattern is cleared successfully.

Methods

SetupPatternLockView

Returns the sum of the given list of integers.
Params

arrangement | component


ClearPattern

Clears the current pattern that is set in patter lock view.

Properties

PathEndAnimationDuration

Change the duration of the path end animaiton

Property Type : read-write
Accepts : number


TactileFeedbackEnabled

Enables vibration feedback when the pattern is drawn.

Property Type : read-write
Accepts : boolean


DotAnimationDuration

Change the duration of the animating dots.

Property Type : read-write
Accepts : number


DotSelectedSize

Change the size of the dots in selected state.

Property Type : read-write
Accepts : number


WrongStateColor

Set the color of the pattern view in wrong state.

Property Type : read-write
Accepts : number


InputEnabled

Disables any input from the pattern lock view completely.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_CORRECT

This state represents a correctly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


PatternViewMode

Set the current view mode.

Property Type : read-write
Accepts : number


StealthMode

Set the pattern in stealth mode (pattern drawing is hidden).

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_WRONG

This state represents a wrongly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


NormalStateColor

Set the color of the pattern view in normal state.

Property Type : read-write
Accepts : number


PathWidth

Change the width of the path.

Property Type : read-write
Accepts : number


CorrectStateColor

Set the color of the pattern view in correct state.

Property Type : read-write
Accepts : number


DotCount

Change the no.of dots in a row (or column).

Property Type : read-write
Accepts : number


PATTERN_VIEW_MODE_DEMO

Automatically draw the pattern for demo or tutorial purposes.

Property Type : read-only
Accepts : number


DotNormalSize

Get the property set for dot normal size.

Property Type : read-write
Accepts : number


Demo Blocks

Screen - Screen1 -
blocks

Screen - check -

Screen - save -
blocks

Aia - patternlock.aia (30.1 KB)
Apk - Download Apk

Demo Video

Download link

com.aktech.patternlock.aix (25.0 KB)

Credits

This extension is based on the pattern lock view library by Aritra Roy

9 Likes

Cool usefull extension @Aarush_Kumar :+1::+1::+1:

3 Likes

Thank you @HAM_APK :smiley:

You're amazing !!!!!!!!

2 Likes

Thank you @Aquib_Khan !!

1 Like

wooow....very useful!

1 Like

Thank you @Meulencv

1 Like

your extensions are the Best!! :grinning::grinning:

2 Likes

Thank you @qwe_rfv

2 Likes

thank you for your contribution… are you using any library? If yes, please credit the library author (the same applies for your other extensions...)
Why it’s a good idea to give credit by Corey Wainwright.

Taifun

2 Likes

Added in first post @Taifun
Thank you

1 Like

A new great extension. :+1: First there is RainView, then ShimmerLayout, RubicsCube, and now PatternLock! Thanks for the contribution!

1 Like

Thank you @gordonlu310

1 Like