/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/emailcommon/src/org/apache/commons/io/filefilter/ |
AbstractFileFilter.java | 63 int period = name.lastIndexOf('.');
local 64 return (period > 0 ? name.substring(period + 1) : name);
|
/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.12/src/timer/epoc/ |
SDL_systimer.cpp | 50 TTimeIntervalMicroSeconds32 period; local 51 TInt tmp = UserHal::TickPeriod(period); 52 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
|
/system/core/nexus/ |
WifiScanner.h | 33 WifiScanner(Supplicant *suppl, int period);
|
WifiScanner.cpp | 33 WifiScanner::WifiScanner(Supplicant *suppl, int period) { 35 mPeriod = period; 95 LOGE("select failed (%s) - sleeping for one scanner period", strerror(errno));
|
/frameworks/base/core/java/android/net/ |
IThrottleManager.aidl | 27 long getByteCount(String iface, int dir, int period, int ago);
|
ThrottleManager.java | 32 * Broadcast each polling period to indicate new data counts. 43 * The lookup key for a long for the read bytecount for this period. Retrieve with 142 * for the period described. Direction is either DIRECTION_RX or DIRECTION_TX and 143 * period may only be PERIOD_CYCLE for the current cycle (other periods may be supported 145 * the current period, 1 is the last one, 2 was two periods ago.. 148 public long getByteCount(String iface, int direction, int period, int ago) { 150 return mService.getByteCount(iface, direction, period, ago);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledExecutorService.java | 104 * period; that is executions will commence after 105 * <tt>initialDelay</tt> then <tt>initialDelay+period</tt>, then 106 * <tt>initialDelay + 2 * period</tt>, and so on. 111 * takes longer than its period, then subsequent executions 116 * @param period the period between successive executions 117 * @param unit the time unit of the initialDelay and period parameters 124 * @throws IllegalArgumentException if period less than or equal to zero 128 long period,
|
ScheduledThreadPoolExecutor.java | 160 * Period in nanoseconds for repeating tasks. A positive 165 private final long period; field in class:ScheduledThreadPoolExecutor.ScheduledFutureTask 181 this.period = 0; 186 * Creates a periodic action with given nano time and period. 188 ScheduledFutureTask(Runnable r, V result, long ns, long period) { 191 this.period = period; 201 this.period = 0; 235 return period != 0; 242 long p = period; [all...] |
/external/iptables/extensions/ |
libxt_limit.c | 117 static void print_rate(uint32_t period) 122 if (period > rates[i].mult 123 || rates[i].mult/period < rates[i].mult%period) 126 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 137 private void addToPeriod(TimePeriodValues tpv[], int auth, SimpleTimePeriod period, 140 if (mTimePeriodMap[auth].containsKey(period)) { 141 index = mTimePeriodMap[auth].get(period); 146 mTimePeriodMap[auth].put(period, index); 147 tpv[auth].add(period, value); 152 * Creates a multiple-hour time period for the histogram.
|
/bionic/libc/bionic/ |
pthread-timers.c | 110 struct timespec volatile period; /* reload value, or 0 */ member in struct:thr_timer 362 timer->period.tv_sec = timer->period.tv_nsec = 0; 431 spec->it_interval = timer->period; 502 timer->period = spec->it_interval; 546 struct timespec period = timer->period; local 584 if (!timespec_is_zero( &period ) ) 588 timespec_add( &expires, &period ); 595 timespec_sub( &expires, &period ); [all...] |
/external/srtp/test/ |
lfsr.c | 47 printf("period: %d\n", i); 137 period(uint32_t poly) { function 267 u32_bit_string(p.value,8), period(p.value)); 280 u32_bit_string(polynomials[i],8), period(polynomials[i])); 297 u32_bit_string(y,bits), weight(y), period(y));
|
/system/media/wilhelm/src/itf/ |
IPrefetchStatus.c | 116 static SLresult IPrefetchStatus_SetFillUpdatePeriod(SLPrefetchStatusItf self, SLpermille period) 120 if (0 == period) { 125 thiz->mFillUpdatePeriod = period; 129 android_audioPlayer_setBufferingUpdateThresholdPerMille(ap, period);
|
/external/clang/lib/Parse/ |
ParseInit.cpp | 30 case tok::period: // designator: '.' identifier 109 while (Tok.is(tok::period) || Tok.is(tok::l_square)) { 110 if (Tok.is(tok::period)) { 155 NextToken().isNot(tok::period) && 197 NextToken().is(tok::period),
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Logic.java | 270 int period = mantissa.indexOf('.'); local 271 if (period == -1) { 272 period = mantissa.indexOf(','); 274 if (period != -1) { 279 if (mantissa.length() == period + 1) {
|
/external/skia/samplecode/ |
SampleCode.h | 25 static SkScalar GetAnimScalar(SkScalar speedPerSec, SkScalar period = 0);
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
fmt.c | 79 /* Cost of breaking a line after a period not marking end of a sentence. 125 unsigned period:1; /* ends in [.?!])* */ member in struct:Word 268 (word_limit - 1)->period = (word_limit - 1)->final = true; 334 || (word_limit->period 385 w->period = isperiod (*finish); 490 if ((this - 1)->period)
|
/frameworks/base/core/tests/coretests/src/android/content/ |
SyncStorageEngineTest.java | 89 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period); 90 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period); 91 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period); 92 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period); 169 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period); 170 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period); 171 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period); 172 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period); 173 engine.addPeriodicSync(sync5.account, sync5.authority, sync5.extras, sync5.period); 275 + "<periodicSync period=\"1000\" />\n [all...] |
/external/qemu/hw/ |
mc146818rtc.c | 80 uint32_t period; member in struct:RTCState 113 muldiv64(s->period / c, get_ticks_per_sec(), 32768); 137 int period_code, period; local 159 /* period in 32 Khz cycles */ 160 period = 1 << (period_code - 1); 162 if(period != s->period) 163 s->irq_coalesced = (s->irq_coalesced * s->period) / period; 164 s->period = period [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 172 int period = buffer.indexOf('.', i, indexTo); local 173 if (period == -1) { 180 major = Integer.parseInt(buffer.substringTrimmed(i, period)); 186 i = period + 1;
|