/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);
|
/libcore/ojluni/src/main/java/java/util/ |
TimerTask.java | 77 * Period in milliseconds for repeating tasks. A positive value indicates 81 long period = 0; field in class:TimerTask 154 return (period < 0 ? nextExecutionTime + period 155 : nextExecutionTime - period);
|
Timer.java | 214 * at approximately regular intervals separated by the specified period. 221 * lower than the reciprocal of the specified period (assuming the system 235 * @param period time in milliseconds between successive task executions. 238 * {@code period <= 0} 243 public void schedule(TimerTask task, long delay, long period) { 246 if (period <= 0) 247 throw new IllegalArgumentException("Non-positive period."); 248 sched(task, System.currentTimeMillis()+delay, -period); 254 * approximately regular intervals, separated by the specified period. 261 * lower than the reciprocal of the specified period (assuming the syste [all...] |
/external/webrtc/webrtc/base/ |
timing.h | 41 double BusyWait(double period); 43 // IdleWait() relinquishes control of CPU for specified period in 50 double IdleWait(double period);
|
ratelimiter.h | 19 // Limits the rate of use to a certain maximum quantity per period of 28 RateLimiter(size_t max, double period) 30 period_length_(period), 33 period_end_(period) { 38 // current period (< (max - used)). Once the given time passes the 39 // end of the period, used is set to zero and more use is available. 41 // Increment the quantity used this period. If past the end of a 42 // period, a new period is started.
|
timing.cc | 71 double Timing::BusyWait(double period) { 73 while (TimerNow() - start_time < period) { 78 double Timing::IdleWait(double period) { 82 double sec_int, sec_frac = modf(period, &sec_int); 99 due_time.QuadPart = -LONGLONG(period * 1.0e7); 106 Sleep(DWORD(period * 1.0e3));
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
IResultLogger.java | 27 * Get the current average speed of the last period of the transfer. 29 * @param period the period over which the average is taken. 32 int getAverageSpeed(long period);
|
/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);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
PeriodFormatter.java | 12 * Formats a Period, such as '2 hours 23 minutes'. 13 * The Period defines the fields to format and their 20 * @see Period 27 * Format a Period. 29 * @param ts the Period to format 32 String format(Period period);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
PeriodFormatter.java | 11 * Formats a Period, such as '2 hours 23 minutes'. 12 * The Period defines the fields to format and their 19 * @see Period 25 * Format a Period. 27 * @param ts the Period to format 30 String format(Period period);
|
/external/libcxx/test/std/utilities/time/ |
clock.h | 19 typedef duration::period period; typedef in class:Clock
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/ |
clock.h | 19 typedef duration::period period; typedef in class:Clock
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
pwm.hpp | 104 * Set the PWM period as seconds represented in a float 106 * @param period Period represented as a float in seconds 110 period(float period) function in class:mraa::Pwm 112 return (Result) mraa_pwm_period(m_pwm, period); 115 * Set period, milliseconds 117 * @param ms milliseconds for period 126 * Set period, microseconds 128 * @param us microseconds as period [all...] |
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 37 public final long period; field in class:PeriodicSync 55 this.period = periodInSeconds; 68 this.period = other.period; 77 long period, long flexTime) { 81 this.period = period; 89 this.period = in.readLong(); 103 dest.writeLong(period); 130 && period == other.perio [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
enhancer.h | 34 size_t *period, /* (i) pitch period array (pitch bward-in time) */ 35 const size_t *plocs, /* (i) locations where period array values valid */ 36 size_t periodl /* (i) dimension of period and plocs */
|
get_sync_seq.h | 32 size_t *period, /* (i) rough-pitch-period array (Q-2) */ 33 const size_t *plocs, /* (i) where periods of period array are taken (Q-2) */ 34 size_t periodl, /* (i) dimension period array */
|
enhancer.c | 34 size_t *period, /* (i) pitch period array (pitch bward-in time) */ 35 const size_t *plocs, /* (i) locations where period array values valid */ 36 size_t periodl /* (i) dimension of period and plocs */ 45 WebRtcIlbcfix_GetSyncSeq(idata, idatal, centerStartPos, period, plocs,
|
/external/libnfc-nci/src/nfa/int/ |
nfa_sys_ptim.h | 37 INT32 period; /* Timer period in milliseconds */ member in struct:__anon15814 60 extern void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
|
/system/extras/simpleperf/ |
callchain.h | 26 uint64_t period; member in struct:CallChainNode 39 void AddCallChain(const std::vector<SampleEntry*>& callchain, uint64_t period);
|
callchain.cpp | 52 size_t chain_start, uint64_t period, 58 node->period = period; 65 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); 67 parent->period = 0; 68 parent->children_period = child->period + child->children_period; 74 void CallChainRoot::AddCallChain(const std::vector<SampleEntry*>& callchain, uint64_t period) { 75 children_period += period; 78 std::unique_ptr<CallChainNode> new_node = AllocateNode(callchain, 0, period, 0); 93 p->period += period [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryActiveView.java | 55 float period = mProvider.getPeriod(); local 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); 61 private void drawColor(Canvas canvas, int start, int end, int color, float period) { 66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(),
|
/external/sonic/ |
Sonic.java | 525 for(int period = minPeriod; period <= maxPeriod; period++) { 527 for(int i = 0; i < period; i++) { 529 short pVal = samples[position + period + i]; 535 if(diff*bestPeriod < minDiff*period) { 537 bestPeriod = period; 539 if(diff*worstPeriod > maxDiff*period) { 541 worstPeriod = period; 550 // approximated by the previous pitch period estimate. Try to detect this case 588 int period, retPeriod; local 718 int period, newPeriod, separation; local 855 int position = 0, period, newSamples; local [all...] |
/external/libcxx/test/std/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.steady/ |
consistency.pass.cpp | 31 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|