/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoPage.java | 134 // mMediaSet could be null if there is no KEY_MEDIA_SET_PATH supplied. 149 private MediaItem mCurrentPhoto = null; 276 if (mCurrentPhoto == message.obj && mBottomControls != null) { 284 if (mAppBridge != null) { 320 if (mAppBridge != null) mPhotoView.setFilmMode(false); 325 if (mAppBridge == null && mMediaSet.getTotalMediaItemCount() > 1) { 340 if (!mPhotoView.getFilmMode() && mCurrentPhoto != null 348 mCurrentPhoto = null; 360 Intent panoramaIntent = null; 388 Path itemPath = itemPathString != null [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockService.java | 107 // is severed. One exception is that mDevice could be null if the service 130 if (manager == null) { 138 if (mProfileManager == null) { 153 mRunnable = null; 154 if (mDialog != null) { 156 mDialog = null; 158 if (mProfileManager != null) { 161 if (mServiceLooper != null) { 165 mLocalAdapter = null; 166 mDeviceManager = null; [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
KeyManagerFactory1Test.java | 47 private static String defaultAlgorithm = null; 49 private static String defaultProviderName = null; 51 private static Provider defaultProvider = null; 63 if (defaultAlgorithm != null) { 66 DEFSupported = (defaultProvider != null); 68 : null); 78 return null; 90 return null; 104 if (defaultAlgorithm == null) { 105 assertNull("DefaultAlgorithm must be null", def) [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ChildProcessLauncher.java | 91 return null; 94 assert mChildProcessConnections[slot] == null; local 105 int occupier = mChildProcessConnections[slot] == null ? 111 mChildProcessConnections[slot] = null; 173 return null; 186 if (connection != null) { 193 if (connection == null) { 207 // A pre-allocated and pre-bound connection ready for connection setup, or null. 208 private static ChildProcessConnection sSpareSandboxedConnection = null; 242 * @return The IChildProcessService or null if the service no longer exists [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
AccessibilityInjector.java | 139 js != null && mContentViewCore.isAlive()) { 141 mContentViewCore.evaluateJavaScript(js, null); 171 mContentViewCore.getContentSettings() == null || 202 mContentViewCore.evaluateJavaScript(js, null); 231 if (mTextToSpeech != null) mTextToSpeech.stop(); 232 if (mVibrator != null) mVibrator.cancel(); 265 * @param arguments The action arguments, or {@code null} if no arguments. 275 if (context != null) { 277 if (mTextToSpeech == null) { 284 if (mVibrator == null && mHasVibratePermission) [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 58 * @param token Auth token, or null if no token is available (bad credentials, 86 if (sAccountManagerHelper == null) { 127 * Returns the account if it exists, null otherwise. 136 return null; 143 return getAccountFromName(accountName) != null; 166 authTokenType, false, null, null); 183 errorEncountered, null); 211 getAuthTokenAsynchronously(null, mAccount, mAuthTokenType, mCallback, mNumTries, 222 if (result != null) { [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/ |
BlenderKey.java | 92 * null. If the value is null the importer will use its own default material (gray color - like in blender).
360 oc.write(assetRootPath, "asset-root-path", null);
362 oc.write(usedWorld, "used-world", null);
363 oc.write(defaultMaterial, "default-material", null);
378 assetRootPath = ic.readString("asset-root-path", null);
380 usedWorld = ic.readString("used-world", null);
381 defaultMaterial = (Material) ic.readSavable("default-material", null);
390 result = prime * result + (assetRootPath == null ? 0 : assetRootPath.hashCode());
391 result = prime * result + (defaultMaterial == null ? 0 : defaultMaterial.hashCode()); [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
Octnode.java | 95 Vector3f min = bbox.getMin(null); 96 Vector3f max = bbox.getMax(null); 113 if (tris == null || depth > 50 || bbox.getVolume() < 0.01f || tris.size() < minTrisPerNode){ 176 if (geoms != null){ 191 if (children[i] != null){ 199 fastNode.next = nextSibling != null ? nextSibling.fastNode : null; 202 Octnode prev = null; 204 if (children[i] != null){ 209 fastNode.child = prev != null ? prev.fastNode : null [all...] |
/external/proguard/src/proguard/ |
Initializer.java | 68 null : new ClassPool(); 78 null)); 85 null, 98 null)); 100 if (reducedLibraryClassPool != null) 115 null)); 129 null, 147 if (configuration.adaptClassStrings != null) 169 if (reducedLibraryClassPool != null) 185 null, [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
DiscoverInfo.java | 90 * Adds a collection of features to the packet. Does noting if featuresToAdd is null. 95 if (featuresToAdd == null) return; 135 if (identitiesToAdd == null) return; 195 if (getNode() != null) { 289 if ((category == null) || (type == null)) 290 throw new IllegalArgumentException("category and type cannot be null"); 359 if (lang != null) 366 if (type != null) { 380 if (obj == null) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ClassDefItem.java | 65 * @param superType The superclass of this class, or null if none (only valid for java.lang.Object) 66 * @param implementedInterfaces A list of the interfaces that this class implements, or null if none 67 * @param sourceFile The main source file that this class is defined in, or null if not available 68 * @param annotations The annotations for this class and its fields, methods and method parameters, or null if none 70 * @param staticFieldInitializers The initial values for this class's static fields, or null if none. The initial 73 * value of null/0. The initial value for any fields that don't specifically have a value can be either the 74 * type-appropriate null/0 encoded value, or null. 81 assert classType != null; local 98 * @param superType The superclass of this class, or null if none (only valid for java.lang.Object 117 assert classData != null; local [all...] |
/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 99 return show(context, title, message, indeterminate, false, null); 104 return show(context, title, message, indeterminate, cancelable, null); 123 TypedArray a = mContext.obtainStyledAttributes(null, 139 if (mProgressNumberFormat != null) { 145 if (mProgressPercentFormat != null) { 158 R.layout.alert_dialog_progress), null); 166 R.layout.progress_dialog), null); 187 if (mProgressDrawable != null) { 190 if (mIndeterminateDrawable != null) { 193 if (mMessage != null) { [all...] |
/frameworks/base/core/java/android/net/http/ |
RequestHandle.java | 66 if (headers == null) { 72 mMethod = method == null? "GET" : method; 99 if (mRequest != null) { 109 if (mRequest != null) { 119 if (mRequest != null) { 187 if (cookie != null && cookie.length() > 0) { 201 if (mBodyProvider != null) mBodyProvider.reset(); 211 mBodyProvider = null; 256 if (mBodyProvider != null) mBodyProvider.reset(); 288 if (mConnection != null) { [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FrameFormat.java | 106 return mDimensions == null ? 0 : mDimensions.length; 110 return mMetaData != null ? mMetaData.containsKey(key) : false; 114 if (mMetaData != null && mMetaData.containsKey(key)) { 127 return mMetaData != null ? mMetaData.get(key) : null; 131 return mDimensions != null ? mDimensions.length : 0; 135 return (mDimensions != null && mDimensions.length >= 1) ? mDimensions[0] : -1; 143 return (mDimensions != null && mDimensions.length >= 2) ? mDimensions[1] : -1; 147 return (mDimensions != null && mDimensions.length >= 3) ? mDimensions[2] : -1; 166 result.mMetaData = mMetaData == null ? null : (KeyValueMap)mMetaData.clone() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 65 if (notification != null) { 90 if (a == null && b != null) { 93 if (a != null && b == null) { 103 final boolean iconEquals = mIcon != null 108 final boolean visibilityEquals = mIcon != null 110 final boolean numberEquals = mIcon != null 124 if (mNumberBackground == null) { 130 mNumberBackground = null; [all...] |
/frameworks/base/services/java/com/android/server/ |
ServiceWatcher.java | 60 * If mServicePackageName is not null, only this package will be searched for the service that 61 * implements mAction. When null, all packages in the system that matches one of the signature 116 if (pkgs != null) initialPackageNames.addAll(Arrays.asList(pkgs)); 117 mServicePackageName = null; 123 if (servicePackageName != null) initialPackageNames.add(servicePackageName); 146 }, UserHandle.ALL, intentFilter, null, mHandler); 149 if (mServicePackageName == null) { 150 mPackageMonitor.register(mContext, null, UserHandle.ALL, true); 160 * is null. 165 if (justCheckThisPackage != null) { [all...] |
/libcore/luni/src/main/java/java/net/ |
HttpCookie.java | 90 if (domainPattern == null || host == null) { 154 if (cookie.getPortlist() == null) { 162 * Returns a non-null path ending in "/". 165 if (path == null) { 203 * if header is null 252 if (name == null) { 288 if (attributeName == null) { 300 String attributeValue = null; 316 if (name.equals("comment") && cookie.comment == null) { [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
XmpUtil.java | 83 * @return Extracted XMPMeta or null. 89 return null; 96 return null; 104 * @return Extracted XMPMeta or null. 108 if (sections == null) { 109 return null; 123 return null; 127 return null; 142 return meta == null ? createXMPMeta() : meta; 154 List<Section> sections = null; [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
HeaderGridView.java | 82 if (adapter != null && adapter instanceof HeaderViewGridAdapter) { 107 if (adapter != null && ! (adapter instanceof HeaderViewGridAdapter)) { 123 if (adapter != null) { 139 addHeaderView(v, null, true); 157 if (adapter != null && ((HeaderViewGridAdapter) adapter).removeHeader(v)) { 223 // This ArrayList is assumed to NOT be null. 234 if (headerViewInfos == null) { 235 throw new IllegalArgumentException("headerViewInfos cannot be null"); 248 return (mAdapter == null || mAdapter.isEmpty()) && getHeadersCount() == 0; 262 if (infos != null) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 57 if (s == null) { 58 return null; 69 if (s == null) { 70 return null; 175 * Returns the named parameter of a header field. If name is null the first 179 * cannot be found the method returns null. 183 * TODO: The doc says that for a null name you get the first param, but you get the header. 190 * @return the entire header (if name=null), the found parameter, or null 193 if (header == null) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryAddWordContents.java | 79 if (null != word) { 88 if (null != shortcut && null != mShortcutEditText) { 93 shortcut = null; 94 mOldShortcut = null; 111 // locale may be null, this means default locale 114 mLocale = null == locale ? Locale.getDefault().toString() : locale; 120 if (null != mShortcutEditText) { 123 if (null != mOldShortcut) { 140 if (null != outParameters) saveStateIntoBundle(outParameters) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizard.java | 94 ConfigureAssetSetPage.generateImages(mValues, false, null); 110 MessageDialog dialog = new MessageDialog(null, "File Already Exists", null, 140 AdtPlugin.log(e, null); 152 file.create(is, true /*force*/, null /*progress*/); 155 AdtPlugin.log(e, null); 157 AdtPlugin.log(e, null); 163 AdtPlugin.log(e, null); 179 if (viewPart != null) { 181 IJavaProject javaProject = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 71 if (clazz != null) { 77 if (clazz != null) { 87 if (projectState != null) { 96 if (clazz != null) { 112 * @return a class object if found, null otherwise. 120 if (outRes == null) { 121 return null; 131 if (classFile == null) { 132 return null; 142 data = null; [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/ |
ReportGenerator.java | 87 m_pageTitle = null; 88 m_footerBottom = null; 91 if ((outDir == null) /* this should never happen */ || (outDir.equals (new File (Property.getSystemProperty ("user.dir", ""))))) 110 head.accept (this, null); 113 m_reportIDNamespace = null; 126 m_queue = null; 127 m_reportIDNamespace = null; 137 HTMLWriter out = null; 141 if (outFile == null) 177 page.addH (1, "OVERALL COVERAGE SUMMARY", null); [all...] |
/frameworks/base/core/java/android/view/ |
LayoutInflater.java | 127 * @return View Newly created view. Return null for the default 140 * in; <em>note that this may be null</em>. 145 * @return View Newly created view. Return null for the default 164 if (v != null) return v; 169 View v = mF12 != null ? mF12.onCreateView(parent, name, context, attrs) 171 if (v != null) return v; 172 return mF22 != null ? mF22.onCreateView(parent, name, context, attrs) 213 if (LayoutInflater == null) { 242 * Return the current {@link Factory} (or null). This is called on each element 244 * returns null, proceed to call onCreateView(name) [all...] |