Home
last modified time | relevance | path

Searched refs:timeString (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/src/com/android/tv/guide/
DTimeListAdapter.java86 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/
DBatteryInfo.java127 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/
DBatteryInfo.java129 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/
DUtils.java556 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()
DClockFragment.java502 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/
DRecentlyWatchedDialogFragment.java95 CharSequence timeString = in onCreateDialog()
100 ((TextView) view).setText(String.valueOf(timeString)); in onCreateDialog()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java371 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/
DAccountSyncDetailsPreferenceController.java377 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/
DAccountSyncFragment.java322 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/
DUtils.java1351 String timeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime() local
1360 timeString); in getDisplayedDatetime()
1364 timeString); in getDisplayedDatetime()
1370 timeString); in getDisplayedDatetime()
DAllInOneActivity.java915 String timeString = (new StringBuilder( in updateSecondaryTitleFields() local
919 mHomeTime.setText(timeString); in updateSecondaryTitleFields()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java442 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/
DAccountSyncSettings.java442 final String timeString = formatSyncDate(getContext(), date); in setFeedsState() local
443 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString)); in setFeedsState()