/packages/apps/TV/src/com/android/tv/guide/ |
D | TimeListAdapter.java | 86 String timeString; in onBindViewHolder() local 88 timeString = DateFormat.format(mTimePatternSameDay, timeDate).toString(); in onBindViewHolder() 90 timeString = DateFormat.format(mTimePatternDifferentDay, timeDate).toString(); in onBindViewHolder() 92 ((TextView) itemView.findViewById(R.id.time)).setText(timeString); in onBindViewHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 127 String timeString = context.getString(R.string.charge_length_format, in bindHistory() local 134 view.setBottomLabels(new CharSequence[] {timeString, remaining}); in bindHistory() 254 CharSequence timeString = StringUtil.formatElapsedTime(context, in updateBatteryInfoCharging() local 258 R.string.power_remaining_charging_duration_only, timeString); in updateBatteryInfoCharging() 259 info.chargeLabel = context.getString(resId, info.batteryPercentString, timeString); in updateBatteryInfoCharging()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 129 String timeString = context.getString(R.string.charge_length_format, in bindHistory() local 136 view.setBottomLabels(new CharSequence[] {timeString, remaining}); in bindHistory() 257 CharSequence timeString = StringUtil.formatElapsedTime(context, in updateBatteryInfoCharging() local 261 R.string.power_remaining_charging_duration_only, timeString); in updateBatteryInfoCharging() 262 info.chargeLabel = context.getString(resId, info.batteryPercentString, timeString); in updateBatteryInfoCharging()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 556 String timeString; in createHoursDifferentString() local 568 timeString = context.getString(stringType, hoursShortQuantityString, in createHoursDifferentString() 578 timeString = context.getString(stringType, displayMinutes in createHoursDifferentString() 581 return timeString; in createHoursDifferentString()
|
D | ClockFragment.java | 502 final String timeString = Utils.createHoursDifferentString( in bind() local 506 : R.string.world_hours_yesterday, timeString)) in bind() 507 : timeString); in bind()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | RecentlyWatchedDialogFragment.java | 95 CharSequence timeString = in onCreateDialog() 100 ((TextView) view).setText(String.valueOf(timeString)); in onCreateDialog()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 371 String timeString = uri.getQueryParameter(PARAM_KEY_SET_TIME_FOR_TESTING); in queryForTesting() local 372 if (timeString != null) { in queryForTesting() 373 if (timeString.equals("null")) { in queryForTesting() 376 sTimeForTestMillis = Long.parseLong(timeString); in queryForTesting()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsPreferenceController.java | 377 String timeString = formatSyncDate(date); in getSummary() local 378 return getContext().getString(R.string.last_synced, timeString); in getSummary()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 322 final String timeString = DateUtils.formatDateTime(getActivity(), successEndTime, in onSyncStateUpdated() local 324 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString)); in onSyncStateUpdated()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 1351 String timeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime() local 1360 timeString); in getDisplayedDatetime() 1364 timeString); in getDisplayedDatetime() 1370 timeString); in getDisplayedDatetime()
|
D | AllInOneActivity.java | 915 String timeString = (new StringBuilder( in updateSecondaryTitleFields() local 919 mHomeTime.setText(timeString); in updateSecondaryTitleFields()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncSettings.java | 442 final String timeString = formatSyncDate(getContext(), date); in setFeedsState() local 443 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString)); in setFeedsState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | AccountSyncSettings.java | 442 final String timeString = formatSyncDate(getContext(), date); in setFeedsState() local 443 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString)); in setFeedsState()
|