/frameworks/av/include/media/ |
AudioTimestamp.h | 27 mTime.tv_sec = 0; 28 mTime.tv_nsec = 0; 32 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UnixCalendar.java | 30 private long mTime; 33 mTime = time; 37 mTime -= mTime % DAY_IN_MILLIS; 41 mTime -= mTime % WEEK_IN_MILLIS; 45 mTime -= mTime % MONTH_IN_MILLIS; 49 mTime -= mTime % YEAR_IN_MILLIS [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 24 public long mTime = DEFAULT_TIME; 28 return mTime; 32 mTime++; 36 mTime += milliseconds;
|
/frameworks/base/telephony/java/android/telephony/ |
DataConnectionRealTimeInfo.java | 29 private long mTime; // Time the info was collected since boot in nanos; 44 mTime = time; 54 mTime = Long.MAX_VALUE; 62 mTime = in.readLong(); 70 return mTime; 87 out.writeLong(mTime); 109 result = (prime * result) + mTime; 126 return (mTime == other.mTime) 134 sb.append("mTime=").append(mTime) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
WaveTriggerFilter.java | 33 private float mTime = 0f; 64 mTime = 0.5f; 70 value = -Math.abs(mTime - 1f) + 1f; 71 mTime += 0.2f; 72 if (mTime >= 2f) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
CountdownConditionProvider.java | 56 private long mTime; 65 pw.print(" mTime="); pw.println(mTime); 93 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId); 101 if (mTime > 0) { 104 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS); 105 if (mTime <= now) { 107 notifyCondition(newCondition(mTime, Condition.STATE_FALSE)); 110 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); 114 (mTime <= now ? "Not scheduling" : "Scheduling") [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
VelocityTrackerTest.java | 38 private long mTime; 48 mTime = 1000; 148 mTime += step; 158 mTime += duration; 162 if (mTime >= mLastTime) { 163 MotionEvent ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0); 166 mLastTime = mTime; 174 mTime, mPx, mPy, mVx, mVy, mAx, mAy,
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 60 private final Time mTime; 85 mTime.switchTimezone(mTimeZone); 98 mTime = new Time(); 102 mTime.setToNow(); 104 mTime.set(mInitialTimeMillis); 106 mLastHandledEventTime.set(mTime); 114 mTime.switchTimezone(mTimeZone); 133 mTime.set(prevTime); 135 Log.d(TAG, "Restoring time to " + mTime.toString()); 215 Log.v(TAG, "OnResume to " + mTime.toString()) [all...] |
AgendaListView.java | 51 private Time mTime; 59 mTime.switchTimezone(mTimeZone); 92 mTime = new Time(mTimeZone); 196 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone); 197 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); 199 mTime.set(startTime); 211 time = mTime; 218 mTime.set(time); 219 mTime.switchTimezone(mTimeZone); 220 mTime.normalize(true) [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
WaterMeshNode.h | 30 const int mTime;
|
WaterMeshNode.cpp | 20 MeshNode(mesh), mTime(time), mTextureId1(textureId1), mTextureId2(textureId2) { 40 glUniform1i(timeUniformHandle, mTime);
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 118 bool SetTime(const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime)
120 return File.SetTime(cTime, aTime, mTime);
122 bool SetMTime(const FILETIME *mTime) { return File.SetMTime(mTime); }
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 81 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 85 mStart = mData[mDataLen].mTime; // mDataLen should be 0 95 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; 137 long nano = mData[i * 2].mTime.tv_nsec - mStart.tv_nsec; 172 long second = mData[i + 1].mTime.tv_sec - mData[i].mTime.tv_sec; 173 long nano = mData[i + 1].mTime.tv_nsec - mData[i].mTime.tv_nsec;
|
stopwatch.h | 79 struct timespec mTime;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
FirstFrameAnimatorHelper.java | 68 private long mTime = System.currentTimeMillis(); 73 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); 74 mTime = newTime;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FirstFrameAnimatorHelper.java | 73 private long mTime = System.currentTimeMillis(); 78 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); 79 mTime = newTime;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FirstFrameAnimatorHelper.java | 73 private long mTime = System.currentTimeMillis(); 78 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); 79 mTime = newTime;
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkTimeUpdateService.java | 70 private TrustedTime mTime; 95 mTime = NtpTrustedTime.getInstance(context); 168 if (mTime.getCacheAge() >= mPollingIntervalMs) { 169 mTime.forceRefresh(); 173 if (mTime.getCacheAge() < mPollingIntervalMs) { 174 final long ntp = mTime.currentTimeMillis();
|
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 59 Date mTime; 96 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); 101 if (mTime == null) { 108 Date time = mTime; 161 String text = format.format(mTime);
|
TextClock.java | 127 private Calendar mTime; 243 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); 245 mTime = Calendar.getInstance(); 516 mTime.setTimeInMillis(System.currentTimeMillis()); 517 setText(DateFormat.format(mFormat, mTime));
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchFragment.java | 46 private CircleTimerView mTime; 275 mTime = (CircleTimerView)v.findViewById(R.id.stopwatch_time); 396 mTime.readFromSharedPref(prefs, "sw"); 397 mTime.postInvalidate(); 436 mTime.writeToSharedPref(prefs, "sw"); 455 mTime.pauseIntervalAnimation(); 469 if (mTime.isAnimating()) { 470 mTime.startIntervalAnimation(); 489 mTime.clearSharedPref(prefs, "sw"); 493 mTime.stopIntervalAnimation() [all...] |
/frameworks/base/location/java/android/location/ |
Location.java | 82 private long mTime = 0; 132 mTime = l.mTime; 153 mTime = 0; 504 return mTime; 514 mTime = time; 779 if (mTime == 0) return false; 800 if (mTime == 0) mTime = System.currentTimeMillis(); 838 if (mTime == 0) [all...] |
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
DozeTestDream.java | 64 private final Date mTime = new Date(); 147 mTime.setTime(now); 148 mAlarmClock.setText(mTimeFormat.format(mTime));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarHeaderView.java | 64 private TextView mTime; 135 mTime = (TextView) findViewById(R.id.time_view); 167 mTime.setPivotX(rtl ? mTime.getWidth() : 0); 168 mTime.setPivotY(mTime.getBaseline()); 383 mTime.setTextSize(TypedValue.COMPLEX_UNIT_PX, mExpanded 386 mTime.setScaleX(1f); 387 mTime.setScaleY(1f); 393 mAmPm.setTranslationX((rtl ? 1 : -1) * mTime.getWidth() * (1 - mTime.getScaleX())) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarController.java | 87 private final Time mTime = new Time(); 93 mTime.switchTimezone(Utils.getTimeZone(mContext, this)); 312 mTime.setToNow(); 470 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); 478 // Set mTime if selectedTime is set 480 mTime.set(event.selectedTime); 483 // selectedTime is not set so set mTime to startTime iff it is not 485 long mtimeMillis = mTime.toMillis(false) [all...] |