Tabnine Logo
Animator.finishLifecycleAction
Code IndexAdd Tabnine to your IDE (free)

How to use
finishLifecycleAction
method
in
com.jogamp.opengl.util.Animator

Best Java code snippets using com.jogamp.opengl.util.Animator.finishLifecycleAction (Showing top 12 results out of 315)

origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued2 = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued ) {
    return false;
  }
  pauseIssued = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued2 ) {
    return false;
  }
  pauseIssued2 = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued ) {
    return false;
  }
  pauseIssued = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued2 ) {
    return false;
  }
  pauseIssued2 = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued ) {
    return false;
  }
  pauseIssued = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued ) {
    return false;
  }
  pauseIssued = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final String threadName = getThreadName()+"-"+baseName;
  Thread thread;
  if(null==threadGroup2) {
    thread = new Thread(runnable, threadName);
  } else {
    thread = new Thread(threadGroup2, runnable, threadName);
  }
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final Thread thread = new InterruptSource.Thread(threadGroup, runnable, getThreadName()+"-"+baseName);
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final Thread thread = new InterruptSource.Thread(threadGroup, runnable, getThreadName()+"-"+baseName);
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
com.jogamp.opengl.utilAnimatorfinishLifecycleAction

Popular methods of Animator

  • <init>
    Creates a new Animator for a particular drawable.
  • start
  • stop
  • add
  • isStarted
  • display
  • flushGLRunnables
  • getThreadName
  • handleUncaughtException
  • isAnimating
  • isPaused
  • setDrawablesExclCtxState
  • isPaused,
  • setDrawablesExclCtxState,
  • setThreadGroup,
  • remove,
  • setModeBits,
  • setRunAsFastAsPossible,
  • setUpdateFPSFrames

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • JOptionPane (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now