/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockSettingsHelper.java | 95 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() 114 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() 134 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() 162 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 163 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 192 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 193 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 217 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 218 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 243 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 102 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() 122 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() 143 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() 173 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 174 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 204 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 205 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 231 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() 232 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() 259 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeHelper.java | 27 private final CharSequence incomingName; 29 private final CharSequence incomingPulledName; 31 private final CharSequence outgoingName; 33 private final CharSequence outgoingPulledName; 35 private final CharSequence missedName; 37 private final CharSequence incomingVideoName; 39 private final CharSequence incomingVideoPulledName; 41 private final CharSequence outgoingVideoName; 43 private final CharSequence outgoingVideoPulledName; 45 private final CharSequence missedVideoName; [all …]
|
D | PhoneCallDetails.java | 37 public CharSequence number; 61 public CharSequence namePrimary; 63 public CharSequence nameAlternative; 72 public CharSequence numberLabel; 127 public CharSequence callLocationAndDate; 130 public CharSequence callDescription; 145 CharSequence number, int numberPresentation, CharSequence postDialDigits) { in PhoneCallDetails() 158 public static CharSequence createAccountLabelDescription( in createAccountLabelDescription() 159 Resources resources, @Nullable String viaNumber, @Nullable CharSequence accountLabel) { in createAccountLabelDescription() 165 CharSequence accountNumberLabel = in createAccountLabelDescription() [all …]
|
D | PhoneNumberDisplayUtil.java | 32 public static CharSequence getDisplayName( in getDisplayName() 33 Context context, CharSequence number, int presentation, boolean isVoicemail) { in getDisplayName() 67 static CharSequence getDisplayNumber( in getDisplayNumber() 69 CharSequence number, in getDisplayNumber() 71 CharSequence formattedNumber, in getDisplayNumber() 72 CharSequence postDialDigits, in getDisplayNumber() 74 final CharSequence displayName = getDisplayName(context, number, presentation, isVoicemail); in getDisplayNumber() 89 private static CharSequence getTtsSpannableLtrNumber(CharSequence number) { in getTtsSpannableLtrNumber()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ListPreference.java | 37 private final CharSequence[] mDefaultValues; 39 private CharSequence[] mEntries; 40 private CharSequence[] mEntryValues; 62 mDefaultValues = new CharSequence[1]; in ListPreference() 76 public CharSequence[] getEntries() { in getEntries() 80 public CharSequence[] getEntryValues() { in getEntryValues() 84 public void setEntries(CharSequence entries[]) { in setEntries() 85 mEntries = entries == null ? new CharSequence[0] : entries; in setEntries() 88 public void setEntryValues(CharSequence values[]) { in setEntryValues() 89 mEntryValues = values == null ? new CharSequence[0] : values; in setEntryValues() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 65 public static CharSequence getRelativeTimeSpanString(final long time) { in getRelativeTimeSpanString() 84 public static CharSequence getConversationTimeString(final long time) { in getConversationTimeString() 88 public static CharSequence getMessageTimeString(final long time) { in getMessageTimeString() 92 public static CharSequence getWidgetTimeString(final long time, final boolean abbreviated) { in getWidgetTimeString() 96 public static CharSequence getFastScrollPreviewTimeString(final long time) { in getFastScrollPreviewTimeString() 100 public static CharSequence getMessageDetailsTimeString(final long time) { in getMessageDetailsTimeString() 113 private static CharSequence getTimeString(final long time, final boolean abbreviated, in getTimeString() 127 public static CharSequence getTimestamp(final long time, final long now, in getTimestamp() 147 private static CharSequence getLessThanAMinuteOldTimeString( in getLessThanAMinuteOldTimeString() 153 private static CharSequence getLessThanAnHourOldTimeString(final long timeDiff, in getLessThanAnHourOldTimeString() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SimpleMenuPreference.java | 62 private static void restoreOriginalOrder(CharSequence[] array, in restoreOriginalOrder() 64 final CharSequence item = array[0]; in restoreOriginalOrder() 69 private static void swapSelectedToFront(CharSequence[] array, int position) { in swapSelectedToFront() 70 final CharSequence item = array[position]; in swapSelectedToFront() 75 private static void setSelectedPosition(CharSequence[] array, int lastSelectedOriginalPosition, in setSelectedPosition() 77 final CharSequence item = array[position]; in setSelectedPosition() 84 public void setSummary(CharSequence summary) { in setSummary() 85 final CharSequence[] entries = getEntries(); in setSummary() 97 private final static class SimpleMenuAdapter extends ArrayAdapter<CharSequence> { 107 final CharSequence item = getItem(0); in restoreOriginalOrder() [all …]
|
D | SimpleMenuPreference.kt | 53 override fun createAdapter(): ArrayAdapter<CharSequence?> { in createAdapter() 58 override fun setSummary(summary: CharSequence) { in setSummary() 59 val entries: Array<CharSequence> = getEntries() in setSummary() 70 ArrayAdapter<CharSequence?>(context, resource) { 77 val item: CharSequence? = getItem(0) in restoreOriginalOrder() 83 val item: CharSequence? = getItem(position) in swapSelectedToFront() 91 val item: CharSequence? = getItem(position) in setSelectedPosition() 111 array: Array<CharSequence>, in restoreOriginalOrder() 119 private fun swapSelectedToFront(array: Array<CharSequence>, position: Int) { in swapSelectedToFront() 126 array: Array<CharSequence>, in setSelectedPosition()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 53 final CharSequence defaultSummary = mContext.getText(R.string.media_output_default_summary); in onPreferenceChange() 111 final CharSequence summary = mContext.getText(R.string.media_output_default_summary); in updateState() 112 final CharSequence[] defaultMediaOutput = new CharSequence[]{summary}; in updateState() 120 CharSequence[] mediaOutputs = new CharSequence[numDevices + 1]; in updateState() 121 CharSequence[] mediaValues = new CharSequence[numDevices + 1]; in updateState() 135 void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setupPreferenceEntries() 140 final CharSequence defaultSummary = mContext.getText(R.string.media_output_default_summary); in setupPreferenceEntries() 155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 53 final CharSequence defaultSummary = mContext.getText(R.string.media_output_default_summary); in onPreferenceChange() 111 final CharSequence summary = mContext.getText(R.string.media_output_default_summary); in updateState() 112 final CharSequence[] defaultMediaOutput = new CharSequence[]{summary}; in updateState() 120 CharSequence[] mediaOutputs = new CharSequence[numDevices + 1]; in updateState() 121 CharSequence[] mediaValues = new CharSequence[numDevices + 1]; in updateState() 135 void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setupPreferenceEntries() 140 final CharSequence defaultSummary = mContext.getText(R.string.media_output_default_summary); in setupPreferenceEntries() 155 void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, in setPreference()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 48 CharSequence countryDisplayName, CharSequence countryCode) { in create() 54 abstract CharSequence countryDisplayname(); in countryDisplayname() 57 abstract CharSequence countryCode(); in countryCode() 95 CharSequence[] entries = countryChooserPref.getEntries(); in updateCountryChooserSummary() 97 CharSequence regionalDisplayName = in updateCountryChooserSummary() 126 List<CharSequence> newKeys = new ArrayList<>(); in updateCountryChoices() 127 List<CharSequence> newValues = new ArrayList<>(); in updateCountryChoices() 138 countryChooserPref.setEntries(newKeys.toArray(new CharSequence[newKeys.size()])); in updateCountryChoices() 139 countryChooserPref.setEntryValues(newValues.toArray(new CharSequence[newValues.size()])); in updateCountryChoices() 166 CharSequence[] keys = countryChooserPref.getEntries(); in buildDefaultCountryChooserKeysAndValues() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 159 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_onePlan_basic() 161 CharSequence value = captor.getValue(); in testSummaryUpdate_onePlan_basic() 184 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlan_basic() 186 CharSequence value = captor.getValue(); in testSummaryUpdate_noPlan_basic() 207 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noCarrier_basic() 209 CharSequence value = captor.getValue(); in testSummaryUpdate_noCarrier_basic() 235 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_noPlanData_basic() 237 CharSequence value = captor.getValue(); in testSummaryUpdate_noPlanData_basic() 282 ArgumentCaptor<CharSequence> captor = ArgumentCaptor.forClass(CharSequence.class); in testSummaryUpdate_warningOnly() 284 CharSequence value = captor.getValue(); in testSummaryUpdate_warningOnly() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountDisplayInfo.java | 32 private final CharSequence mName; 33 private final CharSequence mType; 38 public AccountDisplayInfo(AccountWithDataSet account, CharSequence name, CharSequence type, in AccountDisplayInfo() 51 public CharSequence getNameLabel() { in getNameLabel() 55 public CharSequence getTypeLabel() { in getTypeLabel() 79 public AccountDisplayInfo withName(CharSequence name) { in withName() 83 public AccountDisplayInfo withType(CharSequence type) { in withType() 87 public AccountDisplayInfo withNameAndType(CharSequence name, CharSequence type) { in withNameAndType()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyListPreference.java | 38 private CharSequence[] mContentDescriptions; 64 public CharSequence getSummary() { in getSummary() 76 CharSequence[] getContentDescriptions() { in getContentDescriptions() 80 private static CharSequence[] createAccessibleEntries(CharSequence entries[], in createAccessibleEntries() 81 CharSequence[] contentDescriptions) { in createAccessibleEntries() 82 CharSequence[] accessibleEntries = new CharSequence[entries.length]; in createAccessibleEntries() 89 private static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() 90 CharSequence accessibleText) { in createAccessibleSequence()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 167 final CharSequence beforeCursor = getTextBeforeCursor(Constants.EDITOR_CONTENTS_CACHE_SIZE, in checkConsistencyForDebug() 258 final CharSequence textBeforeCursor = getTextBeforeCursorAndDetectLaggyConnection( in reloadTextCache() 302 public void commitText(final CharSequence text, final int newCursorPosition) { in commitText() 339 public CharSequence getSelectedText(final int flags) { in getSelectedText() 402 public CharSequence getTextBeforeCursor(final int n, final int flags) { in getTextBeforeCursor() 432 private CharSequence getTextBeforeCursorAndDetectLaggyConnection( in getTextBeforeCursorAndDetectLaggyConnection() 439 final CharSequence result = mIC.getTextBeforeCursor(n, flags); in getTextBeforeCursorAndDetectLaggyConnection() 444 public CharSequence getTextAfterCursor(final int n, final int flags) { in getTextAfterCursor() 451 private CharSequence getTextAfterCursorAndDetectLaggyConnection( in getTextAfterCursorAndDetectLaggyConnection() 458 final CharSequence result = mIC.getTextAfterCursor(n, flags); in getTextAfterCursorAndDetectLaggyConnection() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | IntentUtil.java | 29 public static Intent getSendSmsIntent(CharSequence phoneNumber) { in getSendSmsIntent() 38 public static Intent getNewContactIntent(CharSequence phoneNumber) { in getNewContactIntent() 43 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getNewContactIntent() 55 public static Intent getAddToExistingContactIntent(CharSequence phoneNumber) { in getAddToExistingContactIntent() 61 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getAddToExistingContactIntent() 68 Intent intent, CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in populateContactIntent()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimeZones.java | 26 private final CharSequence[] mTimeZoneIds; 27 private final CharSequence[] mTimeZoneNames; 29 TimeZones(CharSequence[] timeZoneIds, CharSequence[] timeZoneNames) { in TimeZones() 34 public CharSequence[] getTimeZoneIds() { in getTimeZoneIds() 38 public CharSequence[] getTimeZoneNames() { in getTimeZoneNames() 46 CharSequence getTimeZoneName(CharSequence timeZoneId) { in getTimeZoneName()
|
D | TimerNotificationBuilder.kt | 76 val stateText: CharSequence in build() 92 val title1: CharSequence = res.getText(R.string.timer_pause) in build() 102 val title2: CharSequence = res.getText(R.string.timer_plus_1_min) in build() 115 val title1: CharSequence = res.getText(R.string.sw_resume_button) in build() 125 val title2: CharSequence = res.getText(R.string.sw_reset_button) in build() 141 val title1: CharSequence = res.getText(R.string.timer_reset_all) in build() 179 val contentTextPreN: CharSequence? in build() 228 val stateText: CharSequence in buildHeadsUp() 240 val title1: CharSequence = context.getString(R.string.timer_stop) in buildHeadsUp() 247 val title2: CharSequence = context.getString(R.string.timer_plus_1_min) in buildHeadsUp() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreference.java | 36 private CharSequence mDataLimitText; 37 private CharSequence mRemainingBillingCycleText; 38 private CharSequence mCarrierInfoText; 69 public void setDataLimitText(CharSequence text) { in setDataLimitText() 77 public CharSequence getDataLimitText() { in getDataLimitText() 82 public void setRemainingBillingCycleText(CharSequence text) { in setRemainingBillingCycleText() 90 public CharSequence getRemainingBillingCycleText() { in getRemainingBillingCycleText() 95 public void setCarrierInfoText(CharSequence text) { in setCarrierInfoText() 103 public CharSequence getCarrierInfoText() { in getCarrierInfoText() 152 private void setTextAndVisibility(TextView textView, CharSequence value) { in setTextAndVisibility()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextTime.java | 49 static final CharSequence DEFAULT_FORMAT_12_HOUR = "h:mm a"; 51 static final CharSequence DEFAULT_FORMAT_24_HOUR = "H:mm"; 53 private CharSequence mFormat12; 54 private CharSequence mFormat24; 55 private CharSequence mFormat; 96 public CharSequence getFormat12Hour() { in getFormat12Hour() 101 public void setFormat12Hour(CharSequence format) { in setFormat12Hour() 109 public CharSequence getFormat24Hour() { in getFormat24Hour() 114 public void setFormat24Hour(CharSequence format) { in setFormat24Hour() 171 final CharSequence text = DateFormat.format(mFormat, calendar); in updateTime()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceControllerTest.java | 216 CharSequence[] testEntries = {mContext.getString(R.string.network_5G) in add5gListItem_lteCdma_5gLteCdma() 222 CharSequence[] testEntryValues = {"25", "8", "4", "5", "27"}; in add5gListItem_lteCdma_5gLteCdma() 232 CharSequence[] testEntries1 = {mContext.getString(R.string.network_5G) in add5gListItem_lteCdma_5gLteCdma() 236 CharSequence[] testEntryValues1 = {"25", "8", "27"}; in add5gListItem_lteCdma_5gLteCdma() 276 CharSequence[] testEntries = {mContext.getString(R.string.network_5G) in add5gListItem_lteGsm_5gLteGsm() 280 CharSequence[] testEntryValues = {"26", "9", "0"}; in add5gListItem_lteGsm_5gLteGsm() 290 CharSequence[] testEntries1 = {mContext.getString(R.string.network_5G) in add5gListItem_lteGsm_5gLteGsm() 294 CharSequence[] testEntryValues1 = {"26", "9", "0"}; in add5gListItem_lteGsm_5gLteGsm() 304 CharSequence[] testEntries2 = {mContext.getString(R.string.network_5G) in add5gListItem_lteGsm_5gLteGsm() 309 CharSequence[] testEntryValues2 = {"26", "9", "0", "1"}; in add5gListItem_lteGsm_5gLteGsm() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
D | TextUtils.java | 27 public static boolean isEmpty(CharSequence str) { in isEmpty() 39 public static boolean equals(CharSequence a, CharSequence b) { in equals() 60 public static CharSequence join(Iterable<CharSequence> list) { in join() 61 final CharSequence delimiter = ", "; in join() 70 public static String join(CharSequence delimiter, Object[] tokens) { in join() 89 public static String join(CharSequence delimiter, Iterable<?> tokens) { in join()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailErrorMessage.java | 48 private final CharSequence title; 49 private final CharSequence description; 58 private final CharSequence text; 62 public Action(CharSequence text, View.OnClickListener listener) { in Action() 66 public Action(CharSequence text, View.OnClickListener listener, boolean raised) { in Action() 72 public CharSequence getText() { in getText() 85 public CharSequence getTitle() { in getTitle() 89 public CharSequence getDescription() { in getDescription() 117 public VoicemailErrorMessage(CharSequence title, CharSequence description, Action... actions) { in VoicemailErrorMessage() 122 CharSequence title, CharSequence description, @Nullable List<Action> actions) { in VoicemailErrorMessage()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiHeaderListItem.java | 26 private CharSequence mTitle; 27 private CharSequence mBody; 29 public CarUiHeaderListItem(@NonNull CharSequence title) { in CarUiHeaderListItem() 33 public CarUiHeaderListItem(@NonNull CharSequence title, @NonNull CharSequence body) { in CarUiHeaderListItem() 41 public CharSequence getTitle() { in getTitle() 48 public CharSequence getBody() { in getBody()
|