Home
last modified time | relevance | path

Searched refs:toTimeCondition (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java319 Condition countdown = ZenModeConfig.toTimeCondition(mContext, in bindGenericCountdown()
389 final Condition maxCondition = ZenModeConfig.toTimeCondition(mContext, in updateUi()
434 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
442 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
448 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
DZenDurationDialog.java276 Condition condition = ZenModeConfig.toTimeCondition(mContext, in updateUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java430 Condition c = ZenModeConfig.toTimeCondition(mContext, time, mins, in createCondition()
550 Condition countdown = ZenModeConfig.toTimeCondition(mContext,
727 final Condition maxCondition = ZenModeConfig.toTimeCondition(mContext, in bind()
783 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
791 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
797 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java833 public static Condition toTimeCondition(Context context, int minutesFromNow, int userHandle) { in toTimeCondition() method in ZenModeConfig
834 return toTimeCondition(context, minutesFromNow, userHandle, false /*shortVersion*/); in toTimeCondition()
837 public static Condition toTimeCondition(Context context, int minutesFromNow, int userHandle, in toTimeCondition() method in ZenModeConfig
841 return toTimeCondition(context, now + millis, minutesFromNow, userHandle, shortVersion); in toTimeCondition()
844 public static Condition toTimeCondition(Context context, long time, int minutes, in toTimeCondition() method in ZenModeConfig
1232 c = toTimeCondition(context, time, Math.round(span / (float) MINUTES_MS), in getConditionLine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java177 Uri conditionId = ZenModeConfig.toTimeCondition(mContext, zenDuration, in showDetail()