/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RunInLocale.java | 40 final boolean needsChange = (newLocale != null && !newLocale.equals(oldLocale)); 44 res.updateConfiguration(conf, null); 50 res.updateConfiguration(conf, null);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
EnglishInputProcessor.java | 31 if (null == inputContext || null == event) return false; 35 CharSequence prefix = null; 61 String insert = null; 74 if (null != insert && realAction)
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarCache.java | 62 * This exception is thrown when the cache encounter a null key or a null database reference 87 return null; 137 return null; 143 * @param key the key (must not be null) 144 * @param value the value (can be null) 145 * @throws CacheException when key is null 165 * @param db the database (must not be null) 166 * @param key the key (must not be null) 168 * @throws CacheException when key or database are null [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
IncludeRule.java | 35 if (include != null) { 38 new PropertySettingNodeHandler(null, ATTR_LAYOUT, 39 include.length() > 0 ? include : null));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasAlternateSelection.java | 32 * given list of alternate views. Both cannot be null. 35 assert originatingView != null; local 36 assert altViews != null; local 42 /** Returns the list of alternate views. Cannot be null. */ 47 /** Returns the originating view. Cannot be null. */ 57 return mIndex >= 0 ? mAltViews.get(mIndex) : null;
|
RenderPreview.java | 155 new SoftReference<ResourceResolver>(null); 167 /** If non null, points to a separate file containing the source */ 179 * markup, etc. If non null, contains the error message (or a blank string 180 * if not known), and null if the render was successful. 211 assert mConfiguration.getDevice() != null 212 && mConfiguration.getDeviceState() != null 213 && mConfiguration.getLocale() != null 214 && mConfiguration.getTarget() != null 215 && mConfiguration.getTheme() != null 216 && mConfiguration.getFullConfig() != null 636 assert configuredFrameworkRes != null; local 1068 assert configState != null && chooserState != null; local 1075 assert configDevice != null && chooserDevice != null; local 1085 assert configDevice != null && chooserDevice != null; local 1092 assert configState != null && chooserState != null; local 1102 assert configLocale != null && chooserLocale != null; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
ChangeViewAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
ExtractIncludeAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
ExtractStyleAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
UnwrapAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
UseCompoundDrawableAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
VisualRefactoringAction.java | 74 mTextSelection = null; 75 mTreeSelection = null; 76 mFile = null; 78 IEditorPart editor = null; 95 action.setEnabled((mTextSelection != null || mTreeSelection != null) 96 && mFile != null && mDelegate != null); 106 * Returns the active {@link IFile} (hopefully matching our selection) or null. 114 if (editor != null) { [all...] |
WrapInAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sourcelookup/ |
AdtSourceLookupDirector.java | 50 if (projectName != null && projectName.length() > 0) { 52 if (project != null && project.isOpen()) { 54 if (state == null) { 59 if (target == null) { 64 if (path == null) { 69 if (javaProject != null && javaProject.isOpen()) { 71 IClasspathEntry androidEntry = null; 80 if (androidEntry != null) { 82 if (sourceAttachmentPath != null) { 84 if (androidSrc != null && androidSrc.trim().length() > 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
EclipseUiHelper.java | 50 if (win != null) { 52 if (page != null) { 55 null /* secondaryId */,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
TextureImageDetailsProvider.java | 46 return getTextureImageProperty(state) != null; 65 mImageCanvas = null; 76 if (imageProperty == null) { 81 if (texturePath != null) { 99 * null otherwise. 108 if (img != null) { 117 * {@link GLStateType#PER_TEXTURE_LEVEL_STATE} or one of its children. Returns null otherwise. 120 if (state != null && state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { 124 if (state == null || state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { 125 return null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextActionTest.java | 29 checkWord("^foo", null); 30 checkWord("'foo'^", null); 31 checkWord("^@bogus", null); 32 checkWord("@bo^gus", null); 33 checkWord("bogus@^", null); 47 checkWord("\n@string^name5(", null); 48 checkWord("\n@strings^/name5(", null); 56 checkClassName("^foo", null); 57 checkClassName("<^foo>", null); 58 checkClassName("'foo.bar.Baz'^", null); [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewNode.java | 96 if (p != null) { 108 if (p != null) { 119 if (pattern == null || pattern.pattern().length() == 0) { 128 index = parent == null ? 0 : parent.children.indexOf(this); 143 if (obj == null) { 150 return !(this.name != other.name && (this.name == null || !this.name.equals(other.name))); 161 hash = 67 * hash + (this.name != null ? this.name.hashCode() : 0); 177 if (obj == null) { 184 if (this.name != other.name && (this.name == null || !this.name.equals(other.name))) { 187 return !(this.value != other.value && (this.value == null || !this.value.equals(other.value))) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 154 private MediaThumbRequest mCurrentThumbRequest = null; 176 "CASE WHEN grouporder=2 THEN NULL ELSE album END END AS data2", 180 "NULL AS itemorder" // We should be sorting by the artist/album/title keys, but that 205 " ELSE NULL END END END) AS " + SearchManager.SUGGEST_COLUMN_TEXT_2, 257 if (database != null) { 284 Audio.Media.getContentUri(EXTERNAL_VOLUME), null); 286 Images.Media.getContentUri(EXTERNAL_VOLUME), null); 288 Video.Media.getContentUri(EXTERNAL_VOLUME), null); 290 Files.getContentUri(EXTERNAL_VOLUME), null); 322 if (mtpService != null) { [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
VoicemailContractTest.java | 57 mStatusProvider.delete(mStatusContentUri, null, null); 58 mVoicemailProvider.delete(mVoicemailContentUri, null, null); 103 new String[] {insertCallsNumber}, null, null); 124 mVoicemailProvider.update(uri, value, null, null); 126 Voicemails._ID + " = " + id, null, null, null) [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MaterialLoader.java | 90 String path = null; 103 if (path == null){ 109 String mips = null; 110 String type = null; 125 if (type != null && type.equals("0")) 128 if (type != null && type.equals("cubic")){ 145 if (texName != null){ 147 texName = null; 194 texName = null; 201 if (textures[texUnit].getImage() != null){ [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPResponse.java | 77 String retval = null; 312 if (this.statusLine == null) 334 *@throws IllegalArgumentException if null string 337 if (reasonPhrase == null) 339 if (this.statusLine == null) 348 if (statusLine == null || statusLine.getReasonPhrase() == null) 395 if (statusLine != null) { 408 if (getCSeq() == null) { 411 if (getTo() == null) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 130 if (msgBuffer == null || msgBuffer.length == 0) 131 return null; 141 // Array contains only control char, return null. 142 return null; 146 String currentLine = null; 147 String currentHeader = null; 149 SIPMessage message = null; 176 if (currentHeader != null && message != null) { 187 if (currentHeader == null) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpURLConnectionImpl.java | 56 * connection} field on this class for null/non-null to determine of an instance 95 if (httpEngine != null) { 118 return null; 120 return null; 125 * Returns the value of the field at {@code position}. Returns null if there 132 return null; 138 * null if there is no such field. If the field has multiple values, the 144 return fieldName == null ? rawHeaders.getStatusLine() : rawHeaders.get(fieldName); 146 return null; [all...] |