/aosp12/frameworks/base/libs/hwui/hwui/ |
H A D | AnimatedImageDrawable.cpp | 80 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 D | AnimatedImageDrawable.h | 133 nsecs_t mCurrentTime = 0; variable
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | BaselineButtonsTest.java | 29 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 D | TimeBar.java | 76 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 D | TrimTimeBar.java | 95 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 D | UserHistoryDictionaryTests.java | 50 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 D | PowerLog.cpp | 48 : 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 D | FaceDownDetectorTest.java | 66 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 D | ScreenUndimDetectorTest.java | 76 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 D | UptimeTrackerTest.java | 29 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 D | DateView.java | 41 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 D | BluetoothDevicePreference.java | 74 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 D | WindowAnimator.java | 64 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 D | MediaController.java | 94 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 D | NetworkStatsObservers.java | 356 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 D | ResolverRankerServiceResolverComparator.java | 73 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 D | Replayer.cpp | 57 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 D | Replayer.h | 137 int64_t mCurrentTime = 0; variable
|
/aosp12/system/media/audio_utils/include/audio_utils/ |
H A D | PowerLog.h | 97 int64_t mCurrentTime; // time of first frame in buffer variable
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardSliceProvider.java | 113 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 D | PlaybackFragment.java | 141 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 D | DayView.java | 166 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 D | VSyncDispatchTimerQueueTest.cpp | 84 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 D | ModeListView.java | 136 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 D | MPEG4Extractor.cpp | 129 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()
|