/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderRetained.java | 57 if (fm.findFragmentById(android.R.id.content) == null) { 74 // If non-null, this is the current filter the user has provided. 92 android.R.layout.simple_list_item_2, null, 102 getLoaderManager().initLoader(0, null, this); 136 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; 139 if (mCurFilter == null && newFilter == null) { 142 if (mCurFilter != null && mCurFilter.equals(newFilter)) { 146 getLoaderManager().restartLoader(0, null, this); 158 mSearchView.setQuery(null, true) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete5.java | 36 AutoComplete4.CONTACT_PROJECTION, null, null, null);
|
List2.java | 38 CONTACT_PROJECTION, null, null, null);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
ContentActivity.java | 19 if (extras != null) { 23 } else if (savedInstanceState != null) { 34 if (extras != null) {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderRetainedSupport.java | 57 if (fm.findFragmentById(android.R.id.content) == null) { 70 // If non-null, this is the current filter the user has provided. 88 android.R.layout.simple_list_item_1, null, 98 getLoaderManager().initLoader(0, null, this); 108 if (searchView != null) { 116 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; 119 if (mCurFilter == null && newFilter == null) { 122 if (mCurFilter != null && mCurFilter.equals(newFilter)) { 126 getLoaderManager().restartLoader(0, null, CursorLoaderListFragment.this) [all...] |
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
ArticleFragment.java | 34 NewsArticle mNewsArticle = null; 68 if (mWebView != null) { 69 mWebView.loadData(mNewsArticle == null ? "" : mNewsArticle.getBody(), "text/html",
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRInputStream.cs | 46 : this(input, null) { 50 : this(input, size, null) { 66 if (encoding != null)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRFileStream.cs | 53 : this( fileName, null ) 65 if ( fileName == null ) 71 if (encoding == null)
|
ANTLRInputStream.cs | 48 : this( input, null ) 53 : this( input, size, null ) 74 if (encoding != null)
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRFileStream.java | 42 this(fileName, null); 53 if ( fileName==null ) { 60 if ( encoding!=null ) {
|
ANTLRInputStream.java | 40 this(input, null); 44 this(input, size, null); 62 if ( encoding!=null ) {
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
TextInputCallbackTest.java | 52 * if prompt or defaultText is null or empty then expected IAE 61 text = new TextInputCallback(null); 62 fail("Prompt and DefaultText should not be null"); 66 text = new TextInputCallback(null, "defaultText"); 67 fail("Prompt and DefaultText should not be null"); 73 fail("Prompt and DefaultText should not be null"); 78 text = new TextInputCallback("prompt", null); 79 fail("Prompt and DefaultText should not be null");
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/process/ |
SystemProcessTest.java | 28 Object[] execArgs = null; 29 Process process = null; 33 new String[] { "tests.support.Support_AvailTest" }, null,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleImmutableEntryTest.java | 35 new AbstractMap.SimpleImmutableEntry(null,null); 46 map.put(null, null); 52 new AbstractMap.SimpleImmutableEntry(null); 63 entry = new AbstractMap.SimpleImmutableEntry(null,null); 70 entry = new AbstractMap.SimpleImmutableEntry(null,null); 85 entry.setValue(null); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
GuardedObjectTest.java | 33 /** Null guard imposes no restriction. */ 35 Object obj = null; 36 GuardedObject go = new GuardedObject(obj, null); 40 go = new GuardedObject(obj, null);
|
KeyPairGeneratorSpiTest.java | 56 AlgorithmParameterSpec pp = null; 58 keyPairGen.initialize(pp, null); 70 keyPairGen.initialize(1024, null); 77 assertNull("Not null KeyPair", kp);
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
URIParameterTest.java | 36 new URIParameter(null); 69 uriParameter = null; 70 uri = null;
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MyTrustManagerFactorySpi.java | 37 if (ks == null) { 38 throw new KeyStoreException("Not supported operation for null KeyStore"); 45 if (spec == null) { 46 throw new InvalidAlgorithmParameterException("Null parameter"); 61 return null;
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
MyTrustManagerFactorySpi.java | 37 if (ks == null) { 38 throw new KeyStoreException("Not supported operation for null KeyStore"); 45 if (spec == null) { 46 throw new InvalidAlgorithmParameterException("Null parameter"); 61 return null;
|
/external/apache-http/src/org/apache/http/impl/ |
AbstractHttpServerConnection.java | 71 private SessionInputBuffer inbuffer = null; 72 private SessionOutputBuffer outbuffer = null; 73 private HttpMessageParser requestParser = null; 74 private HttpMessageWriter responseWriter = null; 75 private HttpConnectionMetricsImpl metrics = null; 104 return new HttpRequestParser(buffer, null, requestFactory, params); 111 return new HttpResponseWriter(buffer, null, params); 119 if (inbuffer == null) { 120 throw new IllegalArgumentException("Input session buffer may not be null"); 122 if (outbuffer == null) { [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
AbstractCookieSpec.java | 67 if (name == null) { 68 throw new IllegalArgumentException("Attribute name may not be null"); 70 if (handler == null) { 71 throw new IllegalArgumentException("Attribute handler may not be null"); 78 * given attribute. Returns <tt>null</tt> if no attribute handler is 82 * @return an attribute handler or <tt>null</tt> 98 if (handler == null) {
|
RFC2109VersionHandler.java | 46 if (cookie == null) { 47 throw new IllegalArgumentException("Cookie may not be null"); 49 if (value == null) { 66 if (cookie == null) { 67 throw new IllegalArgumentException("Cookie may not be null");
|
/external/apache-http/src/org/apache/http/params/ |
DefaultedHttpParams.java | 53 if (local == null) { 54 throw new IllegalArgumentException("HTTP parameters may not be null"); 75 if (obj == null && this.defaults != null) {
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorText.java | 40 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 41 * @param elem non-null reference to a {@link org.apache.xalan.templates.ElemText}. 53 (ProcessorCharacters) handler.getProcessorFor(null, "text()", "text"); 66 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 77 = (ProcessorCharacters) handler.getProcessorFor(null, "text()", "text"); 79 charProcessor.setXslTextElement(null);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ElemDesc.java | 42 private StringToIntTable m_attrs = null; 153 * @param name non-null name of attribute, in upper case. 159 if (null == m_attrs) 168 * @param name non-null reference to attribute name, in any case. 175 return (null != m_attrs)
|