Package codeanticode.gsvideo

Examples of codeanticode.gsvideo.GSMovie.time()


    protected void onNewFrame() {
      super.onNewFrame();
     
      GSMovie m = getMovie();
      if (!stopSliderAdvance && m != null && slider != null){
        slider.setValue(m.time()); //ONLY UPDATE the slider position WHEN NOT DRAGGING THE SLIDER
      }
    }
   
    @Override
    protected void setDefaultGestureActions() {
View Full Code Here


   *
   * @return the time the movie plays in float
   */
  public float getTime() {
    GSMovie movie = getMovie();
    return movie.time();
  }
 
  /**
   * Go to beginning.
   */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.