/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
CipherKeyGenerator.java | 11 protected int strength; field in class:CipherKeyGenerator 22 this.strength = (param.getStrength() + 7) / 8; 32 byte[] key = new byte[strength];
|
KeyGenerationParameters.java | 11 private int strength; field in class:KeyGenerationParameters 15 * and a strength (in bits). 18 * @param strength the size, in bits, of the keys we want to produce. 22 int strength) 25 this.strength = strength; 40 * return the bit strength for keys produced by this generator, 42 * @return the strength of the keys this generator produces (in bits). 46 return strength;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseAlgorithmParameterGenerator.java | 10 protected int strength = 1024; field in class:BaseAlgorithmParameterGenerator 13 int strength, 16 this.strength = strength;
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
PosterizationFilter.java | 43 * Possibly useful in cartoon styled games. Use the strength variable to lessen 56 private float strength = 1.0f; field in class:PosterizationFilter 89 material.setFloat("Strength", strength); 118 * Sets urrent strength value, i.e. influence on final image 120 public void setStrength(float strength) { 121 this.strength = strength; 123 material.setFloat("Strength", strength); [all...] |
/frameworks/wilhelm/src/itf/ |
IBassBoost.c | 89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) 93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) { 99 thiz->mStrength = strength; 106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 126 SLpermille strength = thiz->mStrength;; local 134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 139 *pStrength = strength;
|
IVirtualizer.c | 91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) 95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) { 101 thiz->mStrength = strength; 108 VIRTUALIZER_PARAM_STRENGTH, &strength); 128 SLpermille strength = thiz->mStrength;; local 136 VIRTUALIZER_PARAM_STRENGTH, &strength); 141 *pStrength = strength;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
RSAKeyPairGenerator.java | 33 // p and q values should have a length of half the strength in bits 35 int strength = param.getStrength(); local 36 int pbitlength = (strength + 1) / 2; 37 int qbitlength = strength - pbitlength; 38 int mindiffbits = strength / 3;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
AlgorithmParameterGeneratorSpi.java | 19 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi 24 int strength, 27 this.strength = strength; 42 this.strength = spec.getPrimeSize(); 53 pGen.init(strength, 20, random); 57 pGen.init(strength, 20, new SecureRandom());
|
KeyPairGeneratorSpi.java | 29 int strength = 1024; field in class:KeyPairGeneratorSpi 40 int strength, 43 this.strength = strength; 68 Integer paramStrength = Integers.valueOf(strength); 76 DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength); 97 pGen.init(strength, certainty, random);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
AlgorithmParameterGeneratorSpi.java | 20 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi 23 int strength, 26 if (strength < 512 || strength > 1024 || strength % 64 != 0) 28 throw new InvalidParameterException("strength must be from 512 - 1024 and a multiple of 64"); 31 this.strength = strength; 49 pGen.init(strength, 20, random); 53 pGen.init(strength, 20, new SecureRandom()) [all...] |
KeyPairGeneratorSpi.java | 23 int strength = 1024; field in class:KeyPairGeneratorSpi 34 int strength, 37 if (strength < 512 || strength > 1024 || strength % 64 != 0) 39 throw new InvalidParameterException("strength must be from 512 - 1024 and a multiple of 64"); 42 this.strength = strength; 69 pGen.init(strength, certainty, random);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyPairGeneratorSpi.java | 49 int strength = 239; field in class:KeyPairGeneratorSpi.EC 87 int strength, 90 this.strength = strength; 98 ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); 252 initialize(strength, new SecureRandom());
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
post_filter.cpp | 189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; local 220 strength = STRENGTH_tab[QP_store[mbnum]]; 233 if (d1 < -(strength << 1)) 237 else if (d1 < -strength) 239 d1 = -d1 - (strength << 1); 246 if (d1 > (strength << 1)) 250 else if (d1 > strength) 252 d1 = (strength << 1) - d1; 311 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])]; 315 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbnum - nMBP (…) [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
BassBoost.java | 55 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter(). 59 * Bass boost effect strength. Parameter ID for 65 * Indicates if strength parameter is supported by the bass boost engine 113 * Indicates whether setting strength is supported. If this method returns false, only one 114 * strength is supported and the setStrength() method always rounds to that value. 115 * @return true is strength parameter is supported, false otherwise 122 * Sets the strength of the bass boost effect. If the implementation does not support per mille 123 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 126 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 222 public short strength; field in class:BassBoost.Settings [all...] |
Virtualizer.java | 57 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter(). 61 * Virtualizer effect strength. Parameter ID for 67 * Indicates if strength parameter is supported by the virtualizer engine 115 * Indicates whether setting strength is supported. If this method returns false, only one 116 * strength is supported and the setStrength() method always rounds to that value. 117 * @return true is strength parameter is supported, false otherwise 124 * Sets the strength of the virtualizer effect. If the implementation does not support per mille 125 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 128 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 224 public short strength; field in class:Virtualizer.Settings [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestBassBoostPath.cpp | 198 fprintf(stdout, "BassBoost strength is not supported on this platform. Too bad!\n"); 200 fprintf(stdout, "BassBoost strength is supported, setting strength to %d\n", boostStrength); 205 SLpermille strength = 0; local 206 result = (*bbItf)->GetRoundedStrength(bbItf, &strength); 208 fprintf(stdout, "Rounded strength of boost = %d\n", strength); 257 fprintf(stdout, "and applies a bass boost effect of the specified strength,\n"); 258 fprintf(stdout, "where strength is a integer value between 0 and 1000.\n"); 287 // intentionally not checking that argv[2], the bassboost strength, is between 0 and 100 [all...] |
slesTestVirtualizerPath.cpp | 199 fprintf(stdout, "Virtualizer strength is not supported on this platform. Too bad!\n"); 201 fprintf(stdout, "Virtualizer strength is supported, setting strength to %d\n", 207 SLpermille strength = 0; local 208 result = (*virtItf)->GetRoundedStrength(virtItf, &strength); 210 fprintf(stdout, "Rounded strength of virt = %d\n", strength); 259 fprintf(stdout, "and applies a virtualization effect of the specified strength,\n"); 260 fprintf(stdout, "where strength is an integer value between 0 and 1000.\n"); 289 // intentionally not checking that argv[2], the virtualizer strength, is between 0 and 100 [all...] |
/hardware/qcom/display/libqdutils/ |
qdMetaData.h | 43 int32_t strength; member in struct:Sharp2Data_t
|
/external/icu4c/i18n/ |
usrchimp.h | 72 UCollationStrength strength; member in struct:UStringSearch
|
/external/icu4c/test/cintltst/ |
usrchdat.c | 30 UCollationStrength strength; member in struct:SearchData 118 static const SearchData STRENGTH[] = { [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 32 // hand-tuned value to reduce outline embolden strength 335 FT_Pos strength; local 336 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale) 338 FT_Outline_Embolden(outline, strength);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaBassBoostTest.java | 119 //Test case 1.0: test strength 128 short strength = mBassBoost.getRoundedStrength(); local 129 // allow 10% difference between set strength and rounded strength 130 assertTrue(msg +": got incorrect strength", 131 ((float)strength > (float)TEST_STRENGTH * 0.9f) && 132 ((float)strength < (float)TEST_STRENGTH * 1.1f)); 134 short strength = mBassBoost.getRoundedStrength(); local 135 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000) [all...] |
MediaVirtualizerTest.java | 120 //Test case 1.0: test strength 129 short strength = mVirtualizer.getRoundedStrength(); local 130 // allow 10% difference between set strength and rounded strength 131 assertTrue(msg +": got incorrect strength", 132 ((float)strength > (float)TEST_STRENGTH * 0.9f) && 133 ((float)strength < (float)TEST_STRENGTH * 1.1f)); 135 short strength = mVirtualizer.getRoundedStrength(); local 136 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000) [all...] |
/frameworks/wilhelm/src/android/ |
android_Effect.cpp | 263 // initialize strength 264 int16_t strength; local 266 BASSBOOST_PARAM_STRENGTH, &strength)) { 267 ibb->mStrength = (SLpermille) strength; 331 // initialize strength 332 int16_t strength; local 334 VIRTUALIZER_PARAM_STRENGTH, &strength)) { 335 ivi->mStrength = (SLpermille) strength;
|
/cts/tests/tests/media/src/android/media/cts/ |
BassBoostTest.java | 82 //Test case 1.0: test strength 87 short strength = mBassBoost.getRoundedStrength(); local 88 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; 89 mBassBoost.setStrength((short)strength); 91 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength 92 assertTrue("got incorrect strength", 93 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && 94 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)) 96 short strength = mBassBoost.getRoundedStrength(); local 119 short strength = settings.strength; local [all...] |