Home
last modified time | relevance | path

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

12345

/development/samples/TtsEngine/src/com/example/android/ttsengine/
DCheckVoiceData.java48 if (checkLanguages.isEmpty()) { in onCreate()
69 if (!checkLanguages.isEmpty() && available.isEmpty()) { in onCreate()
72 } else if (!unavailable.isEmpty()) { in onCreate()
105 if (!TextUtils.isEmpty(lang)) { in getCheckVoiceDataFor()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java126 if (!TextUtils.isEmpty(mFullName)) { in getBestName()
128 } else if (TextUtils.isEmpty(mFirstName)) { in getBestName()
144 if (!TextUtils.isEmpty(mFirstName)) { in toJSONObject()
147 if (!TextUtils.isEmpty(mLastName)) { in toJSONObject()
150 if (!TextUtils.isEmpty(mCellPhone)) { in toJSONObject()
153 if (!TextUtils.isEmpty(mOfficePhone)) { in toJSONObject()
156 if (!TextUtils.isEmpty(mHomePhone)) { in toJSONObject()
159 if (!TextUtils.isEmpty(mEmail)) { in toJSONObject()
/development/tools/winscope/src/flickerlib/
DObjectFormatter.ts110 const isEmpty = value.isEmpty === true;
111 if (!isEmpty || this.displayDefaults) {
122 const isEmpty = Object.entries(childObj).length == 0 || childObj.isEmpty
123 if (!isEmpty || this.displayDefaults) {
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java113 if (!TextUtils.isEmpty(mUsername)) mUsernameEdit.setText(mUsername); in onCreate()
153 if (TextUtils.isEmpty(mUsername) || TextUtils.isEmpty(mPassword)) { in handleLogin()
262 if (TextUtils.isEmpty(mUsername)) { in getMessage()
268 if (TextUtils.isEmpty(mPassword)) { in getMessage()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add()
194 if (!mEventBuffer.isEmpty()) { in getNextEvent()
219 if (!mEventBuffer.isEmpty()) { in waitNextEvent()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add()
194 if (!mEventBuffer.isEmpty()) { in getNextEvent()
219 if (!mEventBuffer.isEmpty()) { in waitNextEvent()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DAddRssItem.java40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java81 .filter(s -> !s.isEmpty()) in onCreate()
121 final boolean hasIncompleteProxyConfigs = proxyHost.isEmpty() != proxyPort.isEmpty(); in checkProxyConfigs()
129 final boolean hasCorrectPackageNames = packageNames.isEmpty() || in checkPackages()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java99 if (!TextUtils.isEmpty(text)) { in onInitializeAccessibilityNodeInfo()
111 if (!TextUtils.isEmpty(text)) { in onPopulateAccessibilityEvent()
167 if (!TextUtils.isEmpty(text)) { in tryInstallAccessibilityDelegate()
179 if (!TextUtils.isEmpty(text)) { in tryInstallAccessibilityDelegate()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactOperations.java135 if (!TextUtils.isEmpty(fullName)) { in addName()
139 if (!TextUtils.isEmpty(firstName)) { in addName()
143 if (!TextUtils.isEmpty(lastName)) { in addName()
162 if (!TextUtils.isEmpty(email)) { in addEmail()
180 if (!TextUtils.isEmpty(phone)) { in addPhone()
288 if (TextUtils.isEmpty(fullName)) { in updateName()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java194 if (size > 0 && !mAvailableInputBuffers.isEmpty()) { in writeSample()
249 if (!mAvailableInputBuffers.isEmpty()) { in writeSample()
285 if (!mAvailableOutputBuffers.isEmpty()) { in peekSample()
311 if (!mAvailableOutputBuffers.isEmpty()) { in popSample()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java194 if (size > 0 && !mAvailableInputBuffers.isEmpty()) { in writeSample()
249 if (!mAvailableInputBuffers.isEmpty()) { in writeSample()
285 if (!mAvailableOutputBuffers.isEmpty()) { in peekSample()
311 if (!mAvailableOutputBuffers.isEmpty()) { in popSample()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java194 if (size > 0 && !mAvailableInputBuffers.isEmpty()) { in writeSample()
249 if (!mAvailableInputBuffers.isEmpty()) { in writeSample()
285 if (!mAvailableOutputBuffers.isEmpty()) { in peekSample()
311 if (!mAvailableOutputBuffers.isEmpty()) { in popSample()
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java73 if (!TextUtils.isEmpty(title)) { in init()
184 } else if (!TextUtils.isEmpty(mSubtypeEnablerTitle)) { in updateSubtypeEnabler()
188 if (!TextUtils.isEmpty(summary)) { in updateSubtypeEnabler()
/development/tools/idegen/src/com/android/idegen/
DMakeFileParser.java97 if (!trimmed.isEmpty() && trimmed.charAt(0) == '#') { in \x21trimmed.isEmpty()
102 if (!trimmed.isEmpty() && trimmed.charAt(trimmed.length() - 1) == '\\') { in trimmed.length()
162 if (value.isEmpty()) { in value.isEmpty()
221 if (rawValue.isEmpty()) { in rawValue.isEmpty()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DItemAddFragment.java85 if (TextUtils.isEmpty(key)) { in addItem()
90 if (TextUtils.isEmpty(value)) { in addItem()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineRequestHelper.java42 && !inlineRequest.getInlinePresentationSpecs().isEmpty()) { in getInlineSuggestionsRequest()
110 if (!TextUtils.isEmpty(title)) { in createSlice()
113 if (!TextUtils.isEmpty(subtitle)) { in createSlice()
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/
DUtils.java52 if (acceptedItems.isEmpty()) { in partition()
55 if (remainingItems.isEmpty()) { in partition()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java327 if (mPlayingQueue == null || mPlayingQueue.isEmpty()) { in onPlay()
335 if (mPlayingQueue != null && !mPlayingQueue.isEmpty()) { in onPlay()
344 if (mPlayingQueue != null && !mPlayingQueue.isEmpty()) { in onSkipToQueueItem()
373 if (mPlayingQueue != null && !mPlayingQueue.isEmpty()) { in onPlayFromMediaId()
458 if (TextUtils.isEmpty(query)) { in onPlayFromSearch()
470 if (mPlayingQueue != null && !mPlayingQueue.isEmpty()) { in onPlayFromSearch()
658 if (mPlayingQueue == null || mPlayingQueue.isEmpty()) { in getAvailableActions()
693 if (mPlayingQueue != null && !mPlayingQueue.isEmpty()) { in onCompletion()
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DDecoder.java45 boolean isEmpty() { in isEmpty() method in Decoder
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java135 if (TextUtils.isEmpty(query)) { in setSearchQuery()
353 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; in onCreateOptionsMenu()
390 if (!TextUtils.isEmpty(mSearchTerm)) { in onCreateOptionsMenu()
424 if (!TextUtils.isEmpty(mSearchTerm)) { in onSaveInstanceState()
499 if (mIsTwoPaneLayout && !TextUtils.isEmpty(mSearchTerm) && mSearchQueryChanged) { in onLoadFinished()
683 if (!TextUtils.isEmpty(mSearchTerm)) { in indexOfSearchQuery()
737 if (TextUtils.isEmpty(mSearchTerm)) { in bindView()
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson5/
DReceiverActivity.java57 if (!TextUtils.isEmpty(senderMessage)) { in onCreate()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java128 while (!TextUtils.isEmpty(line = reader.readLine())) { in handle()
213 if (TextUtils.isEmpty(fileName)) { in detectMimeType()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DContentItem.java66 if (!TextUtils.isEmpty(mContentAssetFilePath)) { in getContentUri()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DDbQueryUtils.java66 if (!TextUtils.isEmpty(clause)) { in concatenateClausesWithOperation()

12345