Home
last modified time | relevance | path

Searched refs:minLength (Results 1 – 8 of 8) sorted by relevance

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStrings.java91 public static String padStart(String string, int minLength, char padChar) { in padStart() argument
93 if (string.length() >= minLength) { in padStart()
96 StringBuilder sb = new StringBuilder(minLength); in padStart()
97 for (int i = string.length(); i < minLength; i++) { in padStart()
123 public static String padEnd(String string, int minLength, char padChar) { in padEnd() argument
125 if (string.length() >= minLength) { in padEnd()
128 StringBuilder sb = new StringBuilder(minLength); in padEnd()
130 for (int i = string.length(); i < minLength; i++) { in padEnd()
/packages/apps/Settings/src/com/android/settings/
DChooseLockGeneric.java417 int minLength, final int maxLength, in getLockPasswordIntent() argument
419 return ChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
424 int minLength, final int maxLength, in getLockPasswordIntent() argument
426 return ChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
430 protected Intent getLockPasswordIntent(Context context, int quality, int minLength, in getLockPasswordIntent() argument
432 return ChooseLockPassword.createIntent(context, quality, minLength, maxLength, in getLockPasswordIntent()
476 int minLength = mDPM.getPasswordMinimumLength(null); in updateUnlockMethodAndFinish() local
477 if (minLength < MIN_PASSWORD_LENGTH) { in updateUnlockMethodAndFinish()
478 minLength = MIN_PASSWORD_LENGTH; in updateUnlockMethodAndFinish()
483 intent = getLockPasswordIntent(context, quality, minLength, in updateUnlockMethodAndFinish()
[all …]
DSetupChooseLockPassword.java43 int minLength, final int maxLength, boolean requirePasswordToDecrypt, in createIntent() argument
45 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, in createIntent()
53 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) { in createIntent() argument
54 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, in createIntent()
62 int minLength, final int maxLength, boolean requirePasswordToDecrypt, long challenge) { in createIntent() argument
63 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, in createIntent()
DSetupChooseLockGeneric.java123 int minLength, final int maxLength, in getLockPasswordIntent() argument
125 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
133 int minLength, final int maxLength, in getLockPasswordIntent() argument
135 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
142 protected Intent getLockPasswordIntent(Context context, int quality, int minLength, in getLockPasswordIntent() argument
144 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
DChooseLockPassword.java74 int minLength, final int maxLength, boolean requirePasswordToDecrypt, in createIntent() argument
78 intent.putExtra(PASSWORD_MIN_KEY, minLength); in createIntent()
86 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) { in createIntent() argument
87 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
94 int minLength, final int maxLength, boolean requirePasswordToDecrypt, long challenge) { in createIntent() argument
95 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
/packages/apps/DeskClock/src/com/android/deskclock/
DSettingsActivity.java184 int minLength = ids.length; in getAllTimezones() local
186 minLength = Math.min(minLength, labels.length); in getAllTimezones()
190 for (int i = 0; i < minLength; i++) { in getAllTimezones()
DUtils.java648 int minLength = cityNames.length; in loadCitiesFromXml() local
650 minLength = Math.min(cityNames.length, Math.min(timezones.length, ids.length)); in loadCitiesFromXml()
653 CityObj[] cities = new CityObj[minLength]; in loadCitiesFromXml()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java244 final int minLength = Math.min(mPrevWordsCount, prevWordsInfo.mPrevWordsCount); in equals() local
245 for (int i = 0; i < minLength; i++) { in equals()
259 for (int i = minLength; i < longerWordsInfoCount; i++) { in equals()