PageRenderTime 34ms queryFilters 0ms Sphinxql 311ms GetByIds 238ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:htchoi1995/frameworks_base' (34 ms)

Source

Language

Repository

TileManager.js https://github.com/NuwanWajirasena/eden.git | JavaScript | 457 lines
37     * APIProperty: tilesPerFrame
38     * {Number} Number of queued tiles to load per frame (see <frameDelay>).
39     *     Default is 2.
43    /**
44     * APIProperty: frameDelay
45     * {Number} Delay between tile loading frames (see <tilesPerFrame>) in
47     */
48    frameDelay: 16,
49
268     * Applies the <moveDelay> or <zoomDelay> to the <drawTilesFromQueue> loop,
269     * and schedules more queue processing after <frameDelay> if there are still
270     * tiles in the queue.
288                    if (tileQueue.length) {
289                        this.updateTimeout(map, this.frameDelay);
290                    }
TileManager.js https://github.com/GerryGrano/mmasgis.git | JavaScript | 486 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
289     * Applies the <moveDelay> or <zoomDelay> to the <drawTilesFromQueue> loop,
290     * and schedules more queue processing after <frameDelay> if there are still
291     * tiles in the queue.
309                    if (tileQueue.length) {
310                        this.updateTimeout(map, this.frameDelay);
311                    }
snake3d.v4p https://github.com/crazyonej/vvvv-sdk.git | Unknown | 1,639 lines
90   </NODE>
91   <NODE id="104" nodename="FrameDelay (Animation)">
92   <BOUNDS height="0" left="1770" top="14370" type="Node" width="0">
380   </NODE>
381   <NODE id="84" nodename="FrameDelay (Animation)">
382   <BOUNDS height="0" left="11760" top="12075" type="Node" width="0">
1102   </LINK>
1103   <NODE id="29" nodename="FrameDelay (Animation)">
1104   <BOUNDS height="0" left="8745" top="15945" type="Node" width="0">
pong.v4p https://github.com/crazyonej/vvvv-sdk.git | Unknown | 1,175 lines
282   </LINK>
283   <NODE id="56" nodename="FrameDelay (Animation)">
284   <BOUNDS height="0" left="3255" top="9135" type="Node" width="0">
436   </NODE>
437   <NODE id="43" nodename="FrameDelay (Animation)">
438   <BOUNDS height="0" left="1080" top="7380" type="Node" width="0">
874   </NODE>
875   <NODE hiddenwhenlocked="0" id="12" managers="" nodename="FrameDelay (Animation)">
876   <PIN pinname="Output 1" pintype="Output" visible="1">
smk_decoder.cpp https://github.com/aquadran/residualvm.git | C++ | 878 lines
304	uint32 frameCount = _fileStream->readUint32LE();
305	int32 frameDelay = _fileStream->readSint32LE();
306
308	Common::Rational frameRate;
309	if (frameDelay > 0)
310		frameRate = Common::Rational(1000, frameDelay);
310		frameRate = Common::Rational(1000, frameDelay);
311	else if (frameDelay < 0)
312		frameRate = Common::Rational(100000, -frameDelay);
HRTFKernel.h https://github.com/appcelerator-archive/webkit_titanium.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)
CallAudioProvider.java https://github.com/arielresma/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) {
Choreographer.java https://github.com/arjun9218/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;
HRTFKernel.h https://github.com/appcelerator/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)
Choreographer.java https://github.com/Armigandr/platform_frameworks_base.git | Java | 798 lines
82    // The number of milliseconds between animation frames.
83    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
84
201     */
202    public static long getFrameDelay() {
203        return sFrameDelay;
220     */
221    public static void setFrameDelay(long frameDelay) {
222        sFrameDelay = frameDelay;
235     * This method is somewhat conservative about how much of the frame delay it
236     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
237     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
247    public static long subtractFrameDelay(long delayMillis) {
248        final long frameDelay = sFrameDelay;
249        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
HRTFKernel.h https://github.com/ardnet/webkit.js.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/ARudiuk/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}
Choreographer.java https://github.com/ashley-sampson/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/atmchile/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/astridliu/webkit.js.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/azmi-multazam/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/baatar/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) {
Misc.cpp https://github.com/b0bzilla/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}
HRTFKernel.h https://github.com/ayeung/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)
CallAudioProvider.java https://github.com/bankonme/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) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21