/packages/apps/Launcher2/src/com/android/launcher2/ |
CheckLongPressHelper.java | 28 if ((mView.getParent() != null) && mView.hasWindowFocus() 45 if (mPendingCheckForLongPress == null) { 53 if (mPendingCheckForLongPress != null) { 55 mPendingCheckForLongPress = null;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
CheckLongPressHelper.java | 28 if ((mView.getParent() != null) && mView.hasWindowFocus() 45 if (mPendingCheckForLongPress == null) { 54 if (mPendingCheckForLongPress != null) { 56 mPendingCheckForLongPress = null;
|
/packages/apps/Mms/tests/src/com/android/mms/ |
SmsTestRunner.java | 37 public String mRecipient = null; 41 public String mMessageFileName = null; 43 public String mRecipientFileName = null; 69 if (recipientPhoneNumber != null) { 73 if (numMsgStr != null) { 77 if (msgFileNameStr != null) { 81 if (recpFileNameStr != null) { 86 if (receiveTimerStr != null) { 91 if (sendIntervalStr != null) {
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/ |
HierarchicalFolderTruncationTests.java | 29 mAdapter = new HierarchicalFolderSelectorAdapter(mContext, null, null, 1, null); 33 assertEquals("", mAdapter.truncateHierarchy(null));
|
/packages/experimental/TestBack/src/foo/bar/testback/ |
Foo.java | 11 result = prime * result + ((mValue == null) ? 0 : mValue.hashCode()); 19 if (obj == null) 24 if (mValue == null) { 25 if (other.mValue != null)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/launch/ |
JUnitLaunchConfigDelegateTest.java | 33 null, 36 null, 41 null, 43 null, 44 null, 53 null, 55 null, 59 null, 61 null,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 49 private IDragAttribute[] mCachedAttributes = null; 50 private IDragElement[] mCachedElements = null; 57 * "android.view.Button". Must not be null nor empty. 59 * Can be null but not empty. 61 * If null, a non-null invalid rectangle will be assigned. 62 * @param parentBounds The canvas bounds of the parent of this element. Can be null. 67 mBounds = bounds == null ? new Rect() : bounds.copy(); 68 mParentBounds = parentBounds == null ? new Rect() : parentBounds.copy(); 82 * canvas. The rectangle is invalid and non-null when the element originate [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader4.java | 53 null, 54 null, 68 if(savedInstanceState != null && savedInstanceState.containsKey("lastIndexItem")){ 92 menu.add(0, 0, R.string.menu_option_start, null); 93 menu.add(0, 1, R.string.menu_option_stop, null); 94 menu.add(0, 2, R.string.menu_option_add, null); 95 menu.add(0, 3, R.string.menu_option_delete, null); 96 menu.add(0, 4, R.string.menu_option_update, null); 114 showAlert(null, "You clicked 'start'!", "ok", null, false, null) 133 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); local [all...] |
/frameworks/base/core/java/android/transition/ |
Visibility.java | 89 if (values == null) { 95 return visibility == View.VISIBLE && parent != null; 103 if (startValues != null) { 108 visInfo.startParent = null; 110 if (endValues != null) { 115 visInfo.endParent = null; 117 if (startValues != null && endValues != null) { 132 if (visInfo.endParent == null) { 135 } else if (visInfo.startParent == null) { [all...] |
Fade.java | 105 if (listener != null) { 106 listener.onAnimationEnd(null); 108 return null; 115 if (listener != null) { 139 if ((mFadingMode & IN) != IN || endValues == null) { 140 return null; 144 View startView = (startValues != null) ? startValues.view : null; 178 return createAnimation(endView, 0, 1, null); 186 return null; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
ReorderHelper.java | 49 if (listener == null) { 50 throw new IllegalArgumentException("ReorderListener cannot be null"); 53 if (parentView == null) { 54 throw new IllegalArgumentException("ParentView cannot be null"); 63 View reorderTarget = null; 64 if (mCurrentDraggedOverChild != null) { 70 // If reorder target is null, the drag coordinate is not over any 73 if (reorderTarget != null) { 82 if (mCurrentDraggedOverChild != null && 113 if (p == null || p.y < 0 && p.y > mParentView.getHeight()) [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
DocumentImpl.java | 43 super(null); 57 return null; 62 return null; 67 return null; 72 return null; 80 return null; 85 return null; 91 return null; 96 return null; 101 return null; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
TransactionContext.java | 56 if (mInsertedRawContactsAccounts == null) mInsertedRawContactsAccounts = Maps.newHashMap(); 63 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 69 if (mDirtyRawContacts == null) { 79 if (mChangedRawContacts == null) { 86 if (mUpdatedSyncStates == null) mUpdatedSyncStates = Maps.newHashMap(); 91 if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet(); 96 if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet(); 101 if (mInsertedRawContactsAccounts == null) mInsertedRawContactsAccounts = Maps.newHashMap(); 106 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 111 if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet() [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedTransferQueue.java | 83 * (unmatched) queue node (or null if empty); and "tail" that 84 * points to the last node on the queue (or again null if 106 * "item" field from a non-null data value to null upon match, and 107 * vice-versa for request nodes, CASing from null to a data 236 * We allow both the head and tail fields to be null before any 240 * implicit NullPointerExceptions when they are null. While not 276 * and try to append a new node (or if head was null, establish 330 * (i.e., with null next), then it is pinned as the target node 422 volatile Object item; // initially non-null if isData; CASed to matc [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
DatabaseStatementTest.java | 51 mDatabase = getContext().openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null); 86 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 94 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);"); 140 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
/external/emma/core/java12/com/vladium/util/ |
Property.java | 39 if (value == null) 51 * @param overrides [null is equivalent to empty] 52 * @param base [null is equivalent to empty] 54 * @return [never null, could be empty] 60 if (base == null) 62 if (overrides == null) 68 // [assertion: base != null] 70 if (overrides == null) return base; 72 // [assertion: both 'overrides' and 'base' are not null] 94 * @param namespace application namespace [may not be null] [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseStatementTest.java | 50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 93 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);"); 139 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
FastScrollingIndexCacheTest.java | 94 assertNull(mCache.get(null, null, null, null, null)); 101 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
AnnotationDirectoryItem.java | 77 if (fieldAnnotations == null || fieldAnnotations.size() == 0) { 78 this.fieldAnnotations = null; 85 if (methodAnnotations == null || methodAnnotations.size() == 0) { 86 this.methodAnnotations = null; 93 if (parameterAnnotations == null || parameterAnnotations.size() == 0) { 94 this.parameterAnnotations = null; 133 fieldAnnotations = null; 140 methodAnnotations = null; 147 parameterAnnotations = null; 150 if (fieldAnnotations != null) { [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 57 Math.class.getMethod("abs", int.class).invoke(null, 1); 59 Math.class.getMethod("abs", long.class).invoke(null, 1L); 61 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); 63 Math.class.getMethod("abs", double.class).invoke(null, 1.0); 68 StrictMath.class.getMethod("abs", int.class).invoke(null, 1); 70 StrictMath.class.getMethod("abs", long.class).invoke(null, 1L); 72 StrictMath.class.getMethod("abs", float.class).invoke(null, 1.0f); 74 StrictMath.class.getMethod("abs", double.class).invoke(null, 1.0); 79 StrictMath.class.getMethod("min", int.class, int.class).invoke(null, 1, 2); 84 StrictMath.class.getMethod("max", int.class, int.class).invoke(null, 1, 2) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 56 return filter != null && filter.length > 0; 131 Profile.CONTENT_VCARD_URI, new String[] { Profile._ID }, null, 132 null, null); 133 boolean isSet = (c != null && c.getCount() > 0); 134 if (c != null) { 142 Profile.CONTENT_URI, new String[] { Profile.DISPLAY_NAME}, null, 143 null, null); 144 String ownerName =null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 53 * @return the {@linkplain FlagManager} singleton, never null 88 * @param language the language, or null (if null, region must not be null), 90 * @param region the region, or null (if null, language must not be null), 92 * @return a suitable flag icon, or null 96 assert region != null || language != null; local 99 assert language != null; local [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributesImplTest.java | 59 ai = new AttributesImpl(null); 89 assertEquals(null, multi.getURI(-1)); 90 assertEquals(null, multi.getURI(5)); 102 assertEquals(null, multi.getLocalName(-1)); 103 assertEquals(null, multi.getLocalName(5)); 115 assertEquals(null, multi.getQName(-1)); 116 assertEquals(null, multi.getQName(5)); 128 assertEquals(null, multi.getType(-1)); 129 assertEquals(null, multi.getType(5)); 141 assertEquals(null, multi.getValue(-1)) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3TreeWalker.java | 75 private SerializationHandler fSerializer = null;
83 private DOMErrorHandler fErrorHandler = null;
86 private LSSerializerFilter fFilter = null;
89 private LexicalHandler fLexicalHandler = null;
94 private String fNewLine = null;
97 private Properties fDOMConfigProperties = null;
103 private String fXMLVersion = null;
210 //fErrorHandler = errHandler == null ? new DOMErrorHandlerImpl() : errHandler; // Should we be using the default?
213 fLexicalHandler = null;
250 if (ownerDoc != null
[all...] |
/external/emma/core/java12/com/vladium/util/exception/ |
ExceptionCommon.java | 75 * be the calling class.</I> [the method is a no-op if this is null] 79 * [the method is a no-op if this is null or an empty string] 81 * @return ResourceBundle that corresponds to 'namespace' key or null if 92 if ((namespace != null) && (messageResourceBundleName != null) 107 ResourceBundle temprb = null; 108 String nameInNamespace = null; 116 if (loader == null) loader = ClassLoader.getSystemClassLoader (); 124 temprb = null; 127 if (temprb != null) [all...] |