|
@ -22,6 +22,7 @@ public class SecurityKeypadRequestParamBuilder |
|
|
byte[] secureKey; |
|
|
byte[] secureKey; |
|
|
|
|
|
|
|
|
private final Context context; |
|
|
private final Context context; |
|
|
|
|
|
private boolean shouldDisableKeypadEffect; |
|
|
|
|
|
|
|
|
public SecurityKeypadRequestParamBuilder(Context context) |
|
|
public SecurityKeypadRequestParamBuilder(Context context) |
|
|
{ |
|
|
{ |
|
@ -65,6 +66,12 @@ public class SecurityKeypadRequestParamBuilder |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public SecurityKeypadRequestParamBuilder disableKeyPadEffect(boolean action) |
|
|
|
|
|
{ |
|
|
|
|
|
this.shouldDisableKeypadEffect=action; |
|
|
|
|
|
return this; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public int getDefaultKeyboardType() |
|
|
public int getDefaultKeyboardType() |
|
|
{ |
|
|
{ |
|
|
return keyPadType; |
|
|
return keyPadType; |
|
@ -80,6 +87,7 @@ public class SecurityKeypadRequestParamBuilder |
|
|
textType= TransKeyActivity.mTK_TYPE_TEXT_PASSWORD_LAST_IMAGE; |
|
|
textType= TransKeyActivity.mTK_TYPE_TEXT_PASSWORD_LAST_IMAGE; |
|
|
this.maxLength=16; |
|
|
this.maxLength=16; |
|
|
this.keyPadType=mTK_TYPE_KEYPAD_QWERTY_LOWER; |
|
|
this.keyPadType=mTK_TYPE_KEYPAD_QWERTY_LOWER; |
|
|
|
|
|
this.shouldDisableKeypadEffect=true; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -174,7 +182,6 @@ public class SecurityKeypadRequestParamBuilder |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_MIN_LENGTH_MESSAGE, "최소 글자 2글자 미만입니다"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_MIN_LENGTH_MESSAGE, "최소 글자 2글자 미만입니다"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_INPUT_MINLENGTH, 0); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_INPUT_MINLENGTH, 0); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_ALERTDIALOG_TITLE, "mTranskey alert"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_ALERTDIALOG_TITLE, "mTranskey alert"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_DISABLE_BUTTON_EFFECT, true); |
|
|
|
|
|
|
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_BUTTON_MARGIN, 1f); |
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_BUTTON_MARGIN, 1f); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMBER_BUTTON_MARGIN, 0.44f); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMBER_BUTTON_MARGIN, 0.44f); |
|
@ -214,6 +221,8 @@ public class SecurityKeypadRequestParamBuilder |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_PLAY_RES_BUTTON_SOUND, true); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_PLAY_RES_BUTTON_SOUND, true); |
|
|
newIntent.putExtra (TransKeyActivity.mTK_PARAM_QWERTY_HEIGHT, (float).95); |
|
|
newIntent.putExtra (TransKeyActivity.mTK_PARAM_QWERTY_HEIGHT, (float).95); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_BUTTON_MARGIN, 1.5f); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_BUTTON_MARGIN, 1.5f); |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_DISABLE_BUTTON_EFFECT, this.shouldDisableKeypadEffect); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return newIntent; |
|
|
return newIntent; |
|
|
} |
|
|
} |
|
|