Home
last modified time | relevance | path

Searched refs:TimeRanges (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/
DTimeRangesTest.cpp39 using WebCore::TimeRanges;
41 static std::string ToString(const TimeRanges& ranges) in ToString()
54 TEST(TimeRanges, Empty) in TEST() argument
56 ASSERT_RANGE("{ }", TimeRanges::create()); in TEST()
59 TEST(TimeRanges, SingleRange) in TEST() argument
61 ASSERT_RANGE("{ [1,2) }", TimeRanges::create(1, 2)); in TEST()
64 TEST(TimeRanges, CreateFromWebTimeRanges) in TEST() argument
71 ASSERT_RANGE("{ [0,1) [2,3) }", TimeRanges::create(webRanges)); in TEST()
74 TEST(TimeRanges, AddOrder) in TEST() argument
76 RefPtr<TimeRanges> rangeA = TimeRanges::create(); in TEST()
[all …]
DTimeRanges.cpp37 TimeRanges::TimeRanges(double start, double end) in TimeRanges() function in TimeRanges
43 PassRefPtr<TimeRanges> TimeRanges::create(const blink::WebTimeRanges& webRanges) in create()
45 RefPtr<TimeRanges> ranges = TimeRanges::create(); in create()
54 PassRefPtr<TimeRanges> TimeRanges::copy() const in copy()
56 RefPtr<TimeRanges> newSession = TimeRanges::create(); in copy()
65 void TimeRanges::invert() in invert()
67 RefPtr<TimeRanges> inverted = TimeRanges::create(); in invert()
89 void TimeRanges::intersectWith(const TimeRanges* other) in intersectWith()
96 RefPtr<TimeRanges> invertedOther = other->copy(); in intersectWith()
104 void TimeRanges::unionWith(const TimeRanges* other) in unionWith()
[all …]
DTimeRanges.h41 class TimeRanges : public RefCounted<TimeRanges>, public ScriptWrappable {
43 static PassRefPtr<TimeRanges> create() in create()
45 return adoptRef(new TimeRanges); in create()
47 static PassRefPtr<TimeRanges> create(double start, double end) in create()
49 return adoptRef(new TimeRanges(start, end)); in create()
51 static PassRefPtr<TimeRanges> create(const blink::WebTimeRanges&);
53 PassRefPtr<TimeRanges> copy() const;
54 void intersectWith(const TimeRanges*);
55 void unionWith(const TimeRanges*);
68 TimeRanges() in TimeRanges() function
[all …]
DMediaControllerInterface.h34 class TimeRanges; variable
41 virtual PassRefPtr<TimeRanges> buffered() const = 0;
42 virtual PassRefPtr<TimeRanges> seekable() const = 0;
43 virtual PassRefPtr<TimeRanges> played() = 0;
DMediaController.cpp92 PassRefPtr<TimeRanges> MediaController::buffered() const in buffered()
95 return TimeRanges::create(); in buffered()
100 RefPtr<TimeRanges> bufferedRanges = m_mediaElements.first()->buffered(); in buffered()
106 PassRefPtr<TimeRanges> MediaController::seekable() const in seekable()
109 return TimeRanges::create(); in seekable()
114 RefPtr<TimeRanges> seekableRanges = m_mediaElements.first()->seekable(); in seekable()
120 PassRefPtr<TimeRanges> MediaController::played() in played()
123 return TimeRanges::create(); in played()
128 RefPtr<TimeRanges> playedRanges = m_mediaElements.first()->played(); in played()
DHTMLMediaSource.h44 class TimeRanges; variable
66 virtual PassRefPtr<TimeRanges> buffered() const = 0;
DMediaController.h58 virtual PassRefPtr<TimeRanges> buffered() const;
59 virtual PassRefPtr<TimeRanges> seekable() const;
60 virtual PassRefPtr<TimeRanges> played();
DMediaController.idl31 readonly attribute TimeRanges buffered;
32 readonly attribute TimeRanges seekable;
38 readonly attribute TimeRanges played;
DHTMLMediaElement.h63 class TimeRanges; variable
114 PassRefPtr<TimeRanges> buffered() const;
132 PassRefPtr<TimeRanges> played();
133 PassRefPtr<TimeRanges> seekable() const;
457 RefPtr<TimeRanges> m_playedTimeRanges;
DHTMLMediaElement.idl46 readonly attribute TimeRanges buffered;
65 readonly attribute TimeRanges played;
66 readonly attribute TimeRanges seekable;
DTimeRanges.idl28 ] interface TimeRanges {
DHTMLMediaElement.cpp695 m_playedTimeRanges = TimeRanges::create(); in prepareForLoad()
1785 m_playedTimeRanges = TimeRanges::create(); in addPlayedRange()
1855 RefPtr<TimeRanges> seekableRanges = seekable(); in seek()
2436 RefPtr<TimeRanges> timeRanges = m_player->buffered(); in percentLoaded()
3147 PassRefPtr<TimeRanges> HTMLMediaElement::buffered() const in buffered()
3150 return TimeRanges::create(); in buffered()
3158 PassRefPtr<TimeRanges> HTMLMediaElement::played() in played()
3167 m_playedTimeRanges = TimeRanges::create(); in played()
3172 PassRefPtr<TimeRanges> HTMLMediaElement::seekable() const in seekable()
3177 return TimeRanges::create(0, maxTimeSeekable); in seekable()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
DMediaSourceBase.cpp107 PassRefPtr<TimeRanges> MediaSourceBase::buffered() const in buffered()
111 Vector<RefPtr<TimeRanges> > ranges = activeRanges(); in buffered()
115 return TimeRanges::create(); in buffered()
128 return TimeRanges::create(); in buffered()
131 RefPtr<TimeRanges> intersectionRanges = TimeRanges::create(0, highestEndTime); in buffered()
137 TimeRanges* sourceRanges = ranges[i].get(); in buffered()
DWebKitSourceBuffer.h46 class TimeRanges; variable
56 PassRefPtr<TimeRanges> buffered(ExceptionState&) const;
DWebKitSourceBuffer.cpp65 PassRefPtr<TimeRanges> WebKitSourceBuffer::buffered(ExceptionState& exceptionState) const in buffered()
76 return TimeRanges::create(m_webSourceBuffer->buffered()); in buffered()
DMediaSourceBase.h72 virtual PassRefPtr<TimeRanges> buffered() const OVERRIDE;
96 virtual Vector<RefPtr<TimeRanges> > activeRanges() const = 0;
DSourceBuffer.h58 class TimeRanges; variable
69 PassRefPtr<TimeRanges> buffered(ExceptionState&) const;
DWebKitMediaSource.cpp171 Vector<RefPtr<TimeRanges> > WebKitMediaSource::activeRanges() const in activeRanges()
173 Vector<RefPtr<TimeRanges> > activeRanges(m_activeSourceBuffers->length()); in activeRanges()
DMediaSource.cpp180 Vector<RefPtr<TimeRanges> > MediaSource::activeRanges() const in activeRanges()
182 Vector<RefPtr<TimeRanges> > activeRanges(m_activeSourceBuffers->length()); in activeRanges()
DWebKitMediaSource.h67 virtual Vector<RefPtr<TimeRanges> > activeRanges() const OVERRIDE;
DMediaSource.h67 virtual Vector<RefPtr<TimeRanges> > activeRanges() const OVERRIDE;
DSourceBuffer.cpp92 PassRefPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) const in buffered()
103 return TimeRanges::create(m_webSourceBuffer->buffered()); in buffered()
DWebKitSourceBuffer.idl37 [RaisesException=Getter] readonly attribute TimeRanges buffered;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/media/
DMediaPlayer.h49 class TimeRanges; variable
150 virtual PassRefPtr<TimeRanges> buffered() const = 0;
/external/chromium_org/third_party/WebKit/Source/web/
DWebMediaPlayerClientImpl.cpp448 PassRefPtr<TimeRanges> WebMediaPlayerClientImpl::buffered() const in buffered()
451 return TimeRanges::create(m_webMediaPlayer->buffered()); in buffered()
452 return TimeRanges::create(); in buffered()

123