/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeScheduleRuleSettings.java | 153 final int[] days = mSchedule.days; in updateDays() local 154 if (days != null && days.length > 0) { in updateDays() 160 for (int j = 0; j < days.length; j++) { in updateDays() 161 if (day == days[j]) { in updateDays() 229 .setView(new ZenModeScheduleDaysSelection(mContext, mSchedule.days) { in showDaysDialog() 231 protected void onChanged(final int[] days) { in showDaysDialog() 233 if (Arrays.equals(days, mSchedule.days)) return; in showDaysDialog() 234 if (DEBUG) Log.d(TAG, "days.onChanged days=" + Arrays.asList(days)); in showDaysDialog() 235 mSchedule.days = days; in showDaysDialog()
|
D | ZenModeScheduleDaysSelection.java | 40 public ZenModeScheduleDaysSelection(Context context, int[] days) { in ZenModeScheduleDaysSelection() argument 47 if (days != null) { in ZenModeScheduleDaysSelection() 48 for (int i = 0; i < days.length; i++) { in ZenModeScheduleDaysSelection() 49 mDays.put(days[i], true); in ZenModeScheduleDaysSelection() 100 protected void onChanged(int[] days) { in onChanged() argument
|
D | ZenRuleSelectionDialog.java | 157 schedule.days = ZenModeConfig.ALL_DAYS; in defaultNewSchedule()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeScheduleRuleSettings.java | 153 final int[] days = mSchedule.days; in updateDays() local 154 if (days != null && days.length > 0) { in updateDays() 160 for (int j = 0; j < days.length; j++) { in updateDays() 161 if (day == days[j]) { in updateDays() 229 .setView(new ZenModeScheduleDaysSelection(mContext, mSchedule.days) { in showDaysDialog() 231 protected void onChanged(final int[] days) { in showDaysDialog() 233 if (Arrays.equals(days, mSchedule.days)) return; in showDaysDialog() 234 if (DEBUG) Log.d(TAG, "days.onChanged days=" + Arrays.asList(days)); in showDaysDialog() 235 mSchedule.days = days; in showDaysDialog()
|
D | ZenModeScheduleDaysSelection.java | 40 public ZenModeScheduleDaysSelection(Context context, int[] days) { in ZenModeScheduleDaysSelection() argument 47 if (days != null) { in ZenModeScheduleDaysSelection() 48 for (int i = 0; i < days.length; i++) { in ZenModeScheduleDaysSelection() 49 mDays.put(days[i], true); in ZenModeScheduleDaysSelection() 100 protected void onChanged(int[] days) { in onChanged() argument
|
D | ZenRuleSelectionDialog.java | 157 schedule.days = ZenModeConfig.ALL_DAYS; in defaultNewSchedule()
|
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/ |
D | MainActivity.java | 61 final long days = duration.toDays(); 62 duration = duration.minusDays(days); 68 if (days >= 7) { 69 return days + " days"; 73 final String daysHours = durationPairToString(days, "days", hours, "hours");
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | DismissedChecker.java | 106 final String[] days = ((String) firstAppearRule).split(","); in parseAppearDay() local 107 return Integer.parseInt(days[0]); in parseAppearDay() 116 long days = daysDelay * DateUtils.DAY_IN_MILLIS; in getFirstAppearTimeMillis() local 117 return setupTime + days; in getFirstAppearTimeMillis()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestUserEventLogger.java | 181 public void logNumDaysDailyRotationFailed(int days) { in logNumDaysDailyRotationFailed() argument 182 mNumDaysDailyRotationFailed = days; in logNumDaysDailyRotationFailed() 192 public void logNumDaysDailyRotationNotAttempted(int days) { in logNumDaysDailyRotationNotAttempted() argument 193 mNumDaysDailyRotationNotAttempted = days; in logNumDaysDailyRotationNotAttempted()
|
D | TestWallpaperPreferences.java | 430 public void setNumDaysDailyRotationFailed(int days) { in setNumDaysDailyRotationFailed() argument 431 mNumDaysDailyRotationFailed = days; in setNumDaysDailyRotationFailed() 449 public void setNumDaysDailyRotationNotAttempted(int days) { in setNumDaysDailyRotationNotAttempted() argument 450 mNumDaysDailyRotationNotAttempted = days; in setNumDaysDailyRotationNotAttempted()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmUtils.kt | 81 val days = hours / 24 in formatElapsedTimeUntilAlarm() constant 84 val daySeq = Utils.getNumberFormattedQuantityString(context, R.plurals.days, days) in formatElapsedTimeUntilAlarm() 88 val showDays = days > 0 in formatElapsedTimeUntilAlarm()
|
D | AlarmUtils.java | 78 final int days = hours / 24; in formatElapsedTimeUntilAlarm() local 81 String daySeq = Utils.getNumberFormattedQuantityString(context, R.plurals.days, days); in formatElapsedTimeUntilAlarm() 85 final boolean showDays = days > 0; in formatElapsedTimeUntilAlarm()
|
D | HandleApiCalls.java | 552 final List<Integer> days = intent.getIntegerArrayListExtra(AlarmClock.EXTRA_DAYS); in getDaysFromIntent() local 553 if (days != null) { in getDaysFromIntent() 554 final int[] daysArray = new int[days.size()]; in getDaysFromIntent() 555 for (int i = 0; i < days.size(); i++) { in getDaysFromIntent() 556 daysArray[i] = days.get(i); in getDaysFromIntent()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridge.java | 102 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse() local 103 if (days > DAYS_IN_A_TYPICAL_YEAR) { in getDaysSinceLastUse() 106 return days; in getDaysSinceLastUse()
|
D | AppsAsyncLoader.java | 391 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse() local 392 if (days > DAYS_IN_A_TYPICAL_YEAR) { in getDaysSinceLastUse() 395 return days; in getDaysSinceLastUse()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | NoOpUserEventLogger.java | 105 public void logNumDaysDailyRotationFailed(int days) { in logNumDaysDailyRotationFailed() argument 114 public void logNumDaysDailyRotationNotAttempted(int days) { in logNumDaysDailyRotationNotAttempted() argument
|
D | UserEventLogger.java | 129 void logNumDaysDailyRotationFailed(int days); in logNumDaysDailyRotationFailed() argument 135 void logNumDaysDailyRotationNotAttempted(int days); in logNumDaysDailyRotationNotAttempted() argument
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 258 int days = DateUtils.getDayDifference(TIME, date, now); in getDayGroup() local 260 if (days == 0) { in getDayGroup() 262 } else if (days == 1) { in getDayGroup()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | NavStateController.java | 165 long days = seconds / (3600 * 24); in formatEta() local 167 if (days > 0) { in formatEta() 168 return String.format("%d d %d hr", days, hours); in formatEta()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 612 long days = hours / 24; in getTimeDiffStr() local 613 return context.getResources().getQuantityString(R.plurals.days, (int) days, days); in getTimeDiffStr()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 234 duration.days = 0; in performInstanceExpansion() 305 duration.days = 1; in performInstanceExpansion() 315 duration.days = 0; in performInstanceExpansion()
|
D | CalendarDatabaseHelper.java | 2658 int days = (seconds + DAY_IN_SECONDS - 1) / DAY_IN_SECONDS; in upgradeToVersion69() local 2659 duration = "P" + days + "D"; in upgradeToVersion69()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 223 public static void loadEvents(Context context, ArrayList<Event> events, int startDay, int days, in loadEvents() argument 235 int endDay = startDay + days - 1; in loadEvents()
|
D | Utils.java | 1433 int days = startDay - currentDay; in isTodayOrTomorrow() local 1434 if (days == 1) { in isTodayOrTomorrow() 1436 } else if (days == 0) { in isTodayOrTomorrow()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 615 long days = 1; in init() local 617 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; in init() 619 mDuration = "P" + days + "D"; in init()
|