/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...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ParameterNames.java | 125 public static final String DURATION = "duration";
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 158 * of the {@link Duration} class. 169 * <p>This value allows the {@link Duration} class to use switch 244 * <p>Fully qualified name for W3C XML Schema datatype <code>duration</code>.</p> 246 public static final QName DURATION = new QName(XMLConstants.W3C_XML_SCHEMA_NS_URI, "duration");
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 68 private static final int DURATION = 10000; 133 Thread.sleep(DURATION); 151 Thread.sleep(DURATION); 235 Thread.sleep(DURATION); 413 Thread.sleep(DURATION); 447 Thread.sleep(DURATION);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 51 private static final int DURATION = 1500; 71 mSeekBar.setMax(DURATION);
|
ListFlipper.java | 44 private static final int DURATION = 1500;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardGlowStripView.java | 37 private static final int DURATION = 500; 113 mAnimator.setDuration(DURATION);
|
/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
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerMetadataParserTest.java | 255 writeIntRecord(Metadata.DURATION, 5); 260 mMetadata.getString(Metadata.DURATION); 296 writeLongRecord(Metadata.DURATION, 1L); 300 assertEquals(1L, mMetadata.getLong(Metadata.DURATION));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 40 YEAR, DURATION, NUM_TRACKS, WRITER 119 Log.v(TAG, "Expected = " + meta_data_file[fileIndex][meta.DURATION.ordinal()] + "reult = " + value); 120 // Only require that the returned duration is within 100ms of the expected 123 meta_data_file[fileIndex][meta.DURATION.ordinal()])
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 37 DURATION, 159 public Animator setDuration(long duration) { 160 mPropertiesToSet.add(Properties.DURATION); 161 mDuration = duration; 220 if (mPropertiesToSet.contains(Properties.DURATION)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherViewPropertyAnimator.java | 37 DURATION, 160 public Animator setDuration(long duration) { 161 mPropertiesToSet.add(Properties.DURATION); 162 mDuration = duration; 221 if (mPropertiesToSet.contains(Properties.DURATION)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
DessertCaseView.java | 48 static final int DURATION = 500; 193 fillFreeList(DURATION * 4); 264 fillFreeList(DURATION); 283 postDelayed(new Runnable() { public void run() { fillFreeList(); } }, DURATION/2); 374 .setDuration(DURATION) 406 set1.setDuration(DURATION); 416 set2.setDuration(DURATION);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 49 Voicemails.DURATION, 280 .setDuration(cursor.getLong(cursor.getColumnIndexOrThrow(Voicemails.DURATION))) 308 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration()));
|
VoicemailFilterFactory.java | 112 clauses.add(getEqualityClause(Voicemails.DURATION,
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 166 values[i].put(Calls.DURATION, 1); // Will be overwritten later 266 // Add some randomness to the duration. 267 if (values.getAsLong(Calls.DURATION) > 0) { 268 values.put(Calls.DURATION, RNG.nextInt(30 * 60 * 60 * 1000));
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_MediaTest.java | 116 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); 154 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Media.DURATION)));
|
MediaStore_Video_MediaTest.java | 87 values.put(Media.DURATION, 8480); 120 assertEquals(8480, c.getInt(c.getColumnIndex(Media.DURATION))); 148 values.put(Media.DURATION, 8481); 173 assertEquals(8481, c.getInt(c.getColumnIndex(Media.DURATION)));
|
VoicemailContractTest.java | 64 Voicemails._ID, Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, 92 value.put(Voicemails.DURATION, insertCallsDuration); 121 value.put(Voicemails.DURATION, updateCallsDuration); 194 value.put(Voicemails.DURATION, insertCallsDuration);
|
/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));
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 47 private static final long DURATION = 100l; 91 Thread.sleep(DURATION); 101 Thread.sleep(DURATION);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 136 values.put(Calls.DURATION, 40); 191 values.put(Calls.DURATION, 40); 376 values.put(Calls.DURATION, 30);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 82 int durationColumn = cur.getColumnIndex(MediaStore.Audio.Media.DURATION); 117 long duration; field in class:MusicRetriever.Item 119 public Item(long id, String artist, String title, String album, long duration) { 124 this.duration = duration; 144 return duration;
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceSetTest.java | 68 + "DURATION:P2H"; 79 + "DURATION:P2H"; 87 // Check generation of duration from events in different time zones. 96 // TODO: would like to use P1H for duration 130 String exrule, String exdate, long dtstart, String tzid, String duration, int allDay, 150 assertEquals(duration, values.get(android.provider.CalendarContract.Events.DURATION));
|