OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mVisualizer
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
EnergyProbe.java
36
private Visualizer
mVisualizer
= null;
43
mVisualizer
= new Visualizer(session);
44
if (
mVisualizer
!= null) {
45
mVisualizer
.setCaptureSize(CAPTURE_SIZE);
46
mMaxFrequency =
mVisualizer
.getSamplingRate() / 2000;
47
mCapturePeriodMs = 1000000 /
mVisualizer
.getMaxCaptureRate();
64
if (
mVisualizer
!= null) {
66
mVisualizer
.setEnabled(true);
68
if (
mVisualizer
.getFft(mFft) == Visualizer.SUCCESS) {
89
mVisualizer
.setEnabled(false)
[
all
...]
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
AudioCapture.java
31
private Visualizer
mVisualizer
;
57
mVisualizer
= null;
59
mVisualizer
= new Visualizer(0);
60
if (
mVisualizer
!= null) {
61
if (
mVisualizer
.getEnabled()) {
62
mVisualizer
.setEnabled(false);
64
mVisualizer
.setCaptureSize(mRawVizData.length);
76
if (
mVisualizer
!= null) {
78
if (!
mVisualizer
.getEnabled()) {
79
mVisualizer
.setEnabled(true)
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
VisualizerTest.java
35
private Visualizer
mVisualizer
= null;
80
int captureRate =
mVisualizer
.getMaxCaptureRate();
83
int samplingRate =
mVisualizer
.getSamplingRate();
99
int[] range =
mVisualizer
.getCaptureSizeRange();
104
mVisualizer
.setCaptureSize(range[0]);
106
range[0],
mVisualizer
.getCaptureSize());
107
mVisualizer
.setCaptureSize(range[1]);
109
range[1],
mVisualizer
.getCaptureSize());
129
mVisualizer
.setEnabled(true);
130
assertTrue("visualizer not enabled",
mVisualizer
.getEnabled())
[
all
...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
VisualizerTest.java
50
private Visualizer
mVisualizer
;
90
if (
mVisualizer
!= null) {
121
if (mActive &&
mVisualizer
!= null) {
124
if (
mVisualizer
.getWaveForm(data) == Visualizer.SUCCESS) {
130
if (
mVisualizer
.getFft(data) == Visualizer.SUCCESS) {
149
if (visualizer ==
mVisualizer
) {
159
if (visualizer ==
mVisualizer
) {
204
if (
mVisualizer
!= null) {
208
mVisualizer
.setDataCaptureListener(mVisualizerListener,
213
mVisualizer
.setEnabled(mEnabled)
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaVisualizerTest.java
55
private Visualizer
mVisualizer
= null;
135
int captureRate =
mVisualizer
.getMaxCaptureRate();
138
int samplingRate =
mVisualizer
.getSamplingRate();
164
int[] range =
mVisualizer
.getCaptureSizeRange();
169
mVisualizer
.setCaptureSize(range[0]);
171
range[0],
mVisualizer
.getCaptureSize());
172
mVisualizer
.setCaptureSize(range[1]);
174
range[1],
mVisualizer
.getCaptureSize());
198
int res =
mVisualizer
.setScalingMode(Visualizer.SCALING_MODE_AS_PLAYED);
201
int mode =
mVisualizer
.getScalingMode()
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/media/
AudioFxDemo.java
50
private Visualizer
mVisualizer
;
80
mVisualizer
.setEnabled(true);
87
mVisualizer
.setEnabled(false);
173
mVisualizer
= new Visualizer(mMediaPlayer.getAudioSessionId());
174
mVisualizer
.setCaptureSize(Visualizer.getCaptureSizeRange()[1]);
175
mVisualizer
.setDataCaptureListener(new Visualizer.OnDataCaptureListener() {
190
mVisualizer
.release();
/frameworks/base/media/java/android/media/audiofx/
Visualizer.java
650
private Visualizer
mVisualizer
;
654
mVisualizer
= v;
660
l =
mVisualizer
.mCaptureListener;
669
l.onWaveFormDataCapture(
mVisualizer
, data, samplingRate);
672
l.onFftDataCapture(
mVisualizer
, data, samplingRate);
684
l =
mVisualizer
.mServerDiedListener;
693
if (
mVisualizer
== null) {
Completed in 1419 milliseconds