/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/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 419 snprintf(buffer, SIZE, " duration encoded : %lld us\n", mTrackDurationUs); 479 // Max file duration limit is set 485 // When both file size and duration limits are set, 491 // Only max file duration limit is set 501 // Any long duration recording will be probably end up with 840 int32_t duration = (durationUs * mTimeScale + 5E5) / 1E6; local 841 writeInt32(duration); 1303 size_t sampleCount, int32_t duration) { 1305 if (duration == 0) { 1306 ALOGW("0-duration sample 1302 addOneSttsTableEntry( size_t sampleCount, int32_t duration) argument 1312 addOneCttsTableEntry( size_t sampleCount, int32_t duration) argument 2862 uint32_t duration; local 2890 uint32_t duration; local [all...] |
H A D | MPEG4Extractor.cpp | 818 int64_t duration; local 821 timescale_offset + 4, &duration, sizeof(duration)) 822 < (ssize_t)sizeof(duration)) { 825 duration = ntoh64(duration); 833 duration = ntohl(duration32); 836 kKeyDuration, (duration * 1000000) / mLastTrack->timescale); 1490 uint64_t ctime, mtime, duration; local 1497 duration [all...] |
/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
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 56 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:__anon94
|
/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 | 691 Bundle params, long duration) { 693 mDuration = duration; 765 public int playSilence(IBinder caller, long duration, int queueMode, Bundle params) { 771 Binder.getCallingUid(), Binder.getCallingPid(), params, duration); 690 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. 240 * Sets the duration for the underlying animator that animates the requested properties. 243 * @param duration Th 247 setDuration(long duration) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 608 private void startAnimation(int startX, int endX, int duration) { argument 611 mAnimationDuration = duration; 671 private synchronized void vibrate(long duration) { argument 680 mVibrator.vibrate(duration);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 58 return J2Movie(env, movie)->duration(); 127 { "duration", "()I", (void*)movie_duration },
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 137 * Change the global fade duration when a new drawable is entering 146 * Change the global fade duration when a new drawable is leaving 641 public final void setEnterFadeDuration(int duration) { argument 642 mEnterFadeDuration = duration; 649 public final void setExitFadeDuration(int duration) { argument 650 mExitFadeDuration = duration;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 607 // set play state to paused to enable pre-fetch so we can get a more reliable duration 622 // get the duration 623 SLmillisecond duration; local 624 result = (*playerPlay)->GetDuration(playerPlay, &duration); 626 if (SL_TIME_UNKNOWN == duration) { 627 printf("duration: unknown\n"); 629 printf("duration: %.1f seconds\n", duration / 1000.0);
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4xVSS_Internal.h | 77 M4OSA_UInt8 m_middle; /*Duration, in percentage of effect duration, 79 M4OSA_UInt8 m_start; /*Duration, in percentage of effect duration, 95 M4OSA_Int32 duration; /**< Duration of the frame */ member in struct:__anon270 154 M4OSA_UInt32 effectDuration; /**<Effect duration*/ 169 M4OSA_Float frameDurationRatio; /**< Frame duration ratio */ 193 M4OSA_UInt32 duration; member in struct:__anon272
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 188 long duration = a.getInt(com.android.internal.R.styleable.Animator_duration, 0); 288 anim.setDuration(duration);
|
H A D | AnimatorSet.java | 119 // simply means that there is no duration set on the AnimatorSet. When a real duration is 399 * be less than 0, which indicates that no duration has been set on this AnimatorSet 400 * and each of the child animations will use their own duration. 412 * each child animation will use its own duration. If the duration is set on the AnimatorSet, 413 * then each child animation inherits this duration. 415 * @param duration The length of the animation, in milliseconds, of each of the child 419 public AnimatorSet setDuration(long duration) { argument 420 if (duration < [all...] |
/frameworks/base/services/input/ |
H A D | EventHub.h | 227 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0; 289 virtual void vibrate(int32_t deviceId, nsecs_t duration);
|
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 282 int duration = mTimestamp - mDtmfStart; local 283 // Make sure duration is reasonable. 284 if (duration >= 0 && duration < mSampleRate * DTMF_PERIOD) { 285 duration += mSampleCount; 290 htonl(mDtmfEvent | duration), 292 if (duration >= mSampleRate * DTMF_PERIOD) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | PagedView.java | 217 // This variable's scope is only for the duration of startReordering() and endReordering() 219 // This variable's scope is for the duration of startReordering() and after the zoomIn() 1749 // We want the duration of the page snap animation to be influenced by the distance that 1750 // the screen has to travel, however, we don't want this duration to be effected in a 1752 // of travel has on the overall snap duration. 1768 int duration = 0; 1778 // snap duration. This is a function of the actual distance that needs to be traveled; 1780 // duration as a function of the distance the page needs to travel. 1789 // user flings, so we scale the duration by a value near to the derivative of the scroll 1791 duration 1803 snapToPage(int whichPage, int duration) argument 1806 snapToPage(int whichPage, int duration, boolean immediate) argument 1818 snapToPage(int whichPage, int delta, int duration) argument 1821 snapToPage(int whichPage, int delta, int duration, boolean immediate) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 4000 void startScroll(int distance, int duration, boolean linear) { argument 4004 mScroller.startScroll(0, initialY, 0, distance, duration); 4308 void startWithOffset(final int position, int offset, final int duration) { argument 4316 startWithOffset(position, postOffset, duration); 4347 smoothScrollBy(targetTop - offset, duration, true); 4354 duration : (int) (duration / screenTravelCount); 4364 void scrollToVisible(int targetPos, int boundPos, int duration) { argument 4411 smoothScrollBy(scrollBy, duration); 4572 final int duration 4645 smoothScrollToPositionFromTop(int position, int offset, int duration) argument 4691 smoothScrollBy(int distance, int duration) argument 4695 smoothScrollBy(int distance, int duration, boolean linear) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParamsFactory.java | 306 // parse tone duration 309 textMsg.duration = ValueParser.retrieveDuration(ctlv); 401 // parse duration 404 input.duration = ValueParser.retrieveDuration(ctlv); 774 Duration duration = null; 797 // parse tone duration 800 duration = ValueParser.retrieveDuration(ctlv); 812 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 739 final long duration = now - mFadingStart; 741 if (duration > mFadeDuration) { 755 Math.min(1.0f, duration / (float) mFadeDuration));
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoViewProxy.java | 620 Integer duration = (Integer) map.get("dur"); 623 nativeOnPrepared(duration.intValue(), width.intValue(), 787 private native void nativeOnPrepared(int duration, int width, int height, int nativePointer); argument
|