OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numPresets
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaEqualizerTest.java
199
short
numPresets
= mEqualizer.getNumberOfPresets();
200
assertTrue(msg + ": getNumberOfPresets failed",
numPresets
>= MIN_NUMBER_OF_PRESETS);
201
mEqualizer.usePreset((short)(
numPresets
- 1));
203
assertEquals(msg + ": usePreset failed", preset, (short)(
numPresets
- 1));
/cts/tests/tests/media/src/android/media/cts/
EqualizerTest.java
142
short
numPresets
= mEqualizer.getNumberOfPresets();
143
assertTrue("getNumberOfPresets failed",
numPresets
>= MIN_NUMBER_OF_PRESETS);
144
if (
numPresets
> 0) {
145
mEqualizer.usePreset((short)(
numPresets
- 1));
147
assertEquals("usePreset failed", preset, (short)(
numPresets
- 1));
/frameworks/wilhelm/src/android/
android_Effect.cpp
296
uint16_t
numPresets
= 0;
298
EQ_PARAM_GET_NUM_OF_PRESETS, 0, &
numPresets
)) {
299
ieq->mThis->mEngine->mEqNumPresets =
numPresets
;
300
ieq->mNumPresets =
numPresets
;
305
if ((0 <
numPresets
) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) {
306
ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[
numPresets
];
307
for(uint32_t i = 0 ; i <
numPresets
; i++) {
/packages/apps/MusicFX/src/com/android/musicfx/
ActivityMusic.java
270
final int
numPresets
= ControlPanelEffect.getParameterInt(mContext, mCallingPackageName,
272
mEQPresetNames = new String[
numPresets
+ 2];
273
for (short i = 0; i <
numPresets
; i++) {
277
mEQPresetNames[
numPresets
] = getString(R.string.ci_extreme);
278
mEQPresetNames[
numPresets
+ 1] = getString(R.string.user);
279
mEQPresetUserPos =
numPresets
+ 1;
[
all
...]
ControlPanelEffect.java
279
// If no preset prefs set use CI EXTREME (=
numPresets
)
611
final int
numPresets
= prefs.getInt(Key.eq_num_presets.toString(),
614
if (preset <
numPresets
) {
626
if (preset ==
numPresets
) {
[
all
...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
EqualizerTest.java
149
short
numPresets
= mEqualizer.getNumberOfPresets();
152
mParameters[5] = new PresetParam(mEqualizer, (short)0, (short)(
numPresets
-1), seekBar, textView);
Completed in 87 milliseconds