Searched defs:mDuration (Results 1 - 25 of 55) sorted by relevance

123

/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicItem.java31 private String mDuration; field in class:MusicItem
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicItem.java31 private String mDuration; field in class:MusicItem
/frameworks/av/media/extractors/midi/
H A DMidiExtractor.h82 EAS_I32 mDuration; member in class:android::MidiExtractor
/frameworks/base/core/java/android/view/
H A DRemoteAnimationAdapter.java52 private final long mDuration; field in class:RemoteAnimationAdapter
67 mDuration = duration;
73 mDuration = in.readLong();
82 return mDuration;
111 dest.writeLong(mDuration);
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java57 int mDuration = -1; field in class:TextProgressBar
121 mDuration = (int) (durationBase - mChronometer.getBase());
122 if (mDuration <= 0) {
123 mDuration = 1;
125 mProgressBar.setMax(mDuration);
146 mProgressBar.setProgress(mDuration - remaining);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java45 public static int mDuration = 60 * 1000; // 60 seconds field in class:MediaRecorderStressTestRunner
96 mDuration = Integer.parseInt(recordDuration);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DManageDialog.java46 private TextView mDuration; field in class:ManageDialog
74 mDuration = (TextView) view.findViewById(R.id.duration);
139 mDuration.setText(String.format("%02d:%02d:%02d",
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DViewPropertyAnimatorCompatSet.java42 private long mDuration = -1; field in class:ViewPropertyAnimatorCompatSet
70 if (mDuration >= 0) {
71 animator.setDuration(mDuration);
101 mDuration = duration;
/frameworks/base/core/java/android/view/animation/
H A DLayoutAnimationController.java94 private long mDuration; field in class:LayoutAnimationController
301 mDuration = mAnimation.getDuration();
343 mAnimation.getStartTime() + mMaxDelay + mDuration;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java69 private int mDuration; field in class:TransitionDrawable
114 mDuration = mOriginalDuration = durationMillis;
152 if (time - mStartTimeMillis > mDuration) {
164 mDuration = mOriginalDuration = duration;
173 mDuration = (int) (mReverse ? time - mStartTimeMillis :
192 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration;
/frameworks/base/libs/hwui/
H A DPropertyValuesAnimatorSet.h39 nsecs_t mDuration; member in class:android::uirenderer::PropertyAnimator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipConnectionBase.java49 private long mDuration = -1L; field in class:SipConnectionBase
71 mDuration = getDurationMillis();
106 } else if (mDuration < 0) {
109 dur = mDuration;
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
H A DArcSwipe.java50 private final int mDuration; field in class:ArcSwipe.Gesture
54 mDuration = duration;
89 mGesture.mDuration,
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DOverlayListView.java105 private long mDuration; field in class:OverlayListView.OverlayObject
175 mDuration = duration;
231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration;
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DEvent.java42 private int mDuration; field in class:Event
73 return mDuration;
84 + ", duration=" + mDuration
124 mEvent.mDuration = duration;
138 if (mEvent.mDuration <= 0) {
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java90 private float mDuration; field in class:EdgeEffect
204 if (mState == STATE_PULL_DECAY && now - mStartTime < mDuration) {
213 mDuration = PULL_TIME;
255 mDuration = RECEDE_TIME;
273 mDuration = 0.15f + (velocity * 0.02f);
359 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
372 mDuration = RECEDE_TIME;
384 mDuration = PULL_DECAY_TIME;
H A DToast.java97 int mDuration; field in class:Toast
138 service.enqueueToast(pkg, tn, mDuration);
175 mDuration = duration;
176 mTN.mDuration = duration;
185 return mDuration;
289 result.mDuration = duration;
364 int mDuration; field in class:Toast.TN
486 mParams.hideTimeoutMilliseconds = mDuration ==
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java44 private final long mDuration; field in class:AppearAnimationUtils
60 mDuration = duration;
101 creator.createAnimation(objects[row], delay, mDuration,
125 creator.createAnimation(objects[row][col], delay, mDuration,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java39 private int mDuration = 260; field in class:StackScrollerDecorView
157 mDuration = duration;
188 .setDuration(mDuration)
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DInteraction.java40 private final long mDuration; field in class:Interaction
87 mEvents = createInterpolatedEventList(mXPositions, mYPositions, mDuration);
92 mEvents = createInterpolatedEventList(mXPositions, mYPositions, mDuration);
153 mDuration = duration;
162 mDuration = 0;
184 mDuration = duration;
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DFocusHighlightHelper.java62 private final int mDuration; field in class:FocusHighlightHelper.FocusAnimator
86 mDuration = duration;
133 if (totalTime >= mDuration) {
137 fraction = (float) (totalTime / (double) mDuration);
267 private int mDuration; field in class:FocusHighlightHelper.HeaderItemFocusHighlight
285 mDuration = value.data;
326 animator = new HeaderFocusAnimator(view, mSelectScale, mDuration);
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DOverlayListView.java105 private long mDuration; field in class:OverlayListView.OverlayObject
175 mDuration = duration;
231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration;
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
H A DDurationTracker.h57 int64_t mDuration; member in struct:android::os::statsd::DurationBucket
77 mDuration(0),
190 int64_t mDuration; // current recorded duration result (for partial bucket) member in class:android::os::statsd::DurationTracker
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java327 private final Duration mDuration; field in class:HdmiTimerRecordSources.TimerInfo
341 mDuration = duration;
354 index += mDuration.toByteArray(data, index);
/frameworks/base/core/java/android/os/
H A DVibrationEffect.java323 private final long mDuration; field in class:VibrationEffect.OneShot
327 mDuration = in.readLong();
332 mDuration = milliseconds;
338 return mDuration;
355 return new OneShot(mDuration, newAmplitude);
373 return new OneShot(mDuration, defaultAmplitude);
385 if (mDuration <= 0) {
387 "duration must be positive (duration=" + mDuration + ")");
397 return other.mDuration == mDuration
[all...]

Completed in 173 milliseconds

123