Searched refs:mCurrentTime (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp75 mCurrentTime += currentTime - lastWallTime;
79 *outDelay = mTimeToShowNextSnapshot - mCurrentTime;
83 if (mTimeToShowNextSnapshot > mCurrentTime) {
84 *outDelay = mTimeToShowNextSnapshot - mCurrentTime;
169 if (mCurrentTime >= mTimeToShowNextSnapshot) {
177 if (mCurrentTime >= mTimeToShowNextSnapshot) {
180 // mCurrentTime being far ahead. Prevent showing many frames
182 mCurrentTime = timeToShowCurrentSnap;
251 mCurrentTime = currentTime;
256 mCurrentTime
[all...]
H A DAnimatedImageDrawable.h134 nsecs_t mCurrentTime = 0; member in class:android::AnimatedImageDrawable
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java29 private View mCurrentTime; field in class:BaselineButtonsTest
45 mCurrentTime = activity.findViewById(R.id.currenttime);
55 assertNotNull(mCurrentTime);
81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom());
83 assertTrue("CurrentTime too tall", mCurrentTime.getTop() > 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java40 private final Date mCurrentTime = new Date(); field in class:DateView
112 mCurrentTime.setTime(System.currentTimeMillis());
114 final String text = mDateFormat.format(mCurrentTime);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java59 long mCurrentTime; field in class:WindowAnimator
153 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS;
157 Slog.i(TAG, "!!! animate: entry time=" + mCurrentTime);
174 if (screenRotationAnimation.stepAnimationLocked(mCurrentTime)) {
211 orAnimating(dc.getDockedDividerController().animate(mCurrentTime));
322 pw.print(prefix); pw.print("mCurrentTime=");
323 pw.println(TimeUtils.formatUptime(mCurrentTime));
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPlaybackControlsPresenter.java57 final TextView mCurrentTime; field in class:PlaybackControlsPresenter.ViewHolder
71 mCurrentTime = (TextView) rootView.findViewById(R.id.current_time);
91 ((MarginLayoutParams) mCurrentTime.getLayoutParams()).getMarginStart();
164 mCurrentTime.setText(mCurrentTimeStringBuilder.toString());
305 lp = (MarginLayoutParams) vh.mCurrentTime.getLayoutParams();
307 vh.mCurrentTime.setLayoutParams(lp);
H A DPlaybackTransportRowPresenter.java64 final TextView mCurrentTime; field in class:PlaybackTransportRowPresenter.ViewHolder
269 mCurrentTime = (TextView) rootView.findViewById(R.id.current_time);
477 return mCurrentTime;
486 if (mCurrentTime != null) {
488 mCurrentTime.setText(mTempBuilder.toString());
/frameworks/base/core/java/android/widget/
H A DMediaController.java80 private TextView mEndTime, mCurrentTime; field in class:MediaController
302 mCurrentTime = v.findViewById(com.android.internal.R.id.time_current);
452 if (mCurrentTime != null)
453 mCurrentTime.setText(stringForTime(position));
597 if (mCurrentTime != null)
598 mCurrentTime.setText(stringForTime( (int) newposition));
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java78 private final Date mCurrentTime = new Date(); field in class:KeyguardSliceProvider
271 mCurrentTime.setTime(System.currentTimeMillis());
272 return mDateFormat.format(mCurrentTime);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsObservers.java357 null /* vpnArray */, statsContext.mCurrentTime);
399 statsContext.mVpnArray, statsContext.mCurrentTime);
431 long mCurrentTime; field in class:NetworkStatsObservers.StatsContext
442 mCurrentTime = currentTime;
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java96 private final long mCurrentTime; field in class:ResolverComparator
180 mCurrentTime = System.currentTimeMillis();
181 mSinceTime = mCurrentTime - USAGE_STATS_PERIOD;
182 mStats = mUsm.queryAndAggregateUsageStats(mSinceTime, mCurrentTime);
213 final long recentSinceTime = mCurrentTime - RECENCY_TIME_PERIOD;
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp58 mCurrentTime(0),
76 mCurrentTime = mTrace.increment(0).time_stamp();
89 mCurrentTime(0),
94 mCurrentTime = mTrace.increment(0).time_stamp();
153 mCurrentTime = mCurrentIncrement.time_stamp();
712 ALOGV("Waiting for %lld nanoseconds...", static_cast<int64_t>(timestamp - mCurrentTime));
713 std::this_thread::sleep_for(std::chrono::nanoseconds(timestamp - mCurrentTime));
H A DReplayer.h132 int64_t mCurrentTime = 0; member in class:android::Replayer
/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.h68 uint16_t mCurrentTime = 0; member in class:android::uirenderer::renderthread::VulkanSurface
H A DVulkanManager.cpp683 surface->mImageInfos[backbuffer->mImageIndex].mLastUsed = surface->mCurrentTime;
685 surface->mCurrentTime++;
697 return surface->mCurrentTime - lastUsed;
/frameworks/av/packages/MediaComponents/src/com/android/widget/
H A DMediaControlView2Impl.java193 private TextView mCurrentTime; field in class:MediaControlView2Impl
576 mCurrentTime = v.findViewById(R.id.time_current);
725 if (mCurrentTime != null) {
726 mCurrentTime.setText(stringForTime(currentPosition));
830 if (mCurrentTime != null) {
831 mCurrentTime.setText(stringForTime(position));
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
H A DMediaControlView2.java300 private TextView mCurrentTime; field in class:MediaControlView2
728 mCurrentTime = v.findViewById(R.id.time_current);
866 if (mCurrentTime != null) {
867 mCurrentTime.setText(stringForTime(currentPosition));
971 if (mCurrentTime != null) {
972 mCurrentTime.setText(stringForTime(position));
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp107 uint32_t mCurrentTime; member in class:android::MPEG4Source
3851 mCurrentTime(0),
5056 mCurrentTime = totalTime * mTimescale / 1000000ll;
5068 mCurrentTime = 0;
5108 cts = mCurrentTime + smpl->compositionOffset;
5109 mCurrentTime += smpl->duration;

Completed in 465 milliseconds