/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 48 if (mRenderThread != null) { 59 if (mRenderThread != null) { 61 mRenderThread = null; 80 if (mRenderThread != null) { 81 mRenderThread.setSurface(null); 124 return null; 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 183 mEglSurface = null; 196 if (mEgl == null) { [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FilterGraph.java | 57 private Filter[] mAllFilters = null; 65 /** The parent graph of this graph, or null it this graph is a root graph. */ 112 * @param value the value of the variable or null if no value is to be set yet. 116 if (getFilter(name) != null) { 121 if (value != null) { 152 if (sourceFilter == null) { 154 } else if (targetFilter == null) { 177 * @return the filter with the specified name, or null if no such filter exists. 190 return buildWithParent(null); 200 if (parentGraph == null) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
FontLoader.java | 100 // return null below 102 // return null below 104 // return null below 106 // return null below 109 return null; 144 * @return the font object or null if no match could be found. 149 if (family == null) { 193 private FontInfo mFontInfo = null; 216 if (mFontList != null) { 217 mFontInfo = null; [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 86 // When null, we don't need to do the verification. 99 mExportTestResolver = null; 100 mInputStream = null; 139 if (inputStream == null) { 146 if (mExportTestResolver != null) { 148 } else if (mInputStream != null) { 158 if (mInputStream != null) { 168 if (mPropertyNodesVerifier == null) { 211 if (mLineVerifier == null) { 221 if (mContentValuesVerifier == null) { [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 82 * should be found and written to, or {@code null} to use the default 87 if (definingContext == null) { 88 throw new NullPointerException("definingContext == null"); 91 if (dexPath == null) { 92 throw new NullPointerException("dexPath == null"); 95 if (optimizedDirectory != null) { 118 dexElementsSuppressedExceptions = null; 142 return splitPaths(path, null, false); 169 * or {@code null}, in which case it is ignored. If both strings 170 * are empty or {@code null}, or all elements get pruned out, the [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 119 if (factoryClassName == null) { 120 throw new DatatypeConfigurationException("factoryClassName == null"); 122 if (classLoader == null) { 126 Class<?> type = classLoader != null 165 * @throws NullPointerException if <code>lexicalRepresentation</code> is <code>null</code>. 215 * <p>A <code>null</code> value indicates that field is not set.</p> 278 BigInteger realYears = (years != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) years) : null; 281 BigInteger realMonths = (months != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) months) : null; 284 BigInteger realDays = (days != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) days) : null; 287 BigInteger realHours = (hours != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) hours) : null; [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.java | 114 static Hashtable<String, String> props = null; 122 InputStream in = null; 135 if (in == null) { 144 if (in != null) { 155 if (value != null) { 160 if (value != null) { 165 if (value != null) { 169 if (value != null) { 174 if (value != null) { 179 if (value != null) { [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 48 if (mRenderThread != null) { 59 if (mRenderThread != null) { 61 mRenderThread = null; 80 if (mRenderThread != null) { 81 mRenderThread.setSurface(null); 124 return null; 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 183 mEglSurface = null; 196 if (mEgl == null) { [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
BlockingGLTextureView.java | 48 if (mRenderThread != null) { 59 if (mRenderThread != null) { 61 mRenderThread = null; 80 if (mRenderThread != null) { 81 mRenderThread.setSurface(null); 124 return null; 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 183 mEglSurface = null; 196 if (mEgl == null) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 92 UserDictionary.Words.LOCALE + " is null"; 97 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 127 null == intent ? null : intent.getStringExtra("locale"); 131 null == arguments ? null : arguments.getString("locale"); 134 if (null != localeFromArguments) { 136 } else if (null != localeFromIntent) { 139 locale = null; 163 // - null. This means we want a cursor for the current locale, whatever this is 240 args, R.string.user_dict_settings_add_dialog_title, null, null, 0); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
WrapInWizard.java | 127 if (message != null) { 134 String type = selectionIndex != -1 ? mClassNames.get(selectionIndex).getFirst() : null; 135 if (type == null) { 141 setErrorMessage(null); 156 refactoring.setInitializedAttributes(null); 171 if (oldType != null && oldType.equals(FQCN_RADIO_BUTTON)) { 174 classNames.add(Pair.of(RADIO_GROUP, (ViewElementDescriptor) null)); 177 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); 186 classNames.add(Pair.of(view, (ViewElementDescriptor) null)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
NewItemSelectionDialog.java | 57 * Can be null -- which means new items must be created in the root_node. */ 60 * to the constructor if not null */ 64 * of the same type in the root will be displayed. Can be null. */ 82 * @param descriptorFilters The element allows at the root of the tree. Can be null. 83 * @param ui_node The selected node, or null if none is selected. 96 if (ui_node != null && ui_node != mLocalRootNode) { 101 if (parent != null && parent != mLocalRootNode) { 118 null); // exception 124 null); // exception 130 null); // exceptio [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 52 private IPreferenceStore mPrefStore = null; 55 private ReadOnlyFieldEditor mDefaultKeyStore = null; 56 private LabelField mDefaultFingerprintMd5 = null; 57 private LabelField mDefaultFingerprintSha1 = null; 60 private KeystoreFieldEditor mCustomKeyStore = null; 61 private LabelField mCustomFingerprintMd5 = null; 62 private LabelField mCustomFingerprintSha1 = null; 104 defaultFingerprints != null ? defaultFingerprints.md5 : "", 108 defaultFingerprints != null ? defaultFingerprints.sha1 : "", 116 Fingerprints customFingerprints = null; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CommandParamsFactory.java | 35 private static CommandParamsFactory sInstance = null; 37 private CommandParams mCmdParams = null; 39 private RilMessageDecoder mCaller = null; 61 if (sInstance != null) { 64 if (fh != null) { 67 return null; 76 CommandDetails cmdDet = null; 78 if (ctlvs != null) { 82 if (ctlvCmdDet != null) { 95 if (berTlv == null) { [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
Fragment.java | 89 if (mInstance != null) { 93 if (mArguments != null) { 99 if (mSavedFragmentState != null) { 176 // Non-null if the fragment's view hierarchy is currently animating away, 181 // If mAnimatingAway != null, this is the state we should move to once the 315 if (loader != null && mState != null) { 333 return new SavedState(in, null); 373 * Like {@link #instantiate(Context, String, Bundle)} but with a null 377 return instantiate(context, fname, null); [all...] |
/cts/tests/src/android/app/cts/ |
ActivityTestsBase.java | 41 private RuntimeException mResultStack = null; 47 mIntermediates = null; 52 mIntermediates = null; 64 if (mIntermediates != null) { 70 if (mIntermediates != null) { 76 if (mIntermediates != null) { 82 if (mIntermediates != null) { 106 finishWithResult(Activity.RESULT_OK, null); 146 return waitForResultOrThrow(timeoutMs, null); 153 if (mResultStack != null) { [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoItem.java | 37 /** {@code non-null;} the code this item represents */ 49 if (code == null) { 50 throw new NullPointerException("code == null"); 76 encoded = encode(addedTo.getFile(), null, null, null, false); 96 * @param file {@code non-null;} the file to use for referencing other sections 97 * @param out {@code non-null;} where to annotate to 98 * @param prefix {@code null-ok;} prefix to attach to each line of output 101 encode(file, prefix, null, out, false) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
Merger.java | 38 * @param locals1 {@code non-null;} a locals array 39 * @param locals2 {@code non-null;} another locals array 40 * @return {@code non-null;} the result of merging the two locals arrays 50 OneLocalsArray result = null; 66 if (result == null) { 70 if (resultType == null) { 78 if (result == null) { 90 * @param stack1 {@code non-null;} a stack 91 * @param stack2 {@code non-null;} another stack 92 * @return {@code non-null;} the result of merging the two stack [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoItem.java | 34 /** {@code non-null;} the code this item represents */ 46 if (code == null) { 47 throw new NullPointerException("code == null"); 73 encoded = encode(addedTo.getFile(), null, null, null, false); 93 * @param file {@code non-null;} the file to use for referencing other sections 94 * @param out {@code non-null;} where to annotate to 95 * @param prefix {@code null-ok;} prefix to attach to each line of output 98 encode(file, prefix, null, out, false) [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
Insn.java | 31 /** {@code non-null;} opcode */ 34 /** {@code non-null;} source position */ 37 /** {@code null-ok;} spec for the result of this instruction, if any */ 40 /** {@code non-null;} specs for all the sources of this instruction */ 46 * @param opcode {@code non-null;} the opcode 47 * @param position {@code non-null;} source position 48 * @param result {@code null-ok;} spec for the result, if any 49 * @param sources {@code non-null;} specs for all the sources 53 if (opcode == null) { 54 throw new NullPointerException("opcode == null"); [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 58 if (fm.findFragmentById(android.R.id.content) == null) { 71 // If non-null, this is the current filter the user has provided. 86 android.R.layout.simple_list_item_1, null, 96 getLoaderManager().initLoader(0, null, this); 106 if (searchView != null) { 114 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; 117 if (mCurFilter == null && newFilter == null) { 120 if (mCurFilter != null && mCurFilter.equals(newFilter)) { 124 getLoaderManager().restartLoader(0, null, CursorLoaderListFragment.this) [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbDevice.java | 54 UsbEndpoint epOut = null; 55 UsbEndpoint epIn = null; 67 if (epOut == null || epIn == null) { 127 return null; 179 if (socket == null) { 199 AdbMessage currentData = null; 210 if (request == null) { 215 request.setClientData(null); 216 AdbMessage messageToDispatch = null; [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosPrincipalTest.java | 51 // null value is invalid 53 new KerberosPrincipal(null); 54 fail("No expected IllegalArgumentException for null"); 61 "bbb@a\0a.com",// null char 92 // null value is invalid 94 new KerberosPrincipal(null, KerberosPrincipal.KRB_NT_UNKNOWN); 95 fail("No expected IllegalArgumentException for null"); 133 // test: default realm is unset (has null value) 135 .getName() }, null, true); 139 .getName() }, null, true) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleEntryTest.java | 34 new AbstractMap.SimpleEntry(null,null); 45 map.put(null, null); 51 new AbstractMap.SimpleEntry(null); 62 entry = new AbstractMap.SimpleEntry(null,null); 69 entry = new AbstractMap.SimpleEntry(null,null); 78 entry = new AbstractMap.SimpleEntry(null,null) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreSpiTest.java | 67 * engineGetEntry(..) returns null entry; 80 ksSpi.engineStore(null); 83 assertNull("Not null entry", ksSpi.engineGetEntry("aaa", null)); 84 assertNull("Not null entry", ksSpi.engineGetEntry(null, pPar)); 85 assertNull("Not null entry", ksSpi.engineGetEntry("aaa", pPar)); 88 ksSpi.engineSetEntry("", null, null); 96 new MyCertificate("type", new byte[0])), null); [all...] |