HomeSort by relevance Sort by last modified time
    Searched refs:period (Results 1 - 25 of 463) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/proguard/src/proguard/gui/splash/
SawToothTiming.java 30 private final long period; field in class:SawToothTiming
36 * @param period the time period for a full cycle.
39 public SawToothTiming(long period, long phase)
41 this.period = period;
51 return (double)((time + phase) % period) / (double)period;
SineTiming.java 30 private final long period; field in class:SineTiming
36 * @param period the time period for a full cycle.
39 public SineTiming(long period, long phase)
41 this.period = period;
51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
  /external/chromium_org/third_party/libjingle/source/talk/base/
timing.h 57 double BusyWait(double period);
59 // IdleWait() relinquishes control of CPU for specified period in
66 double IdleWait(double period);
ratelimiter.h 36 // Limits the rate of use to a certain maximum quantity per period of
45 RateLimiter(size_t max, double period)
47 period_length_(period),
50 period_end_(period) {
55 // current period (< (max - used)). Once the given time passes the
56 // end of the period, used is set to zero and more use is available.
58 // Increment the quantity used this period. If past the end of a
59 // period, a new period is started.
timing.cc 87 double Timing::BusyWait(double period) {
89 while (TimerNow() - start_time < period) {
94 double Timing::IdleWait(double period) {
98 double sec_int, sec_frac = modf(period, &sec_int);
115 due_time.QuadPart = -LONGLONG(period * 1.0e7);
122 Sleep(DWORD(period * 1.0e3));
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
AbstractFileFilter.java 63 int period = name.lastIndexOf('.'); local
64 return (period > 0 ? name.substring(period + 1) : name);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/
clock.h 10 typedef duration::period period; typedef in class:Clock
  /frameworks/base/core/java/android/content/
PeriodicSync.java 35 public final long period; field in class:PeriodicSync
56 this.period = periodInSeconds;
69 this.period = other.period;
78 long period, long flexTime) {
82 this.period = period;
90 this.period = in.readLong();
104 dest.writeLong(period);
131 && period == other.perio
    [all...]
  /external/bluetooth/bluedroid/bta/include/
ptim.h 36 INT32 period; /* Timer period in milliseconds */ member in struct:__anon3252
59 extern void ptim_init(tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
  /external/libnfc-nci/src/nfa/int/
nfa_sys_ptim.h 37 INT32 period; /* Timer period in milliseconds */ member in struct:__anon22575
60 extern void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
  /external/qemu/distrib/sdl-1.2.15/src/timer/symbian/
SDL_systimer.cpp 48 TTimeIntervalMicroSeconds32 period; local
49 TInt tmp = UserHal::TickPeriod(period);
50 tickPeriodMilliSeconds = period.Int() / 1000;
  /external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/
pralarm.h 55 ** That rate is expressed as some number of notifies per period where
56 ** the period is much larger than a PRIntervalTime (see prinrval.h).
128 ** PRIntervalTime period Interval over which the notifies
159 PRAlarm *alarm, PRIntervalTime period, PRUint32 rate,
167 ** PRIntervalTime period Interval over which the notifies
175 ** An existing alarm may have its period and rate redefined. The
185 PRAlarmID *id, PRIntervalTime period, PRUint32 rate);
  /libcore/luni/src/main/java/java/util/
Timer.java 31 * <p>Recurring tasks are scheduled with either a fixed period or a fixed rate:
33 * <li>With the default <strong>fixed-period execution</strong>, each
36 * than the specified {@code period}.
263 if (task.period >= 0) {
267 task.when = task.when + task.period;
271 + task.period;
469 * @param period
472 * if {@code delay < 0} or {@code period <= 0}.
477 public void schedule(TimerTask task, long delay, long period) {
478 if (delay < 0 || period <= 0)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.hires/
consistency.pass.cpp 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.steady/
consistency.pass.cpp 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.system/
consistency.pass.cpp 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/
types.pass.cpp 17 // typedef Period period;
26 static_assert((std::is_same<D::period, std::ratio<3, 2> >::value), "");
  /external/chromium_org/tools/python/google/
gethash_timer.py 11 $ ./gethash_timer.py --period=600 --samples=20 --output=resp.csv
13 --period (or -p): The amount of time (in seconds) to wait between GetHash
67 def RunTimedGetHash(period, samples=None):
72 period: A floating point value that indicates (in seconds) the delay
88 time.sleep(period)
121 period = 10
126 ['samples=', 'period=', 'output='])
130 elif option == '-p' or option == '--period':
131 period = float(value)
140 RunTimedGetHash(period, samples
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/nds/
soundcommon.h 60 s16 period; member in struct:__anon26743
72 extern void SoundSetTimer(int period);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPeriodicSync.java 17 public void __constructor__(Account account, String authority, Bundle extras, long period) throws Exception {
20 setField("period", period);
  /hardware/qcom/display/msm8960/libqdutils/
profiler.cpp 78 property_get("debug.gr.calcfps.period", prop, "10");
79 debug_fps_metadata.period = atoi(prop);
81 if (debug_fps_metadata.period > MAX_FPS_CALC_PERIOD_IN_FRAMES) {
82 debug_fps_metadata.period = MAX_FPS_CALC_PERIOD_IN_FRAMES;
104 ALOGD("period: %d", debug_fps_metadata.period);
111 ALOGD("FPS for last %d frames: %3.2f", debug_fps_metadata.period, fps);
171 if (debug_fps_metadata.curr_frame == debug_fps_metadata.period) {
174 for (unsigned int i = 0; i < debug_fps_metadata.period; i++)
176 print_fps((debug_fps_metadata.period * float(1000000))/float(sum))
    [all...]
  /hardware/qcom/display/msm8974/libqdutils/
profiler.cpp 78 property_get("debug.gr.calcfps.period", prop, "10");
79 debug_fps_metadata.period = atoi(prop);
81 if (debug_fps_metadata.period > MAX_FPS_CALC_PERIOD_IN_FRAMES) {
82 debug_fps_metadata.period = MAX_FPS_CALC_PERIOD_IN_FRAMES;
104 ALOGD("period: %d", debug_fps_metadata.period);
111 ALOGD("FPS for last %d frames: %3.2f", debug_fps_metadata.period, fps);
171 if (debug_fps_metadata.curr_frame == debug_fps_metadata.period) {
174 for (unsigned int i = 0; i < debug_fps_metadata.period; i++)
176 print_fps((debug_fps_metadata.period * float(1000000))/float(sum))
    [all...]
  /hardware/qcom/display/msm8x26/libqdutils/
profiler.cpp 78 property_get("debug.gr.calcfps.period", prop, "10");
79 debug_fps_metadata.period = atoi(prop);
81 if (debug_fps_metadata.period > MAX_FPS_CALC_PERIOD_IN_FRAMES) {
82 debug_fps_metadata.period = MAX_FPS_CALC_PERIOD_IN_FRAMES;
104 ALOGD("period: %d", debug_fps_metadata.period);
111 ALOGD("FPS for last %d frames: %3.2f", debug_fps_metadata.period, fps);
171 if (debug_fps_metadata.curr_frame == debug_fps_metadata.period) {
174 for (unsigned int i = 0; i < debug_fps_metadata.period; i++)
176 print_fps((debug_fps_metadata.period * float(1000000))/float(sum))
    [all...]
  /external/bluetooth/bluedroid/bta/sys/
ptim.c 35 ** period is the GKI timer period in milliseconds. Parameter
41 void ptim_init(tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id)
44 p_cb->period = period;
66 /* To handle the case when the function is called less frequently than the period
133 GKI_start_timer(p_cb->timer_id, GKI_MS_TO_TICKS(p_cb->period), TRUE);
  /external/libnfc-nci/src/nfa/sys/
nfa_sys_ptim.c 37 ** period is the GKI timer period in milliseconds. Parameter
43 void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id)
46 p_cb->period = period;
68 /* To handle the case when the function is called less frequently than the period
140 GKI_start_timer (p_cb->timer_id, GKI_MS_TO_TICKS (p_cb->period), TRUE);

Completed in 805 milliseconds

1 2 3 4 5 6 7 8 91011>>