/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 51 private static final String DURATION = "duration"; 74 mDuration = extras.getInt(DURATION); 82 public ValueAnimator createAnimator(Object object,String propertyName, long duration, 86 valueAnimator.setDuration(duration); 103 public ValueAnimator createAnimatorWithDuration(long duration) { 104 return createAnimator(view.newBall, "y", duration ,ValueAnimator.INFINITE, 114 long duration, int repeatCount, int repeatMode, TimeInterpolator timeInterpolator, 117 objAnimator.setDuration(duration); 136 public void startAnimation(long duration){ [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 64 .add(Voicemails.DURATION) 92 .add(Voicemails.DURATION)
|
CallLogProvider.java | 76 sCallsProjectionMap.put(Calls.DURATION, Calls.DURATION);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Playlists_MembersTest.java | 52 Members.DURATION, 82 Members.DURATION, 234 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); 278 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
|
MediaStore_Audio_Genres_MembersTest.java | 140 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
|
ContactsTest.java | 414 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE, 442 value.put(Calls.DURATION, insertCallsDuration); 471 value.put(Calls.DURATION, updateCallsDuration); [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 187 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if 210 String duration = computeDuration(start, component); local 217 (TextUtils.isEmpty(duration))|| 221 Log.d(TAG, "Recurrence missing DTSTART, DTEND/DURATION, " 245 values.put(CalendarContract.Events.DURATION, duration); 260 int durationColumn = cursor.getColumnIndex(CalendarContract.Events.DURATION); 273 String duration = cursor.getString(durationColumn); local 282 (TextUtils.isEmpty(duration))|| 314 ICalendar.Property durationProp = new ICalendar.Property("DURATION"); 331 final String duration = values.getAsString(CalendarContract.Events.DURATION); local [all...] |
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 188 map.put(Audio.Media.DURATION, 4*60*1000);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationLoading.java | 49 private static final int DURATION = 1500;
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 124 public static final int DURATION = 14; // Integer(millisec)
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
Duration.java | 18 //$Id: Duration.java 759828 2009-03-30 01:26:29Z mrglavas $ 33 * <p>A Duration object represents a period of Gregorian time, 40 * A negative sign indicates a negative duration.</p> 43 * to use for the duration datatype of XML Schema 1.0 with 47 * <p>Duration objects only have partial order, where two values A and B 52 * <li>A==B (A and B are of the same duration) 57 * The {@link #compare(Duration duration)} method implements this 60 * <p>See the {@link #isLongerThan(Duration)} method for details about 61 * the order relationship among <code>Duration</code> objects.</p [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GoogleCalendarUriIntentFilter.java | 42 import com.android.calendarcommon2.Duration; 57 Events.DURATION, // 3 176 String duration = eventCursor.getString(EVENT_INDEX_DURATION); local 177 if (debug) Log.d(TAG, "duration: " + duration); 178 if (TextUtils.isEmpty(duration)) { 183 Duration d = new Duration(); 184 d.parse(duration); 192 if (debug) Log.d(TAG, "duration:" + e.toString()) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
MediaSaveService.java | 120 public void addVideo(String path, long duration, ContentValues values, 124 new VideoSaveTask(path, duration, values, l, resolver).execute(); 197 private long duration; field in class:MediaSaveService.VideoSaveTask 202 public VideoSaveTask(String path, long duration, ContentValues values, 205 this.duration = duration; 214 values.put(Video.Media.DURATION, duration);
|
/packages/apps/Gallery/src/com/android/camera/ |
MovieViewControl.java | 150 Video.VideoColumns.DURATION, 159 int duration = getCursorInteger(cursor, 0); local 162 || (duration < FIVE_MINUTES) 163 || (bookmark > (duration - ONE_MINUTE))) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalVideo.java | 65 VideoColumns.DURATION,
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
SaveVideoFileUtils.java | 105 values.put(Video.Media.DURATION, durationMs); 142 // Calculate the duration of the destination file. 145 String duration = retriever.extractMetadata( local 147 if (duration != null) { 148 durationMs = Integer.parseInt(duration);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 61 import com.android.calendarcommon2.Duration; 162 Events.DURATION 401 // dtend -- set from duration as part of creating the exception 404 ALLOWED_IN_EXCEPTION.add(Events.DURATION); 1539 String duration = values.getAsString(Events.DURATION); local 1865 Duration duration = new Duration(); local 2908 Duration duration = new Duration(); local [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 85 "P3652421990D", // 9 duration, (10 million years) [all...] |
/packages/apps/Music/src/com/android/music/ |
MusicPicker.java | 57 * application (title, author, album, duration), as well as the ability to 98 MediaStore.Audio.Media.DURATION, 181 TextView duration; field in class:MusicPicker.TrackListAdapter.ViewHolder 221 vh.duration = (TextView) v.findViewById(R.id.duration); 239 vh.duration.setText(""); 241 vh.duration.setText(MusicUtils.makeTimeString(context, secs)); 306 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 113 values.put(Voicemails.DURATION, 40); 546 values.put(Voicemails.DURATION, 30);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 78 Events.DURATION, // 9 647 values.remove(Events.DURATION); 914 String duration = model.mDuration; local [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncParser.java | 271 * Set DTSTART, DTEND, DURATION and EVENT_TIMEZONE as appropriate for the given Event 273 * Events that aren't exceptions MUST have either 1) a DTEND or 2) a DURATION 274 * Recurring events (i.e. events with RRULE) must have a DURATION 275 * All-day recurring events MUST have a DURATION that is in the form P<n>D 276 * Other events MAY have a DURATION in any valid form (we use P<n>M) 323 // For recurring events, set DURATION. Use P<n>D format for all day events 326 cv.put(Events.DURATION, "P" + ((endTime - startTime) / DateUtils.DAY_IN_MILLIS) + "D"); 329 cv.put(Events.DURATION, "P" + ((endTime - startTime) / DateUtils.MINUTE_IN_MILLIS) + "M"); 699 String duration = cv.getAsString(Events.DURATION); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CommandParamsFactory.java | 314 // parse tone duration 315 ctlv = searchForTag(ComprehensionTlvTag.DURATION, ctlvs); 317 textMsg.duration = ValueParser.retrieveDuration(ctlv); 409 // parse duration 410 ctlv = searchForTag(ComprehensionTlvTag.DURATION, ctlvs); 412 input.duration = ValueParser.retrieveDuration(ctlv); 755 Duration duration = null; local 778 // parse tone duration 779 ctlv = searchForTag(ComprehensionTlvTag.DURATION, ctlvs) [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasCalendarSyncHandler.java | 25 import com.android.calendarcommon2.Duration; 439 // Determine endTime; it's either provided as DTEND or we calculate using DURATION 440 // If no DURATION is provided, we default to one hour 446 if (entityValues.containsKey(Events.DURATION)) { 447 final Duration duration = new Duration(); local 449 duration.parse(entityValues.getAsString(Events.DURATION)); 450 durationMillis = duration.getMillis() [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 143 column = Audio.AudioColumns.DURATION;
|