Searched refs:slide (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Mms/src/com/android/mms/model/ |
D | SlideshowModel.java | 88 for (SlideModel slide : mSlides) { in SlideshowModel() 89 increaseMessageSize(slide.getSlideSize()); in SlideshowModel() 90 slide.setParent(this); in SlideshowModel() 167 SlideModel slide = new SlideModel((int) (par.getDur() * 1000), mediaSet); in createFromPduBody() local 168 slide.setFill(par.getFill()); in createFromPduBody() 169 SmilHelper.addParElementEventListeners((EventTarget) par, slide); in createFromPduBody() local 170 slides.add(slide); in createFromPduBody() 195 for (SlideModel slide : mSlides) { in makePduBody() 196 for (MediaModel media : slide) { in makePduBody() 352 for (SlideModel slide : mSlides) { in clear() [all …]
|
D | SmilHelper.java | 308 for (SlideModel slide : slideshow) { in createSmilDocument() 311 par.setDur(slide.getDuration() / 1000f); in createSmilDocument() 313 addParElementEventListeners((EventTarget) par, slide); in createSmilDocument() local 316 for (MediaModel media : slide) { in createSmilDocument() 413 EventTarget target, SlideModel slide) { in addParElementEventListeners() argument 416 target.addEventListener(SMIL_SLIDE_START_EVENT, slide, false); in addParElementEventListeners() 417 target.addEventListener(SMIL_SLIDE_END_EVENT, slide, false); in addParElementEventListeners()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MmsThumbnailPresenter.java | 40 SlideModel slide = ((SlideshowModel) mModel).get(0); in present() local 41 if (slide != null) { in present() 42 presentFirstSlide((SlideViewInterface) mView, slide); in present() local 46 private void presentFirstSlide(SlideViewInterface view, SlideModel slide) { in presentFirstSlide() argument 49 if (slide.hasImage()) { in presentFirstSlide() 50 presentImageThumbnail(view, slide.getImage()); in presentFirstSlide() 51 } else if (slide.hasVideo()) { in presentFirstSlide() 52 presentVideoThumbnail(view, slide.getVideo()); in presentFirstSlide() 53 } else if (slide.hasAudio()) { in presentFirstSlide() 54 presentAudioThumbnail(view, slide.getAudio()); in presentFirstSlide()
|
D | SlideshowEditor.java | 70 SlideModel slide = new SlideModel(mModel); in addNewSlide() local 75 slide.add(text); in addNewSlide() 77 mModel.add(position, slide); in addNewSlide() 127 SlideModel slide = mModel.get(position); in changeText() local 128 TextModel text = slide.getText(); in changeText() 134 slide.add(text); in changeText() 148 SlideModel slide = mModel.get(position); in changeAudio() local 149 slide.add(audio); in changeAudio() 150 slide.updateDuration(audio.getDuration()); in changeAudio() 156 SlideModel slide = mModel.get(position); in changeVideo() local [all …]
|
D | SlideEditorActivity.java | 261 SlideModel slide = mSlideshowModel.get(mPosition); 262 if (slide.hasVideo()) { 312 SlideModel slide = mSlideshowModel.get(mPosition); in onPrepareOptionsMenu() local 319 if (slide.hasText() && !TextUtils.isEmpty(slide.getText().getText())) { in onPrepareOptionsMenu() 326 if (slide.hasImage()) { in onPrepareOptionsMenu() 329 } else if (!slide.hasVideo()) { in onPrepareOptionsMenu() 337 if (slide.hasAudio()) { in onPrepareOptionsMenu() 340 } else if (!slide.hasVideo()) { in onPrepareOptionsMenu() 353 if (slide.hasVideo()) { in onPrepareOptionsMenu() 356 } else if (!slide.hasAudio() && !slide.hasImage()) { in onPrepareOptionsMenu() [all …]
|
D | AttachmentEditor.java | 146 SlideModel slide = mSlideshow.get(0); in createView() local 147 if (slide.hasImage()) { in createView() 155 } else if (slide.hasVideo()) { in createView() 163 } else if (slide.hasAudio()) { in createView()
|
D | MessageUtils.java | 352 SlideModel slide = model.get(0); in getAttachmentType() local 353 if (slide.hasVideo()) { in getAttachmentType() 357 if (slide.hasAudio() && slide.hasImage()) { in getAttachmentType() 361 if (slide.hasAudio()) { in getAttachmentType() 365 if (slide.hasImage()) { in getAttachmentType() 369 if (slide.hasText()) { in getAttachmentType() 531 SlideModel slide = slideshow.get(0); in viewSimpleSlideshow() local 533 if (slide.hasImage()) { in viewSimpleSlideshow() 534 mm = slide.getImage(); in viewSimpleSlideshow() 535 } else if (slide.hasVideo()) { in viewSimpleSlideshow() [all …]
|
D | MessageItem.java | 189 SlideModel slide = mSlideshow.get(0); in MessageItem() local 190 if ((slide != null) && slide.hasText()) { in MessageItem() 191 TextModel tm = slide.getText(); in MessageItem()
|
D | SlideshowEditActivity.java | 368 SlideModel slide = getItem(position); in createViewFromResource() local 369 int dur = slide.getDuration() / 1000; in createViewFromResource()
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | WorkingMessage.java | 223 SlideModel slide = mSlideshow.get(0); in correctAttachmentState() local 224 if (slide.hasImage()) { in correctAttachmentState() 226 } else if (slide.hasVideo()) { in correctAttachmentState() 228 } else if (slide.hasAudio()) { in correctAttachmentState() 401 SlideModel slide = new SlideModel(slideshow); in ensureSlideshow() local 402 slideshow.add(slide); in ensureSlideshow() 412 SlideModel slide = mSlideshow.get(0); in changeMedia() local 416 slide.removeImage(); in changeMedia() 417 slide.removeVideo(); in changeMedia() 418 slide.removeAudio(); in changeMedia() [all …]
|