PageRenderTime 598ms queryFilters 0ms Sphinxql 14ms GetByIds 192ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 342ms

2,043 results for 'FrameDelay repo:stephenabritton/doom-3-bfg' (598 ms)

Source

Language

Repository

ValueAnimator.java https://bitbucket.org/fredgrott/gwsdroidfeel.git | Java | 1,274 lines
223    // The number of milliseconds between animation frames
224    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
225
681                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
682                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
683                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
718     */
719    public static long getFrameDelay() {
720        return sFrameDelay;
729     *
730     * @param frameDelay the requested time between frames, in milliseconds
731     */
731     */
732    public static void setFrameDelay(long frameDelay) {
733        sFrameDelay = frameDelay;
ValueAnimator.java https://bitbucket.org/fredgrott/gwsdroidfeel.git | Java | 1,280 lines
224    // The number of milliseconds between animation frames
225    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
226
682                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
683                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
684                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
719     */
720    public static long getFrameDelay() {
721        return sFrameDelay;
730     *
731     * @param frameDelay the requested time between frames, in milliseconds
732     */
732     */
733    public static void setFrameDelay(long frameDelay) {
734        sFrameDelay = frameDelay;
pcmutils_lib.cpp https://bitbucket.org/cyanogenmod/android_external_aac.git | C++ | 1,281 lines
254  UCHAR applyProcessing;
255  UCHAR frameDelay;
256};
533    self->applyProcessing   = 0;
534    self->frameDelay        = 0;
535    self->expiryFrame       = PCMDMX_DFLT_EXPIRY_FRAME;
581    }
582    self->frameDelay = value;
583    break;
786
787  FDKmemcpy(&mpegMixDownInfo, &self->mpegMixDownInfo[self->frameDelay], sizeof(MPEG_MIXDOWN_INFO));
788  /* Maintain delay line */
788  /* Maintain delay line */
789  for (slot = self->frameDelay; slot > 0; slot -= 1) {
790    FDKmemcpy(&self->mpegMixDownInfo[slot], &self->mpegMixDownInfo[slot-1], sizeof(MPEG_MIXDOWN_INFO));
ValueAnimator.java https://bitbucket.org/fredgrott/gwsholointegration.git | Java | 1,269 lines
219    // The number of milliseconds between animation frames
220    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
221
677                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
678                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
679                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
714     */
715    public static long getFrameDelay() {
716        return sFrameDelay;
725     *
726     * @param frameDelay the requested time between frames, in milliseconds
727     */
727     */
728    public static void setFrameDelay(long frameDelay) {
729        sFrameDelay = frameDelay;
ValueAnimator.java https://bitbucket.org/ChernyshovYuriy/coachassistant.git | Java | 1,266 lines
222    // The number of milliseconds between animation frames
223    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
224
677                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
678                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
679                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
714     */
715    public static long getFrameDelay() {
716        return sFrameDelay;
725     *
726     * @param frameDelay the requested time between frames, in milliseconds
727     */
727     */
728    public static void setFrameDelay(long frameDelay) {
729        sFrameDelay = frameDelay;
ValueAnimator.java https://bitbucket.org/akravets/yahoo-weather-example.git | Java | 1,268 lines
224    // The number of milliseconds between animation frames
225    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
226
679                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
680                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
681                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
716     */
717    public static long getFrameDelay() {
718        return sFrameDelay;
727     *
728     * @param frameDelay the requested time between frames, in milliseconds
729     */
729     */
730    public static void setFrameDelay(long frameDelay) {
731        sFrameDelay = frameDelay;
pcmutils_lib.cpp https://bitbucket.org/bohlooli/aac.git | C++ | 1,278 lines
254  UCHAR applyProcessing;
255  UCHAR frameDelay;
256};
531    self->applyProcessing   = 0;
532    self->frameDelay        = 0;
533    self->expiryFrame       = PCMDMX_DFLT_EXPIRY_FRAME;
579    }
580    self->frameDelay = value;
581    break;
784
785  FDKmemcpy(&mpegMixDownInfo, &self->mpegMixDownInfo[self->frameDelay], sizeof(MPEG_MIXDOWN_INFO));
786  /* Maintain delay line */
786  /* Maintain delay line */
787  for (slot = self->frameDelay; slot > 0; slot -= 1) {
788    FDKmemcpy(&self->mpegMixDownInfo[slot], &self->mpegMixDownInfo[slot-1], sizeof(MPEG_MIXDOWN_INFO));
ValueAnimator.java https://bitbucket.org/perfectdp/mdict-android-opensource.git | Java | 1,266 lines
222    // The number of milliseconds between animation frames
223    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
224
677                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
678                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
679                                (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
714     */
715    public static long getFrameDelay() {
716        return sFrameDelay;
725     *
726     * @param frameDelay the requested time between frames, in milliseconds
727     */
727     */
728    public static void setFrameDelay(long frameDelay) {
729        sFrameDelay = frameDelay;
AnimSprite.as https://bitbucket.org/ntibor22/spritesheet.git | ActionScript | 251 lines
24		
25		protected var frameDelay:Number; // for fps 
26		
54			mAnimSheet= sheet;
55			frameDelay=0;
56			
72			_fps = fps;
73			frameDelay= 1.0 / fps;
74		}
165			
166			if (frameDelay==0) frameDelay= curAnim.delay;
167			donePlaying= false;
210		{
211			//trace("updateAnimation delta=" + delta + ", frd=" + frameDelay)
212			if (curAnim!=null && frameDelay > 0 && !donePlaying) {
ValueAnimator.java git://github.com/JakeWharton/ActionBarSherlock.git | Java | 1,266 lines
222    // The number of milliseconds between animation frames
223    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
224
678                    if (callAgain && (!animations.isEmpty() || !delayedAnims.isEmpty())) {
679                        sendEmptyMessageDelayed(ANIMATION_FRAME, Math.max(0, sFrameDelay -
680                            (AnimationUtils.currentAnimationTimeMillis() - currentTime)));
715     */
716    public static long getFrameDelay() {
717        return sFrameDelay;
726     *
727     * @param frameDelay the requested time between frames, in milliseconds
728     */
728     */
729    public static void setFrameDelay(long frameDelay) {
730        sFrameDelay = frameDelay;
attackpanel.cpp https://bitbucket.org/gcubar/asc | C++ | 381 lines
270{
271   int frameDelay;
272   if ( CGameOptions::Instance()->video.ascframeratelimit  > 0 )
272   if ( CGameOptions::Instance()->video.ascframeratelimit  > 0 )
273      frameDelay = 100 / CGameOptions::Instance()->video.ascframeratelimit ;
274   else
274   else
275      frameDelay = 10;
276   
281         releasetimeslice();
282      } while ( t2 + frameDelay > ticker );
283      postScreenUpdate( PG_Application::GetScreen() );
framerate.py https://bitbucket.org/lonkero173/pulse | Python | 105 lines
16		self.framecount=0
17		self.framedelay=0
18		self.updatetime=0
28
29		self.framedelay=self.module_ref.get_framedelay()
30		self.time_played+=self.framedelay
32
33		if(self.framedelay>0.0):
34			self.sframerate*=0.99
34			self.sframerate*=0.99
35			self.sframerate+=10.0/self.framedelay
36			self.hframerate=1000.0/self.framedelay
AnimationStrip.cs https://bitbucket.org/slgriff/pitch | C# | 139 lines
16        private float frameTimer = 0f;
17        private float frameDelay = 0.05f;
18
76        {
77            get { return frameDelay; }
78            set { frameDelay = value; }
116
117            if (frameTimer >= frameDelay)
118            {
uan-mac-rc.cc https://bitbucket.org/nbaldo/prova | C++ | 773 lines
460
461  Time frameDelay = Seconds (0);
462
483      pkt->AddHeader (ch);
484      Time eventTime = startDelay + frameDelay;
485      if (eventTime.GetSeconds () < 0)
497      Simulator::Schedule (eventTime, &UanMacRc::SendPacket, this, pkt, m_currentRate);
498      frameDelay = frameDelay + m_sifs + Seconds (pkt->GetSize () / currentBps);
499    }
uan-mac-rc.cc https://bitbucket.org/cttc-lena/ns-3-lena-dev | C++ | 777 lines
463
464  Time frameDelay = Seconds (0);
465
486      pkt->AddHeader (ch);
487      Time eventTime = startDelay + frameDelay;
488      if (eventTime.GetSeconds () < 0)
500      Simulator::Schedule (eventTime, &UanMacRc::SendPacket, this, pkt, m_currentRate);
501      frameDelay = frameDelay + m_sifs + Seconds (pkt->GetSize () / currentBps);
502    }
uan-mac-rc.cc https://bitbucket.org/klenkovic/ns-3-dev-logging-fixes | C++ | 782 lines
468
469  Time frameDelay = Seconds (0);
470
491      pkt->AddHeader (ch);
492      Time eventTime = startDelay + frameDelay;
493      if (eventTime.GetSeconds () < 0)
505      Simulator::Schedule (eventTime, &UanMacRc::SendPacket, this, pkt, m_currentRate);
506      frameDelay = frameDelay + m_sifs + Seconds (pkt->GetSize () / currentBps);
507    }
game.js https://github.com/muralivvn/MojoJojo.git | JavaScript | 151 lines
10	jojo.Game = Class.create(jojo.event.EventPublisher, {
11		frameDelay: 30,
12		initialize: function($super, options) {
26			//setup options
27			this.frameDelay = options.frameDelay || this.frameDelay;
28			this.canvas = options.canvas; //the canvas element to use to draw the game scenes to and listen to events
79					}
80				}, this.frameDelay);
81				this.gameRunning = true;
Game.java https://github.com/kflorence/pathfinding-java.git | Java | 432 lines
27    // Screen refresh information
28    private static long timeElapsed, frameDelay;
29    private static int frameCount, framesPerSecond;
210                        g.setColor(Color.white);
211                        s = "Frame Delay: " + frameDelay + " (FPS: " + framesPerSecond + ")";
212                        g.drawString(s, WIDTH - (fontMetrics.stringWidth(s)) - 10, 20);
322                 */
323                frameDelay = ((lastLoopTime + (debug ? DEBUGDELAY : DELAY) * 1000000 - System.nanoTime()) / 1000000);
324                
325                // Sleep for specified time
326                Thread.sleep(frameDelay); 
327            } 
Main.java https://github.com/kflorence/pathfinding-java.git | Java | 535 lines
36    private long 	timeElapsed;
37    private long 	frameDelay;
38    private int 	frameCount;
211                    g.setColor(Color.white);
212                    s = "Frame Delay: " + frameDelay + " (FPS: " + framesPerSecond + ")";
213                    g.drawString(s, WIDTH - (fm.stringWidth(s)) - 10, 20);
334                 */
335                frameDelay = ((lastLoopTime + (gameDebug ? DEBUGDELAY : DELAY) * 1000000 - System.nanoTime()) / 1000000);
336                
337                // Sleep for specified time
338                Thread.sleep(frameDelay); 
339            } 
MJpegServerSettings.cs https://hg01.codeplex.com/ipcamemu | C# | 36 lines
12        public string Uri { get; private set; }
13        public uint FrameDelay { get; private set; }
14
20            string uri, 
21            uint frameDelay,
22            SourceSettings sourceSettings)
24            Uri = uri;
25            FrameDelay = frameDelay;
26            SourceSettings = sourceSettings;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21