OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCalendar
(Results
1 - 14
of
14
) sorted by null
/frameworks/base/core/java/android/util/
MonthDisplayHelper.java
33
private Calendar
mCalendar
;
53
mCalendar
= Calendar.getInstance();
54
mCalendar
.set(Calendar.YEAR, year);
55
mCalendar
.set(Calendar.MONTH, month);
56
mCalendar
.set(Calendar.DAY_OF_MONTH, 1);
57
mCalendar
.set(Calendar.HOUR_OF_DAY, 0);
58
mCalendar
.set(Calendar.MINUTE, 0);
59
mCalendar
.set(Calendar.SECOND, 0);
60
mCalendar
.getTimeInMillis();
72
return
mCalendar
.get(Calendar.YEAR)
[
all
...]
/frameworks/base/core/java/android/widget/
DigitalClock.java
41
Calendar
mCalendar
;
63
if (
mCalendar
== null) {
64
mCalendar
= Calendar.getInstance();
86
mCalendar
.setTimeInMillis(System.currentTimeMillis());
87
setText(DateFormat.format(mFormat,
mCalendar
));
AnalogClock.java
46
private Time
mCalendar
;
96
mCalendar
= new Time();
129
mCalendar
= new Time();
238
mCalendar
.setToNow();
240
int hour =
mCalendar
.hour;
241
int minute =
mCalendar
.minute;
242
int second =
mCalendar
.second;
248
updateContentDescription(
mCalendar
);
256
mCalendar
= new Time(TimeZone.getTimeZone(tz).getID());
SimpleMonthView.java
132
private final Calendar
mCalendar
= Calendar.getInstance();
344
mCalendar
.set(Calendar.MONTH, mMonth);
345
mCalendar
.set(Calendar.YEAR, mYear);
346
mCalendar
.set(Calendar.DAY_OF_MONTH, 1);
347
mDayOfWeekStart =
mCalendar
.get(Calendar.DAY_OF_WEEK);
352
mWeekStart =
mCalendar
.getFirstDayOfWeek();
434
long millis =
mCalendar
.getTimeInMillis();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerDialog.java
80
private final Calendar
mCalendar
= Calendar.getInstance();
97
private int mWeekStart =
mCalendar
.getFirstDayOfWeek();
157
mCalendar
.set(Calendar.YEAR, year);
158
mCalendar
.set(Calendar.MONTH, monthOfYear);
159
mCalendar
.set(Calendar.DAY_OF_MONTH, dayOfMonth);
169
mCalendar
.set(Calendar.YEAR, savedInstanceState.getInt(KEY_SELECTED_YEAR));
170
mCalendar
.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH));
171
mCalendar
.set(Calendar.DAY_OF_MONTH, savedInstanceState.getInt(KEY_SELECTED_DAY));
178
outState.putInt(KEY_SELECTED_YEAR,
mCalendar
.get(Calendar.YEAR));
179
outState.putInt(KEY_SELECTED_MONTH,
mCalendar
.get(Calendar.MONTH))
[
all
...]
MonthView.java
172
private final Calendar
mCalendar
;
199
mCalendar
= Calendar.getInstance();
367
mCalendar
.set(Calendar.MONTH, mMonth);
368
mCalendar
.set(Calendar.YEAR, mYear);
369
mCalendar
.set(Calendar.DAY_OF_MONTH, 1);
370
mDayOfWeekStart =
mCalendar
.get(Calendar.DAY_OF_WEEK);
375
mWeekStart =
mCalendar
.getFirstDayOfWeek();
447
long millis =
mCalendar
.getTimeInMillis();
/frameworks/base/services/core/java/com/android/server/notification/
DowntimeConditionProvider.java
62
private final Calendar
mCalendar
= Calendar.getInstance();
226
mCalendar
.setTimeInMillis(time);
227
return
mCalendar
.get(Calendar.DAY_OF_WEEK);
231
mCalendar
.setTimeInMillis(millis);
232
mCalendar
.set(Calendar.HOUR_OF_DAY, hour);
233
mCalendar
.set(Calendar.MINUTE, min);
234
mCalendar
.set(Calendar.SECOND, 0);
235
mCalendar
.set(Calendar.MILLISECOND, 0);
236
return
mCalendar
.getTimeInMillis();
240
mCalendar
.setTimeInMillis(time)
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ResponseData.java
201
private Calendar
mCalendar
;
205
mCalendar
= cal;
222
if (
mCalendar
== null) {
223
mCalendar
= Calendar.getInstance();
226
data[1] = byteToBCD(
mCalendar
.get(java.util.Calendar.YEAR) % 100);
229
data[2] = byteToBCD(
mCalendar
.get(java.util.Calendar.MONTH) + 1);
232
data[3] = byteToBCD(
mCalendar
.get(java.util.Calendar.DATE));
235
data[4] = byteToBCD(
mCalendar
.get(java.util.Calendar.HOUR_OF_DAY));
238
data[5] = byteToBCD(
mCalendar
.get(java.util.Calendar.MINUTE));
241
data[6] = byteToBCD(
mCalendar
.get(java.util.Calendar.SECOND))
[
all
...]
/frameworks/base/core/java/android/app/
DatePickerDialog.java
51
private final Calendar
mCalendar
;
108
mCalendar
= Calendar.getInstance();
166
mCalendar
.set(Calendar.YEAR, year);
167
mCalendar
.set(Calendar.MONTH, month);
168
mCalendar
.set(Calendar.DAY_OF_MONTH, day);
170
mCalendar
.getTimeInMillis(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Clock.java
48
private Calendar
mCalendar
;
101
mCalendar
= Calendar.getInstance(TimeZone.getDefault());
122
mCalendar
= Calendar.getInstance(TimeZone.getTimeZone(tz));
124
mClockFormat.setTimeZone(
mCalendar
.getTimeZone());
139
mCalendar
.setTimeInMillis(System.currentTimeMillis());
189
String result = sdf.format(
mCalendar
.getTime());
228
mCalendar
.setTimeInMillis(Long.parseLong(millis));
232
mCalendar
.set(Calendar.HOUR, hh);
233
mCalendar
.set(Calendar.MINUTE, mm);
/packages/apps/DeskClock/src/com/android/deskclock/
AnalogClock.java
43
private Time
mCalendar
;
96
mCalendar
= new Time();
121
mCalendar
= new Time();
235
mCalendar
.setToNow();
238
mCalendar
.switchTimezone(mTimeZoneId);
241
int hour =
mCalendar
.hour;
242
int minute =
mCalendar
.minute;
243
int second =
mCalendar
.second;
251
updateContentDescription(
mCalendar
);
259
mCalendar
= new Time(TimeZone.getTimeZone(tz).getID())
[
all
...]
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
WearableMainActivity.java
86
private Calendar
mCalendar
;
296
mCalendar
.setTimeInMillis(System.currentTimeMillis());
297
LocationEntry entry = new LocationEntry(
mCalendar
, latitude, longitude);
298
String path = Constants.PATH + "/" +
mCalendar
.getTimeInMillis();
331
mCalendar
= Calendar.getInstance();
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockWallpaper.java
301
private Time
mCalendar
;
311
mCalendar
= new Time(TimeZone.getTimeZone(timeZone).getID());
359
mCalendar
= new Time();
360
mCalendar
.setToNow();
420
mCalendar
= new Time();
421
mCalendar
.setToNow();
474
final Time calendar =
mCalendar
;
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CitiesActivity.java
89
private Calendar
mCalendar
;
248
mCalendar
= Calendar.getInstance();
249
mCalendar
.setTimeInMillis(System.currentTimeMillis());
387
mCalendar
.setTimeZone(TimeZone.getTimeZone(timeZone));
388
return DateFormat.format(mIs24HoursMode ? mPattern24 : mPattern12,
mCalendar
);
Completed in 955 milliseconds