/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
Ease.java | 23 private static final float DURATION = 1.0f; 37 return DOMAIN*(input/=DURATION)*input*input + START; 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START; 47 return ((input/=DURATION/2) < 1.0f) ? 57 return DOMAIN*(input/=DURATION)*input + START; 62 return -DOMAIN *(input/=DURATION)*(input-2) + START; 67 return ((input/=DURATION/2) < 1) ? 77 return DOMAIN*(input/=DURATION)*input*input*input + START; 82 return -DOMAIN * ((input=input/DURATION-1)*input*input*input - 1) + START; 87 return ((input/=DURATION/2) < 1) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
Ease.java | 23 private static final float DURATION = 1.0f; 37 return DOMAIN*(input/=DURATION)*input*input + START; 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START; 47 return ((input/=DURATION/2) < 1.0f) ? 57 return DOMAIN*(input/=DURATION)*input + START; 62 return -DOMAIN *(input/=DURATION)*(input-2) + START; 67 return ((input/=DURATION/2) < 1) ? 77 return DOMAIN*(input/=DURATION)*input*input*input + START; 82 return -DOMAIN * ((input=input/DURATION-1)*input*input*input - 1) + START; 87 return ((input/=DURATION/2) < 1) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
Ease.java | 23 private static final float DURATION = 1.0f; 37 return DOMAIN*(input/=DURATION)*input*input + START; 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START; 47 return ((input/=DURATION/2) < 1.0f) ? 57 return DOMAIN*(input/=DURATION)*input + START; 62 return -DOMAIN *(input/=DURATION)*(input-2) + START; 67 return ((input/=DURATION/2) < 1) ? 77 return DOMAIN*(input/=DURATION)*input*input*input + START; 82 return -DOMAIN * ((input=input/DURATION-1)*input*input*input - 1) + START; 87 return ((input/=DURATION/2) < 1) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
RetryAfter.java | 53 /** constant DURATION parameter. 55 public static final String DURATION = ParameterNames.DURATION; 57 /** duration field 103 /** remove duration field 106 super.removeParameter(DURATION); 164 * Sets the duration value of the RetryAfterHeader. The retry after value 167 * @param duration - the new duration value of this RetryAfterHeader 172 public void setDuration(int duration) throws InvalidArgumentException [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
FadeTexture.java | 27 // The duration of the fading animation in milliseconds 28 public static final int DURATION = 180; 66 if (now() - mStartTime >= DURATION) { 74 float r = (float)(now() - mStartTime) / DURATION;
|
/external/srtp/test/ |
rtpw_test.sh | 9 DURATION=3 61 sleep $DURATION
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
HapticFeedback.java | 65 private static final long DURATION = 10; // millisec. 94 mHapticPattern = new long[] {0, DURATION, 2 * DURATION, 3 * DURATION};
|
/cts/tests/tests/os/src/android/os/cts/ |
AsyncTaskTest.java | 30 private static final long DURATION = 2000; 40 doTestAsyncTask(DURATION); 46 assertEquals(RESULT, mAsyncTask.get(DURATION, TimeUnit.MILLISECONDS).longValue()); 52 new PollingCheck(DURATION) { 76 new PollingCheck(DURATION) { 105 Thread.sleep(DURATION); 118 Thread.sleep(DURATION); 126 Thread.sleep(DURATION);
|
ResultReceiverTest.java | 29 private static final long DURATION = 100l; 36 Thread.sleep(DURATION);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogQuery.java | 32 Calls.DURATION, // 3 52 public static final int DURATION = 3;
|
/system/extras/tests/mmc_tracepoints/ |
mmc_trace_reduce | 8 typeset -i STARTTIME ENDTIME DURATION START_SEC START_USEC DUR_SEC DUR_USEC 140 DURATION=ENDTIME-STARTTIME 141 DUR_SEC=DURATION/1000000 142 DUR_USEC=DURATION%1000000
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiSoftAPTest.java | 37 private final int DURATION = 10000; 69 Thread.sleep(DURATION);
|
/frameworks/base/core/java/com/android/internal/widget/ |
WaveView.java | 61 private static final long DURATION = 300; // duration of transitional animations 62 private static final long FINAL_DURATION = 200; // duration of final animations when unlocking 220 mUnlockRing.addAnimTo(DURATION, 0, "x", mLockCenterX, true); 221 mUnlockRing.addAnimTo(DURATION, 0, "y", mLockCenterY, true); 222 mUnlockRing.addAnimTo(DURATION, 0, "scaleX", 0.1f, true); 223 mUnlockRing.addAnimTo(DURATION, 0, "scaleY", 0.1f, true); 224 mUnlockRing.addAnimTo(DURATION, 0, "alpha", 0.0f, true); 236 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleX", 1.0f, true); 237 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleY", 1.0f, true) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
RotateAnimationTest.java | 39 private static final long DURATION = 1000; 88 rotateAnimation.setDuration(DURATION); 109 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); 117 rotateAnimation.getTransformation(startTime + DURATION, transformation); 144 rotateAnimation.setDuration(DURATION); 165 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); 173 rotateAnimation.getTransformation(startTime + DURATION, transformation);
|
TranslateAnimationTest.java | 39 private static final long DURATION = 1000; 91 translateAnimation.setDuration(DURATION); 108 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); 114 translateAnimation.getTransformation(startTime + DURATION, transformation); 162 translateAnimation.setDuration(DURATION); 175 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); 183 translateAnimation.getTransformation(startTime + DURATION, transformation);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ConcurrencyTest.java | 41 private static final int DURATION = 10000; 80 Thread.sleep(DURATION); 99 Thread.sleep(DURATION);
|
WifiInfoTest.java | 49 private static final int DURATION = 10000; 82 Thread.sleep(DURATION); 98 Thread.sleep(DURATION);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
RecurrenceSetTest.java | 109 values.put(CalendarContract.Events.DURATION, "P3600S"); 125 values.put(CalendarContract.Events.DURATION, "P3600S"); 138 values.put(CalendarContract.Events.DURATION, "P3600S");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlvTag.java | 29 DURATION(0x04),
|
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 133 * The duration of the voicemail in seconds. 136 public static final String DURATION = Calls.DURATION;
|
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 93 public static final int DURATION = 340000; 132 values.put(Media.DURATION, DURATION); 169 public static final int DURATION = 338000; 211 values.put(Media.DURATION, DURATION);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
MultiPropertyAnimation.java | 48 private static final int DURATION = 1500; 90 ball.getY(), getHeight() - BALL_SIZE).setDuration(DURATION); 99 pvhY, pvhAlpha).setDuration(DURATION/2); 115 pvTX, pvTY).setDuration(DURATION/2); 127 pvhX).setDuration(DURATION/2);
|
/external/chromium_org/chrome/test/functional/media/ |
audio_tools.py | 50 def __init__(self, duration, output_file, record_mono=False): 53 self._duration = duration 63 duration = time.strftime('%H:%M:%S', time.gmtime(self._duration)) 64 cmd = [_AUDIO_RECORDER, '/FILE', self._output_file, '/DURATION', 65 duration] 130 # DURATION: the amount of time in seconds that non-silence must be detected 134 DURATION = '2' 138 ABOVE_PERIODS, DURATION, THRESHOLD, 'reverse', 'silence', 139 ABOVE_PERIODS, DURATION, THRESHOLD, 'reverse']
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TiledScreenNail.java | 38 // The duration of the fading animation in milliseconds 39 private static final int DURATION = 180; 195 if (AnimationTime.get() - mAnimationStartTime >= DURATION) { 203 float r = (float) (AnimationTime.get() - mAnimationStartTime) / DURATION;
|
/cts/tests/tests/view/src/android/view/cts/ |
View_AnimationTest.java | 36 private static final int DURATION = 2000; 51 mAnimation.setDuration(DURATION);
|