OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mDuration
(Results
1 - 25
of
66
) sorted by null
1
2
3
/system/core/libpixelflinger/codeflinger/
ARMAssembler.h
169
int64_t
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.h
143
double
mDuration
;
/frameworks/av/media/libmediaplayerservice/
MidiFile.h
77
EAS_I32
mDuration
;
/frameworks/base/core/java/com/android/internal/widget/
TextProgressBar.java
58
int
mDuration
= -1;
118
mDuration
= (int) (durationBase - mChronometer.getBase());
119
if (
mDuration
<= 0) {
120
mDuration
= 1;
122
mProgressBar.setMax(
mDuration
);
143
mProgressBar.setProgress(
mDuration
- remaining);
/frameworks/base/graphics/java/android/graphics/drawable/
TransitionDrawable.java
68
private int
mDuration
;
113
mDuration
= mOriginalDuration = durationMillis;
139
if (time - mStartTimeMillis >
mDuration
) {
151
mDuration
= mOriginalDuration = duration;
160
mDuration
= (int) (mReverse ? time - mStartTimeMillis :
179
(SystemClock.uptimeMillis() - mStartTimeMillis) /
mDuration
;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaRecorderStressTestRunner.java
45
public static int
mDuration
= 60 * 1000; // 60 seconds
96
mDuration
= Integer.parseInt(recordDuration);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipConnectionBase.java
50
private long
mDuration
= -1L;
74
mDuration
= getDurationMillis();
109
} else if (
mDuration
< 0) {
112
dur =
mDuration
;
/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
;
Paper.java
115
private long
mDuration
;
126
mDuration
= duration;
155
float t = Utils.clamp((float)(now() - mStartTime) /
mDuration
, 0.0f, 1.0f);
/cts/tests/tests/animation/src/android/animation/cts/
AnimatorSetTest.java
33
private long
mDuration
= 1000;
135
xAnimator.setDuration(
mDuration
);
147
yAnimator.setDuration(
mDuration
);
ObjectAnimatorTest.java
31
private long
mDuration
= 1000;
42
mObjectAnimator = (ObjectAnimator) mActivity.createAnimatorWithDuration(
mDuration
);
59
objAnimator.setDuration(
mDuration
);
172
objAnimator.setDuration(
mDuration
);
203
objAnimator.setDuration(
mDuration
);
209
assertEquals(
mDuration
, cloneAnimator.getDuration());
224
objAnimator.setDuration(
mDuration
);
PropertyValuesHolderTest.java
32
private long
mDuration
= 1000;
46
mAnimator = mActivity.createAnimatorWithDuration(
mDuration
);
159
mDuration
);
270
objAnimator.setDuration(
mDuration
);
ValueAnimatorTest.java
27
private long
mDuration
= 2000;
38
mValueAnimator = mActivity.createAnimatorWithDuration(
mDuration
);
121
objAnimator.setDuration(
mDuration
);
172
valueAnimatorLocal.setDuration(
mDuration
);
196
valueAnimatorLocal.setDuration(
mDuration
);
221
objAnimator.setDuration(
mDuration
);
/development/cmds/monkey/src/com/android/commands/monkey/
MonkeyGetFrameRateEvent.java
44
private static float
mDuration
; // in seconds
85
avgFrameRate = getAverageFrameRate(totalNumberOfFrame,
mDuration
);
133
mDuration
= (float)(diff/1000.0);
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
AddVoicemailActivity.java
82
private TextView
mDuration
;
126
String durationStr =
mDuration
.getText().toString();
/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="
/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;
/frameworks/base/core/java/android/view/animation/
LayoutAnimationController.java
92
private long
mDuration
;
299
mDuration
= mAnimation.getDuration();
341
mAnimation.getStartTime() + mMaxDelay +
mDuration
;
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
ManageDialog.java
50
private TextView
mDuration
;
84
mDuration
= (TextView) view.findViewById(R.id.duration);
152
mDuration
.setText(String.format("%02d:%02d:%02d",
/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
...]
/packages/apps/Contacts/src/com/android/contacts/widget/
TextHighlightingAnimation.java
52
private final int
mDuration
;
174
mDuration
= duration;
225
mTargetTime = now +
mDuration
;
232
mTargetTime = (now +
mDuration
) - (mTargetTime - now);
251
float virtualTime = (float)timeLeft /
mDuration
;
/frameworks/av/media/libstagefright/include/
FragmentedMP4Parser.h
120
uint32_t
mDuration
; // This is the duration in terms of movie timescale!
/frameworks/base/core/java/android/widget/
Toast.java
80
int
mDuration
;
113
service.enqueueToast(pkg, tn,
mDuration
);
156
mDuration
= duration;
164
return
mDuration
;
250
result.
mDuration
= duration;
/frameworks/base/services/java/com/android/server/wm/
DimLayer.java
49
long
mDuration
;
137
return SystemClock.uptimeMillis() + duration < mStartTime +
mDuration
;
209
mDuration
= duration;
255
float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) /
mDuration
;
284
pw.print("
mDuration
="); pw.print(
mDuration
);
Completed in 1306 milliseconds
1
2
3