Searched refs:isEmpty (Results 226 - 250 of 927) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DMapProfile.java67 while (!deviceList.isEmpty()) {
122 if (!deviceList.isEmpty() && deviceList.get(0).equals(device)) {
137 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodPreference.java105 if (TextUtils.isEmpty(settingsActivity)) {
252 if (TextUtils.isEmpty(t0)) {
255 if (TextUtils.isEmpty(t1)) {
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DLogUtils.java147 if (TextUtils.isEmpty(accountName)) {
155 if (TextUtils.isEmpty(name)) {
398 if (TextUtils.isEmpty(date)) {
H A DUtils.java297 if (TextUtils.isEmpty(htmlText)) {
305 if (TextUtils.isEmpty(htmlText)) {
366 return !TextUtils.isEmpty(string) ? TextUtils.htmlEncode(removeEmptyDoubleQuotes ? string
532 if (TextUtils.isEmpty(urlString)) {
549 if (TextUtils.isEmpty(urlString)) {
576 if(uri == null || TextUtils.isEmpty(uri.toString())) {
636 if (activity != null && !isEmpty(feedbackIntentUri)) {
685 return TextUtils.isEmpty(query) ? null : query.trim();
695 int index = !TextUtils.isEmpty(filename) ? filename.lastIndexOf('.') : -1;
800 if (TextUtils.isEmpty(ur
805 public static boolean isEmpty(Uri uri) { method in class:Utils
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerSession.java80 if (TextUtils.isEmpty(splitText)) {
163 if (!TextUtils.isEmpty(localeStr)) {
207 prevWord = TextUtils.isEmpty(prevWordCandidate) ? null : prevWordCandidate;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForPhoneNumber.java120 if (!TextUtils.isEmpty(normalizedNumber)) {
162 if (TextUtils.isEmpty(number)) {
167 if (TextUtils.isEmpty(normalizedNumber)) {
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java147 if (TextUtils.isEmpty(sortOrder)) {
232 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
256 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContactModifier.java450 if (RawContactModifier.isEmpty(entry, kind) && !isGooglePhoto) {
475 final boolean isRealInsert = entry.isInsert() && !isEmpty(entry, kind);
488 public static boolean isEmpty(ValuesDelta values, DataKind kind) { method in class:RawContactModifier
668 if (!TextUtils.isEmpty(address)) {
691 if (TextUtils.isEmpty(mimeType)) {
706 TextUtils.isEmpty(values.getAsString(Phone.LABEL))) {
719 if (isEmpty(entry, kind)) {
759 if (!delta.isDelete() && !isEmpty(delta, kind)) {
781 if (!isEmpty(delta, kind)) {
982 if (entryList != null && !entryList.isEmpty()) {
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DContactInfoCache.java165 (cacheEntry != null && TextUtils.isEmpty(cacheEntry.name))) {
380 if (!TextUtils.isEmpty(number)) {
387 if (TextUtils.isEmpty(info.name)) {
393 if (TextUtils.isEmpty(number)) {
404 } else if (!TextUtils.isEmpty(info.cnapName)) {
H A DCallCardFragment.java371 if (TextUtils.isEmpty(name)) {
395 if (TextUtils.isEmpty(number)) {
407 if (!TextUtils.isEmpty(label)) {
431 if (TextUtils.isEmpty(number) && TextUtils.isEmpty(label)) {
457 boolean hasProvider = !TextUtils.isEmpty(providerLabel);
493 boolean isGatewayCall = !TextUtils.isEmpty(gatewayNumber);
507 if (!TextUtils.isEmpty(callStateLabel)) {
560 if (TextUtils.isEmpty(callbackNumber)) {
702 if (TextUtils.isEmpty(callStateLabe
[all...]
/packages/apps/Mms/src/com/android/mms/data/
H A DContact.java220 if (!TextUtils.isEmpty(name) && !name.equals(number)) {
260 if (TextUtils.isEmpty(mName)) {
556 if (TextUtils.isEmpty(number)) {
763 if (!TextUtils.isEmpty(c.mNumber)) {
836 if (TextUtils.isEmpty(number)) {
859 if (!TextUtils.isEmpty(normalizedNumber) && !TextUtils.isEmpty(minMatch)) {
865 if (TextUtils.isEmpty(numberE164)) {
949 if (TextUtils.isEmpty(contact.mName)) {
1046 if (TextUtils.isEmpty(nam
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DSuggestionsAdapter.java166 if (TextUtils.isEmpty(item.url)) {
276 if (TextUtils.isEmpty(constraint) && !shouldProcessEmptyQuery()) {
473 if (TextUtils.isEmpty(title) || TextUtils.getTrimmedLength(title) == 0) {
487 if (TextUtils.isEmpty(title)
510 int type = (TextUtils.isEmpty(url)) ? TYPE_SUGGEST : TYPE_SUGGEST_URL;
525 if (!TextUtils.isEmpty(constraint)) {
563 if (TextUtils.isEmpty(item.url)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntryListAdapter.java256 if (TextUtils.isEmpty(queryString)) {
538 public boolean isEmpty() { method in class:ContactEntryListAdapter
547 return TextUtils.isEmpty(getQueryString());
549 return super.isEmpty();
626 String displayName = !TextUtils.isEmpty(directoryName)
633 final int headerPaddingTop = partitionIndex == 1 && getPartition(0).isEmpty()?
766 if (TextUtils.isEmpty(lookupKey) && isRemoteDirectory(directoryId)) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DHostAuth.java184 if (!TextUtils.isEmpty(clientAlias)) {
185 if (TextUtils.isEmpty(security)) {
313 if (!TextUtils.isEmpty(userInfo)) {
325 if (TextUtils.isEmpty(mLogin)) {
339 if (TextUtils.isEmpty(mLogin)) {
377 if (!useSecureConnection && !TextUtils.isEmpty(clientCertAlias)) {
533 if (!TextUtils.isEmpty(path)) {
/packages/apps/Email/src/com/android/email/
H A DLegacyConversions.java180 if (!TextUtils.isEmpty(disposition)) {
200 if (TextUtils.isEmpty(name)) {
208 if (!TextUtils.isEmpty(disposition)) {
210 if (!TextUtils.isEmpty(s)) {
433 if (TextUtils.isEmpty(contentUriString)) {
436 if (TextUtils.isEmpty(contentUriString)) {
502 + (!TextUtils.isEmpty(filename) ? "filename=\"" + filename + "\";" : "")
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSendersView.java150 if (!TextUtils.isEmpty(p.name)) {
277 senderLength = !TextUtils.isEmpty(senderName) ? senderName.length() : 0;
315 String nameString = !TextUtils.isEmpty(currentName) ? currentName : "";
343 if (shouldAddPhotos && !TextUtils.isEmpty(currentEmail)) {
361 String senderEmail = TextUtils.isEmpty(currentName) ?
363 TextUtils.isEmpty(currentEmail) ? currentName : currentEmail;
385 if (shouldAddPhotos && !TextUtils.isEmpty(firstDisplayableSenderEmail)) {
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DBaseWidgetProvider.java152 if (accountUri == null && Utils.isEmpty(folderUri) && !updateAllWidgets) {
217 if (!TextUtils.isEmpty(accountFolder)) {
234 if (!TextUtils.isEmpty(accountUri)) {
237 if (Utils.isEmpty(folderUri) && account != null) {
370 if (!Utils.isEmpty(folderUri)) {
415 if (!TextUtils.isEmpty(accountFolder)) {
428 if (!TextUtils.isEmpty(accountUri)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionary.java343 if (TextUtils.isEmpty(word)) return NOT_A_PROBABILITY;
350 if (TextUtils.isEmpty(word)) return NOT_A_PROBABILITY;
361 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) {
428 if (word == null || (word.isEmpty() && !isBeginningOfSentence)) {
444 if (TextUtils.isEmpty(word)) {
458 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) {
476 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java147 if (!TextUtils.isEmpty(request.displayName)) {
150 if (!TextUtils.isEmpty(request.identifier)) {
195 if (!TextUtils.isEmpty(encodedFragment)) {
215 return !TextUtils.isEmpty(encodedFragment)
225 if (!TextUtils.isEmpty(contactType)) {
230 if (!TextUtils.isEmpty(scale)) {
235 if (!TextUtils.isEmpty(offset)) {
240 if (!TextUtils.isEmpty(isCircular)) {
394 if (TextUtils.isEmpty(defaultImageRequest.identifier)) {
1056 if (!mPendingRequests.isEmpty()) {
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessagingNotification.java274 if (notificationSet.isEmpty()) {
320 if (TextUtils.isEmpty(ringtoneStr)) {
424 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : "";
427 if (!TextUtils.isEmpty(mSubject)) {
456 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : "";
460 if (!TextUtils.isEmpty(sender)) {
466 if (!TextUtils.isEmpty(mSubject)) {
501 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : "";
505 if (!TextUtils.isEmpty(mSubject)) {
950 noti.setSound(TextUtils.isEmpty(ringtoneSt
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1526 return (!TextUtils.isEmpty(rrule) ||
1527 !TextUtils.isEmpty(rdate) ||
1528 !TextUtils.isEmpty(originalId) ||
1529 !TextUtils.isEmpty(originalSyncId));
1771 if (!TextUtils.isEmpty(color_index)) {
1793 if (TextUtils.isEmpty(cursor.getString(rruleCol))) {
1803 if (!TextUtils.isEmpty(cursor.getString(originalIdCol))) {
1808 boolean createSingleException = TextUtils.isEmpty(modValues.getAsString(Events.RRULE));
2097 if (TextUtils.isEmpty(syncId) || TextUtils.isEmpty(calendarI
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupFinal.java293 final boolean explicitForm = !(TextUtils.isEmpty(user) ||
294 TextUtils.isEmpty(incoming) || TextUtils.isEmpty(outgoing));
297 final boolean implicitForm = !TextUtils.isEmpty(password) && !explicitForm;
298 if (TextUtils.isEmpty(email) || !(explicitForm || implicitForm)) {
423 TextUtils.isEmpty(displayName) ? email : displayName);
561 if (!TextUtils.isEmpty(mSetupData.getAmProtocol()) &&
573 if (!TextUtils.isEmpty(amProtocol)) {
787 if (!TextUtils.isEmpty(existingAccountName)) {
1276 if (!TextUtils.isEmpty(descriptio
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java212 if (senderId == null || senderId.isEmpty()) {
219 if (calendars.isEmpty()) {
227 if (calendarsToAccounts.isEmpty()) {
248 if (accounts.isEmpty()) {
352 if (eventsToCalendars.isEmpty()) {
363 if (calendarsToAccounts.isEmpty()) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java309 boolean isEmpty = isEmpty();
310 if (mWasEmpty != isEmpty) {
311 if (isEmpty) {
322 mWasEmpty = isEmpty;
450 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim()));
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapStore.java407 if (encodedFolder.isEmpty()) continue;
418 if (!TextUtils.isEmpty(delimiter)) {
481 return TextUtils.isEmpty(mPathSeparator) && !TextUtils.isEmpty(mPathPrefix);
510 if (!TextUtils.isEmpty(mPathPrefix) && !TextUtils.isEmpty(mPathSeparator)) {

Completed in 596 milliseconds

1234567891011>>