/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/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;
|
/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...] |
/cts/tests/tests/os/src/android/os/cts/ |
ResultReceiverTest.java | 29 private static final long DURATION = 100l; 36 Thread.sleep(DURATION);
|
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);
|
/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...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiSoftAPTest.java | 37 private final int DURATION = 10000; 69 Thread.sleep(DURATION);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogQuery.java | 32 Calls.DURATION, // 3 52 public static final int DURATION = 3;
|
/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/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);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
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);
|
LayoutAnimationControllerTest.java | 49 /** Duration defined in layout_anim_controller_animation.xml is 1000 */ 50 private static final int DURATION = 1000; 57 /** Default max duration of these three children */ 167 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); 179 // child animation delay = child index * delay * animation duration 235 // duration defined in decelerate_alpha.xml is 2000 236 long duration = 2000; 239 long maxDuration = (long) (DEFAULT_DELAY * INDEX_OF_CHILD3 * duration + duration); [all...] |
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/view/src/android/view/cts/ |
View_AnimationTest.java | 36 private static final int DURATION = 2000; 51 mAnimation.setDuration(DURATION);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ListFlipper.java | 44 private static final int DURATION = 1500;
|
AnimationLoading.java | 49 private static final int DURATION = 1500;
|
AnimationSeeking.java | 51 private static final int DURATION = 1500; 71 mSeekBar.setMax(DURATION);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlvTag.java | 29 DURATION(0x04),
|
/packages/providers/CalendarProvider/ |
maketests.py | 37 DURATION = re.compile("DURATION:(.*)")
80 duration = ""
variable 96 re_duration = DURATION.match(s)
98 duration = re_duration.group(1)
variable
|
/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);
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 183 * The duration of the call in seconds 186 public static final String DURATION = "duration"; 301 * @param duration call duration in seconds 306 int presentation, int callType, long start, int duration) { 336 values.put(DURATION, Long.valueOf(duration));
|
VoicemailContract.java | 133 * The duration of the voicemail in seconds. 136 public static final String DURATION = Calls.DURATION;
|