Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp80 mCurrentTime += currentTime - lastWallTime; in isDirty()
84 *outDelay = mTimeToShowNextSnapshot - mCurrentTime; in isDirty()
88 if (mTimeToShowNextSnapshot > mCurrentTime) { in isDirty()
89 *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.h133 nsecs_t mCurrentTime = 0; variable
/aosp12/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()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTimeBar.java76 protected int mCurrentTime; field in TimeBar
118 … mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime); in update()
145 if (mCurrentTime == currentTime && mTotalTime == totalTime) { in setTime()
148 mCurrentTime = currentTime; in setTime()
204 stringForTime(mCurrentTime), in onDraw()
234 mCurrentTime = getScrubberTime(); in onTouchEvent()
235 mListener.onScrubbingMove(mCurrentTime); in onTouchEvent()
H A DTrimTimeBar.java95 mPlayedBar.right = getBarPosFromTime(mCurrentTime); in updatePlayedBarAndScrubberFromTime()
127 if (mCurrentTime == currentTime && mTotalTime == totalTime in setTime()
131 mCurrentTime = currentTime; in setTime()
197 stringForTime(mCurrentTime), in onDraw()
219 mCurrentTime = getScrubberTime(mScrubberLeft, mScrubber.getWidth() / 2); in updateTimeFromPos()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionaryTests.java50 private int mCurrentTime = 0; field in UserHistoryDictionaryTests
95 mCurrentTime = 0; in resetCurrentTimeForTestMode()
96 setCurrentTimeForTestMode(mCurrentTime); in resetCurrentTimeForTestMode()
135 dict, numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestRandomWords()
193 mCurrentTime)); in doTestStressTestForSwitchingLanguagesAndAddingWords()
229 numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestAddManyWords()
/aosp12/system/media/audio_utils/
H A DPowerLog.cpp48 : mCurrentTime(0) in PowerLog()
74 if (mCurrentTime == 0) { in log()
75 mCurrentTime = nowNs; in log()
96 mEntries[mIdx++] = std::make_pair(mCurrentTime, mCurrentEnergy); in log()
97 ALOGV("writing %lld %f", (long long)mCurrentTime, mCurrentEnergy); in log()
102 mCurrentTime = 0; in log()
/aosp12/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()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DUptimeTrackerTest.java29 private long mCurrentTime = 0; field in UptimeTrackerTest.MockTimeInterface
33 mCurrentTime += by; in incrementTime()
46 return mCurrentTime; in getUptime()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java41 private final Date mCurrentTime = new Date(); field in DateView
121 mCurrentTime.setTime(System.currentTimeMillis()); in updateClock()
123 final String text = mDateFormat.format(mCurrentTime); in updateClock()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDevicePreference.java74 private final long mCurrentTime; field in BluetoothDevicePreference
111 mCurrentTime = System.currentTimeMillis(); in BluetoothDevicePreference()
256 return mCurrentTime > ((BluetoothDevicePreference) another).mCurrentTime ? 1 : -1; in compareTo()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java64 long mCurrentTime; field in WindowAnimator
137 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS; in animate()
141 Slog.i(TAG, "!!! animate: entry time=" + mCurrentTime); in animate()
263 pw.println(TimeUtils.formatUptime(mCurrentTime)); in dumpLocked()
/aosp12/frameworks/base/core/java/android/widget/
H A DMediaController.java94 private TextView mCurrentTime; field in MediaController
322 mCurrentTime = v.findViewById(com.android.internal.R.id.time_current); in initControllerView()
472 if (mCurrentTime != null) in setProgress()
473 mCurrentTime.setText(stringForTime(position)); in setProgress()
619 if (mCurrentTime != null)
620 mCurrentTime.setText(stringForTime( (int) newposition));
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsObservers.java356 statsContext.mCurrentTime); in recordSample()
398 statsContext.mCurrentTime); in recordSample()
429 long mCurrentTime; field in NetworkStatsObservers.StatsContext
439 mCurrentTime = currentTime; in StatsContext()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DResolverRankerServiceResolverComparator.java73 private final long mCurrentTime; field in ResolverRankerServiceResolverComparator
95 mCurrentTime = System.currentTimeMillis(); in ResolverRankerServiceResolverComparator()
96 mSinceTime = mCurrentTime - USAGE_STATS_PERIOD; in ResolverRankerServiceResolverComparator()
97 mStats = mUsm.queryAndAggregateUsageStats(mSinceTime, mCurrentTime); in ResolverRankerServiceResolverComparator()
137 final long recentSinceTime = mCurrentTime - RECENCY_TIME_PERIOD; in doCompute()
/aosp12/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp57 mCurrentTime(0), in Replayer()
75 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
88 mCurrentTime(0), in Replayer()
93 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
152 mCurrentTime = mCurrentIncrement.time_stamp(); in replay()
657 ALOGV("Waiting for %lld nanoseconds...", static_cast<int64_t>(timestamp - mCurrentTime)); in waitUntilTimestamp()
658 std::this_thread::sleep_for(std::chrono::nanoseconds(timestamp - mCurrentTime)); in waitUntilTimestamp()
H A DReplayer.h137 int64_t mCurrentTime = 0; variable
/aosp12/system/media/audio_utils/include/audio_utils/
H A DPowerLog.h97 int64_t mCurrentTime; // time of first frame in buffer variable
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java113 private final Date mCurrentTime = new Date(); field in KeyguardSliceProvider
419 mCurrentTime.setTime(System.currentTimeMillis()); in getFormattedDateLocked()
420 return mDateFormat.format(mCurrentTime); in getFormattedDateLocked()
/aosp12/packages/apps/Car/Media/src/com/android/car/media/
H A DPlaybackFragment.java141 private final TextView mCurrentTime; field in PlaybackFragment.QueueViewHolder
156 mCurrentTime = itemView.findViewById(R.id.current_time); in QueueViewHolder()
181 mCurrentTime.setText(mQueueAdapter.getCurrentTime()); in bind()
186 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind()
/aosp12/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java166 private Time mCurrentTime; field in DayView
202 mCurrentTime.switchTimezone(tz);
783 mCurrentTime = new Time(Utils.getTimeZone(context, mTZUpdater)); in init()
785 mCurrentTime.set(currentTime); in init()
2189 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in doDraw()
2190 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw()
2333 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
2334 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
2346 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
2347 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncDispatchTimerQueueTest.cpp84 nsecs_t fakeTime() const { return mCurrentTime; } in fakeTime()
87 mCurrentTime = mNextCallbackTime; in advanceToNextCallback()
94 mCurrentTime += advancement; in advanceBy()
95 if (mCurrentTime >= (mNextCallbackTime + mLag) && mCallback) { in advanceBy()
105 nsecs_t mCurrentTime = 0; member in android::scheduler::ControllableClock
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java136 private long mCurrentTime; field in ModeListView
1574 mCurrentTime = SystemClock.uptimeMillis(); in scroll()
1586 insertNewPosition(newPosition, mCurrentTime); in scroll()
/aosp12/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp129 uint32_t mCurrentTime; // in media timescale ticks member in android::MPEG4Source
5072 mCurrentTime(0), in MPEG4Source()
6644 mCurrentTime = totalTime * mTimescale / 1000000ll; in fragmentedRead()
6656 mCurrentTime = 0; in fragmentedRead()
6700 cts = mCurrentTime + smpl->compositionOffset; in fragmentedRead()
6710 mCurrentTime += smpl->duration; in fragmentedRead()