PageRenderTime 879ms queryTime 45ms sortTime 15ms getByIdsTime 768ms findMatchingLines 7ms

18+ results for 'FrameDelay repo:android/platform_external_webkit' (879 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);
                    
                
Descriptors.c https://bitbucket.org/idnorton/raspberry-pi.git | C | 327 lines
                    
187
                    
188			.FrameDelay               = 1,
                    
189			.AudioFormat              = 0x0001
                    
                
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.
                    
                
ArmContactModelProvider.cpp https://github.com/emamanto/nbites.git | C++ | 324 lines
                    
30  /* Calculate arm diffs */
                    
31  struct ArmAngles angles = angleBuffer[frameDelay];
                    
32  retVal.x = left
                    
                
ValueAnimator.java https://bitbucket.org/festevezga/xobotos.git | Java | 1174 lines
                    
220    // The number of milliseconds between animation frames
                    
221    private static long sFrameDelay = DEFAULT_FRAME_DELAY;
                    
222
                    
                
Misc.h https://bitbucket.org/festevezga/doom3.gpl.git | C Header | 765 lines
                    
290	void					Event_Footstep( void );
                    
291	void					Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay );
                    
292	void					Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay );
                    
                
ximage.h https://github.com/rdp/camstudio-clone.git | C Header | 807 lines
                    
205	int32_t	nNumFrames;			///< used for TIF, GIF, MNG : total number of frames
                    
206	uint32_t	dwFrameDelay;		///< used for GIF, MNG
                    
207	int32_t	xDPI;				///< horizontal resolution
                    
305
                    
306	uint32_t	GetFrameDelay() const;
                    
307	void	SetFrameDelay(uint32_t d);
                    
                
PGAlertView.m https://github.com/leecbaker/Sequential.git | Objective C | 517 lines
                    
120	_frameCount = 0;
                    
121	NSTimeInterval const frameDelay = _currentGraphic.frameDelay;
                    
122	_frameTimer = _currentGraphic.frameCount > 1 ? [self PG_performSelector:@selector(animateOneFrame:) withObject:self fireDate:nil interval:frameDelay options:PGRetainTarget | PGRepeatOnInterval] : nil;
                    
218}
                    
219- (NSTimeInterval)frameDelay
                    
220{
                    
419}
                    
420- (NSTimeInterval)frameDelay
                    
421{
                    
                
sndfile.cpp https://github.com/MaDDoGo/xbmc.git | C++ | 1885 lines
                    
102	m_nPatternDelay = 0;
                    
103	m_nFrameDelay = 0;
                    
104	m_nNextRow = 0;
                    
                
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    }
                    
                
 

Source

Language