Home
last modified time | relevance | path

Searched refs:segmentDuration (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DVibrationEffect.java816 long segmentDuration = mSegments.get(i).getDuration(); in getDuration() local
817 if (segmentDuration < 0) { in getDuration()
818 return segmentDuration; in getDuration()
820 totalDuration += segmentDuration; in getDuration()
857 long segmentDuration = mSegments.get(i).getDuration(); in isHapticFeedbackCandidate() local
858 if (segmentDuration > 0) { in isHapticFeedbackCandidate()
859 totalDuration += segmentDuration; in isHapticFeedbackCandidate()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp459 void addOneElstTableEntry(uint32_t segmentDuration, int32_t mediaTime,
2391 uint32_t segmentDuration, int32_t mediaTime, int16_t mediaRate, int16_t mediaRateFraction) { in addOneElstTableEntry() argument
2392 ALOGV("segmentDuration:%u, mediaTime:%d", segmentDuration, mediaTime); in addOneElstTableEntry()
2395 mElstTableEntries->add(htonl(segmentDuration)); in addOneElstTableEntry()