Home
last modified time | relevance | path

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

12345678910>>...85

/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 …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DDvrScheduleManagerTest.java50 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_emptySchedule()
62 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_noConflict()
67 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict()
72 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict()
77 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict()
82 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict()
90 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 0)).isEmpty(); in testGetConflictingSchedules_noTuner()
113 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_conflict()
122 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict()
131 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java96 assertThat(mRecommender.recommendChannels()).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
97 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
98 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
99 assertThat(mRecommender.recommendChannels(3)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
100 assertThat(mRecommender.recommendChannels(4)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
101 assertThat(mRecommender.recommendChannels(5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
110 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
111 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
127 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
128 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataParser.java59 if (!TextUtils.isEmpty(name)) { in parseOneWordList()
64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME)) in parseOneWordList()
65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME)) in parseOneWordList()
66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME)) in parseOneWordList()
67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME)) in parseOneWordList()
68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME)) in parseOneWordList()
69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME)) in parseOneWordList()
70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME)) in parseOneWordList()
71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME)) in parseOneWordList()
72 || TextUtils.isEmpty(arguments.get(FORMATVERSION_FIELD_NAME))) { in parseOneWordList()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogEntryText.java62 if (row.getIsVoicemailCall() && !TextUtils.isEmpty(row.getVoicemailCallTag())) { in buildPrimaryText()
67 if (!TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildPrimaryText()
72 if (!TextUtils.isEmpty(row.getFormattedNumber())) { in buildPrimaryText()
200 return !row.getFormattedNumber().isEmpty() in buildSecondaryTextForBottomSheet()
224 if (TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildSecondaryTextForBottomSheet()
228 if (TextUtils.isEmpty(row.getFormattedNumber())) { in buildSecondaryTextForBottomSheet()
267 if (TextUtils.isEmpty(numberTypeLabel) in getNumberTypeLabel()
272 !TextUtils.isEmpty(row.getNumberAttributes().getGeolocation()) in getNumberTypeLabel()
275 if (!TextUtils.isEmpty(location)) { in getNumberTypeLabel()
288 " • ", Collections2.filter(components, (text) -> !TextUtils.isEmpty(text))); in joinSecondaryTextComponents()
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java228 TextUtils.isEmpty(displayName) in lookup()
257 if (!TextUtils.isEmpty(string)) { in getString()
271 boolean hasFirstName = !TextUtils.isEmpty(firstName); in generateDisplayName()
272 boolean hasLastName = !TextUtils.isEmpty(lastName); in generateDisplayName()
273 boolean hasCompanyName = !TextUtils.isEmpty(company); in generateDisplayName()
274 boolean hasName = !TextUtils.isEmpty(name); in generateDisplayName()
307 if (TextUtils.isEmpty(city) && !TextUtils.isEmpty(state)) { in getGeolocation()
309 } else if (!TextUtils.isEmpty(city) && !TextUtils.isEmpty(stateAbbr)) { in getGeolocation()
311 } else if (!TextUtils.isEmpty(country)) { in getGeolocation()
/packages/apps/Contacts/src/com/android/contacts/util/
DNameConverter.java85 if (!TextUtils.isEmpty(value)) { in appendQueryParameter()
109 if (!TextUtils.isEmpty(phoneticName)) { in parsePhoneticName()
140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName()
141 || !TextUtils.isEmpty(given)) { in buildPhoneticName()
143 if (!TextUtils.isEmpty(family)) { in buildPhoneticName()
146 if (!TextUtils.isEmpty(middle)) { in buildPhoneticName()
149 if (!TextUtils.isEmpty(given)) { in buildPhoneticName()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java119 .isEmpty()) {
145 if (!stopped.isEmpty()) {
148 if (!normal.isEmpty()) {
174 && !TextUtils.isEmpty(r.getSeasonNumber())
175 && !TextUtils.isEmpty(r.getEpisodeNumber())) {
179 if (!schedulesForUpdate.isEmpty()) {
185 if (schedules.isEmpty()) {
194 if (!seriesRecordingIds.isEmpty()) {
202 if (!seriesRecordings.isEmpty()) {
300 if (!mPendingSeriesRecordings.isEmpty()) { in resumeUpdate()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardControllerTest.java127 assertThat(conditionalCards.get(cardType)).isEmpty(); in getConditionalCards_hasEmptyConditionCards_shouldReturnThreeEmptyList()
141 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard()
152 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader()
154 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader()
169 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
180 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader()
182 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader()
193 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasThreeCardsAndExpanded_shouldGetThreeCardsWithFooter()
204 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader()
206 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java78 if (TextUtils.isEmpty(fsUuid)) { in onCreate()
89 if (TextUtils.isEmpty(volumeId) && TextUtils.isEmpty(diskId)) { in onCreate()
138 if (TextUtils.isEmpty(mVolumeId) && TextUtils.isEmpty(mDiskId)) { in onCreate()
142 if (!TextUtils.isEmpty(mVolumeId)) { in onCreate()
181 if (TextUtils.isEmpty(mVolumeId)) { in onCreateActions()
216 if (!TextUtils.isEmpty(mVolumeId)) { in onGuidedActionClicked()
233 if (!TextUtils.isEmpty(mDiskId)) { in checkForUnmount()
246 } else if (!TextUtils.isEmpty(mVolumeId)) { in checkForUnmount()
288 if (TextUtils.isEmpty(mFsUuid)) { in onCreate()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java57 TextUtils.isEmpty(recordedProgram.getLongDescription()) in createFromRecordedProgram()
74 TextUtils.isEmpty(program.getLongDescription()) in createFromProgram()
88 TextUtils.isEmpty(seriesRecording.getLongDescription()) in createFromSeriesRecording()
107 !TextUtils.isEmpty(scheduledRecording.getProgramDescription()) in createFromScheduledRecording()
111 if (TextUtils.isEmpty(description)) { in createFromScheduledRecording()
310 if (TextUtils.isEmpty(title)) { in createStyledTitle()
324 if (!TextUtils.isEmpty(mPosterArtUri) && !TextUtils.isEmpty(mThumbnailUri)) { in createImageUris()
327 } else if (!TextUtils.isEmpty(mPosterArtUri)) { in createImageUris()
331 } else if (!TextUtils.isEmpty(mThumbnailUri)) { in createImageUris()
336 if (TextUtils.isEmpty(mDetailsContent.mLogoImageUri) && channel != null) { in createImageUris()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java60 if (!mStack.isEmpty()) { in startState()
90 if (!mStack.isEmpty()) { in startStateForResult()
107 if (mStack.isEmpty()) { in createOptionsMenu()
123 if (!mStack.isEmpty()) getTopState().resume(); in resume()
129 if (!mStack.isEmpty()) getTopState().onPause(); in pause()
137 if (!mStack.isEmpty()) { in clearActivityResult()
147 if (!mStack.isEmpty()) { in itemSelected()
160 if (!mStack.isEmpty()) { in onBackPressed()
207 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null; in finishState()
260 while (!mStack.isEmpty()) { in destroy()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTransactionContextTest.java47 assertTrue(newDirty.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
48 assertTrue(newChanged.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
49 assertTrue(newInserted.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
50 assertTrue(newUpdated.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
51 assertTrue(newSync.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
74 assertTrue(context.getChangedRawContactIds().isEmpty()); in testRawContactInserted_affectsChangedContacts()
87 assertTrue(context.getChangedRawContactIds().isEmpty()); in testMarkRawContactChangedOrDeletedOrInserted_affectsChangedContacts()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerBasePreferenceControllerTest.java194 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_currentDefaultApp_nothingHappened()
195 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_currentDefaultApp_nothingHappened()
199 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_currentDefaultApp_nothingHappened()
200 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_currentDefaultApp_nothingHappened()
218 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_otherOptionNoMessage_otherOptionSelected()
219 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_otherOptionNoMessage_otherOptionSelected()
223 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isTrue(); in performClick_otherOptionNoMessage_otherOptionSelected()
224 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isFalse(); in performClick_otherOptionNoMessage_otherOptionSelected()
243 assertThat(TextUtils.isEmpty(currentDefault.getSummary())).isFalse(); in performClick_otherOptionHasMessage_dialogOpened()
244 assertThat(TextUtils.isEmpty(otherOption.getSummary())).isTrue(); in performClick_otherOptionHasMessage_dialogOpened()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java339 if (!toUpdate.isEmpty()) { in start()
342 if (!toDelete.isEmpty()) { in start()
419 } else if (recordedPrograms.isEmpty()) { in onRecordedProgramsLoadedFinished()
444 if (!addedRecordedPrograms.isEmpty()) { in onRecordedProgramsLoadedFinished()
447 if (!changedRecordedPrograms.isEmpty()) { in onRecordedProgramsLoadedFinished()
450 if (!oldRecordedPrograms.isEmpty()) { in onRecordedProgramsLoadedFinished()
465 if (recordedPrograms.isEmpty()) { in onRecordedProgramsLoadedFinished()
753 if (!schedulesToDelete.isEmpty()) { in removeScheduledRecording()
761 if (!schedulesNotToDelete.isEmpty()) { in removeScheduledRecording()
794 if (!toUpdate.isEmpty()) { in removeSeriesRecording()
[all …]
/packages/modules/ExtServices/src/android/ext/services/notification/
DSmartActionsHelper.java113 if (TextUtils.isEmpty(textReply)) { in suggest()
122 if (!TextUtils.isEmpty(conversationAction.getTextReply())) { in suggest()
141 if (!TextUtils.isEmpty(resultId) in suggest()
142 && !conversationActions.isEmpty() in suggest()
144 entry, !actions.isEmpty(), !replies.isEmpty())) { in suggest()
175 if (TextUtils.isEmpty(code)) { in createCopyCodeAction()
212 boolean hasAppGeneratedContextualActions = !notification.getContextualActions().isEmpty(); in suggestionsMightBeUsedInNotification()
221 hasAppGeneratedReplies = !ArrayUtils.isEmpty(freeformRemoteInput.getChoices()); in suggestionsMightBeUsedInNotification()
234 if (TextUtils.isEmpty(resultId)) { in reportActionsGenerated()
258 if (messages.isEmpty()) { in suggestConversationActions()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java171 boolean isEmpty = isPreferenceListEmpty(); in onCreateAdapter()
172 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter()
173 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter()
175 if (!isEmpty && mGridView != null) { in onCreateAdapter()
181 boolean isEmpty = isPreferenceListEmpty(); in onCreateAdapter()
182 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter()
183 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter()
185 if (!isEmpty && mGridView != null) { in onCreateAdapter()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkConfig.java127 if (!TextUtils.isEmpty(security) && !SECURITY_NO_PASSWORD.equals(security)) { in isValidConfig()
128 if (TextUtils.isEmpty(preSharedKey)) { in isValidConfig()
133 if (!hiddenSsid && TextUtils.isEmpty(ssid)) { in isValidConfig()
145 if (TextUtils.isEmpty(str)) { in escapeSpecialCharacters()
172 .append(TextUtils.isEmpty(mSecurity) ? empty : mSecurity) in getQrCode()
175 .append(TextUtils.isEmpty(mPreSharedKey) ? empty in getQrCode()
214 if (TextUtils.isEmpty(mSecurity)) { in isSupportWifiDpp()
250 if (TextUtils.isEmpty(mSecurity) || SECURITY_NO_PASSWORD.equals(mSecurity)) { in getWifiConfigurations()
312 if (TextUtils.isEmpty(input)) { in addQuotationIfNeeded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkConfig.java127 if (!TextUtils.isEmpty(security) && !SECURITY_NO_PASSWORD.equals(security)) { in isValidConfig()
128 if (TextUtils.isEmpty(preSharedKey)) { in isValidConfig()
133 if (!hiddenSsid && TextUtils.isEmpty(ssid)) { in isValidConfig()
145 if (TextUtils.isEmpty(str)) { in escapeSpecialCharacters()
172 .append(TextUtils.isEmpty(mSecurity) ? empty : mSecurity) in getQrCode()
175 .append(TextUtils.isEmpty(mPreSharedKey) ? empty in getQrCode()
214 if (TextUtils.isEmpty(mSecurity)) { in isSupportWifiDpp()
250 if (TextUtils.isEmpty(mSecurity) || SECURITY_NO_PASSWORD.equals(mSecurity)) { in getWifiConfigurations()
312 if (TextUtils.isEmpty(input)) { in addQuotationIfNeeded()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java155 if (!TextUtils.isEmpty(m.group(i))) { in newFromResponseString()
250 if (TextUtils.isEmpty(getInputValue)) { in makeCommand()
275 if (TextUtils.isEmpty(sParserFormat)) { in getResponseSet()
297 if (!TextUtils.isEmpty(defineString)) { in getResponseSet()
303 if (TextUtils.isEmpty(defineString)) { in getResponseSet()
309 if (TextUtils.isEmpty(defineString)) { in getResponseSet()
452 if (!TextUtils.isEmpty(featureName)) { in parseXml()
510 if (!TextUtils.isEmpty(key)) { in readCommandResultEntry()
550 if (!TextUtils.isEmpty(number)) { in readCommandEntry()
555 if (!TextUtils.isEmpty(number)) { in readCommandEntry()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DBufferManager.java475 if (!headMap.isEmpty()) { in getReadFile()
521 if (map.isEmpty()) { in maybeEvictChunk()
559 if (map.isEmpty()) { in maybeEvictChunk()
577 if (trackFormatList.isEmpty()) { in readTrackInfoFiles()
592 if (audios.isEmpty() && videos.isEmpty()) { in writeMetaFiles()
595 if (!audios.isEmpty()) { in writeMetaFiles()
606 if (!videos.isEmpty()) { in writeMetaFiles()
628 if (audios.isEmpty() && videos.isEmpty()) { in writeMetaFilesOnly()
631 if (!audios.isEmpty()) { in writeMetaFilesOnly()
634 if (!videos.isEmpty()) { in writeMetaFilesOnly()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DBufferManager.java471 if (!headMap.isEmpty()) { in getReadFile()
517 if (map.isEmpty()) { in maybeEvictChunk()
555 if (map.isEmpty()) { in maybeEvictChunk()
573 if (trackFormatList.isEmpty()) { in readTrackInfoFiles()
588 if (audios.isEmpty() && videos.isEmpty()) { in writeMetaFiles()
591 if (!audios.isEmpty()) { in writeMetaFiles()
602 if (!videos.isEmpty()) { in writeMetaFiles()
624 if (audios.isEmpty() && videos.isEmpty()) { in writeMetaFilesOnly()
627 if (!audios.isEmpty()) { in writeMetaFilesOnly()
630 if (!videos.isEmpty()) { in writeMetaFilesOnly()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java440 R.array.cmas_alert_extreme_channels_range_strings).isEmpty()); in updatePreferenceVisibility()
446 R.array.cmas_alerts_severe_range_strings).isEmpty()); in updatePreferenceVisibility()
452 R.array.cmas_amber_alerts_channels_range_strings).isEmpty()); in updatePreferenceVisibility()
460 .isEmpty()); in updatePreferenceVisibility()
469 R.array.emergency_alerts_channels_range_strings).isEmpty()); in updatePreferenceVisibility()
476 R.array.state_local_test_alert_range_strings).isEmpty()); in updatePreferenceVisibility()
481 R.string.emergency_alert_second_language_code).isEmpty()); in updatePreferenceVisibility()
504 !getContext().getString(R.string.alerts_header_summary).isEmpty()); in updatePreferenceVisibility()
602 R.array.required_monthly_test_range_strings).isEmpty() in isTestAlertsToggleVisible()
604 R.array.exercise_alert_range_strings).isEmpty() in isTestAlertsToggleVisible()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java99 Assert.isTrue(!participants.isEmpty()); in createAvatarUri()
121 Assert.isTrue(!avatarUris.isEmpty()); in joinAvatarUriToGroup()
164 if (!TextUtils.isEmpty(name) && isValidFirstCharacter(name)) { in createAvatarUri()
167 final String identifier = TextUtils.isEmpty(contactLookupKey) in createAvatarUri()
200 Assert.isTrue(!TextUtils.isEmpty(slotIdentifier) || in createAvatarUri()
201 !TextUtils.isEmpty(participantData.getProfilePhotoUri())); in createAvatarUri()
202 if (TextUtils.isEmpty(slotIdentifier)) { in createAvatarUri()
253 TextUtils.isEmpty(contactLookupKey) ? nameString : contactLookupKey; in fromName()
276 return path.isEmpty() ? null : path.get(0); in getAvatarType()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java65 if (!TextUtils.isEmpty(displayName)) { in getDisplayName()
74 if (!TextUtils.isEmpty(altDisplayName)) { in getDisplayName()
86 if (!TextUtils.isEmpty(phoneticName)) { in getPhoneticName()
101 if (!TextUtils.isEmpty(directoryDisplayName)) { in getAttribution()
103 } else if (!TextUtils.isEmpty(directoryType)) { in getAttribution()
130 if (TextUtils.isEmpty(company)) { in getCompany()
133 if (TextUtils.isEmpty(title)) { in getCompany()
146 if (!TextUtils.isEmpty(combined)) { in getCompany()
222 if (!TextUtils.isEmpty(textToDisplay)) { in setDataOrHideIfNone()

12345678910>>...85