PageRenderTime 20ms queryFilters 1ms Sphinxql 14ms GetByIds 329ms meta 0ms repositoryFilters 4ms languageFilters 0ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:akravets/yahoo-weather-example' (20 ms)

Source

Language

Repository

splashscreen_gif.c https://github.com/baratali/jdk8.git | C | 326 lines
140        int transparentColor = -1;
141        int frameDelay = 100;
142        int disposeMethod = GIF_DISPOSE_RESTORE;
169
170                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
171                    if (frameDelay < 10)
171                    if (frameDelay < 10)
172                        frameDelay = 10;
173                    if (flag & GIF_TRANSPARENT) {
269
270        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
271        switch (disposeMethod) {
Choreographer.java https://github.com/batlin1977/frameworks_base.git | 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;
227     */
228    public static void setFrameDelay(long frameDelay) {
229        sFrameDelay = frameDelay;
242     * This method is somewhat conservative about how much of the frame delay it
243     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
244     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
254    public static long subtractFrameDelay(long delayMillis) {
255        final long frameDelay = sFrameDelay;
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
HRTFKernel.h https://github.com/BennyH26/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/bethenaGA/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;
HRTFKernel.h https://github.com/beyondyuanshu/qt.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)
Choreographer.java https://github.com/BhargzShukla/android_frameworks_base.git | 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;
227     */
228    public static void setFrameDelay(long frameDelay) {
229        sFrameDelay = frameDelay;
242     * This method is somewhat conservative about how much of the frame delay it
243     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
244     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
254    public static long subtractFrameDelay(long delayMillis) {
255        final long frameDelay = sFrameDelay;
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/BhargzShukla/frameworks_base.git | 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;
227     */
228    public static void setFrameDelay(long frameDelay) {
229        sFrameDelay = frameDelay;
242     * This method is somewhat conservative about how much of the frame delay it
243     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
244     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
254    public static long subtractFrameDelay(long delayMillis) {
255        final long frameDelay = sFrameDelay;
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/BI00dSh0t2/android_frameworks_base.git | 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;
227     */
228    public static void setFrameDelay(long frameDelay) {
229        sFrameDelay = frameDelay;
242     * This method is somewhat conservative about how much of the frame delay it
243     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
244     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
254    public static long subtractFrameDelay(long delayMillis) {
255        final long frameDelay = sFrameDelay;
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Choreographer.java https://github.com/BI00dSh0t2/platform_frameworks_base.git | 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;
227     */
228    public static void setFrameDelay(long frameDelay) {
229        sFrameDelay = frameDelay;
242     * This method is somewhat conservative about how much of the frame delay it
243     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
244     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
254    public static long subtractFrameDelay(long delayMillis) {
255        final long frameDelay = sFrameDelay;
256        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
Misc.cpp https://github.com/BigBearFalmouth/doom3.gpl.git | C++ | 3,753 lines
1284*/
1285void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1286	idVec3			launchPos;
1321	if ( numshots > 0 ) {
1322		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1323	}
1330*/
1331void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1332	const idDict *	projectileDef;
1356	CancelEvents( &EV_LaunchMissilesUpdate );
1357	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1358}
Misc.cpp https://github.com/BigBearFalmouth/doom3.gpl.git | C++ | 3,149 lines
1250*/
1251void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1252	idVec3			launchPos;
1287	if ( numshots > 0 ) {
1288		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1289	}
1296*/
1297void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1298	const idDict *	projectileDef;
1322	CancelEvents( &EV_LaunchMissilesUpdate );
1323	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1324}
makemng.c https://github.com/BigBearFalmouth/Torque3D.git | C | 1,765 lines
115int timerate = 100;		// default 100 ticks per second
116int framedelay = 20;	// default 5 fps
117int _curframe = -1;
127	if (opts.framerate) // update delay
128		framedelay = timerate / opts.framerate;
129
174
175	fprintf (stderr, "using timerate of %d and framedelay of %d\n", timerate, framedelay);
176
1514			MNG_CHANGEDELAY_DEFAULT, MNG_CHANGETIMOUT_NO, MNG_CHANGECLIPPING_NO, MNG_CHANGESYNCID_NO,
1515			framedelay, 0,0,0,0,0,0, MNG_NULL,0);
1516
Misc.cpp https://github.com/binarysentient/doom3.gpl.git | C++ | 3,753 lines
1284*/
1285void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1286	idVec3			launchPos;
1321	if ( numshots > 0 ) {
1322		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1323	}
1330*/
1331void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1332	const idDict *	projectileDef;
1356	CancelEvents( &EV_LaunchMissilesUpdate );
1357	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1358}
Misc.cpp https://github.com/binarysentient/doom3.gpl.git | C++ | 3,149 lines
1250*/
1251void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1252	idVec3			launchPos;
1287	if ( numshots > 0 ) {
1288		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1289	}
1296*/
1297void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1298	const idDict *	projectileDef;
1322	CancelEvents( &EV_LaunchMissilesUpdate );
1323	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1324}
Choreographer.java https://github.com/bkr32/android_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/blacelle/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;
CallAudioProvider.java https://github.com/blrhc/RedPhone.git | Java | 273 lines
182      shiftMode = RATE_NORMAL;
183      frameDelayStats.setAvg(desFrameDelay);
184      Log.d( TAG,"Normal Rate" );
186
187    if( frameDelayStats.getAvg() > desFrameDelay + littleStartShrink &&
188      shiftMode == RATE_NORMAL ) {
192    }
193    if( frameDelayStats.getAvg() < desFrameDelay &&
194      shiftMode == RATE_LITTLE && playRate < 1 ) {
199
200    if( frameDelayStats.getAvg() < desFrameDelay - littleStartStretch &&
201      shiftMode == RATE_NORMAL ) {
205    }
206    if (frameDelayStats.getAvg() > desFrameDelay
207        && shiftMode == RATE_LITTLE && playRate > 1) {
makemng.c https://github.com/bobbyzhu/Torque3D.git | C | 1,765 lines
115int timerate = 100;		// default 100 ticks per second
116int framedelay = 20;	// default 5 fps
117int _curframe = -1;
127	if (opts.framerate) // update delay
128		framedelay = timerate / opts.framerate;
129
174
175	fprintf (stderr, "using timerate of %d and framedelay of %d\n", timerate, framedelay);
176
1514			MNG_CHANGEDELAY_DEFAULT, MNG_CHANGETIMOUT_NO, MNG_CHANGECLIPPING_NO, MNG_CHANGESYNCID_NO,
1515			framedelay, 0,0,0,0,0,0, MNG_NULL,0);
1516
Misc.cpp https://github.com/bok7luck/DOOM-3-BFG.git | C++ | 3,934 lines
1309*/
1310void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1311	idVec3			launchPos;
1347	if ( numshots > 0 ) {
1348		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1349	}
1356*/
1357void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1358	const idDict *	projectileDef;
1382	CancelEvents( &EV_LaunchMissilesUpdate );
1383	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1384}
splashscreen_gif.c https://github.com/boxidilshan/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