Searched refs:durationSeconds (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 176 float durationSeconds = startGradient * diff / velAbs; in getProperties() local 178 if (durationSeconds <= maxLengthSeconds) { in getProperties() 183 durationSeconds = maxLengthSeconds; in getProperties() 185 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties() 192 durationSeconds = maxLengthSeconds; in getProperties() 195 mAnimatorProperties.duration = (long) (durationSeconds * 1000); in getProperties() 273 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties() local 274 if (durationSeconds <= maxLengthSeconds) { in getDismissingProperties() 280 durationSeconds = maxLengthSeconds; in getDismissingProperties() 282 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | CallLogQueryHelper.java | 85 long durationSeconds = cursor.getLong(durationIndex); in querySince() local 92 if (addEvent(phoneNumber, date, durationSeconds, callType)) { in querySince() 104 private boolean addEvent(String phoneNumber, long date, long durationSeconds, int callType) { in addEvent() argument 110 .setDurationSeconds((int) durationSeconds) in addEvent()
|
D | Event.java | 231 Builder setDurationSeconds(int durationSeconds) { in setDurationSeconds() argument 232 mDurationSeconds = durationSeconds; in setDurationSeconds()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 93 int32_t durationSeconds; in testOpenPlayClose() local 97 durationSeconds = argParser.getDurationSeconds(); in testOpenPlayClose() 101 durationSeconds = 2; // just wait briefly when quiet in testOpenPlayClose() 117 for (int second = 0; second < durationSeconds; second++) { in testOpenPlayClose()
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 134 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() local 136 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression() 138 durationSeconds += Long.parseLong(seconds); in parseTimeExpression() 140 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression() 142 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression() 144 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes)) in parseTimeExpression() 147 return (long)(durationSeconds * 1000); in parseTimeExpression()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceSet.java | 489 long durationSeconds = (durationMillis / 1000); in computeDuration() local 490 if (start.allDay && (durationSeconds % 86400) == 0) { in computeDuration() 491 return "P" + (durationSeconds / 86400) + "D"; // Server wants this instead of P86400S in computeDuration() 493 return "P" + durationSeconds + "S"; in computeDuration()
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; in permute() local 217 s.mSegmentMax = durationSeconds / meanSegmentLengthSeconds; in permute()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | UsageStatsQueryHelperTest.java | 316 private static Event createInAppConversationEvent(long timestamp, int durationSeconds) { in createInAppConversationEvent() argument 318 .setDurationSeconds(durationSeconds) in createInAppConversationEvent()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 1525 int durationSeconds = Math.toIntExact(durationMillis / 1000); in setScanMode() local 1526 return mService.setScanMode(mode, durationSeconds); in setScanMode()
|