Searched refs:strength (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpost_filter.cpp189 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
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensorAdditionalInfo.java141 * float[3]: strength (uT), declination and inclination angle (rad).
147 * Local gravity acceleration strength.
203 float strength, float declination, float inclination) {
204 if (strength < 10 || strength > 100 // much beyond extreme values on earth
212 null, new float[] { strength, declination, inclination});
202 createLocalGeomagneticField( float strength, float declination, float inclination) argument
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java48 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter().
52 * Bass boost effect strength. Parameter ID for
58 * Indicates if strength parameter is supported by the bass boost engine
106 * Indicates whether setting strength is supported. If this method returns false, only one
107 * strength is supported and the setStrength() method always rounds to that value.
108 * @return true is strength parameter is supported, false otherwise
115 * Sets the strength of the bass boost effect. If the implementation does not support per mille
116 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
119 * @param strength strengt
125 setStrength(short strength) argument
215 public short strength; field in class:BassBoost.Settings
[all...]
H A DVirtualizer.java59 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter().
63 * Virtualizer effect strength. Parameter ID for
84 * Indicates if strength parameter is supported by the virtualizer engine
132 * Indicates whether setting strength is supported. If this method returns false, only one
133 * strength is supported and the setStrength() method always rounds to that value.
134 * @return true is strength parameter is supported, false otherwise
141 * Sets the strength of the virtualizer effect. If the implementation does not support per mille
142 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
145 * @param strength strengt
151 setStrength(short strength) argument
557 public short strength; field in class:Virtualizer.Settings
[all...]
/frameworks/wilhelm/src/itf/
H A DIBassBoost.cpp89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) argument
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;
H A DIVirtualizer.cpp91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) argument
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;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java119 //Test case 1.0: test strength
128 short strength = mBassBoost.getRoundedStrength();
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();
135 assertTrue(msg +": got incorrect strength", strength >
[all...]
H A DMediaVirtualizerTest.java120 //Test case 1.0: test strength
129 short strength = mVirtualizer.getRoundedStrength();
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();
136 assertTrue(msg +": got incorrect strength", strength >
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerSignalTest.java472 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT;
475 setLevel(strength);
479 strength /* strengthIcon */,
495 strength /* strengthIcon */,
501 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT;
504 setLevel(strength);
509 strength /* strengthIcon */,
527 strength /* strengthIcon */,
534 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT;
537 setLevel(strength);
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_VibratorService.cpp107 static jlong vibratorPerformEffect(JNIEnv*, jobject, jlong effect, jint strength) { argument
111 mHal->perform(static_cast<Effect>(effect), static_cast<EffectStrength>(strength),
122 ALOGE("Failed to perform haptic effect: effect=%" PRId64 ", strength=%" PRId32
124 static_cast<int32_t>(strength), static_cast<uint32_t>(status));
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp198 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, i
[all...]
H A DslesTestVirtualizerPath.cpp199 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, i
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp274 // initialize strength
275 int16_t strength; local
277 BASSBOOST_PARAM_STRENGTH, &strength)) {
278 ibb->mStrength = (SLpermille) strength;
342 // initialize strength
343 int16_t strength; local
345 VIRTUALIZER_PARAM_STRENGTH, &strength)) {
346 ivi->mStrength = (SLpermille) strength;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp258 /* Saved strength is used to return the exact strength that was used in the set to the get
259 * because we map the original strength range of 0:1000 to 1:15, and this will avoid
710 // strength strength to be applied
1187 // get the effect strength currently being used, what is actually returned is the strengh that was
1188 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1211 /* Check that the strength returned matches the strength that was set earlier */
1214 ALOGV("\tLVM_ERROR : BassGetStrength module strength doe
1236 BassSetStrength(EffectContext *pContext, uint32_t strength) argument
1308 VirtualizerSetStrength(EffectContext *pContext, uint32_t strength) argument
2086 int16_t strength; local
2235 int16_t strength; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java455 * @param strength The factor of the black color of shadow.
456 * @param retStrips Used to store the calculated shadow strength
460 @NonNull float[] poly, int polyLength, int rays, int layers, float strength,
528 strength, retStrips);
541 * @param strength The factor of the black color of shadow.
542 * @param retStrips Used to store the calculated shadow strength.
545 @NonNull float[] umbra, int umbraLength, int rays, int layers, float strength,
578 retStrips[p * 3 + 2] = jf * op * strength;
618 retStrips[p * 3 + 2] = jf * op * strength;
459 calcShadow(@onNull float[] lightPoly, int lightPolyLength, @NonNull float[] poly, int polyLength, int rays, int layers, float strength, @NonNull float[] retStrips) argument
544 triangulateConcentricPolygon(@onNull float[] penumbra, int penumbraLength, @NonNull float[] umbra, int umbraLength, int rays, int layers, float strength, @NonNull float[] retStrips) argument
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java110 native static long vibratorPerformEffect(long effect, long strength); argument
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2410 SLpermille strength
2499 SLpermille strength
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 827 milliseconds