Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpost_filter.cpp189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; in H263_Deblock() local
220 strength = STRENGTH_tab[QP_store[mbnum]]; in H263_Deblock()
233 if (d1 < -(strength << 1)) in H263_Deblock()
237 else if (d1 < -strength) in H263_Deblock()
239 d1 = -d1 - (strength << 1); in H263_Deblock()
246 if (d1 > (strength << 1)) in H263_Deblock()
250 else if (d1 > strength) in H263_Deblock()
252 d1 = (strength << 1) - d1; in H263_Deblock()
311strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])]; in H263_Deblock()
315strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbn… in H263_Deblock()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DBassBoost.java125 public void setStrength(short strength) in setStrength() argument
127 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
215 public short strength; field in BassBoost.Settings
241 strength = Short.parseShort(st.nextToken()); in Settings()
251 ";strength="+Short.toString(strength) in toString()
271 settings.strength = value[0]; in getProperties()
285 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
DVirtualizer.java151 public void setStrength(short strength) in setStrength() argument
153 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
557 public short strength; field in Virtualizer.Settings
583 strength = Short.parseShort(st.nextToken()); in Settings()
593 ";strength="+Short.toString(strength) in toString()
613 settings.strength = value[0]; in getProperties()
627 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
/frameworks/wilhelm/src/itf/
DIBassBoost.cpp89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) in IBassBoost_SetStrength() argument
93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) { in IBassBoost_SetStrength()
99 thiz->mStrength = strength; in IBassBoost_SetStrength()
106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); in IBassBoost_SetStrength()
126 SLpermille strength = thiz->mStrength;; in IBassBoost_GetRoundedStrength() local
134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); in IBassBoost_GetRoundedStrength()
139 *pStrength = strength; in IBassBoost_GetRoundedStrength()
DIVirtualizer.cpp91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) in IVirtualizer_SetStrength() argument
95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) { in IVirtualizer_SetStrength()
101 thiz->mStrength = strength; in IVirtualizer_SetStrength()
108 VIRTUALIZER_PARAM_STRENGTH, &strength); in IVirtualizer_SetStrength()
128 SLpermille strength = thiz->mStrength;; in IVirtualizer_GetRoundedStrength() local
136 VIRTUALIZER_PARAM_STRENGTH, &strength); in IVirtualizer_GetRoundedStrength()
141 *pStrength = strength; in IVirtualizer_GetRoundedStrength()
/frameworks/base/core/java/android/hardware/
DSensorAdditionalInfo.java258 float strength, float declination, float inclination) { in createLocalGeomagneticField() argument
259 if (strength < 10 || strength > 100 // much beyond extreme values on earth in createLocalGeomagneticField()
267 null, new float[] { strength, declination, inclination}); in createLocalGeomagneticField()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java482 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_carrierNetworkChange() local
485 setLevel(strength); in testCarrierNetworkChange_carrierNetworkChange()
489 strength /* strengthIcon */, in testCarrierNetworkChange_carrierNetworkChange()
505 strength /* strengthIcon */, in testCarrierNetworkChange_carrierNetworkChange()
511 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_roamingBeforeNetworkChange() local
514 setLevel(strength); in testCarrierNetworkChange_roamingBeforeNetworkChange()
519 strength /* strengthIcon */, in testCarrierNetworkChange_roamingBeforeNetworkChange()
537 strength /* strengthIcon */, in testCarrierNetworkChange_roamingBeforeNetworkChange()
544 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_roamingAfterNetworkChange() local
547 setLevel(strength); in testCarrierNetworkChange_roamingAfterNetworkChange()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVirtualizerTest.java129 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
132 ((float)strength > (float)TEST_STRENGTH * 0.9f) && in test1_0Strength()
133 ((float)strength < (float)TEST_STRENGTH * 1.1f)); in test1_0Strength()
135 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
136 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
DMediaBassBoostTest.java128 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
131 ((float)strength > (float)TEST_STRENGTH * 0.9f) && in test1_0Strength()
132 ((float)strength < (float)TEST_STRENGTH * 1.1f)); in test1_0Strength()
134 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
135 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DModemBatteryStatsReader.java82 final RawBatteryStats.SignalStrengthTime strength in createRemainder() local
88 if (strength != null && scanning != null && misc != null) { in createRemainder()
93 remainder.strengthTimeMs = strength.phoneSignalStrengthTimeMs; in createRemainder()
/frameworks/base/core/java/android/os/
DVibrationEffect.java738 public void setEffectStrength(int strength) { in setEffectStrength() argument
739 if (!isValidEffectStrength(strength)) { in setEffectStrength()
740 throw new IllegalArgumentException("Invalid effect strength: " + strength); in setEffectStrength()
742 mEffectStrength = strength; in setEffectStrength()
752 private static boolean isValidEffectStrength(int strength) { in isValidEffectStrength() argument
753 switch (strength) { in isValidEffectStrength()
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp154 static jlong vibratorPerformEffect(JNIEnv*, jobject, jlong effect, jint strength) { in vibratorPerformEffect() argument
161 EffectStrength effectStrength(static_cast<EffectStrength>(strength)); in vibratorPerformEffect()
195 static_cast<int32_t>(strength), static_cast<uint32_t>(status)); in vibratorPerformEffect()
/frameworks/wilhelm/tests/examples/
DslesTestBassBoostPath.cpp205 SLpermille strength = 0; in TestBassBoostPathFromFD() local
206 result = (*bbItf)->GetRoundedStrength(bbItf, &strength); in TestBassBoostPathFromFD()
208 fprintf(stdout, "Rounded strength of boost = %d\n", strength); in TestBassBoostPathFromFD()
DslesTestVirtualizerPath.cpp207 SLpermille strength = 0; in TestVirtualizerPathFromFD() local
208 result = (*virtItf)->GetRoundedStrength(virtItf, &strength); in TestVirtualizerPathFromFD()
210 fprintf(stdout, "Rounded strength of virt = %d\n", strength); in TestVirtualizerPathFromFD()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowVertexCalculator.java85 float strength, in calculateShadow() argument
157 layers, strength, retstrips); in calculateShadow()
/frameworks/base/core/proto/android/server/connectivity/
Ddata_stall_event.proto72 // Signal strength level at the time of data stall suspected.
78 // Signal strength at the time of data stall suspected.
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp275 int16_t strength; in android_bb_init() local
277 BASSBOOST_PARAM_STRENGTH, &strength)) { in android_bb_init()
278 ibb->mStrength = (SLpermille) strength; in android_bb_init()
343 int16_t strength; in android_virt_init() local
345 VIRTUALIZER_PARAM_STRENGTH, &strength)) { in android_virt_init()
346 ivi->mStrength = (SLpermille) strength; in android_virt_init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp1425 void BassSetStrength(EffectContext *pContext, uint32_t strength){ in Effect_setConfig() argument
1428 pContext->pBundledContext->BassStrengthSaved = (int)strength; in Effect_setConfig()
1441 ActiveParams.BE_EffectLevel = (LVM_INT16)((15*strength)/1000); in Effect_setConfig()
1497 void VirtualizerSetStrength(EffectContext *pContext, uint32_t strength){ in Effect_setConfig() argument
1502 pContext->pBundledContext->VirtStrengthSaved = (int)strength; in Effect_setConfig()
1511 ActiveParams.CS_EffectLevel = (int)((strength*32767)/1000); in Effect_setConfig()
1513 ALOGV("\tVirtualizerSetStrength() (0-1000) -> %d\n", strength ); in Effect_setConfig()
2290 const int16_t strength = *(int16_t *)pValue; in Effect_setConfig() local
2291 ALOGVV("%s BASSBOOST_PARAM_STRENGTH %d", __func__, strength); in Effect_setConfig()
2293 BassSetStrength(pContext, (int32_t)strength); in Effect_setConfig()
[all …]
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java448 float[] umbra, int umbraLength, int rays, int layers, float strength, in donutPie2() argument
483 retstrips[p * 3 + 2] = jf * op * strength; in donutPie2()
521 retstrips[p * 3 + 2] = jf * op * strength; in donutPie2()
/frameworks/base/core/proto/android/telephony/
Denums.proto57 // Signal strength levels, primarily used by android/telephony/SignalStrength.java.
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2050 // signal to noise ratio for LTE signal strength
2053 // in the future we may include more measures of signal strength, or
2143 // Snapshot of the CallQuality when signal strength is worst within good
2147 // Snapshot of the CallQuality when signal strength is best within good
2151 // Snapshot of the CallQuality when signal strength is worst within bad
2155 // Snapshot of the CallQuality when signal strength is best within bad
2531 // rx signal strength levels (ms)
/frameworks/opt/net/wifi/service/proto/src/
Dscorecard.proto88 optional UnivariateStatistic rssi = 3; // Signal strength (dBm) of beacons
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto127 // True if this object specifies a signal strength.
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md40 … | | ```level``` | Sets mobile signal strength level (null or 0-4)
/frameworks/wilhelm/include/SLES/
DOpenSLES.h2410 SLpermille strength
2499 SLpermille strength

12