Home
last modified time | relevance | path

Searched refs:mTime (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz));
68 private Calendar mTime; field in AnalogClock
84 mTime = Calendar.getInstance(); in AnalogClock()
122 mTime = Calendar.getInstance(mTimeZone != null ? mTimeZone : TimeZone.getDefault()); in onAttachedToWindow()
140 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged()
141 final float hourAngle = mTime.get(Calendar.HOUR) * 30f; in onTimeChanged()
143 final float minuteAngle = mTime.get(Calendar.MINUTE) * 6f; in onTimeChanged()
146 final float secondAngle = mTime.get(Calendar.SECOND) * 6f; in onTimeChanged()
149 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged()
155 mTime.setTimeZone(mTimeZone); in setTimeZone()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java82 private final Time mTime = new Time(); field in CalendarController
88 mTime.switchTimezone(Utils.getTimeZone(mContext, this));
286 mTime.setToNow(); in CalendarController()
444 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
454 mTime.set(event.selectedTime); in sendEvent()
459 long mtimeMillis = mTime.toMillis(false); in sendEvent()
462 mTime.set(event.startTime); in sendEvent()
465 event.selectedTime = mTime; in sendEvent()
474 event.startTime = mTime; in sendEvent()
480 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt97 private var mTime: StopwatchCircleView? = null in <lambda>() variable in com.android.deskclock.stopwatch.StopwatchFragment
124 mTime = v.findViewById(R.id.stopwatch_circle) in <lambda>()
150 if (mTime != null) { in <lambda>()
383 if (mTime != null) { in <lambda>()
385 mTime!!.update() in <lambda>()
494 if (mTime != null) { in <lambda>()
495 mTime!!.update() in <lambda>()
519 val touchTarget: View = if (mTime != null) mTime!! else mStopwatchWrapper in <lambda>()
DStopwatchFragment.java99 private StopwatchCircleView mTime; field in StopwatchFragment
128 mTime = (StopwatchCircleView) v.findViewById(R.id.stopwatch_circle); in onCreateView()
154 if (mTime != null) { in onCreateView()
398 if (mTime != null) { in doAddLap()
400 mTime.update(); in doAddLap()
516 if (mTime != null) { in updateUI()
517 mTime.update(); in updateUI()
544 final View touchTarget = mTime != null ? mTime : mStopwatchWrapper; in run()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java61 private long mTime; field in TouchEventGenerator
211 mTime = mLastEventTime + ms; in generateEvent()
215 mTime, in generateEvent()
233 mLastEventTime = mTime; in generateEvent()
273 mTime = 0L; in resetTime()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java452 private long mTime; field in StateMachine.LogRec
483 mTime = System.currentTimeMillis(); in update()
495 return mTime; in getTime()
538 c.setTimeInMillis(mTime); in toString()