Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/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/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/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledProgramReaperTest.java33 public static final long DURATION = TimeUnit.HOURS.toMillis(1); field in ScheduledProgramReaperTest
91 mFakeClock.increment(TimeUnit.MILLISECONDS, DURATION); in testRun_oneRecordingsExpired()
105 startTime + DURATION); in addNewScheduledRecordingForTomorrow()
DRecordingTaskTest.java58 private static final long DURATION = TimeUnit.MINUTES.toMillis(30); field in RecordingTaskTest
140 long endTime = startTime + DURATION; in createRecording()
/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()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsBase.java35 private static final String DURATION = "duration"; field in ProcessStatsBase
76 ? icicle.getLong(DURATION, sDurations[0]) : sDurations[0]); in onCreate()
82 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState()
/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java134 values.put(Calls.DURATION, 40); in testUpdate()
200 values.put(Calls.DURATION, 40); in testAddCall()
439 values.put(Calls.DURATION, 30); in getDefaultValues()
482 values.put(Calls.DURATION, 100); in getTestCallLogValues()
493 values.put(Calls.DURATION, 200); in getTestCallLogValues()
504 values.put(Calls.DURATION, 50); in getTestCallLogValues()
DVoicemailProviderTest.java97 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testInsertReadMessageIsNotNew()
139 values.put(Voicemails.DURATION, 40); in testUpdate()
729 values.put(Voicemails.DURATION, 30); in getTestVoicemailValues()
/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.java38 Calls.DURATION, // 3
63 public static final int DURATION = 3; field in CallLogQuery
DCallLogAsyncTaskUtil.java68 CallLog.Calls.DURATION,
445 new String[] { VoicemailArchiveContract.VoicemailArchive.DURATION }, in updateVoicemailDuration()
449 VoicemailArchiveContract.VoicemailArchive.DURATION)) <= 0) { in updateVoicemailDuration()
451 values.put(CallLog.Calls.DURATION, duration); in updateVoicemailDuration()
/packages/apps/Dialer/src/com/android/dialer/database/
DVoicemailArchiveContract.java63 public static final String DURATION = CallLog.Calls.DURATION; field in VoicemailArchiveContract.VoicemailArchive
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailAsyncTaskUtilTest.java64 CallLog.Calls.DURATION,
90 VoicemailContract.Voicemails.DURATION,
299 values.put(VoicemailContract.Voicemails.DURATION, TEST_DURATION); in getVoicemailContentValues()
328 values.put(VoicemailArchiveContract.VoicemailArchive.DURATION, TEST_DURATION); in getCombinedContentValues()
DVoicemailArchiveTest.java99 values.put(VoicemailArchive.DURATION, 0); in setUriForRealFileVoicemailEntry()
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
DFillCallLogTestActivity.java262 values[i].put(Calls.DURATION, 1); // Will be overwritten later in addRandomNumbers()
363 if (values.getAsLong(Calls.DURATION) > 0) { in insertIntoCallLog()
364 values.put(Calls.DURATION, RNG.nextInt(30 * 60 * 60 * 1000)); in insertIntoCallLog()
600 values.put(Calls.DURATION, Long.valueOf(duration)); in addCall()
632 contentValues.put(Voicemails.DURATION, 5000); in addManualVoicemail()
/packages/providers/CalendarProvider/
Dmaketests.py37 DURATION = re.compile("DURATION:(.*)") variable
96 re_duration = DURATION.match(s)
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailAsyncTaskUtil.java293 values.put(VoicemailArchiveContract.VoicemailArchive.DURATION, in getVoicemailContentValues()
295 VoicemailContract.Voicemails.DURATION))); in getVoicemailContentValues()
331 VoicemailContract.Voicemails.DURATION, in getContentInfoCursor()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionAdapterUtils.java117 public static final long DURATION = 250; in animateChange()
126 animator.setDuration(DURATION); in animateChange()
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataQuery.java53 MediaStore.Video.VideoColumns.DURATION // 11 long
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java163 Events.DURATION
397 ALLOWED_IN_EXCEPTION.add(Events.DURATION);
1541 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1582 modValues.put(Events.DURATION, duration); in fixAllDayTime()
1868 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
1897 values.remove(Events.DURATION); in handleInsertException()
2477 bob.append("\ndur: ").append(values.getAsString(Events.DURATION)); in dumpEventNoPII()
2503 boolean hasDuration = !TextUtils.isEmpty(values.getAsString(Events.DURATION)); in scrubEventData()
2549 values.remove(Events.DURATION); in scrubEventData()
2551 modValues.putNull(Events.DURATION); in scrubEventData()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentTable.java63 .add(Voicemails.DURATION)
97 .add(Voicemails.DURATION) in VoicemailContentTable()
DCallLogProvider.java89 Calls.DURATION,
133 sCallsProjectionMap.put(Calls.DURATION, Calls.DURATION); in sCallsProjectionMap.put() argument
/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()

123