Home
last modified time | relevance | path

Searched refs:par (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Mms/src/com/android/mms/model/
DSmilHelper.java147 SMILParElement par = (SMILParElement) document.createElement("par"); in addPar() local
149 par.setDur(8.0f); in addPar()
150 document.getBody().appendChild(par); in addPar()
151 return par; in addPar()
193 SMILParElement par = addPar(document); in createSmilDocument() local
205 if ((par == null) || (hasMedia && hasText)) { in createSmilDocument()
206 par = addPar(document); in createSmilDocument()
231 par.appendChild(textElement); in createSmilDocument()
236 par.appendChild(imageElement); in createSmilDocument()
241 par.appendChild(videoElement); in createSmilDocument()
[all …]
DSlideshowModel.java148 SMILParElement par = (SMILParElement) slideNodes.item(i); in createFromPduBody() local
151 NodeList mediaNodes = par.getChildNodes(); in createFromPduBody()
167 float dur = par.getDur(); in createFromPduBody()
185 par.setDur((float)mediadur / 1000 + 1); in createFromPduBody()
199 par.setDur((float)mediadur / 1000); in createFromPduBody()
217 SlideModel slide = new SlideModel((int) (par.getDur() * 1000), mediaSet); in createFromPduBody()
218 slide.setFill(par.getFill()); in createFromPduBody()
219 SmilHelper.addParElementEventListeners((EventTarget) par, slide); in createFromPduBody()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java90 ElementParallelTimeContainer par, double offset, double maxOffset) { in getParTimeline() argument
94 TimeList myBeginList = par.getBegin(); in getParTimeline()
105 TimelineEntry myBegin = new TimelineEntry(beginOffset, par, TimelineEntry.ACTION_BEGIN); in getParTimeline()
108 TimeList myEndList = par.getEnd(); in getParTimeline()
118 TimelineEntry myEnd = new TimelineEntry(endOffset, par, TimelineEntry.ACTION_END); in getParTimeline()
122 NodeList children = par.getTimeChildren(); in getParTimeline()
132 NodeList activeChildrenAtEnd = par.getActiveChildrenAt( in getParTimeline()
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp2021 int par = i; in _get_lpis() local
2022 while (par < n) { in _get_lpis()
2023 int left = par * 2 + 1; in _get_lpis()
2028 if (sop[left].score > sop[par].score) { in _get_lpis()
2029 swap(sop, left, par); in _get_lpis()
2030 par = left; in _get_lpis()
2034 sop[left].score > sop[par].score) { in _get_lpis()
2035 swap(sop, left, par); in _get_lpis()
2036 par = left; in _get_lpis()
2039 sop[right].score > sop[par].score) { in _get_lpis()
[all …]