HomeSort by relevance Sort by last modified time
    Searched full:mduration (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BaseCluster.java 41 protected long mDuration;
49 mDuration = 0;
56 mDuration = duration;
68 return mDuration;
125 averageCenter(cluster.mCenter, cluster.mDuration);
135 mDuration = cluster.mDuration;
148 mDuration += cluster.mDuration;
153 return mDuration > durationThreshold
    [all...]
  /frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
MusicTrack.java 34 private int mDuration;
59 this.mDuration = duration;
127 return mDuration;
130 public void setDuration(int mDuration) {
131 this.mDuration = mDuration;
  /external/replicaisland/src/com/replica/replicaisland/
FadeDrawableComponent.java 32 private float mDuration;
51 mDuration = 0.0f;
87 if (mLoopType != LOOP_TYPE_NONE && elapsed > mDuration) {
88 final float endTime = mStartTime + mDuration;
98 if (elapsed > mDuration) {
102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed);
104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed);
137 mDuration = duration;
  /packages/apps/Launcher3/src/com/android/launcher3/util/
FlingAnimation.java 26 protected final int mDuration;
54 mDuration = initDuration();
55 mAnimationTimeFraction = ((float) mDuration) / (mDuration + DRAG_END_DELAY);
87 return mDuration + DRAG_END_DELAY;
99 final float time = t * mDuration;
  /frameworks/support/v7/appcompat/src/android/support/v7/view/
ViewPropertyAnimatorCompatSet.java 37 private long mDuration = -1;
65 if (mDuration >= 0) {
66 animator.setDuration(mDuration);
96 mDuration = duration;
  /frameworks/wilhelm/src/itf/
IMIDITime.c 30 SLuint32 duration = thiz->mDuration;
45 if (!(position < thiz->mDuration)) {
83 SLuint32 duration = thiz->mDuration;
132 thiz->mDuration = 0;
  /cts/tests/tests/animation/src/android/animation/cts/
PropertyValuesHolderTest.java 38 private long mDuration = 1000;
52 mAnimator = mActivity.createAnimatorWithDuration(mDuration);
98 objAnimator.setDuration(mDuration);
143 waitUntilFinished(objAnimator1, mDuration * 2);
146 waitUntilFinished(objAnimator1, mDuration * 2);
154 waitUntilFinished(objAnimator2, mDuration * 2);
161 waitUntilFinished(objAnimator1, mDuration * 2);
168 waitUntilFinished(objAnimator3, mDuration * 2);
176 waitUntilFinished(objAnimator1, mDuration * 2);
184 waitUntilFinished(objAnimator3, mDuration * 2)
    [all...]
ValueAnimatorTest.java 33 private long mDuration = 2000;
44 mValueAnimator = mActivity.createAnimatorWithDuration(mDuration);
108 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration);
109 final ValueAnimator delayedAnim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration);
110 delayedAnim.setStartDelay(mDuration);
111 final long proposedCurrentPlayTime = mDuration / 2;
115 anim.setCurrentPlayTime(mDuration / 2);
123 delayedAnim.setCurrentPlayTime(mDuration / 2);
223 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration);
224 final long proposedCurrentPlayTime = mDuration / 2
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
FlingScroller.java 40 private int mDuration;
56 return mDuration;
96 mDuration = (int)Math.round(FLING_DURATION_PARAM
101 velocity * mDuration / DECELERATED_FACTOR / 1000);
139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration;
  /frameworks/base/libs/hwui/
PropertyValuesAnimatorSet.cpp 63 if (playTime == 0 && mDuration > 0) {
113 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration();
125 mDuration(duration) {
132 mTotalDuration = ((nsecs_t) mRepeatCount + 1) * mDuration + mStartDelay;
148 iteration = (playTime - mStartDelay) / mDuration;
149 currentIterationFraction = ((playTime - mStartDelay) % mDuration) / (float) mDuration;
Animator.cpp 44 , mDuration(300)
77 mDuration = duration;
130 mPlayTime : mDuration;
144 mPlayTime = mPlayState == PlayState::Reversing ? 0 : mDuration;
194 // current time - mStartTime = stagingPlayTime (or mDuration -stagingPlayTime in the
200 mStartTime = currentFrameTime - (mDuration - mPlayTime);
232 if (mDuration < 0) {
233 ALOGW("Your duration is strange and confusing: %" PRId64, mDuration);
247 updatePlayTime(mDuration);
266 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime
    [all...]
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
Song.java 41 @SerializedName("duration") private String mDuration = null;
57 return mDuration;
61 mDuration = duration;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
HomeRecentsEnterExitAnimationHolder.java 33 private int mDuration;
44 mDuration = mContext.getResources().getInteger(R.integer.recents_home_duration);
54 .setDuration(mDuration)
66 .setDuration(mDuration)
  /packages/apps/Gallery2/src/com/android/gallery3d/anim/
Animation.java 53 private int mDuration;
61 mDuration = duration;
84 float x = Utils.clamp((float) elapse / mDuration, 0f, 1f);
87 if (elapse >= mDuration) mStartTime = NO_ANIMATION;
  /system/extras/tests/sdcard/
stopwatch.cpp 57 mDuration(0.0), mDeviation(0.0),
122 mName, mDuration, mNum);
131 SNPRINTF_OR_RETURN(*str, *size, "%s %d %f %f %d %f %d %d\n", mName, mNum, mDuration,
162 // stop pair. The diff is accumulated in mDuration and inserted in
197 mDuration += mDeltas[i];
199 double avgDuration = mDuration / n;
221 SNPRINTF_OR_RETURN(*str, *size, "# Average %s duration %f s/op\n", mName, mDuration / mNum);
233 SNPRINTF_OR_RETURN(*str, *size, "# Speed %f Kbyte/s\n", double(mSizeKbytes) * mNum / mDuration);
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailImpl.java 28 private final Long mDuration;
50 mDuration = duration;
193 return hasDuration() ? mDuration : 0;
198 return mDuration != null;
249 + ", mDuration=" + mDuration + ", mSource=" + mSource + ", mProviderData="
  /frameworks/base/core/java/com/android/internal/widget/
TextProgressBar.java 57 int mDuration = -1;
121 mDuration = (int) (durationBase - mChronometer.getBase());
122 if (mDuration <= 0) {
123 mDuration = 1;
125 mProgressBar.setMax(mDuration);
146 mProgressBar.setProgress(mDuration - remaining);
  /packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsDetail.java 296 if (lhs.mDuration < rhs.mDuration) {
298 } else if (lhs.mDuration > rhs.mDuration) {
308 if (lhs.mDuration < rhs.mDuration) {
310 } else if (lhs.mDuration > rhs.mDuration) {
319 long mDuration;
331 if (pent.mDuration >= mOnePercentTime)
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
PlayerActivity.java 78 private int mDuration;
245 updateSeekbar(currentPos, mDuration);
308 mDuration = mp.getDuration();
309 mEndText.setText(formatTimeSignature(mDuration));
310 mSeekbar.setMax(mDuration);
336 int delta = (int) (mDuration / SCRUB_SEGMENT_DIVISOR);
340 Log.v("keycode", "duration " + mDuration + " delta:" + delta);
358 if (currentPos < mDuration)
371 mStartText.setText(formatTimeSignature(mDuration));
  /frameworks/base/cmds/hid/src/com/android/commands/hid/
Event.java 42 private int mDuration;
73 return mDuration;
84 + ", duration=" + mDuration
124 mEvent.mDuration = duration;
138 if (mEvent.mDuration <= 0) {
  /frameworks/support/design/gingerbread/android/support/design/widget/
ValueAnimatorCompatImplGingerbread.java 44 private long mDuration = DEFAULT_DURATION;
130 mDuration = duration;
161 return mDuration;
168 final float linearFraction = MathUtils.constrain(elapsed / (float) mDuration, 0f, 1f);
177 if (SystemClock.uptimeMillis() >= (mStartTime + mDuration)) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TimerProgressBar.java 59 private long mDuration;
76 if (mStartTime + mDuration > currentTime) {
98 mDuration = duration;
  /frameworks/support/compat/gingerbread/android/support/v4/animation/
GingerbreadAnimatorCompatProvider.java 45 private long mDuration = 200;
58 float fraction = dt * 1f / mDuration;
91 mDuration = duration;
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
AudioTrackMonitor.java 41 private long mDuration;
47 mExpireMs += mDuration;
60 mDuration = duration;
  /frameworks/base/graphics/java/android/graphics/drawable/
TransitionDrawable.java 69 private int mDuration;
114 mDuration = mOriginalDuration = durationMillis;
140 if (time - mStartTimeMillis > mDuration) {
152 mDuration = mOriginalDuration = duration;
161 mDuration = (int) (mReverse ? time - mStartTimeMillis :
180 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration;

Completed in 636 milliseconds

1 2 3 4 5