Home
last modified time | relevance | path

Searched refs:DURATION (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DEase.java23 private static final float DURATION = 1.0f; field in Ease
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/PhoneCommon/src/com/android/phone/common/
DHapticFeedback.java64 private static final long DURATION = 10; // millisec. field in HapticFeedback
91 mHapticPattern = new long[] {0, DURATION, 2 * DURATION, 3 * DURATION}; in init()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java136 values.put(Calls.DURATION, 40); in testUpdate()
199 values.put(Calls.DURATION, 40); in testAddCall()
432 values.put(Calls.DURATION, 30); in getDefaultValues()
517 values.put(Calls.DURATION, 100);
528 values.put(Calls.DURATION, 200);
539 values.put(Calls.DURATION, 50);
DVoicemailProviderTest.java94 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testInsertReadMessageIsNotNew()
136 values.put(Voicemails.DURATION, 40); in testUpdate()
689 values.put(Voicemails.DURATION, 30); in getTestVoicemailValues()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DFadeTexture.java28 public static final int DURATION = 180; field in FadeTexture
66 if (now() - mStartTime >= DURATION) { in isAnimating()
74 float r = (float)(now() - mStartTime) / DURATION; in getRatio()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java163 Events.DURATION
397 ALLOWED_IN_EXCEPTION.add(Events.DURATION);
1539 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1580 modValues.put(Events.DURATION, duration); in fixAllDayTime()
1866 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
1895 values.remove(Events.DURATION); in handleInsertException()
2475 bob.append("\ndur: ").append(values.getAsString(Events.DURATION)); in dumpEventNoPII()
2501 boolean hasDuration = !TextUtils.isEmpty(values.getAsString(Events.DURATION)); in scrubEventData()
2547 values.remove(Events.DURATION); in scrubEventData()
2549 modValues.putNull(Events.DURATION); in scrubEventData()
[all …]
DCalendarInstancesHelper.java117 Events.DURATION,
172 int durationColumn = entries.getColumnIndex(Events.DURATION); in performInstanceExpansion()
DCalendarDatabaseHelper.java96 Events.DURATION + "," +
542 CalendarContract.Events.DURATION + " TEXT," + in createEventsTable()
3173 + CalendarContract.Events.DURATION + "," in createEventsView()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DRecurrenceSetTest.java109 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
125 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
138 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
DCalendarProvider2Test.java1193 m.remove(Events.DURATION); in eventInfoToContentValues()
1198 m.put(Events.DURATION, event.mDuration); in eventInfoToContentValues()
1261 Events.DURATION, in updateMatchingEvents()
1276 || values.containsKey(Events.DURATION) || values.containsKey(Events.ALL_DAY) in updateMatchingEvents()
1295 if (!values.containsKey(Events.DURATION) && duration != null) { in updateMatchingEvents()
1296 values.put(Events.DURATION, duration); in updateMatchingEvents()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTiledScreenNail.java39 private static final int DURATION = 180; field in TiledScreenNail
195 if (AnimationTime.get() - mAnimationStartTime >= DURATION) { in isAnimating()
203 float r = (float) (AnimationTime.get() - mAnimationStartTime) / DURATION; in getRatio()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsBase.java34 private static final String DURATION = "duration"; field in ProcessStatsBase
75 ? icicle.getLong(DURATION, sDurations[0]) : sDurations[0]); in onCreate()
81 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherViewPropertyAnimator.java37 DURATION, enumConstant
160 mPropertiesToSet.add(Properties.DURATION); in setDuration()
220 if (mPropertiesToSet.contains(Properties.DURATION)) { in start()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherViewPropertyAnimator.java38 DURATION, enumConstant
161 mPropertiesToSet.add(Properties.DURATION); in setDuration()
221 if (mPropertiesToSet.contains(Properties.DURATION)) { in start()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogQuery.java29 Calls.DURATION, // 3
55 public static final int DURATION = 3; field in CallLogQuery
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1017 mExpectedValues.remove(Events.DURATION); in testCheckTimeDependentFieldsChanges()
1243 mExpectedValues.put(Events.DURATION, "P60S"); in testAddRecurrenceRule()
1254 mExpectedValues.put(Events.DURATION, "P1D"); in testAddRecurrenceRule()
1380 mExpectedValues.put(Events.DURATION, (String) null); in testGetContentValuesFromModel()
1583 values.put(Events.DURATION, "P3652421990D"); in buildTestValues()
1598 values.put(Events.DURATION, (String)null); in buildNonRecurringTestValues()
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
DFillCallLogTestActivity.java224 values[i].put(Calls.DURATION, 1); // Will be overwritten later in addRandomNumbers()
325 if (values.getAsLong(Calls.DURATION) > 0) { in insertIntoCallLog()
326 values.put(Calls.DURATION, RNG.nextInt(30 * 60 * 60 * 1000)); in insertIntoCallLog()
/packages/providers/CalendarProvider/
Dmaketests.py37 DURATION = re.compile("DURATION:(.*)") variable
96 re_duration = DURATION.match(s)
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java83 Calls.DURATION,
121 sCallsProjectionMap.put(Calls.DURATION, Calls.DURATION); in sCallsProjectionMap.put() argument
DVoicemailContentTable.java64 .add(Voicemails.DURATION)
97 .add(Voicemails.DURATION) in VoicemailContentTable()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java78 Events.DURATION, // 9
647 values.remove(Events.DURATION); in checkTimeDependentFields()
938 values.put(Events.DURATION, duration); in addRecurrenceRule()
1268 values.put(Events.DURATION, (String) null); in getContentValuesFromModel()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java120 CallLog.Calls.DURATION,
364 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java98 MediaStore.Audio.Media.DURATION,
306 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION); in changeCursor()
DTrackBrowserActivity.java146 MediaStore.Audio.Media.DURATION in onCreate()
155 MediaStore.Audio.Media.DURATION, in onCreate()
1433 mDurationIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DURATION);
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataQuery.java53 MediaStore.Video.VideoColumns.DURATION // 11 long

12