Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java71 if (!TextUtils.isEmpty(formattedAddress)) { in split()
100 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinJaJp()
101 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinJaJp()
102 final boolean hasNeighborhood = !TextUtils.isEmpty(postal.neighborhood); in joinJaJp()
103 final boolean hasCity = !TextUtils.isEmpty(postal.city); in joinJaJp()
104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinJaJp()
105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); in joinJaJp()
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); in joinJaJp()
166 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinEnUs()
167 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinEnUs()
[all …]
DDataRowHandlerForStructuredName.java127 final boolean touchedUnstruct = !TextUtils.isEmpty(unstruct); in fixStructuredNameComponents()
207 if (!TextUtils.isEmpty(phoneticFamily) || !TextUtils.isEmpty(phoneticMiddle) in appendSearchableData()
208 || !TextUtils.isEmpty(phoneticGiven)) { in appendSearchableData()
210 if (!TextUtils.isEmpty(phoneticFamily)) { in appendSearchableData()
214 if (!TextUtils.isEmpty(phoneticMiddle)) { in appendSearchableData()
218 if (!TextUtils.isEmpty(phoneticGiven)) { in appendSearchableData()
DSearchIndexManager.java146 if (TextUtils.isEmpty(value)) { in appendContent()
179 if (TextUtils.isEmpty(token)) { in appendToken()
190 if (TextUtils.isEmpty(name)) { in appendName()
216 if (!TextUtils.isEmpty(namePart)) { in appendName()
292 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
301 if (!rawContactIds.isEmpty()) { in updateIndexForRawContacts()
302 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
419 if (!TextUtils.isEmpty(token)) { in splitIntoFtsTokens()
472 if (!TextUtils.isEmpty(normalizedToken)) { in getDigitsQueryBuilder()
506 if (!TextUtils.isEmpty(normalizedToken)) {
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhoneticNameEditorView.java106 if (!TextUtils.isEmpty(phoneticName)) { in parsePhoneticName()
137 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName()
138 || !TextUtils.isEmpty(given)) { in buildPhoneticName()
140 if (!TextUtils.isEmpty(family)) { in buildPhoneticName()
143 if (!TextUtils.isEmpty(middle)) { in buildPhoneticName()
146 if (!TextUtils.isEmpty(given)) { in buildPhoneticName()
218 return !TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in hasData()
219 || !TextUtils.isEmpty(given); in hasData()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTextureUploader.java39 while (!mFgTextures.isEmpty()) { in clear()
42 while (!mBgTextures.isEmpty()) { in clear()
73 if (deque.isEmpty()) break; in upload()
100 mIsQueued = !mFgTextures.isEmpty() || !mBgTextures.isEmpty(); in onGLIdle()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java59 if (!mStack.isEmpty()) { in startState()
85 if (!mStack.isEmpty()) { in startStateForResult()
101 if (mStack.isEmpty()) { in createOptionsMenu()
117 if (!mStack.isEmpty()) getTopState().resume(); in resume()
123 if (!mStack.isEmpty()) getTopState().onPause(); in pause()
131 if (!mStack.isEmpty()) { in clearActivityResult()
141 if (!mStack.isEmpty()) { in itemSelected()
154 if (!mStack.isEmpty()) { in onBackPressed()
201 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null; in finishState()
248 while (!mStack.isEmpty()) { in destroy()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java69 if (TextUtils.isEmpty(mName)) { in getDisplayName()
334 if (!TextUtils.isEmpty(rrule)) { in CalendarEventModel()
339 if (!TextUtils.isEmpty(emails)) { in CalendarEventModel()
342 if (!TextUtils.isEmpty(email) && email.contains("@")) { in CalendarEventModel()
356 if (TextUtils.isEmpty(mOwnerAccount)) { in isValid()
362 private boolean isEmpty() { in isEmpty() method in CalendarEventModel
441 if (TextUtils.isEmpty(attendee.mName)) { in addAttendees()
621 if (TextUtils.isEmpty(mLocation)) { in isUnchanged()
622 if (!TextUtils.isEmpty(originalModel.mLocation)) { in isUnchanged()
629 if (TextUtils.isEmpty(mTitle)) { in isUnchanged()
[all …]
/packages/apps/Browser/src/com/android/browser/search/
DSearchEngineInfo.java80 if (TextUtils.isEmpty(mSearchEngineData[FIELD_SEARCH_URI])) { in SearchEngineInfo()
87 if (!TextUtils.isEmpty(locale.getCountry())) { in SearchEngineInfo()
100 if (TextUtils.isEmpty(enc)) { in SearchEngineInfo()
137 return !TextUtils.isEmpty(suggestUri()); in supportsSuggestions()
157 if (TextUtils.isEmpty(templateUri)) { in getFormattedUri()
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionSettings.java67 if (!TextUtils.isEmpty(apnName)) { in TransactionSettings()
88 while (cursor.moveToNext() && TextUtils.isEmpty(mServiceCenter)) { in TransactionSettings()
101 if (TextUtils.isEmpty(portString)) { in TransactionSettings()
116 if (sawValidApn && TextUtils.isEmpty(mServiceCenter)) { in TransactionSettings()
160 if (TextUtils.isEmpty(types)) { in isValidApnType()
/packages/apps/Contacts/src/com/android/contacts/
DPhoneCallDetailsHelper.java98 if (!TextUtils.isEmpty(details.number) in setPhoneCallDetails()
109 if (TextUtils.isEmpty(details.name)) { in setPhoneCallDetails()
111 if (TextUtils.isEmpty(details.geocode) in setPhoneCallDetails()
127 views.labelView.setVisibility(TextUtils.isEmpty(labelText) ? View.GONE : View.VISIBLE); in setPhoneCallDetails()
136 if (TextUtils.isEmpty(details.name)) { in setCallDetailsHeader()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java111 if (!TextUtils.isEmpty(number)) { in DataAction()
135 if (!TextUtils.isEmpty(address)) { in DataAction()
149 if (!TextUtils.isEmpty(address)) { in DataAction()
157 if (!TextUtils.isEmpty(url)) { in DataAction()
183 if (!TextUtils.isEmpty(host) && !TextUtils.isEmpty(data)) { in DataAction()
212 if (!TextUtils.isEmpty(postalAddress)) { in DataAction()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DPhoneNumberHelper.java38 return !(TextUtils.isEmpty(number) in canPlaceCallsTo()
56 if (TextUtils.isEmpty(number)) { in getDisplayNumber()
71 if (TextUtils.isEmpty(formattedNumber)) { in getDisplayNumber()
DContactInfoHelper.java171 if (!TextUtils.isEmpty(countryIso)) { in queryContactInfoForPhoneNumber()
175 if (!TextUtils.isEmpty(numberE164)) { in queryContactInfoForPhoneNumber()
203 if (TextUtils.isEmpty(number)) { in formatPhoneNumber()
210 if (TextUtils.isEmpty(countryIso)) { in formatPhoneNumber()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordContents.java98 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
109 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
119 if (TextUtils.isEmpty(tmpShortcut)) { in apply()
125 if (TextUtils.isEmpty(newWord)) { in apply()
139 if (!TextUtils.isEmpty(newShortcut)) { in apply()
148 TextUtils.isEmpty(mLocale) ? null : Utils.createLocaleFromString(mLocale)); in apply()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DConstants.java98 final boolean validRelease = !TextUtils.isEmpty(Build.VERSION.RELEASE);
99 final boolean validId = !TextUtils.isEmpty(Build.ID);
101 && !TextUtils.isEmpty(Build.MODEL);
/packages/apps/Mms/src/com/android/mms/data/
DContactList.java20 if (!TextUtils.isEmpty(number)) { in getByNumbers()
32 if (!TextUtils.isEmpty(number)) { in getByNumbers()
75 if (entry != null && !TextUtils.isEmpty(entry.number)) { in getByIds()
145 if (!TextUtils.isEmpty(number) && !numbers.contains(number)) { in getNumbers()
/packages/apps/Email/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java111 public boolean isEmpty() { in isEmpty() method in UnboundedFifoByteBuffer
158 if (isEmpty()) { in get()
172 if (isEmpty()) { in remove()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeWithDataSet.java46 this.accountType = TextUtils.isEmpty(accountType) ? null : accountType; in AccountTypeWithDataSet()
47 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet; in AccountTypeWithDataSet()
62 if (TextUtils.isEmpty(dataSet)) { in hasData()
DAccountWithDataSet.java98 if (TextUtils.isEmpty(dataSet)) { in hasData()
138 if (!TextUtils.isEmpty(account.dataSet)) sb.append(account.dataSet); in addStringified()
161 TextUtils.isEmpty(array[2]) ? null : array[2]); in unstringify()
187 if (TextUtils.isEmpty(s)) { in unstringifyList()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailDisplayUtils.java101 if (!TextUtils.isEmpty(displayName) && !TextUtils.isEmpty(altDisplayName)) { in getDisplayName()
118 if (!TextUtils.isEmpty(phoneticName)) { in getPhoneticName()
132 String displayName = !TextUtils.isEmpty(directoryDisplayName) in getAttribution()
157 if (TextUtils.isEmpty(company)) { in getCompany()
160 if (TextUtils.isEmpty(title)) { in getCompany()
173 if (!TextUtils.isEmpty(combined)) { in getCompany()
231 if (!contactData.getStreamItems().isEmpty()) { in setSocialSnippet()
234 if (!firstEntry.getPhotos().isEmpty()) { in setSocialSnippet()
421 if (!TextUtils.isEmpty(textToDisplay)) { in setDataOrHideIfNone()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLocaleUtils.java112 if (TextUtils.isEmpty(referenceLocale)) { in getMatchLevel()
113 return TextUtils.isEmpty(testedLocale) ? LOCALE_FULL_MATCH : LOCALE_ANY_MATCH; in getMatchLevel()
227 if (TextUtils.isEmpty(str)) { in localeAndTimeStrToHashMap()
245 if (map == null || map.isEmpty()) { in localeAndTimeHashMapToStr()
DUserHistoryDictionaryBigramList.java91 public boolean isEmpty() { in isEmpty() method in UserHistoryDictionaryBigramList
92 return mBigramMap.isEmpty(); in isEmpty()
109 if (set.isEmpty()) { in removeBigram()
/packages/apps/Browser/src/com/android/browser/
DIntentHandler.java106 if (urlData.isEmpty()) { in onNewIntent()
124 if (!TextUtils.isEmpty(urlData.mUrl) && in onNewIntent()
175 if (!urlData.isEmpty() in onNewIntent()
219 if (pairs != null && !pairs.isEmpty()) { in getUrlDataFromIntent()
250 if (TextUtils.isEmpty(source)) { in getUrlDataFromIntent()
298 if (TextUtils.isEmpty(url)) return false; in handleWebSearchRequest()
366 boolean isEmpty() { in isEmpty() method in IntentHandler.UrlData
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java66 if (previous.isEmpty() || !previous.equals(item.account)) { in onChanged()
80 if (previous.isEmpty() || !previous.equals(item.account)) { in onChanged()
155 public boolean isEmpty() { in isEmpty() method in SectionedAlbumDataAdapter
156 return mAlbumData.isEmpty(); in isEmpty()
/packages/apps/Mms/apptests/src/com/android/mms/tests/
DSmsSendIntentTestActivity.java108 if (TextUtils.isEmpty(recipient)) { in sendMessageUnlockScreen()
114 if (TextUtils.isEmpty(message)) { in sendMessageUnlockScreen()
138 if (TextUtils.isEmpty(recipient)) { in sendMessage()
144 if (TextUtils.isEmpty(message)) { in sendMessage()

12345678910>>...23