/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | RawContact.java | 126 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/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | CheckVoiceData.java | 48 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/authenticator/ |
D | AuthenticatorActivity.java | 113 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/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactOperations.java | 135 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/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnClient.java | 81 .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/ |
D | CustomViewAccessibilityActivity.java | 99 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/browseable/MidiScope/src/com.example.android.common.midi/ |
D | EventScheduler.java | 158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() 194 if (!mEventBuffer.isEmpty()) { in getNextEvent() 219 if (!mEventBuffer.isEmpty()) { in waitNextEvent()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | EventScheduler.java | 158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() 194 if (!mEventBuffer.isEmpty()) { in getNextEvent() 219 if (!mEventBuffer.isEmpty()) { in waitNextEvent()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 194 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/ |
D | MediaCodecWrapper.java | 194 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/ |
D | MediaCodecWrapper.java | 194 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/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 327 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/tools/idegen/src/com/android/idegen/ |
D | MakeFileParser.java | 97 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/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactsListFragment.java | 135 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/SoftKeyboard/src/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 73 if (!TextUtils.isEmpty(title)) { in init() 184 } else if (!TextUtils.isEmpty(mSubtypeEnablerTitle)) { in updateSubtypeEnabler() 188 if (!TextUtils.isEmpty(summary)) { in updateSubtypeEnabler()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | AddRssItem.java | 40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | ItemAddFragment.java | 85 if (TextUtils.isEmpty(key)) { in addItem() 90 if (TextUtils.isEmpty(value)) { in addItem()
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/ |
D | MainActivity.java | 127 if (!TextUtils.isEmpty(delay)) { in scheduleJob() 131 if (!TextUtils.isEmpty(deadline)) { in scheduleJob() 147 if (TextUtils.isEmpty(workDuration)) { in scheduleJob()
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | SimpleWebServer.java | 128 while (!TextUtils.isEmpty(line = reader.readLine())) { in handle() 213 if (TextUtils.isEmpty(fileName)) { in detectMimeType()
|
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 279 } else if (mAllConnectedNodes.isEmpty()) { in verifyNodeAndUpdateUI() 284 } else if (mWearNodesWithApp.isEmpty()) { in verifyNodeAndUpdateUI() 324 if (!nodesWithoutApp.isEmpty()) { in openPlayStoreOnWearDevicesWithoutApp()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | SessionManager.java | 64 return mPlaylist.isEmpty() ? null : mPlaylist.get(0); in getCurrentItem() 88 if (mPlaylist.isEmpty()) { in updateStatus() 405 if (!mPlaylist.isEmpty()) { in toString()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsMessagingDemo.java | 98 if (TextUtils.isEmpty(recipientTextEdit.getText())) { in onCreate() 104 if (TextUtils.isEmpty(contentTextEdit.getText())) { in onCreate()
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ResponderService.java | 121 String line = TextUtils.isEmpty(text) ? mLastResponse : text + "\n" + mLastResponse; in processIncoming() 125 if (!TextUtils.isEmpty(text)) { in processIncoming()
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | RecipeListAdapter.java | 146 public boolean isEmpty() { in isEmpty() method in RecipeListAdapter 147 return mItems.isEmpty(); in isEmpty()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | PhoneMainActivity.java | 109 if (entries != null && !entries.isEmpty()) { in showTrack() 125 if (coordinates == null || coordinates.isEmpty()) { in showTrack()
|