Home
last modified time | relevance | path

Searched refs:mCurrentTime (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp81 mCurrentTime += currentTime - lastWallTime; in isDirty()
85 *outDelay = mTimeToShowNextSnapshot - mCurrentTime; in isDirty()
89 if (mTimeToShowNextSnapshot > mCurrentTime) { in isDirty()
90 *outDelay = mTimeToShowNextSnapshot - mCurrentTime; in isDirty()
197 if (mCurrentTime >= mTimeToShowNextSnapshot) { in onDraw()
210 mCurrentTime = timeToShowCurrentSnap; in onDraw()
295 mCurrentTime = currentTime; in drawStaging()
300 mCurrentTime += currentTime - mLastWallTime; in drawStaging()
325 if (mCurrentTime >= mTimeToShowNextSnapshot) { in drawStaging()
327 mCurrentTime = timeToShowCurrentSnapshot; in drawStaging()
[all …]
H A DAnimatedImageDrawable.h135 nsecs_t mCurrentTime = 0; variable
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java29 private View mCurrentTime; field in BaselineButtonsTest
45 mCurrentTime = activity.findViewById(R.id.currenttime); in setUp()
55 assertNotNull(mCurrentTime); in testPreconditions()
81 assertEquals("CurrentTime wrong bottom", pauseHeight, mCurrentTime.getBottom()); in testLayout()
83 assertTrue("CurrentTime too tall", mCurrentTime.getTop() > 0); in testLayout()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
H A DFaceDownDetectorTest.java66 private Duration mCurrentTime; field in FaceDownDetectorTest
78 mCurrentTime = Duration.ZERO; in setup()
244 mCurrentTime = mCurrentTime.plus(duration); in advanceTime()
262 event.timestamp = mCurrentTime.toNanos(); in createTestEvent()
H A DScreenUndimDetectorTest.java76 long mCurrentTime = 0; field in ScreenUndimDetectorTest.TestClock
79 return mCurrentTime; in getCurrentTime()
83 mCurrentTime += millisAdvanced; in advanceTime()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java41 private final Date mCurrentTime = new Date(); field in DateView
125 mCurrentTime.setTime(System.currentTimeMillis()); in updateClock()
127 final String text = mDateFormat.format(mCurrentTime); in updateClock()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java63 long mCurrentTime; field in WindowAnimator
120 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS; in animate()
124 Slog.i(TAG, "!!! animate: entry time=" + mCurrentTime); in animate()
236 pw.println(TimeUtils.formatUptime(mCurrentTime)); in dumpLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/location/eventlog/
H A DLocalEventLog.java277 private long mCurrentTime; field in LocalEventLog.LogIterator
305 mCurrentTime = mLogTime + getTimeDelta(mEntries[mIndex]); in next()
313 return mCurrentTime; in getTime()
/aosp14/frameworks/base/core/java/android/widget/
H A DMediaController.java98 private TextView mCurrentTime; field in MediaController
344 mCurrentTime = v.findViewById(com.android.internal.R.id.time_current); in initControllerView()
496 if (mCurrentTime != null) in setProgress()
497 mCurrentTime.setText(stringForTime(position)); in setProgress()
643 if (mCurrentTime != null)
644 mCurrentTime.setText(stringForTime( (int) newposition));
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DResolverRankerServiceResolverComparator.java79 private final long mCurrentTime; field in ResolverRankerServiceResolverComparator
113 mCurrentTime = System.currentTimeMillis(); in ResolverRankerServiceResolverComparator()
114 mSinceTime = mCurrentTime - USAGE_STATS_PERIOD; in ResolverRankerServiceResolverComparator()
119 .queryAndAggregateUsageStats(mSinceTime, mCurrentTime)); in ResolverRankerServiceResolverComparator()
164 final long recentSinceTime = mCurrentTime - RECENCY_TIME_PERIOD; in doCompute()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java114 private final Date mCurrentTime = new Date(); field in KeyguardSliceProvider
433 mCurrentTime.setTime(System.currentTimeMillis()); in getFormattedDateLocked()
434 return mDateFormat.format(mCurrentTime); in getFormattedDateLocked()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
H A DAdbDebuggingManagerTest.java1198 private long mCurrentTime; field in AdbDebuggingManagerTest.FakeTicker
1201 mCurrentTime += milliseconds; in advance()
1206 return mCurrentTime; in currentTimeMillis()