/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);
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
ManageDialog.java | 46 private TextView mDuration; 80 mDuration = (TextView) view.findViewById(R.id.duration); 145 mDuration.setText(String.format("%02d:%02d:%02d",
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
OverlayListView.java | 105 private long mDuration; 175 mDuration = duration; 231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration;
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarEventModel.java | 244 public String mDuration = null; 416 mDuration = null; 489 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode()); 571 if (mDuration == null) { 572 if (other.mDuration != null) { 575 } else if (!mDuration.equals(other.mDuration)) { 660 if (TextUtils.isEmpty(mDuration)) { 661 if (!TextUtils.isEmpty(originalModel.mDuration)) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 115 private long mDuration; 126 mDuration = duration; 155 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f);
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
SetupAnimationHelper.java | 70 private long mDuration = sFragmentTransitionDuration; 92 mDuration = duration; 120 transition.setDuration(mDuration);
|
/frameworks/base/core/java/android/view/animation/ |
AnimationSet.java | 209 mLastEnd = mStartOffset + mDuration; 234 mLastEnd = mStartOffset + mDuration; 237 mDuration = a.getStartOffset() + a.getDuration(); 238 mLastEnd = mStartOffset + mDuration; 241 mDuration = mLastEnd - mStartOffset; 307 duration = mDuration; 443 final long duration = mDuration;
|
Animation.java | 157 long mDuration; 438 mDuration = durationMillis; 454 mDuration = 0; 459 long dur = mDuration + mStartOffset; 461 mDuration = durationMillis-mStartOffset; 465 if (mDuration <= 0) { 466 mDuration = 0; 490 mDuration = (long) (mDuration * scale); 690 return mDuration; [all...] |
LayoutAnimationController.java | 94 private long mDuration; 301 mDuration = mAnimation.getDuration(); 343 mAnimation.getStartTime() + mMaxDelay + mDuration;
|
/frameworks/base/core/java/android/widget/ |
Scroller.java | 80 private int mDuration; 227 return mDuration; 306 if (timePassed < mDuration) { 314 final float t = (float) timePassed / mDuration; 327 mCurrVelocity = velocityCoef * mDistance / mDuration * 1000.0f; 389 mDuration = duration; 397 mDurationReciprocal = 1.0f / (float) mDuration; 447 mDuration = getSplineFlingDuration(velocity); 513 mDuration = passed + extend; 514 mDurationReciprocal = 1.0f / mDuration; [all...] |
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailPlaybackPresenter.java | 143 private final AtomicInteger mDuration = new AtomicInteger(0); 292 mView.setClipPosition(0, mDuration.get()); 342 mView.setClipPosition(0, mDuration.get()); 433 // Convert database duration (seconds) into mDuration (milliseconds) 434 mDuration.set(duration > 0 ? duration * 1000 : 0); 605 mDuration.set(mMediaPlayer.getDuration()); 608 mView.setClipPosition(mPosition, mDuration.get()); 657 mView.setClipPosition(0, mDuration.get()); 716 mPosition = Math.max(0, Math.min(mPosition, mDuration.get())); 732 mView.onPlaybackStarted(mDuration.get(), getScheduledExecutorServiceInstance()) [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
PlaybackOverlayFragment.java | 105 private long mDuration; 238 mDuration = Long.parseLong(time); 239 return (int) mDuration; 388 if (currentTime > (int) mDuration) { 389 currentTime = (int) mDuration; 397 if (currentTime < 0 || currentTime > (int) mDuration) {
|
/packages/apps/Music/src/com/android/music/ |
AudioPreview.java | 67 private int mDuration; 257 mDuration = mPlayer.getDuration(); 258 if (mDuration != 0) { 259 mSeekBar.setMax(mDuration); 331 if (mPlayer != null && !mSeeking && mDuration != 0) { 379 mSeekBar.setProgress(mDuration);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 59 long mDuration = 1000; 74 mDuration = extras.getInt(DURATION); 128 objAnimator.setDuration(mDuration);
|
AnimatorSetTest.java | 42 private long mDuration = 1000; 339 xAnimator.setDuration(mDuration); 351 yAnimator.setDuration(mDuration);
|
/frameworks/support/transition/ics/android/support/transition/ |
TransitionSetPort.java | 77 if (mDuration >= 0) { 78 transition.setDuration(mDuration); 94 if (mDuration >= 0) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
ViewGroupItemVerticalExplodeAnimation.java | 91 private final int mDuration; 97 mDuration = duration; 176 .setDuration(mDuration)
|
/frameworks/av/include/media/ |
MediaProfiles.h | 235 mDuration(0), 243 mDuration = copy.mDuration; 256 int mDuration;
|
/frameworks/base/libs/hwui/ |
PropertyValuesAnimatorSet.h | 41 nsecs_t mDuration;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsData.java | 65 private long mDuration; 125 if (duration != mDuration) { 126 mDuration = duration; 132 return mDuration; 345 ParcelFileDescriptor pfd = mProcessStats.getStatsOverTime(mDuration);
|
/frameworks/wilhelm/src/itf/ |
IPlay.c | 163 SLmillisecond duration = thiz->mDuration; 180 thiz->mDuration = duration; 461 thiz->mDuration = SL_TIME_UNKNOWN; // will be set by containing player object
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 82 private TextView mDuration; 126 String durationStr = mDuration.getText().toString();
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiTimerRecordSources.java | 328 private final Duration mDuration; 342 mDuration = duration; 355 index += mDuration.toByteArray(data, index);
|
/frameworks/base/core/java/android/transition/ |
TransitionSet.java | 146 if (mDuration >= 0) { 147 transition.setDuration(mDuration); 188 if (mDuration >= 0 && mTransitions != null) {
|
/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 340 profile->mDuration = atoi(atts[5]); 649 profile->mDuration = 60; 666 profile->mDuration = 60; 705 profile->mDuration = 30; 722 profile->mDuration = 60; [all...] |