Home
last modified time | relevance | path

Searched refs:CharSequence (Results 1 – 25 of 1551) sorted by relevance

12345678910>>...63

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockSettingsHelper.java95 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/
DChooseLockSettingsHelper.java101 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity()
120 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity()
140 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity()
168 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity()
169 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity()
198 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity()
199 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity()
223 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity()
224 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity()
249 public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java247 @Override public int indexIn(CharSequence sequence) {
250 @Override public int indexIn(CharSequence sequence, int start) {
255 @Override public int lastIndexIn(CharSequence sequence) {
258 @Override public boolean matchesAllOf(CharSequence sequence) {
262 @Override public boolean matchesNoneOf(CharSequence sequence) {
265 @Override public String removeFrom(CharSequence sequence) {
270 CharSequence sequence, char replacement) {
276 CharSequence sequence, CharSequence replacement) {
283 @Override public String collapseFrom(CharSequence sequence, char replacement) {
286 @Override public String trimFrom(CharSequence sequence) {
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeHelper.java27 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 …]
DPhoneCallDetails.java37 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 …]
DPhoneNumberDisplayUtil.java32 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/
DListPreference.java37 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/
DDates.java65 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/
DSimpleMenuPreference.java62 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 …]
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java53 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DHandsFreeProfileOutputPreferenceController.java53 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/
DAssistedDialingSettingFragment.java48 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/
DDataUsageSummaryPreferenceControllerTest.java159 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/
DAccountDisplayInfo.java32 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/
DEmergencyListPreference.java38 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/
DRichInputConnection.java167 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/
DIntentUtil.java29 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/
DTimeZones.java26 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()
DTimerNotificationBuilder.java70 final CharSequence stateText; in build()
86 final CharSequence title1 = res.getText(R.string.timer_pause); in build()
96 final CharSequence title2 = res.getText(R.string.timer_plus_1_min); in build()
110 final CharSequence title1 = res.getText(R.string.sw_resume_button); in build()
120 final CharSequence title2 = res.getText(R.string.sw_reset_button); in build()
136 final CharSequence title1 = res.getText(R.string.timer_reset_all); in build()
173 final CharSequence contentTextPreN; in build()
222 final CharSequence stateText; in buildHeadsUp()
234 final CharSequence title1 = context.getString(R.string.timer_stop); in buildHeadsUp()
241 final CharSequence title2 = context.getString(R.string.timer_plus_1_min); in buildHeadsUp()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.java49 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/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreference.java36 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/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorMessage.java48 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/inputmethods/LatinIME/tools/dicttool/compat/android/text/
DTextUtils.java27 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/app/calllog/
DCallLogListItemHelper.java112 CharSequence nameOrNumber = views.nameOrNumber == null ? "" : views.nameOrNumber; in setActionContentDescriptions()
138 private CharSequence getContactBadgeDescription(PhoneCallDetails details) { in getContactBadgeDescription()
175 public CharSequence getCallDescription(PhoneCallDetails details) { in getCallDescription()
177 final CharSequence nameOrNumber = getNameOrNumber(details); in getCallDescription()
180 final CharSequence typeOrLocation = phoneCallDetailsHelper.getCallTypeOrLocation(details); in getCallDescription()
183 final CharSequence timeOfCall = phoneCallDetailsHelper.getCallDate(details); in getCallDescription()
199 CharSequence onAccountLabel = in getCallDescription()
266 private CharSequence getNameOrNumber(PhoneCallDetails details) { in getNameOrNumber()
267 final CharSequence recipient; in getNameOrNumber()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java54 @Nullable public final CharSequence label;
58 public Info(@Nullable CharSequence label, @Nullable Drawable icon, boolean labelIsSingleLine) { in Info()
68 CharSequence label = null; in getInfo()
119 private static CharSequence spanDisplayNumber(String displayNumber) { in spanDisplayNumber()
142 private static CharSequence getLabelForIncoming(Context context, PrimaryCallState state) { in getLabelForIncoming()
172 private static CharSequence getLabelForIncomingVideo( in getLabelForIncomingVideo()
189 private static CharSequence getLabelForDialing(Context context, PrimaryCallState state) { in getLabelForDialing()
191 CharSequence label = getCallingViaLabel(context, state); in getLabelForDialing()
229 private static CharSequence getCallingViaLabel(Context context, PrimaryCallState state) { in getCallingViaLabel()
245 private static CharSequence getConnectionLabel(PrimaryCallState state) { in getConnectionLabel()
[all …]

12345678910>>...63