HomeSort by relevance Sort by last modified time
    Searched refs:period (Results 1 - 25 of 774) 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);
  /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 221 * at approximately regular intervals separated by the specified period.
228 * lower than the reciprocal of the specified period (assuming the system
242 * @param period time in milliseconds between successive task executions.
245 * {@code period <= 0}
250 public void schedule(TimerTask task, long delay, long period) {
253 if (period <= 0)
254 throw new IllegalArgumentException("Non-positive period.");
255 sched(task, System.currentTimeMillis()+delay, -period);
261 * approximately regular intervals, separated by the specified period.
268 * lower than the reciprocal of the specified period (assuming the syste
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
TCKChronoPeriod.java 71 import java.time.Period;
106 ChronoPeriod period = chrono.period(1, 2, 3); local
109 out.writeObject(period);
115 assertEquals(ser, period, "deserialized ChronoPeriod is wrong");
120 ChronoPeriod period = chrono.period(1, 2, 3); local
121 assertEquals(period.get(YEARS), 1);
122 assertEquals(period.get(MONTHS), 2);
123 assertEquals(period.get(DAYS), 3)
128 ChronoPeriod period = chrono.period(1, 2, 3); local
134 ChronoPeriod period = chrono.period(1, 2, 3); local
143 ChronoPeriod period = chrono.period(1, 2, 3); local
165 ChronoPeriod period = chrono.period(1, 2, 3); local
173 ChronoPeriod period = chrono.period(1, 2, 3); local
183 ChronoPeriod period = chrono.period(1, 2, 3); local
191 ChronoPeriod period = chrono.period(1, 2, 3); local
202 ChronoPeriod period = chrono.period(1, 2, 3); local
210 ChronoPeriod period = chrono.period(1, 2, 3); local
220 ChronoPeriod period = chrono.period(1, 2, 3); local
228 ChronoPeriod period = chrono.period(1, 2, 3); local
239 ChronoPeriod period = chrono.period(1, 2, 3); local
245 ChronoPeriod period = chrono.period(1, 2, 3); local
273 ChronoPeriod period = chrono.period(1, 2, 3); local
    [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.
  /frameworks/av/media/libaaudio/src/utility/
MonotonicCounter.h 69 * If the counter wraps around every 24 hours then we should measure it with a period
93 * Round 64-bit counter up to a multiple of the period.
95 * @param period might be, for example, a buffer capacity
97 void roundUp64(int32_t period) {
98 if (period > 0) {
99 int64_t numPeriods = (mCounter64 + period - 1) / period;
100 mCounter64 = numPeriods * 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 14 * Formats a Period, such as '2 hours 23 minutes'.
15 * The Period defines the fields to format and their
22 * @see Period
29 * Format a Period.
31 * @param ts the Period to format
34 String format(Period period);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
PeriodFormatter.java 13 * Formats a Period, such as '2 hours 23 minutes'.
14 * The Period defines the fields to format and their
21 * @see Period
27 * Format a Period.
29 * @param ts the Period to format
32 String format(Period period);
  /external/libcxx/test/std/utilities/time/
clock.h 19 typedef duration::period period; typedef in class:Clock
  /external/strace/tests/
fill_memory.c 5 unsigned char period)
11 p[i] = start + i % period;
  /external/strace/tests-m32/
fill_memory.c 5 unsigned char period)
11 p[i] = start + i % period;
  /external/strace/tests-mx32/
fill_memory.c 5 unsigned char period)
11 p[i] = start + i % period;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/
clock.h 19 typedef duration::period period; typedef in class:Clock
  /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...]
  /frameworks/base/core/java/android/util/
RecurrenceRule.java 30 import java.time.Period;
54 public final Period period; field in class:RecurrenceRule
56 public RecurrenceRule(ZonedDateTime start, ZonedDateTime end, Period period) {
59 this.period = period;
74 return new RecurrenceRule(start, null, Period.ofMonths(1));
80 period = convertPeriod(source.readString());
92 dest.writeString(convertPeriod(period));
    [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/skia/gm/
SkAnimTimer.h 102 * scaled by "speed" and (if not zero) mod by period.
105 SkScalar scaled(SkScalar speed, SkScalar period = 0) const {
107 if (period) {
108 value = ::fmod(value, SkScalarToDouble(period));
114 * Transitions from ends->mid->ends linearly over period seconds. The phase specifies a phase
117 SkScalar pingPong(SkScalar period, SkScalar phase, SkScalar ends, SkScalar mid) const {
118 return PingPong(this->secs(), period, phase, ends, mid);
122 static SkScalar PingPong(double t, SkScalar period, SkScalar phase, SkScalar ends,
124 double value = ::fmod(t + phase, period);
125 double half = period / 2.0
    [all...]
  /external/skqp/gm/
SkAnimTimer.h 97 * scaled by "speed" and (if not zero) mod by period.
100 SkScalar scaled(SkScalar speed, SkScalar period = 0) const {
102 if (period) {
103 value = ::fmod(value, SkScalarToDouble(period));
109 * Transitions from ends->mid->ends linearly over period seconds. The phase specifies a phase
112 SkScalar pingPong(SkScalar period, SkScalar phase, SkScalar ends, SkScalar mid) const {
113 return PingPong(this->secs(), period, phase, ends, mid);
117 static SkScalar PingPong(double t, SkScalar period, SkScalar phase, SkScalar ends,
119 double value = ::fmod(t + phase, period);
120 double half = period / 2.0
    [all...]
  /system/nfc/src/nfa/include/
nfa_sys_ptim.h 35 int32_t period; /* Timer period in milliseconds */ member in struct:__anon3536
53 extern void nfa_sys_ptim_init(tPTIM_CB* p_cb, uint16_t period,
  /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(),

Completed in 686 milliseconds

1 2 3 4 5 6 7 8 91011>>