PageRenderTime 103ms queryFilters 1ms Sphinxql 16ms GetByIds 54ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:gamblore/monocleengine-monogame' (103 ms)

Source

Language

Repository

sprite.js https://github.com/Breton/HTML5-Storybook.git | JavaScript | 308 lines
21		frameHeight,
22		frameDelay = options.frameDelay || 1,
23		loop = options.loop,
157			// If the last frame
158			if (updateIndex + 1 >= numFrames * frameDelay) {
159			
174				updateIndex += 1;
175				curFrame = applyEasing(updateIndex, numFrames * frameDelay, numFrames);
176			}
head-turn.js https://github.com/brianmcguinty/rowley.git | JavaScript | 263 lines
102        // the code here in case we want to start selectively turning off the delay.
103        // var frameDelay = (delay) ? STD_FRAME_DELAY : 0;
104        var frameDelay = STD_FRAME_DELAY;
127                        var step = (startIndex > targetIndex) ? -1 : 1;
128                        animateModel(frame, startIndex+step, targetIndex, frameDelay, true);
129                    }
130                },
131                frameDelay
132            );
GameCanvas.java http://cellengine.googlecode.com/svn/trunk/ | Java | 360 lines
169		
170		AScreen.FrameDelay = 1000 / Game.getFPS();
171		
188				long elapsedTime = System.currentTimeMillis() - time;
189				if (elapsedTime < AScreen.FrameDelay) {
190					Thread.sleep(AScreen.FrameDelay - elapsedTime);
220	
221	private int OldFrameDelay = 40;
222	
228		AScreen.RenderEnable = true;
229		AScreen.FrameDelay = OldFrameDelay;
230		if(AScreen.getCurScreen()!=null){
236	public void deactivated() {
237		OldFrameDelay = AScreen.FrameDelay;
238		AScreen.RenderEnable = false;
effects.cpp https://bitbucket.org/dak180/warzone2100.git | C++ | 2,603 lines
1005	/* Time to update the frame number on the blood */
1006	if(graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
1007	{
1028	/* Time to update the frame number on the smoke sprite */
1029	while (graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
1030	{
2154	{
2155		psEffect->frameDelay = EXPLOSION_FRAME_DELAY/2;
2156	}
2535		ini.setValue("lastFrame", it->lastFrame);
2536		ini.setValue("frameDelay", it->frameDelay);
2537		ini.setValue("lifeSpan", it->lifeSpan);
2580		curEffect->lastFrame    = ini.value("lastFrame").toInt();
2581		curEffect->frameDelay   = ini.value("frameDelay").toInt();
2582		curEffect->lifeSpan     = ini.value("lifeSpan").toInt();
Choreographer.java https://github.com/0359xiaodong/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/0l1v3rof/aospa_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/21day/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/2770862886/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/95796689/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Camera (Transform Maya)~.xml https://github.com/aaajiao/body-shadow.git | XML | 1,303 lines
212   </NODE>
213   <NODE id="69" nodename="FrameDelay (Animation)">
214   <BOUNDS height="0" left="945" top="5460" type="Node" width="0">
222   </LINK>
223   <NODE id="68" nodename="FrameDelay (Animation)">
224   <BOUNDS height="0" left="2595" top="5355" type="Node" width="0">
316   </NODE>
317   <NODE id="61" nodename="FrameDelay (Animation)">
318   <BOUNDS height="0" left="6255" top="5985" type="Node" width="0">
550   </NODE>
551   <NODE id="45" nodename="FrameDelay (Animation)">
552   <BOUNDS height="0" left="10500" top="6885" type="Node" width="0">
602   </NODE>
603   <NODE id="41" nodename="FrameDelay (Animation)">
604   <BOUNDS height="0" left="2505" top="9630" type="Node" width="0">
HRTFKernel.h https://github.com/812872970/webkit.git | C Header | 97 lines
47//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
48//      m_frameDelay is the leading delay of the original impulse response.
49class HRTFKernel : public RefCounted<HRTFKernel> {
57
58    static PassRefPtr<HRTFKernel> create(std::unique_ptr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
59    {
59    {
60        return adoptRef(new HRTFKernel(WTF::move(fftFrame), frameDelay, sampleRate));
61    }
68    size_t fftSize() const;
69    float frameDelay() const { return m_frameDelay; }
70
82        : m_fftFrame(WTF::move(fftFrame))
83        , m_frameDelay(frameDelay)
84        , m_sampleRate(sampleRate)
HRTFKernel.h https://github.com/abitduck/phantomjs.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class HRTFKernel : public RefCounted<HRTFKernel> {
58
59    static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
60    {
60    {
61        return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const;
70    float frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
Misc.cpp https://github.com/abovenyquist/dhewm3.git | C++ | 3,762 lines
1293*/
1294void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1295	idVec3			launchPos;
1330	if ( numshots > 0 ) {
1331		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1332	}
1339*/
1340void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1341	const idDict *	projectileDef;
1365	CancelEvents( &EV_LaunchMissilesUpdate );
1366	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1367}
Misc.cpp https://github.com/abovenyquist/dhewm3.git | C++ | 3,158 lines
1259*/
1260void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1261	idVec3			launchPos;
1296	if ( numshots > 0 ) {
1297		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1298	}
1305*/
1306void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1307	const idDict *	projectileDef;
1331	CancelEvents( &EV_LaunchMissilesUpdate );
1332	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1333}
HRTFKernel.h https://github.com/achellies/WinCEWebKit.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class HRTFKernel : public RefCounted<HRTFKernel> {
58
59    static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, double frameDelay, double sampleRate)
60    {
60    {
61        return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const { return m_fftFrame->fftSize(); }
70    double frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h https://github.com/acicali/phantomjs.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class HRTFKernel : public RefCounted<HRTFKernel> {
58
59    static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
60    {
60    {
61        return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const;
70    float frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
Choreographer.java https://github.com/acutmore-swiftkey/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/Adi-Shakthi123/frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/adrianacd/platform_frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
splashscreen_gif.c https://github.com/aducode/jdk7u-jdk.git | C | 324 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21