/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);
|
/packages/apps/Email/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++/test/utilities/time/ |
clock.h | 10 typedef duration::period period; typedef in class:Clock
|
hours.pass.cpp | 22 typedef D::period Period; 26 static_assert((std::is_same<Period, std::ratio<3600> >::value), "");
|
microseconds.pass.cpp | 22 typedef D::period Period; 26 static_assert((std::is_same<Period, std::micro>::value), "");
|
milliseconds.pass.cpp | 22 typedef D::period Period; 26 static_assert((std::is_same<Period, std::milli>::value), "");
|
minutes.pass.cpp | 22 typedef D::period Period; 26 static_assert((std::is_same<Period, std::ratio<60> >::value), "");
|
nanoseconds.pass.cpp | 22 typedef D::period Period; 26 static_assert((std::is_same<Period, std::nano>::value), "");
|
/external/bluetooth/bluedroid/bta/include/ |
ptim.h | 36 INT32 period; /* Timer period in milliseconds */ member in struct:__anon2807 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:__anon10523 60 extern void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 36 public final long period; field in class:PeriodicSync 39 public PeriodicSync(Account account, String authority, Bundle extras, long period) { 43 this.period = period; 54 dest.writeLong(period); 81 && period == other.period
|
/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;
|
/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...] |
TimerTask.java | 37 long period; field in class:TimerTask
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 25 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.steady/ |
consistency.pass.cpp | 25 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.system/ |
consistency.pass.cpp | 25 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/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/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
soundcommon.h | 60 s16 period; member in struct:__anon13305 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/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);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledExecutorService.java | 102 * period; that is executions will commence after 103 * <tt>initialDelay</tt> then <tt>initialDelay+period</tt>, then 104 * <tt>initialDelay + 2 * period</tt>, and so on. 109 * takes longer than its period, then subsequent executions 114 * @param period the period between successive executions 115 * @param unit the time unit of the initialDelay and period parameters 122 * @throws IllegalArgumentException if period less than or equal to zero 126 long period,
|