Searched refs:TextUtils (Results 401 - 425 of 658) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java34 import android.text.TextUtils;
237 if (TextUtils.isEmpty(constraint)) {
343 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) {
420 if (!TextUtils.isEmpty(constraint)) {
465 if (TextUtils.equals(constraint, mCurrentConstraint)) {
/frameworks/base/core/java/android/app/
H A DNotification.java52 import android.text.TextUtils;
1035 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
1253 TextUtils.writeToParcel(title, out, flags);
1622 tickerText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel);
1939 TextUtils.writeToParcel(tickerText, parcel, flags);
2375 if (!TextUtils.isEmpty(templateClass)) {
3462 if (TextUtils.isEmpty(name)) {
3465 if (TextUtils.isEmpty(name)) {
3551 && replyText.length > 0 && !TextUtils.isEmpty(replyText[0])) {
3555 if (replyText.length > 1 && !TextUtils
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java63 import android.text.TextUtils;
473 mError = TextUtils.stringOrSpannedString(error);
831 final int minOffset = TextUtils.unpackRangeStartFromLong(lastTouchOffsets);
832 final int maxOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets);
860 selectionStart = TextUtils.unpackRangeStartFromLong(range);
861 selectionEnd = TextUtils.unpackRangeEndFromLong(range);
883 final int minLastTouchOffset = TextUtils.unpackRangeStartFromLong(lastTouchOffsets);
884 final int maxLastTouchOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets);
887 final int start = TextUtils.unpackRangeStartFromLong(paragraphsRange);
888 final int end = TextUtils
[all...]
H A DNumberPicker.java38 import android.text.TextUtils;
1899 if (TextUtils.isEmpty(str)) {
1925 if (!TextUtils.isEmpty(text) && !text.equals(mInputText.getText().toString())) {
2126 if (TextUtils.isEmpty(filtered)) {
2374 if (TextUtils.isEmpty(searched)) {
2600 if (!TextUtils.isEmpty(text)
2607 if (!TextUtils.isEmpty(text) &&
2613 if (!TextUtils.isEmpty(contentDesc) &&
2621 if (!TextUtils.isEmpty(text)
H A DTextView.java82 import android.text.TextUtils;
83 import android.text.TextUtils.TruncateAt;
350 private TextUtils.TruncateAt mEllipsize;
1383 setEllipsize(TextUtils.TruncateAt.START);
1386 setEllipsize(TextUtils.TruncateAt.MIDDLE);
1389 setEllipsize(TextUtils.TruncateAt.END);
1399 setEllipsize(TextUtils.TruncateAt.MARQUEE);
4358 ((Spanned) text).getSpanStart(TextUtils.TruncateAt.MARQUEE) >= 0) {
4366 setEllipsize(TextUtils.TruncateAt.MARQUEE);
4404 text = TextUtils
[all...]
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java31 import android.text.TextUtils;
295 return rule != null && !TextUtils.isEmpty(rule.name) && Global.isValidZenMode(rule.zenMode)
384 if (TextUtils.isEmpty(value)) return defValue;
393 if (TextUtils.isEmpty(value)) return defValue;
581 if (TextUtils.isEmpty(val)) return defValue;
592 if (TextUtils.isEmpty(val)) return null;
598 if (TextUtils.isEmpty(val)) return null;
937 if (TextUtils.isEmpty(rt.calendar) || tryParseLong(rt.calendar, -1L) != -1L) {
987 if (TextUtils.isEmpty(value)) return null;
1049 summary = TextUtils
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java30 import android.text.TextUtils;
505 (!TextUtils.isEmpty(mTitle) || !TextUtils.isEmpty(mSubtitle));
525 (!TextUtils.isEmpty(mTitle) || !TextUtils.isEmpty(mSubtitle));
583 if (!TextUtils.isEmpty(title)) {
585 if (!TextUtils.isEmpty(subtitle)) {
835 (TextUtils.isEmpty(mTitle) && TextUtils.isEmpty(mSubtitle))) {
1468 if (!TextUtils
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java79 import android.text.TextUtils;
525 if (!TextUtils.isEmpty(mccMnc) || !TextUtils.isEmpty(imsi)) {
527 if ((!TextUtils.isEmpty(mccMnc) && mccMnc.equals(VzwMccMncList[i])) ||
528 (!TextUtils.isEmpty(imsi) && imsi.startsWith(VzwMccMncList[i]))) {
530 if (TextUtils.isEmpty(VzwGid1List[i]) || VzwGid1List[i].equals(groupId)) {
547 if (!TextUtils.isEmpty(mccMnc)) {
620 if (!TextUtils.isEmpty(gpsHardware)) {
631 if (!TextUtils.isEmpty(lpp_prof)) {
1108 if (!TextUtils
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java59 import android.text.TextUtils;
619 if (submit && !TextUtils.isEmpty(query)) {
914 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText());
974 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText());
1231 boolean hasText = !TextUtils.isEmpty(text);
1236 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) {
1244 if (query != null && TextUtils.getTrimmedLength(query) > 0) {
1262 if (TextUtils.isEmpty(text)) {
1563 mSearchSrcTextView.setSelection(TextUtils.isEmpty(query) ? 0 : query.length());
1915 return TextUtils
[all...]
H A DSwitchCompat.java41 import android.text.TextUtils;
1269 if (!TextUtils.isEmpty(getText())) {
1281 if (!TextUtils.isEmpty(getText())) {
1403 if (!TextUtils.isEmpty(switchText)) {
1405 if (TextUtils.isEmpty(oldText)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java67 import android.text.TextUtils;
1665 if (!TextUtils.isEmpty(reason)) {
2815 if (mIsProvisioning && !TextUtils.isEmpty(mProvisioningUrl)) {
2888 if (TextUtils.isEmpty(port)) port = "8080";
2899 if(TextUtils.equals(apnContext.getApnType(),PhoneConstants.APN_TYPE_DEFAULT)) {
3096 if (!TextUtils.isEmpty(redirectUrl)) {
3426 TextUtils.isEmpty(first) ||
3427 TextUtils.isEmpty(second));
3438 String mmsc = (TextUtils.isEmpty(dest.mmsc) ? src.mmsc : dest.mmsc);
3439 String mmsProxy = (TextUtils
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java17 import android.text.TextUtils;
361 mText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
376 TextUtils.writeToParcel(mText, out, 0);
432 mTitle = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
442 TextUtils.writeToParcel(mTitle, out, 0);
614 mContentDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
708 TextUtils.writeToParcel(mContentDescription, out, 0);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java37 import android.text.TextUtils;
1498 if (TextUtils.isEmpty(voiceName)) {
1685 if (TextUtils.isEmpty(voiceName)) {
1745 if (TextUtils.isEmpty(voiceName)) {
1900 if (!TextUtils.isEmpty(mCurrentEngine)) {
1998 if (!TextUtils.isEmpty(valueString)) {
2010 if (!TextUtils.isEmpty(valueString)) {
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java54 import android.text.TextUtils;
724 if (TextUtils.isEmpty(providerName)) {
752 if (TextUtils.isEmpty(authority)) {
780 if (TextUtils.isEmpty(authority)) {
804 if (TextUtils.isEmpty(providerName)) {
851 if (TextUtils.isEmpty(providerName)) {
981 if (TextUtils.isEmpty(authority)) {
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java55 import android.text.TextUtils;
288 if (!TextUtils.isEmpty(curInteractorStr)) {
301 ComponentName curInteractor = !TextUtils.isEmpty(curInteractorStr)
355 return TextUtils.isEmpty(interactorPackage) ? null : interactorPackage;
475 if (TextUtils.isEmpty(curInteractor)) {
522 if (TextUtils.isEmpty(curRecognizer)) {
542 if (TextUtils.isEmpty(curAssistant)) {
/frameworks/base/core/java/android/provider/
H A DContacts.java29 import android.text.TextUtils;
973 if (!TextUtils.isEmpty(label)) {
1410 if (!TextUtils.isEmpty(label)) {
1427 if (!TextUtils.isEmpty(label)) {
1774 if (!TextUtils.isEmpty(label)) {
H A DContactsContract.java43 import android.text.TextUtils;
1622 if (TextUtils.isEmpty(lookupKey)) {
6103 if ((type == TYPE_CUSTOM || type == TYPE_ASSISTANT) && !TextUtils.isEmpty(label)) {
6314 if (type == TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
6522 if (type == TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
6660 if (type == TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
6694 if (type == PROTOCOL_CUSTOM && !TextUtils.isEmpty(label)) {
6867 if (type == TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
6994 if (type == TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
7090 if (type == TYPE_CUSTOM && !TextUtils
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java96 import android.text.TextUtils;
923 mImeSelectedOnBoot = !TextUtils.isEmpty(defaultImiId);
992 if (TextUtils.isEmpty(selectedImiId)) {
1043 final boolean initialUserSwitch = TextUtils.isEmpty(defaultImiId);
1880 if (!TextUtils.isEmpty(ss.getNotificationTargetClassName())) {
1956 if (TextUtils.isEmpty(id) && chooseNewDefaultIMELocked()) {
1959 if (!TextUtils.isEmpty(id)) {
2492 if (TextUtils.isEmpty(targetLastImiId)
2523 if (!TextUtils.isEmpty(targetLastImiId)) {
2590 if (lastIme == null || TextUtils
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java33 import android.text.TextUtils;
326 if (TextUtils.isPrintableAsciiOnly(spn)) {
767 if (!TextUtils.isEmpty(operator)) {
777 if (!TextUtils.isEmpty(mImsi)) {
797 if (!TextUtils.isEmpty(mMdn)) {
H A DUiccCard.java43 import android.text.TextUtils;
466 if (TextUtils.isEmpty(whitelistSetting)) {
477 if (!TextUtils.isEmpty(pkgName) && carrierAppSet.contains(pkgName)
714 if (TextUtils.isEmpty(iccId)) {
731 if (TextUtils.isEmpty(iccId)) {
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java31 import android.text.TextUtils;
642 final boolean hasTextTitle = !TextUtils.isEmpty(mTitle);
722 if (TextUtils.isEmpty(mButtonPositiveText)) {
733 if (TextUtils.isEmpty(mButtonNegativeText)) {
745 if (TextUtils.isEmpty(mButtonNeutralText)) {
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java32 import android.text.TextUtils;
343 if (TextUtils.isEmpty(argument)) {
372 if (TextUtils.isEmpty(value) || value.startsWith(ARGUMENT_PREFIX)) {
/frameworks/base/core/java/android/content/
H A DClipData.java31 import android.text.TextUtils;
987 TextUtils.writeToParcel(item.mText, dest, flags);
1014 CharSequence text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
H A DUndoManager.java22 import android.text.TextUtils;
757 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(p);
774 TextUtils.writeToParcel(mLabel, p, 0);
/frameworks/base/core/java/android/os/storage/
H A DVolumeInfo.java30 import android.text.TextUtils;
244 } else if (!TextUtils.isEmpty(fsLabel)) {
402 if (TextUtils.isEmpty(fsUuid)) {

Completed in 5932 milliseconds

<<11121314151617181920>>