HomeSort by relevance Sort by last modified time
    Searched refs:DURATION (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /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...]
  /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...]
ParameterNames.java 125 public static final String DURATION = "duration";
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
FadeTexture.java 26 // The duration of the fading animation in milliseconds
27 public static final int DURATION = 180;
67 if (now() - mStartTime >= DURATION) {
75 float r = (float)(now() - mStartTime) / DURATION;
BitmapScreenNail.java 35 // The duration of the fading animation in milliseconds
36 private static final int DURATION = 180;
182 if (now() - mAnimationStartTime >= DURATION) {
194 float r = (float)(now() - mAnimationStartTime) / DURATION;
  /external/srtp/test/
rtpw_test.sh 9 DURATION=3
61 sleep $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);
ParcelFileDescriptorTest.java 40 private static final long DURATION = 100l;
72 Thread.sleep(DURATION);
81 Thread.sleep(DURATION);
91 mTestThread.joinAndCheck(DURATION * 2);
  /packages/apps/Phone/src/com/android/phone/
HapticFeedback.java 66 private static final long DURATION = 10; // millisec.
94 mHapticPattern = new long[] {0, DURATION, 2 * DURATION, 3 * DURATION};
  /packages/apps/Contacts/src/com/android/contacts/calllog/
CallLogQuery.java 32 Calls.DURATION, // 3
51 public static final int DURATION = 3;
  /frameworks/base/core/java/com/android/internal/widget/
WaveView.java 59 private static final long DURATION = 300; // duration of transitional animations
60 private static final long FINAL_DURATION = 200; // duration of final animations when unlocking
218 mUnlockRing.addAnimTo(DURATION, 0, "x", mLockCenterX, true);
219 mUnlockRing.addAnimTo(DURATION, 0, "y", mLockCenterY, true);
220 mUnlockRing.addAnimTo(DURATION, 0, "scaleX", 0.1f, true);
221 mUnlockRing.addAnimTo(DURATION, 0, "scaleY", 0.1f, true);
222 mUnlockRing.addAnimTo(DURATION, 0, "alpha", 0.0f, true);
234 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleX", 1.0f, true);
235 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);
ScaleAnimationTest.java 34 private static long DURATION = 1000;
112 scaleAnimation.setDuration(DURATION);
126 // interpolatedTime == startTime + (DURATION / 2)
127 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation);
132 // interpolatedTime == startTime + DURATION
133 scaleAnimation.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);
ScanResultTest.java 46 private static final int DURATION = 10000;
86 Thread.sleep(DURATION);
102 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/base/telephony/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;
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
WifiSoftAPTest.java 45 private final int DURATION = 10000;
77 Thread.sleep(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);
  /cts/tests/tests/view/src/android/view/cts/
View_AnimationTest.java 36 private static final int DURATION = 2000;
51 mAnimation.setDuration(DURATION);

Completed in 833 milliseconds

1 2 3 4 5