Home
last modified time | relevance | path

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

12345678910>>...39

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java68 private CharSequence mSeparator;
155 public CarrierTextController(Context context, CharSequence separator, boolean showAirplaneMode, in CarrierTextController()
183 private CharSequence updateCarrierTextWithSimIoError(CharSequence text, in updateCarrierTextWithSimIoError()
184 CharSequence[] carrierNames, int[] subOrderBySlot, boolean noSims) { in updateCarrierTextWithSimIoError()
185 final CharSequence carrier = ""; in updateCarrierTextWithSimIoError()
186 CharSequence carrierTextForSimIOError = getCarrierTextForSimState( in updateCarrierTextWithSimIoError()
254 CharSequence displayText = null; in updateCarrierText()
265 final CharSequence[] carrierNames = new CharSequence[numSubs]; in updateCarrierText()
274 CharSequence carrierName = subs.get(i).getCarrierName(); in updateCarrierText()
275 CharSequence carrierTextForSimState = getCarrierTextForSimState(simState, carrierName); in updateCarrierText()
[all …]
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarViewInfo.java34 private CharSequence mTitle;
35 private CharSequence mSummary;
36 private @Nullable CharSequence mContentDescription;
52 @Nullable CharSequence title, CharSequence summary, in BarViewInfo()
53 @Nullable CharSequence contentDescription) { in BarViewInfo()
79 void setTitle(CharSequence title) { in setTitle()
83 void setSummary(CharSequence summary) { in setSummary()
100 CharSequence getTitle() { in getTitle()
104 CharSequence getSummary() { in getSummary()
108 public @Nullable CharSequence getContentDescription() { in getContentDescription()
/frameworks/base/media/java/android/media/
DMediaDescription.java41 private final CharSequence mTitle;
45 private final CharSequence mSubtitle;
49 private final CharSequence mDescription;
128 private MediaDescription(String mediaId, CharSequence title, CharSequence subtitle, in MediaDescription()
129 CharSequence description, Bitmap icon, Uri iconUri, Bundle extras, Uri mediaUri) { in MediaDescription()
164 public @Nullable CharSequence getTitle() { in getTitle()
173 public @Nullable CharSequence getSubtitle() { in getSubtitle()
182 public @Nullable CharSequence getDescription() { in getDescription()
289 private CharSequence mTitle;
290 private CharSequence mSubtitle;
[all …]
/frameworks/base/core/java/android/text/
DEditable.java26 extends CharSequence, GetChars, Spannable, Appendable
52 public Editable replace(int st, int en, CharSequence source, int start, int end); in replace()
58 public Editable replace(int st, int en, CharSequence text); in replace()
64 public Editable insert(int where, CharSequence text, int start, int end); in insert()
70 public Editable insert(int where, CharSequence text); in insert()
82 public Editable append(CharSequence text); in append()
88 public Editable append(CharSequence text, int start, int end); in append()
144 public Editable newEditable(CharSequence source) { in newEditable()
DInputFilter.java50 public CharSequence filter(CharSequence source, int start, int end, in filter()
75 public CharSequence filter(CharSequence source, int start, int end, in filter()
77 final CharSequence wrapper = new CharSequenceWrapper(source, start, end); in filter()
95 final CharSequence upper = TextUtils.toUpperCase(mLocale, wrapper, copySpans); in filter()
106 private static class CharSequenceWrapper implements CharSequence, Spanned {
107 private final CharSequence mSource;
111 CharSequenceWrapper(CharSequence source, int start, int end) { in CharSequenceWrapper()
129 public CharSequence subSequence(int start, int end) { in subSequence()
175 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, in filter()
DTextUtils.java143 public static void getChars(CharSequence s, int start, int end, in getChars()
145 Class<? extends CharSequence> c = s.getClass(); in getChars()
161 public static int indexOf(CharSequence s, char ch) { in indexOf()
165 public static int indexOf(CharSequence s, char ch, int start) { in indexOf()
166 Class<? extends CharSequence> c = s.getClass(); in indexOf()
174 public static int indexOf(CharSequence s, char ch, int start, int end) { in indexOf()
175 Class<? extends CharSequence> c = s.getClass(); in indexOf()
211 public static int lastIndexOf(CharSequence s, char ch) { in lastIndexOf()
215 public static int lastIndexOf(CharSequence s, char ch, int last) { in lastIndexOf()
216 Class<? extends CharSequence> c = s.getClass(); in lastIndexOf()
[all …]
DSpannedString.java27 implements CharSequence, GetChars, Spanned
34 public SpannedString(CharSequence source, boolean ignoreNoCopySpan) { in SpannedString()
43 public SpannedString(CharSequence source) { in SpannedString()
47 private SpannedString(CharSequence source, int start, int end) { in SpannedString()
52 public CharSequence subSequence(int start, int end) { in subSequence()
56 public static SpannedString valueOf(CharSequence source) { in valueOf()
DSpannableString.java26 implements CharSequence, GetChars, Spannable
33 public SpannableString(CharSequence source, boolean ignoreNoCopySpan) { in SpannableString()
42 public SpannableString(CharSequence source) { in SpannableString()
46 private SpannableString(CharSequence source, int start, int end) { in SpannableString()
51 public static SpannableString valueOf(CharSequence source) { in valueOf()
67 public final CharSequence subSequence(int start, int end) { in subSequence()
DBidiFormatter.java307 public String markAfter(CharSequence str, TextDirectionHeuristic heuristic) { in markAfter()
336 public String markBefore(CharSequence str, TextDirectionHeuristic heuristic) { in markBefore()
356 return isRtl((CharSequence) str); in isRtl()
366 public boolean isRtl(CharSequence str) { in isRtl()
403 return unicodeWrap((CharSequence) str, heuristic, isolate).toString(); in unicodeWrap()
418 public @Nullable CharSequence unicodeWrap(@Nullable CharSequence str, in unicodeWrap()
463 public CharSequence unicodeWrap(CharSequence str, TextDirectionHeuristic heuristic) { in unicodeWrap()
490 public CharSequence unicodeWrap(CharSequence str, boolean isolate) { in unicodeWrap()
512 public CharSequence unicodeWrap(CharSequence str) { in unicodeWrap()
551 private static int getExitDir(CharSequence str) { in getExitDir()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCharSequences.java32 public static CharSequence forAsciiBytes(final byte[] bytes) { in forAsciiBytes()
33 return new CharSequence() { in forAsciiBytes()
42 public CharSequence subSequence(int start, int end) { in forAsciiBytes()
63 public static CharSequence forAsciiBytes(final byte[] bytes,
66 return new CharSequence() {
75 public CharSequence subSequence(int newStart, int newEnd) {
99 public static boolean equals(CharSequence a, CharSequence b) {
121 public static int compareToIgnoreCase(CharSequence me, CharSequence another) {
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java94 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering()
153 CharSequence sub = e.subSequence(start, end); in performValidation()
171 protected void performFiltering(CharSequence text, int start, int end, in performFiltering()
190 protected void replaceText(CharSequence text) { in replaceText()
204 public CharSequence getAccessibilityClassName() { in getAccessibilityClassName()
213 public int findTokenStart(CharSequence text, int cursor); in findTokenStart()
219 public int findTokenEnd(CharSequence text, int cursor); in findTokenEnd()
225 public CharSequence terminateToken(CharSequence text); in terminateToken()
233 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
246 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
[all …]
DTextClock.java108 public static final CharSequence DEFAULT_FORMAT_12_HOUR = "h:mm a";
123 public static final CharSequence DEFAULT_FORMAT_24_HOUR = "H:mm";
125 private CharSequence mFormat12;
126 private CharSequence mFormat24;
127 private CharSequence mDescFormat12;
128 private CharSequence mDescFormat24;
131 private CharSequence mFormat;
135 private CharSequence mDescFormat;
292 public CharSequence getFormat12Hour() { in getFormat12Hour()
322 public void setFormat12Hour(CharSequence format) { in setFormat12Hour()
[all …]
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntityInfo.java31 private final CharSequence mTitle;
32 private final CharSequence mSummary;
49 public CharSequence getTitle() { in getTitle()
58 public CharSequence getSummary() { in getSummary()
84 private CharSequence mTitle;
85 private CharSequence mSummary;
108 public Builder setTitle(@Nullable CharSequence title) { in setTitle()
116 public Builder setSummary(@Nullable CharSequence summary) { in setSummary()
/frameworks/base/core/java/android/service/quicksettings/
DTile.java65 private CharSequence mLabel;
66 private CharSequence mSubtitle;
67 private CharSequence mContentDescription;
141 public CharSequence getLabel() { in getLabel()
152 public void setLabel(CharSequence label) { in setLabel()
160 public CharSequence getSubtitle() { in getSubtitle()
168 public void setSubtitle(@Nullable CharSequence subtitle) { in setSubtitle()
175 public CharSequence getContentDescription() { in getContentDescription()
186 public void setContentDescription(CharSequence contentDescription) { in setContentDescription()
/frameworks/base/core/java/android/view/inputmethod/
DCompletionInfo.java54 private final CharSequence mText;
55 private final CharSequence mLabel;
66 public CompletionInfo(long id, int index, CharSequence text) { in CompletionInfo()
87 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { in CompletionInfo()
121 public CharSequence getText() { in getText()
130 public CharSequence getLabel() { in getLabel()
DCorrectionInfo.java29 private final CharSequence mOldText;
30 private final CharSequence mNewText;
37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { in CorrectionInfo()
60 public CharSequence getOldText() { in getOldText()
67 public CharSequence getNewText() { in getNewText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java107 createRemoteInput("same", "same", new CharSequence[] {"first"}); in needReinflate_differentChoices()
109 createRemoteInput("same", "same", new CharSequence[] {"second"}); in needReinflate_differentChoices()
132 createRemoteInput("same", "first", new CharSequence[] {"same"}); in needReinflate_differentRemoteInputLabel()
134 createRemoteInput("same", "second", new CharSequence[] {"same"}); in needReinflate_differentRemoteInputLabel()
156 createRemoteInput("same", "same", new CharSequence[] {"same"}); in needReinflate_negative()
158 createRemoteInput("same", "same", new CharSequence[] {"same"}); in needReinflate_negative()
177 createUiAdjustmentFromSmartReplies("first", new CharSequence[]{"a", "b"}), in needReinflate_differentSmartReplies()
178 createUiAdjustmentFromSmartReplies("first", new CharSequence[] {"b", "a"}))) in needReinflate_differentSmartReplies()
185 createUiAdjustmentFromSmartReplies("first", new CharSequence[] {"a", "b"}), in needReinflate_sameSmartReplies()
186 createUiAdjustmentFromSmartReplies("first", new CharSequence[] {"a", "b"}))) in needReinflate_sameSmartReplies()
[all …]
/frameworks/base/core/java/android/printservice/recommendation/
DRecommendationInfo.java41 private @NonNull final CharSequence mPackageName;
44 private @NonNull final CharSequence mName;
61 public RecommendationInfo(@NonNull CharSequence packageName, @NonNull CharSequence name, in RecommendationInfo()
83 public RecommendationInfo(@NonNull CharSequence packageName, @NonNull CharSequence name, in RecommendationInfo()
128 public CharSequence getPackageName() { in getPackageName()
156 public CharSequence getName() { in getName()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java42 private CharSequence mTitle;
43 private CharSequence mTitleCondensed;
61 private CharSequence mContentDescription;
62 private CharSequence mTooltipText;
75 CharSequence title) { in ActionMenuItem()
128 public CharSequence getTitle() { in getTitle()
132 public CharSequence getTitleCondensed() { in getTitleCondensed()
285 public MenuItem setTitle(CharSequence title) { in setTitle()
295 public MenuItem setTitleCondensed(CharSequence title) { in setTitleCondensed()
373 public MenuItem setContentDescription(CharSequence contentDescription) { in setContentDescription()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSCarrierGroupTest.java72 new CharSequence[]{""}, in testUpdateCarrierText_sameLengths()
81 new CharSequence[]{""}, in testUpdateCarrierText_sameLengths()
90 new CharSequence[]{"", ""}, in testUpdateCarrierText_sameLengths()
99 new CharSequence[]{"", ""}, in testUpdateCarrierText_sameLengths()
120 new CharSequence[]{"", ""}, in testUpdateCarrierText_differentLength()
129 new CharSequence[]{"", ""}, in testUpdateCarrierText_differentLength()
138 new CharSequence[]{""}, in testUpdateCarrierText_differentLength()
147 new CharSequence[]{""}, in testUpdateCarrierText_differentLength()
161 new CharSequence[]{"", ""}, in testUpdateCarrierText_invalidSim()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java109 private CharSequence mDisconnectLabel;
110 private CharSequence mDisconnectDescription;
141 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause()
154 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause()
181 public CharSequence getLabel() { in getLabel()
195 public CharSequence getDescription() { in getDescription()
222 CharSequence label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
223 CharSequence description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/core/java/android/service/settings/suggestions/
DSuggestion.java59 private final CharSequence mTitle;
60 private final CharSequence mSummary;
76 public CharSequence getTitle() { in getTitle()
83 public CharSequence getSummary() { in getSummary()
160 private CharSequence mTitle;
161 private CharSequence mSummary;
177 public Builder setTitle(CharSequence title) { in setTitle()
185 public Builder setSummary(CharSequence summary) { in setSummary()
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java24 private final CharSequence mDisplay;
26 private final CharSequence mValue;
40 private CharSequence mOriginalText;
63 public CharSequence getDisplay() { in getDisplay()
68 public CharSequence getValue() { in getValue()
107 public CharSequence getOriginalText() { in getOriginalText()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java62 private CharSequence mName;
68 public Identifier(CharSequence name, int biometricId, long deviceId) { in Identifier()
78 public CharSequence getName() { in getName()
97 public void setName(CharSequence name) { in setName()
177 public void onAuthenticationError(int errorCode, CharSequence errString) {} in onAuthenticationError()
186 public void onAuthenticationHelp(int helpCode, CharSequence helpString) {} in onAuthenticationHelp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetail.java22 public CharSequence label;
23 public CharSequence contentDescription;
24 public CharSequence[] detailLabels;
25 public CharSequence[] detailContentDescriptions;

12345678910>>...39