/frameworks/base/core/java/android/provider/ |
H A D | 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)); 305 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) argument
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.cpp | 152 int64_t duration = getNowUs() - startTime; local 158 duration / 1E3 );
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardAccountView.java | 325 public void showBouncer(int duration) { argument 329 public void hideBouncer(int duration) { argument
|
H A D | KeyguardMultiUserAvatar.java | 174 void updateVisualsForActive(boolean active, boolean animate, int duration, argument 210 va.setDuration(duration);
|
H A D | SlidingChallengeLayout.java | 347 // We want the duration of the page snap animation to be influenced by the distance that 348 // the screen has to travel, however, we don't want this duration to be effected in a 350 // of travel has on the overall snap duration. 419 int duration = 0; 422 duration = 4 * Math.round(1000 * Math.abs(distance / velocity)); 425 duration = (int) ((childDelta + 1) * 100); 427 duration = Math.min(duration, MAX_SETTLE_DURATION); 429 mScroller.startScroll(0, sy, 0, dy, duration); 1059 int duration [all...] |
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 894 nsecs_t duration = movement.eventTime - oldestMovement.eventTime; local 896 // If the duration between samples is small, we may significantly overestimate 897 // the velocity. Consequently, we impose a minimum duration constraint on the 899 if (duration >= MIN_DURATION) { 901 float scale = 1000000000.0f / duration; // one over time delta in seconds 904 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); 905 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration); 906 lastDuration = duration; [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | FrameTracker.cpp | 169 nsecs_t duration = newPresentTime - prevPresentTime; local 170 int numPeriods = int((duration + mDisplayPeriod/2) / 181 // The last duration bucket is a catch-all.
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 128 // Round up and get the duration of each frame 153 // Compute total duration 154 int64_t duration = numFrames * mFrameDurationUs; local 155 mMeta->setInt64(kKeyDuration, duration);
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 139 uint32_t duration; member in struct:android::MPEG4Source::Sample 438 int64_t duration; local 439 if (track->meta->findInt64(kKeyDuration, &duration)) { 440 // nothing fancy, just pick a frame near 1/4th of the duration 442 kKeyThumbnailTime, duration / 4); 954 int64_t duration; local 956 if (mLastTrack->meta->findInt64(kKeyDuration, &duration) && 962 int64_t paddingus = duration - (segment_duration + media_time); 1114 int64_t duration = 0; local 1117 timescale_offset + 4, &duration, sizeo 1933 uint64_t ctime, mtime, duration; local [all...] |
H A D | MPEG4Writer.cpp | 420 snprintf(buffer, SIZE, " duration encoded : %lld us\n", mTrackDurationUs); 521 // Max file duration limit is set 527 // When both file size and duration limits are set, 533 // Only max file duration limit is set 543 // Any long duration recording will be probably end up with 936 int32_t duration = (durationUs * mTimeScale + 5E5) / 1E6; local 937 writeInt32(duration); 1404 size_t sampleCount, int32_t duration) { 1406 if (duration == 0) { 1407 ALOGW("0-duration sample 1403 addOneSttsTableEntry( size_t sampleCount, int32_t duration) argument 1413 addOneCttsTableEntry( size_t sampleCount, int32_t duration) argument 2969 uint32_t duration; local 2997 uint32_t duration; local [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | ValueAnimator.java | 479 * Sets the length of the animation. The default duration is 300 milliseconds. 481 * @param duration The length of the animation, in milliseconds. This value cannot 485 * duration, as in <code>ValueAnimator.ofInt(0, 10).setDuration(500).start()</code>. 487 public ValueAnimator setDuration(long duration) { argument 488 if (duration < 0) { 489 throw new IllegalArgumentException("Animators cannot have negative duration: " + 490 duration); 492 mUnscaledDuration = duration; 493 mDuration = (long)(duration * sDurationScale); 498 * Gets the length of the animation. The default duration i [all...] |
H A D | Animator.java | 159 * Sets the duration of the animation. 161 * @param duration The length of the animation, in milliseconds. 163 public abstract Animator setDuration(long duration); argument 166 * Gets the duration of the animation.
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxyTestCase.java | 184 int duration = mPlayer.getDuration(); 185 assertTrue("duration was " + duration, duration > 0); 188 assertEquals(duration, mPlayer.getDuration()); 190 assertEquals(duration, mPlayer.getDuration());
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 312 long duration = end - start; 327 final long fracRxBytes = rxBytes * overlap / duration; 328 final long fracRxPackets = rxPackets * overlap / duration; 329 final long fracTxBytes = txBytes * overlap / duration; 330 final long fracTxPackets = txPackets * overlap / duration; 331 final long fracOperations = operations * overlap / duration; 340 duration -= overlap;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | VideoEditorPreviewTest.java | 149 boolean loop, long duration) throws Exception { 168 waitingTime += duration; 758 * total duration) 1128 long duration = 0; 1138 duration = mVideoEditor.getDuration(); 1141 mVideoEditor.renderPreviewFrame(surfaceHolder, duration, 1147 duration = mVideoEditor.getDuration() + 1000; 1149 mVideoEditor.renderPreviewFrame(surfaceHolder, duration, 1154 assertTrue (" Preview time greater than duration", flagForException); 148 validatePreviewProgress(int startMs, int endMs, boolean loop, long duration) argument
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4READER_Amr.c | 49 M4OSA_Time m_maxDuration; /**< duration of the audio stream */ 305 pStreamHandler->m_duration = streamDesc.duration; 308 if (streamDesc.duration > pC->m_maxDuration) 310 pC->m_maxDuration = streamDesc.duration; 394 * - the duration of the longest stream of the media
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 83 * content for the duration of the animation. 89 * content for the duration of the animation. 148 * The duration of one animation cycle in milliseconds. 217 * Creates a new animation with a duration of 0ms, the default interpolator, with 419 * How long this animation should last. The duration cannot be negative. 423 * @throws java.lang.IllegalArgumentException if the duration is < 0 429 throw new IllegalArgumentException("Animation duration cannot be negative"); 435 * Ensure that the duration that this animation will run is not longer 436 * than <var>durationMillis</var>. In addition to adjusting the duration 440 * @param durationMillis The maximum duration th [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 182 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q); local 195 if (duration == -1 || fileFormat == -1 || videoCodec == -1 || audioCodec == -1 || 207 duration,
|
/frameworks/av/include/media/ |
H A D | ToneGenerator.h | 209 static const unsigned int TONEGEN_INF = 0xFFFFFFFF; // Represents infinite time duration 221 // The data stored in segments[] is the duration of the corresponding period in ms. 222 // The first segment encountered with a 0 duration indicates that no more segment follows. 226 // When the tone generator encounters the first 0 duration segment, it will compare repeatCnt to mCurCount. 233 unsigned int duration; member in class:android::ToneGenerator::ToneSegment 252 // only if tone duration is less than about 27 Hours(@44100Hz sampling rate). If this time is exceeded, 254 unsigned int mMaxSmp; // Maximum number of audio samples played (maximun tone duration) 255 int mDurationMs; // Maximum tone duration in ms 274 struct timespec mStartTime; // tone start time: needed to guaranty actual tone duration
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 62 status_t setInterleaveDuration(uint32_t duration);
|
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/ |
H A D | M4MP4W_Types.h | 181 init to 0.Gives duration at the end.*/ 285 M4OSA_UInt32 duration; /* D in ms, max duration of audio&video*/ member in struct:__anon107
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorMp3Reader.cpp | 278 ALOGV("Mp3Reader duration=%ld",pReaderContext->mMaxDuration); 485 streamDesc.duration = meta->findInt64(kKeyDuration, &Duration); 486 streamDesc.duration = (M4OSA_Time)Duration/1000; 490 ALOGV("Bitrate = %d, SampleRate = %d duration = %lld", 536 pStreamHandler->m_duration = streamDesc.duration; 537 pReaderContext->mMaxDuration = streamDesc.duration;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4lib_int.h | 251 int32 duration; member in struct:tagVideoDecData
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 724 Bundle params, long duration) { 726 mDuration = duration; 839 public int playSilence(IBinder caller, long duration, int queueMode, Bundle params) { 845 Binder.getCallingUid(), Binder.getCallingPid(), params, duration); 723 SilenceSpeechItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, long duration) argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewPropertyAnimator.java | 57 * The duration of the underlying Animator object. By default, we don't set the duration 58 * on the Animator and just use its default duration. If the duration is ever set on this 59 * Animator, then we use the duration that it was set to. 64 * A flag indicating whether the duration has been set on this object. If not, we don't set 65 * the duration on the underlying Animator, but instead just use its default duration. 107 * (duration, start delay, interpolator, etc.). 251 * Sets the duration fo 258 setDuration(long duration) argument [all...] |