/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/ |
D | DataUsageFormatterTest.kt | 36 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(0) in formatDataUsage_0() constant 38 assertThat(displayText).isEqualTo("0 B") in formatDataUsage_0() 44 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(1000) in formatDataUsage_1000() constant 46 assertThat(displayText).isEqualTo("0.98 kB") in formatDataUsage_1000() 52 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(2000000) in formatDataUsage_2000000() constant 54 assertThat(displayText).isEqualTo("1.91 MB") in formatDataUsage_2000000()
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | DataUsageFormatter.kt | 31 val displayText: String, constant in com.android.settings.datausage.lib.DataUsageFormatter.FormattedDataUsage 36 displayText = context.getString(resId, displayText, *formatArgs), in format() 45 displayText = BidiFormatter.getInstance().unicodeWrap( in format()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 235 CharSequence displayText = mActivity.getText(!isProfileOrDeviceOwner && mNeedsApproval in updatePositiveButton() local 238 mPositiveButton = updateButton(DialogInterface.BUTTON_POSITIVE, displayText); in updatePositiveButton() 246 CharSequence displayText = mActivity.getText(getButtonLabel(certHolder)); in updateNegativeButton() local 247 mNegativeButton = updateButton(DialogInterface.BUTTON_NEGATIVE, displayText); in updateNegativeButton() 256 private Button updateButton(int buttonType, CharSequence displayText) { in updateButton() argument 257 mDialog.setButton(buttonType, displayText, (DialogInterface.OnClickListener) null); in updateButton() 259 button.setText(displayText); in updateButton()
|
D | Utils.java | 677 public static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() argument 679 final SpannableString str = new SpannableString(displayText); in createAccessibleSequence() 681 displayText.length(), in createAccessibleSequence()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/ |
D | PluginToggleModule.kt | 51 val displayText = R.string.menu_plugin_global_switch in providePluginToggle() constant 53 displayTextRes = displayText, in providePluginToggle() 56 action = ToggleCarUiLibPluginAction(displayText, !isChecked) in providePluginToggle()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 222 String displayText; in updateDrivingStateText() local 225 displayText = "Parked"; in updateDrivingStateText() 228 displayText = "Idling"; in updateDrivingStateText() 231 displayText = "Moving"; in updateDrivingStateText() 234 displayText = "Unknown"; in updateDrivingStateText() 236 mDrvStatus.setText("Driving State: " + displayText); in updateDrivingStateText()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyListPreference.java | 89 private static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() argument 91 SpannableString str = new SpannableString(displayText); in createAccessibleSequence() 93 displayText.length(), in createAccessibleSequence()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsageSummaryController.kt | 69 override val summary = { totalUsage.displayText } in Content() 74 override val summary = { foregroundUsage.displayText } in Content() 79 override val summary = { backgroundUsage.displayText } in Content()
|
D | DataUsageList.kt | 181 usageAmount?.title = usageData.getDataUsedString(requireContext()).displayText in <lambda>()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/ |
D | OemTokensToggleModule.kt | 52 val displayText = R.string.menu_oem_tokens_toggle in <lambda>() constant 68 displayTextRes = displayText, in <lambda>() 71 action = ToggleOemTokensAction(displayText, rroPackage, !isChecked) in <lambda>()
|
/packages/services/Telephony/src/com/android/phone/ |
D | IccNetworkDepersonalizationPanel.java | 307 String displayText = getContext().getString(label); in displayStatus() local 308 mPersoSubtypeText.setText(displayText); in displayStatus()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 361 final String displayText = strippedText.substring(spanStart, spanEnd); in stripHtml() local 364 displayText, linkText)); in stripHtml()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DataUsagePreferenceController.kt | 93 preference.summary = summary?.displayText in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppDataUsagePreference.kt | 116 appUsageData.formatUsage(context).displayText, in <lambda>()
|