OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nextAlarm
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/services/core/java/com/android/server/notification/
ScheduleCalendar.java
43
public void maybeSetNextAlarm(long now, long
nextAlarm
) {
45
if (mSchedule.exitAtAlarm && now > mSchedule.
nextAlarm
) {
46
mSchedule.
nextAlarm
=
nextAlarm
;
90
&& mSchedule.
nextAlarm
!= 0
91
&& time >= mSchedule.
nextAlarm
;
/packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java
220
final String
nextAlarm
= Utils.getNextAlarm(context);
221
if (!TextUtils.isEmpty(
nextAlarm
)) {
225
R.id.
nextAlarm
, TypedValue.COMPLEX_UNIT_PX, fontSize * ratio);
238
R.id.
nextAlarm
, alarmDrawableResId, 0, 0, 0);
240
widget.setTextViewText(R.id.
nextAlarm
,
nextAlarm
);
241
widget.setViewVisibility(R.id.
nextAlarm
, View.VISIBLE);
243
Log.v(TAG, "DigitalWidget sets next alarm string to " +
nextAlarm
);
246
widget.setViewVisibility(R.id.
nextAlarm
, View.GONE);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardStatusView.java
150
AlarmManager.AlarmClockInfo
nextAlarm
=
152
Patterns.update(mContext,
nextAlarm
!= null);
155
refreshAlarmStatus(
nextAlarm
);
158
void refreshAlarmStatus(AlarmManager.AlarmClockInfo
nextAlarm
) {
159
if (
nextAlarm
!= null) {
160
String alarm = formatNextAlarm(mContext,
nextAlarm
);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmStateManager.java
178
final AlarmInstance
nextAlarm
= getNextFiringAlarm(context);
181
updateNextAlarmInSystemSettings(context,
nextAlarm
);
183
updateNextAlarmInAlarmManager(context,
nextAlarm
);
197
AlarmInstance
nextAlarm
= null;
199
if (
nextAlarm
== null || instance.getAlarmTime().before(
nextAlarm
.getAlarmTime())) {
200
nextAlarm
= instance;
203
return
nextAlarm
;
209
private static void updateNextAlarmInSystemSettings(Context context, AlarmInstance
nextAlarm
) {
213
if (
nextAlarm
!= null)
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickStatusBarHeader.java
207
public void onNextAlarmChanged(AlarmManager.AlarmClockInfo
nextAlarm
) {
208
mNextAlarm =
nextAlarm
;
209
if (
nextAlarm
!= null) {
210
String alarmString = KeyguardStatusView.formatNextAlarm(getContext(),
nextAlarm
);
217
if (mAlarmShowing != (
nextAlarm
!= null)) {
218
mAlarmShowing =
nextAlarm
!= null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NextAlarmController.java
81
void onNextAlarmChanged(AlarmManager.AlarmClockInfo
nextAlarm
);
/packages/apps/DeskClock/src/com/android/deskclock/
FetchMatchingAlarmsAction.java
122
final AlarmInstance
nextAlarm
= AlarmStateManager.getNextFiringAlarm(mContext);
123
if (
nextAlarm
== null) {
129
// get time from
nextAlarm
and see if there are any other alarms matching this time
130
final Calendar nextTime =
nextAlarm
.getAlarmTime();
Utils.java
474
final TextView nextAlarmView = (TextView) clock.findViewById(R.id.
nextAlarm
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
ZenModePanel.java
449
final long
nextAlarm
= mController.getNextAlarm();
450
if (
nextAlarm
< now) {
458
if (time > now &&
nextAlarm
< time) {
465
final boolean soon = (
nextAlarm
- now) < 24 * 60 * 60 * 1000;
469
final CharSequence formattedTime = DateFormat.format(pattern,
nextAlarm
);
542
GregorianCalendar
nextAlarm
= new GregorianCalendar();
543
nextAlarm
.setTimeInMillis(nextAlarmMs);
544
setToMidnight(
nextAlarm
);
546
if (weekRange.compareTo(
nextAlarm
) >= 0) {
[
all
...]
/frameworks/base/core/java/android/service/notification/
ZenModeConfig.java
[
all
...]
/frameworks/base/services/core/java/com/android/server/
AlarmManagerService.java
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
Completed in 360 milliseconds