/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 381 ALOGV("Video track located at %d", index); 386 // Always *search* based on the video track, but finalize based on mTrackNum 391 ALOGE("Did not locate the video track for seeking"); 792 const mkvparser::Track *track = tracks->GetTrackByIndex(index); local 794 if (track == NULL) { 800 const char *const codecID = track->GetCodecId(); 802 ALOGV("codec name = %s", track->GetCodecNameAsUTF8()); 806 track->GetCodecPrivate(codecPrivateSize); 812 switch (track->GetType()) { 816 static_cast<const mkvparser::VideoTrack *>(track); [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 511 jint writeToTrack(const sp<AudioTrack>& track, jint audioFormat, jbyte* data, argument 516 if (track->sharedBuffer() == 0) { 517 written = track->write(data + offsetInBytes, sizeInBytes); 521 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 522 sizeInBytes = track->sharedBuffer()->size(); 524 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); 531 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) { 532 sizeInBytes = track->sharedBuffer()->size() / 2; 535 int16_t *dst = (int16_t *)track->sharedBuffer()->pointer();
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 34 * The maximum amount of time to wait for an audio track to make progress while 57 * track buffer size (mAudioBufferSize). In this case, we need to call 59 * different logic is required to wait for the track to finish. 72 // Locks the initialization / uninitialization of the audio track. 97 AudioTrack track = createStreamingAudioTrack(); 100 mAudioTrack = track; 125 // before rendering the track mixable. 127 // If mStopped is true, the track would already have been stopped, so not 131 Log.d(TAG, "Stopping audio track to flush audio, state was : " + 139 // Block until the audio track i [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 808 AudioTrack track; local 810 if (track.set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT, 817 ALOGD("latency: output %d, input %d", track.latency(), record.latency()); 851 (track.latency() + record.latency()) * sampleRate / 1000); 861 track.start(); 879 status_t status = track.obtainBuffer(&buffer, 1); 884 track.releaseBuffer(&buffer);
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 66 /** Music note that indicates user is listening to a music track. */ 129 // Look for music track (of which there would be only one and it'll be the 252 * Looks for a music track (\u266B is first character, everything else is 253 * track info). 497 // Keeps track of whether we've seen a character (in map if we've seen it) 768 /** Represents a music track token at the beginning. */ 770 private String track; field in class:AbstractMessageParser.MusicTrack 772 public MusicTrack(String track) { argument 773 super(Type.MUSIC, track); 774 this.track [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 74 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track); 669 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) 671 mTrack(track) { 668 WrappedTrack( const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) argument
|
/frameworks/native/libs/utils/ |
H A D | RefBase.cpp | 178 void trackMe(bool track, bool retain) argument 180 mTrackEnabled = track;
|
/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 86 private static final int JET_EVENT_TRACK_MASK = 0x00fc0000; // mask for track number 90 private static final int JET_EVENT_TRACK_SHIFT = 18; // shift to get track ID to bit 0 271 * affects track 0, bit 1 affects track 1 etc. 277 * track including trigger clips and mute flags. 299 * playback. The value at index 0 affects track 0, value at index 1 affects track 1 etc. 306 * track including trigger clips and mute flags. 322 * @param muteFlags a bitmask to specify which MIDI tracks are muted. Bit 0 affects track 0, 323 * bit 1 affects track 506 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 526 // track 680 MIXER_TRACKS_ENABLED, // at least one active track, but no track has any data ready 681 MIXER_TRACKS_READY // at least one active track, and at least one track has data 686 // playback track 781 int mName; // track name on the normal mixer, 782 // allocated statically at track creation time, 784 // FIXME don't allocate track name for fast tracks 790 // when this track wil [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 99 sp<IAudioTrack> track; local 125 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); 130 return track; 709 sp<IAudioTrack> track = createTrack(pid, local 714 reply->writeStrongBinder(track->asBinder());
|
H A D | AudioTrack.cpp | 765 // Client decides whether the track is TIMED (see below), but can only express a preference 873 sp<IAudioTrack> track = audioFlinger->createTrack(getpid(), local 886 if (track == 0) { 887 ALOGE("AudioFlinger could not create track, status: %d", status); 890 sp<IMemory> cblk = track->getCblk(); 895 mAudioTrack = track; 1055 // restart track if it was disabled by audioflinger due to previous underrun 1058 ALOGW("releaseBuffer() track %p name=%#x disabled, restarting", this, mCblk->mName); 1139 // If the track is not invalid already, try to allocate a buffer. alloc 1140 // fails indicating that the server is dead, flag the track a [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 400 AudioTrack track = new AudioTrack( 409 assertNotNull(msg + ": could not create AudioTrack", track); 415 track.attachAuxEffect(effect.getId()); 416 track.setAuxEffectSendLevel(1.0f); 419 track.release();
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 101 * mNumSamples is used to track the total number of samples in 183 // Update the audio track's drift information. 204 // Determine the track time scale 205 // If it is an audio track, try to use the sampling rate as 331 snprintf(buffer, SIZE, " %s track\n", mIsAudio? "Audio": "Video"); 346 Track *track = new Track(this, source, mTracks.size()); local 347 mTracks.push_back(track); 1105 ALOGI("Earliest track starting time: %lld", mStartTimestampUs); 1218 // Use the sampling rate as the default time scale for audio track. 1288 ALOGV("Receive request to track progres 1364 Track *track = NULL; local 1575 Track *track = static_cast<Track *>(me); local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 362 * Set the drawable used for the track that the switch slides within. 364 * @param track Track drawable 368 public void setTrackDrawable(Drawable track) { argument 369 mTrackDrawable = track; 374 * Set the drawable used for the track that the switch slides within. 376 * @param resId Resource ID of a track drawable 385 * Get the drawable used for the track that the switch slides within. 397 * can physically touch and drag along the track. 410 * can physically touch and drag along the track. 422 * can physically touch and drag along the track [all...] |
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 2031 SLuint16 track 2041 SLuint16 track 2107 SLuint16 track, 2112 SLuint16 track, 2117 SLuint16 track, 2122 SLuint16 track,
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 527 * scroll their content. This includes keeping track of the X and Y scroll 2224 * Flag indicating that view has a transform animation set on it. This is used to track whether 2231 * Flag indicating that view has an alpha animation set on it. This is used to track whether an 3856 Drawable track = a.getDrawable(R.styleable.View_scrollbarTrackHorizontal); 3857 scrollabilityCache.scrollBar.setHorizontalTrackDrawable(track); 3870 track = a.getDrawable(R.styleable.View_scrollbarTrackVertical); 3871 scrollabilityCache.scrollBar.setVerticalTrackDrawable(track); 7835 * Generic motion events describe joystick movements, mouse hovers, track pad 10139 // fast-track for GL-enabled applications; just invalidate the whole hierarchy 10182 // fast-track fo [all...] |