PageRenderTime 2298ms queryTime 326ms sortTime 10ms getByIdsTime 1709ms findMatchingLines 110ms

17+ results for 'FrameDelay repo:akravets/yahoo-weather-example' (2298 ms)

Not the results you expected?
AnimationHandler.java https://gitlab.com/amardeep434/nitro_base | Java | 316 lines
                    
196
                    
197    public static void setFrameDelay(long delay) {
                    
198        getInstance().getProvider().setFrameDelay(delay);
                    
200
                    
201    public static long getFrameDelay() {
                    
202        return getInstance().getProvider().getFrameDelay();
                    
261        @Override
                    
262        public long getFrameDelay() {
                    
263            return Choreographer.getFrameDelay();
                    
266        @Override
                    
267        public void setFrameDelay(long delay) {
                    
268            Choreographer.setFrameDelay(delay);
                    
312        long getFrameTime();
                    
313        long getFrameDelay();
                    
314        void setFrameDelay(long delay);
                    
                
ChoreographerTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 316 lines
                    
29
                    
30    public void testFrameDelay() {
                    
31        assertTrue(Choreographer.getFrameDelay() > 0);
                    
32
                    
33        long oldFrameDelay = Choreographer.getFrameDelay();
                    
34        long newFrameDelay = oldFrameDelay * 2;
                    
34        long newFrameDelay = oldFrameDelay * 2;
                    
35        Choreographer.setFrameDelay(newFrameDelay);
                    
36        assertEquals(newFrameDelay, Choreographer.getFrameDelay());
                    
37
                    
38        Choreographer.setFrameDelay(oldFrameDelay);
                    
39    }
                    
                
jquery.smoothState.js https://gitlab.com/Mirros/cdnjs | JavaScript | 424 lines
                    
49            pageCacheSize       : 5,
                    
50            frameDelay          : 400,
                    
51            renderFrame         : [
                    
252        function showFrame(i, $content, $container, isLastFrame) {
                    
253            var timing = options.frameDelay * i;
                    
254            setTimeout(function () {
                    
                
Main.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 458 lines
                    
72    static int duration = 3000;
                    
73    static int frameDelay = duration+7000;
                    
74
                    
235            long currTrans = System.currentTimeMillis();
                    
236            while ((currTrans-startLastTransition) < frameDelay) {
                    
237                try {
                    
237                try {
                    
238                    long stime = frameDelay-(currTrans-startLastTransition);
                    
239                    if (stime > 500) {
                    
241                        currTrans = System.currentTimeMillis();
                    
242                        stime = frameDelay-(currTrans-startLastTransition);
                    
243                    }
                    
374                try {
                    
375                    frameDelay = Integer.decode(args[i+1]).intValue();
                    
376                    i++;
                    
                
qmovie.cpp https://gitlab.com/x33n/phantomjs | C++ | 1024 lines
                    
87    supports this. You can call loopCount() to get the number of times the
                    
88    movie should loop before finishing. nextFrameDelay() returns the number of
                    
89    milliseconds the current frame should be displayed.
                    
                
qgifhandler.cpp https://gitlab.com/x33n/phantomjs | C++ | 1218 lines
                    
73    int decode(QImage *image, const uchar* buffer, int length,
                    
74               int *nextFrameDelay, int *loopCount);
                    
75    static void scan(QIODevice *device, QVector<QSize> *imageSizes, int *loopCount);
                    
236int QGIFFormat::decode(QImage *image, const uchar *buffer, int length,
                    
237                       int *nextFrameDelay, int *loopCount)
                    
238{
                    
                
Choreographer.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 822 lines
                    
83    // The number of milliseconds between animation frames.
                    
84    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
                    
85
                    
208     */
                    
209    public static long getFrameDelay() {
                    
210        return sFrameDelay;
                    
224     *
                    
225     * @param frameDelay the requested time between frames, in milliseconds
                    
226     * @hide
                    
227     */
                    
228    public static void setFrameDelay(long frameDelay) {
                    
229        sFrameDelay = frameDelay;
                    
254    public static long subtractFrameDelay(long delayMillis) {
                    
255        final long frameDelay = sFrameDelay;
                    
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
                    
                
AudioBufferSourceNode.cpp https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | C++ | 455 lines
                    
53    , m_startTime(0.0)
                    
54    , m_schedulingFrameDelay(0)
                    
55    , m_readIndex(0)
                    
104        // Handle sample-accurate scheduling so that buffer playback will happen at a very precise time.
                    
105        m_schedulingFrameDelay = 0;
                    
106        if (m_startTime >= quantumStartTime) {
                    
106        if (m_startTime >= quantumStartTime) {
                    
107            // m_schedulingFrameDelay is set here only the very first render quantum (because of above check: m_startTime >= quantumEndTime)
                    
108            // So: quantumStartTime <= m_startTime < quantumEndTime
                    
113            
                    
114            // m_schedulingFrameDelay is used in provideInput(), so factor in the current playback pitch rate.
                    
115            m_schedulingFrameDelay = static_cast<int>(pitchRate * startFrameInQuantum);
                    
187    // Handle sample-accurate scheduling so that we play the buffer at a very precise time.
                    
188    // m_schedulingFrameDelay will only be non-zero the very first time that provideInput() is called, which corresponds
                    
189    // with the very start of the buffer playback.
                    
                
AutoCalibrationManager.java https://gitlab.com/clyde/ShootOFF | Java | 1129 lines
                    
106		this.cameraManager = cameraManager;
                    
107		this.calculateFrameDelay = calculateFrameDelay;
                    
108	}
                    
168	private boolean isStepTwoCompleted() {
                    
169		// If frameDelayResult > -1 OR calculateFrameDelay is False
                    
170		// Then step two is complete
                    
170		// Then step two is complete
                    
171		return !(frameDelayResult == -1 && calculateFrameDelay);
                    
172	}
                    
268			if (frameDelay.isPresent()) {
                    
269				frameDelayResult = frameDelay.get();
                    
270
                    
270
                    
271				logger.debug("Step Two: frameDelayResult {}", frameDelayResult);
                    
272
                    
                
animations.asm https://gitlab.com/eientei95/pokered-fr | Assembly | 2453 lines
                    
136	jr z,.advanceFrameBlockDestAddr; skip delay and don't clean OAM buffer
                    
137	ld a,[wSubAnimFrameDelay]
                    
138	ld c,a
                    
219	and a,%00111111
                    
220	ld [wSubAnimFrameDelay],a
                    
221	xor a
                    
                
spritedef.cpp https://gitlab.com/akkoteru/manaplus | C++ | 658 lines
                    
140        if (i != d->end() && i->second && i->second != i2->second)
                    
141            (i->second)->setLastFrameDelay(0);
                    
142    }
                    
                
MEF-SOAM-PM-MIB.yaml https://gitlab.com/marcelosabino/OpenbusBR | YAML | 320 lines
                    
1--- 
                    
2mefSoamDmCurrentStatsFrameDelayRangeTwoWayMax: 1.3.6.1.4.1.15007.1.3.1.3.4.1.27
                    
3mefSoamDmCfgNumMeasBinsPerFrameDelayInterval: 1.3.6.1.4.1.15007.1.3.1.3.1.1.27
                    
6mefSoamLmCurrentStatsElapsedTime: 1.3.6.1.4.1.15007.1.3.1.2.4.1.3
                    
7mefSoamDmCurrentStatsFrameDelayRangeBackwardAvg: 1.3.6.1.4.1.15007.1.3.1.3.4.1.26
                    
8mefSoamLmCfgSessionStatus: 1.3.6.1.4.1.15007.1.3.1.2.1.1.32
                    
32mefSoamDmHistoryStatsIfdvBackwardMax: 1.3.6.1.4.1.15007.1.3.1.3.6.1.18
                    
33mefSoamDmHistoryStatsFrameDelayRangeBackwardMax: 1.3.6.1.4.1.15007.1.3.1.3.6.1.25
                    
34mefSoamLmHistoryAvailStatsBackwardMinFlr: 1.3.6.1.4.1.15007.1.3.1.2.5.1.16
                    
39mefSoamLmCfgIndex: 1.3.6.1.4.1.15007.1.3.1.2.1.1.1
                    
40mefSoamDmHistoryStatsFrameDelayRangeForwardMax: 1.3.6.1.4.1.15007.1.3.1.3.6.1.23
                    
41mefSoamDmCfgPriority: 1.3.6.1.4.1.15007.1.3.1.3.1.1.7
                    
49mefSoamLmHistoryAvailStatsBackwardHighLoss: 1.3.6.1.4.1.15007.1.3.1.2.5.1.6
                    
50mefSoamDmCurrentStatsFrameDelayRangeForwardMax: 1.3.6.1.4.1.15007.1.3.1.3.4.1.23
                    
51mefSoamDmThresholdCfgMaxFrameDelayForwardThreshold: 1.3.6.1.4.1.15007.1.3.1.3.8.1.12
                    
                
ValueAnimator.java https://gitlab.com/GDG-Minna/NavigationDrawer | Java | 1172 lines
                    
222    // The number of milliseconds between animation frames
                    
223    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
                    
224
                    
                
UIImage+YYAdd.m https://gitlab.com/chenguibang/TreasureBox | Objective C | 752 lines
                    
24
                    
25static NSTimeInterval _yy_CGImageSourceGetGIFFrameDelayAtIndex(CGImageSourceRef source, size_t index) {
                    
26    NSTimeInterval delay = 0;
                    
64    for (size_t i = 0; i < count; i++) {
                    
65        NSTimeInterval delay = _yy_CGImageSourceGetGIFFrameDelayAtIndex(source, i);
                    
66        totalTime += delay;
                    
                
MasterAudio.cs https://gitlab.com/jerotas/MultiplayerMA | C# | 1266 lines
                    
54
                    
55        public static readonly YieldInstruction EndOfFrameDelay = new WaitForEndOfFrame();
                    
56        public static readonly List<string> ExemptChildNames = new List<string> { AmbientUtil.FollowerHolderName };
                    
                
spritedef.cpp https://gitlab.com/Alige/manaplus | C++ | 694 lines
                    
148        {
                    
149            (i->second)->setLastFrameDelay(0);
                    
150        }
                    
                
TileManager.js https://gitlab.com/Mirros/cdnjs | JavaScript | 462 lines
                    
38     * APIProperty: tilesPerFrame
                    
39     * {Number} Number of queued tiles to load per frame (see <frameDelay>).
                    
40     *     Default is 2.
                    
44    /**
                    
45     * APIProperty: frameDelay
                    
46     * {Number} Delay between tile loading frames (see <tilesPerFrame>) in
                    
48     */
                    
49    frameDelay: 16,
                    
50
                    
266     * Applies the <moveDelay> or <zoomDelay> to the <drawTilesFromQueue> loop,
                    
267     * and schedules more queue processing after <frameDelay> if there are still
                    
268     * tiles in the queue.
                    
286                    if (tileQueue.length) {
                    
287                        this.updateTimeout(map, this.frameDelay);
                    
288                    }
                    
                
 

Source

Language