Searched refs:isEmpty (Results 151 - 175 of 1646) sorted by relevance

1234567891011>>

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForStructuredName.java123 final boolean touchedUnstruct = !TextUtils.isEmpty(unstruct);
195 if (!TextUtils.isEmpty(phoneticFamily) || !TextUtils.isEmpty(phoneticMiddle)
196 || !TextUtils.isEmpty(phoneticGiven)) {
198 if (!TextUtils.isEmpty(phoneticFamily)) {
202 if (!TextUtils.isEmpty(phoneticMiddle)) {
206 if (!TextUtils.isEmpty(phoneticGiven)) {
H A DMetadataEntryParser.java149 if (TextUtils.isEmpty(inputData)) {
185 if (TextUtils.isEmpty(type)) {
203 if (TextUtils.isEmpty(dataHashId)) {
216 if (TextUtils.isEmpty(usageType)) {
264 if (TextUtils.isEmpty(backupId) || TextUtils.isEmpty(accountType)
265 || TextUtils.isEmpty(accountName)) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/
H A DStrequentsItemAnimator.java94 boolean removalsPending = !mPendingRemovals.isEmpty();
95 boolean movesPending = !mPendingMoves.isEmpty();
96 boolean changesPending = !mPendingChanges.isEmpty();
97 boolean additionsPending = !mPendingAdditions.isEmpty();
455 if (changes.isEmpty()) {
468 if (moves.isEmpty()) {
480 if (additions.isEmpty()) {
511 return (!mPendingAdditions.isEmpty() ||
512 !mPendingChanges.isEmpty() ||
513 !mPendingMoves.isEmpty() ||
[all...]
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
H A DTelecomUtils.java104 if (number == null || number.isEmpty()) {
137 if (number == null || number.isEmpty()) {
202 formattedNumber = TextUtils.isEmpty(formattedNumber) ? number : formattedNumber;
229 if (TextUtils.isEmpty(number)) {
284 if (!TextUtils.isEmpty(durationString) && !TextUtils.isEmpty(label)) {
286 } else if (!TextUtils.isEmpty(durationString)) {
288 } else if (!TextUtils.isEmpty(label)) {
295 if (!TextUtils.isEmpty(label)) {
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
H A DNumbersAdapter.java80 if (!TextUtils.isEmpty(info.name)) {
87 if (!TextUtils.isEmpty(locationOrType)) {
114 if (!TextUtils.isEmpty(info.formattedNumber)) {
116 } else if (!TextUtils.isEmpty(info.number)) {
124 if (!TextUtils.isEmpty(info.name)) {
/packages/apps/Dialer/java/com/android/dialer/location/
H A DCountryDetector.java142 if (TextUtils.isEmpty(result)) {
145 if (TextUtils.isEmpty(result)) {
148 if (TextUtils.isEmpty(result)) {
151 if (TextUtils.isEmpty(result)) {
262 if (addresses != null && !addresses.isEmpty()) {
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
H A DPhoneNumberHelper.java46 && !TextUtils.isEmpty(number)
56 if (TextUtils.isEmpty(number)) {
81 if (TextUtils.isEmpty(number)) {
104 if (TextUtils.isEmpty(number)) {
149 if (TextUtils.isEmpty(countryIso)) {
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DHistoryFragment.java121 mIsDisplayEmpty = mainExpr == null || mainExpr.isEmpty();
142 final boolean isEmpty = newDataSet.isEmpty();
144 isEmpty ? R.color.empty_history_color : R.color.display_background_color));
145 if (isEmpty) {
/packages/apps/Settings/src/com/android/settings/security/
H A DSecurityFeatureProviderImpl.java89 if (TextUtils.isEmpty(tile.key) || (tile.metaData == null)) {
136 if (TextUtils.isEmpty(tile.key) || (tile.metaData == null)) {
149 if (!TextUtils.isEmpty(iconUri)) {
153 if (!TextUtils.isEmpty(intent.getPackage())) {
182 if (!TextUtils.isEmpty(summaryUri)) {
/packages/apps/TV/src/com/android/tv/data/
H A DChannelLogoFetcher.java72 if (channels == null || channels.isEmpty()) {
114 if (!TextUtils.isEmpty(channel.getLogoUri())
118 } else if (TextUtils.isEmpty(channel.getLogoUri())
119 && (!TextUtils.isEmpty(storedChannelLogoUri)
171 if (!channelsToRemove.isEmpty()) {
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrDataManagerImpl.java269 if (!toUpdate.isEmpty()) {
272 if (!toDelete.isEmpty()) {
337 } else if (recordedPrograms.isEmpty()) {
362 if (!addedRecordedPrograms.isEmpty()) {
365 if (!changedRecordedPrograms.isEmpty()) {
368 if (!oldRecordedPrograms.isEmpty()) {
383 if (recordedPrograms.isEmpty()) {
657 if (!schedulesToDelete.isEmpty()) {
661 if (!schedulesNotToDelete.isEmpty()) {
688 if (!toUpdate.isEmpty()) {
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DTrackInfo.java83 mTrackNum = (attribute != null && !attribute.isEmpty()) ? Long.valueOf(attribute) : TRACK_NUM_INVALID;
86 mTotalTracks = (attribute != null && !attribute.isEmpty()) ? Long.valueOf(attribute) : TOTAL_TRACKS_INVALID;
91 mTrackLen = (attribute != null && !attribute.isEmpty()) ? Long.valueOf(attribute) : TOTAL_TRACK_TIME_INVALID;
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEditorIntents.java131 if (rawContactDeltaList != null && !rawContactDeltaList.isEmpty()) {
139 if (!TextUtils.isEmpty(displayName)) {
142 if (!TextUtils.isEmpty(phoneticName)) {
/packages/apps/Contacts/src/com/android/contacts/model/
H A DSimContact.java98 if (!mPhone.isEmpty()) {
126 return !TextUtils.isEmpty(mName);
130 return !mPhone.isEmpty();
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
H A DBottomRow.java97 if (TextUtils.isEmpty(label)) {
100 } else if (!TextUtils.isEmpty(state.callbackNumber)) {
127 if (!primaryInfo.nameIsNumber && !TextUtils.isEmpty(primaryInfo.number)) {
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DSelection.java94 public boolean isEmpty() { method in class:Selection
95 return mSelection.isEmpty() && mProvisionalSelection.isEmpty();
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
H A DDocumentStackTest.java75 assertTrue(mStack.isEmpty());
117 assertTrue(mStack.isEmpty());
129 assertTrue(mStack.isEmpty());
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DIntentUtilities.java94 if (TextUtils.isEmpty(mUuid)) {
137 return TextUtils.isEmpty(uuid) ? null : uuid;
158 if (!TextUtils.isEmpty(value)) {
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapStringTest.java47 assertTrue(ImapString.EMPTY.isEmpty());
58 assertTrue(new ImapSimpleString(null).isEmpty());
63 assertFalse(s.isEmpty());
/packages/apps/Launcher3/src/com/android/launcher3/
H A DSessionCommitReceiver.java71 if (TextUtils.isEmpty(info.getAppPackageName()) ||
83 if (activities == null || activities.isEmpty()) {
99 if (prefs.getAll().isEmpty()) {
103 // If it is a fresh start, just apply the default value. We use prefs.isEmpty() to infer
/packages/apps/Launcher3/src/com/android/launcher3/logging/
H A DDumpTargetWrapper.java65 if (!children.isEmpty()) {
124 if (!TextUtils.isEmpty(t.packageName)) {
127 if (!TextUtils.isEmpty(t.component)) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMediaScratchFileProvider.java94 TextUtils.isEmpty(extension) ? path : path + "." + extension);
128 if (!TextUtils.isEmpty(displayName)) {
141 if (TextUtils.isEmpty(displayName)) {
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsSmsUtils.java94 if (TextUtils.isEmpty(address)) {
110 if (TextUtils.isEmpty(number)) {
126 if (!TextUtils.isEmpty(MmsConfig.get(subId).getEmailGateway())) {
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
H A DDefaultBrowserPreferenceController.java48 return candidates != null && !candidates.isEmpty();
60 if (!TextUtils.isEmpty(defaultAppLabel)) {
84 if (!TextUtils.isEmpty(defaultAppLabel)) {
/packages/apps/Settings/src/com/android/settings/backup/
H A DBackupSettingsHelper.java77 if (label == null || label.isEmpty()) {
110 return intentString != null && !intentString.isEmpty();
129 if (intentString != null && !intentString.isEmpty()) {

Completed in 3341 milliseconds

1234567891011>>