/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
EllipsizeLayout.java | 11 * non-null android:ellipsize, this layout will reduce android:maxWidth of that TextView to ensure 17 * <li>more than one child has a non-null android:ellipsize.</li> 38 this(context, null); 49 * <li>Identifies the one TextView child with the non-null android:ellipsize.</li> 54 * the maximum width of the one TextView child with the non-null android:ellipsize is 69 TextView ellipsizeView = null; 77 if (child != null && child.getVisibility() != GONE) { 81 if (tv.getEllipsize() != null) { 82 if (ellipsizeView == null) { 99 if (layoutParams != null) { [all...] |
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
UndemoteOutgoingCallReceiver.java | 39 if (intent != null && Intent.ACTION_NEW_OUTGOING_CALL.equals(intent.getAction())) { 63 context.getContentResolver().update(PinnedPositions.UPDATE_URI, cv, null, null); 70 PhoneLookup._ID}, null, null, null); 71 if (cursor == null) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
AccountServiceProxy.java | 28 private IAccountService mService = null; 42 return null; 87 if (mReturn == null) { 104 if (mReturn == null) { 105 return null; 121 if (mReturn == null) { 122 return null;
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOptions.java | 45 private String mProtocolVersion = null; 61 * @return The protocol version to use, or null if we did not successfully get one. 78 return null; 86 if (commands == null || versions == null) { 91 hasProtocolVersion = (mProtocolVersion != null); 102 return null; 108 * @return The best protocol version we mutually support, or null if none found. 117 String newProtocolVersion = null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PreparePageFadeoutTexture.java | 20 if (rootPane == null) { 40 return null; 45 return null; 57 mTexture = null; 60 mTexture = null; 71 RawTexture texture = null; 80 if (texture == null) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AsyncDialog.java | 61 if (mProgressDialog != null) { 71 mProgressDialog = null; 94 if (mProgressDialog == null) { 126 if (params != null) { 143 return null; 154 if (mProgressDialog != null && mProgressDialog.isShowing()) { 157 if (mPostExecuteTask != null) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
PrefixFileFilter.java | 58 * @param prefix the prefix to allow, must not be null
59 * @throws IllegalArgumentException if the prefix is null
69 * @param prefix the prefix to allow, must not be null
70 * @param caseSensitivity how to handle case sensitivity, null means case-sensitive
71 * @throws IllegalArgumentException if the prefix is null
75 if (prefix == null) {
76 throw new IllegalArgumentException("The prefix must not be null");
79 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity);
88 * @param prefixes the prefixes to allow, must not be null
89 * @throws IllegalArgumentException if the prefix array is null
[all...] |
SuffixFileFilter.java | 59 * @param suffix the suffix to allow, must not be null
60 * @throws IllegalArgumentException if the suffix is null
70 * @param suffix the suffix to allow, must not be null
71 * @param caseSensitivity how to handle case sensitivity, null means case-sensitive
72 * @throws IllegalArgumentException if the suffix is null
76 if (suffix == null) {
77 throw new IllegalArgumentException("The suffix must not be null");
80 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity);
89 * @param suffixes the suffixes to allow, must not be null
90 * @throws IllegalArgumentException if the suffix array is null
[all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
Entity.java | 36 private Header header = null;
37 private Body body = null;
38 private Entity parent = null;
42 * Returns <code>null</code> if this is the root entity.
44 * @return the parent or <code>null</code>.
53 * @param parent the parent entity or <code>null</code> if
107 ContentTypeField parent = getParent() != null
110 : null;
159 return f != null && f.getBoundary() != null
[all...] |
MemoryTextBody.java | 50 private String mimeCharset = null;
51 private byte[] tempFile = null;
54 this(is, null);
74 String javaCharset = null;
75 if (mimeCharset != null) {
79 if (javaCharset == null) {
83 if (mimeCharset == null) {
95 if (mimeCharset == null) {
|
TempFileTextBody.java | 49 private String mimeCharset = null;
50 private TempFile tempFile = null;
53 this(is, null);
73 String javaCharset = null;
74 if (mimeCharset != null) {
78 if (javaCharset == null) {
82 if (mimeCharset == null) {
94 if (mimeCharset == null) {
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportPreviewActivity.java | 31 if (icicle != null && icicle.getString("text") != null) { 35 if (intent == null) { 41 if (section == null || section.length() == 0) { 45 InputStream in = null; 61 if (in != null) { 74 if (text != null) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidatesViewManager.java | 68 protected View mViewLongPressDialog = null; 71 protected Dialog mDialog = null; 83 * @return The candidates view created in the initialize process; {@code null} if cannot create a candidates view. 90 * @return The candidates view; {@code null} if no candidates view is used currently. 164 if ((view instanceof CandidateTextView) && (null != mViewLongPressDialog)) { 181 if (null != mDialog) { 183 mDialog = null; 184 if (null != mViewLongPressDialog) { 186 if (null != parent) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
DBQueryUtilsTest.java | 52 assertEquals("(second)", concatenateClauses("second", null)); 53 assertEquals("(second)", concatenateClauses(null, "second")); 54 assertEquals("(second)", concatenateClauses(null, "second", null)); 55 assertEquals("(a) AND (b) AND (c)", concatenateClauses(null, "a", "b", null, "c")); 56 assertEquals("(WHERE \"a\" = \"b\")", concatenateClauses(null, "WHERE \"a\" = \"b\""));
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
CursorPhotoSource.java | 42 if (current.cursor == null || current.cursor.isClosed()) { 48 ImageData data = null; 50 data = unpackImageData(current.cursor, null); 59 if (current.cursor == null || current.cursor.isClosed()) { 65 ImageData data = null; 67 data = unpackImageData(current.cursor, null); 76 if (current.cursor != null && !current.cursor.isClosed()) {
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptWallpaper.java | 55 if (mRenderer != null) { 57 mRenderer = null; 59 if (mRs != null) { 61 mRs = null; 68 if (mRenderer != null) { 80 if (mRs != null) { 83 if (mRenderer == null) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
ColorDescriptors.java | 49 null /*children: added later*/, true /*mandatory*/); 54 if (mDescriptor == null) { 67 if (styleMap == null) { 72 ElementDescriptor selectorItem = AnimatorDescriptors.addElement(null, styleMap, 73 "item", "Item", "DrawableStates", null, //$NON-NLS-1$ //$NON-NLS-3$ 90 null, /* This is wrong -- we can now embed any above drawable 94 if (selectorItem != null) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ExplodedRenderingHelper.java | 144 String orientation = getAttribute(view, "orientation", null); //$NON-NLS-1$ 147 boolean horizontal = orientation == null || 249 (thisPadding != null ? thisPadding[0] : 0) + 250 (leftResult != null ? leftResult[0] : 0) + 251 (rightResult != null ? rightResult[0] : 0); 270 (thisPadding != null ? thisPadding[1] : 0) + 271 (topResult != null ? topResult[1] : 0) + 272 (bottomResult != null ? bottomResult[1] : 0); 294 Node toLeftOf = null; 295 if (toLeftOfRef != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiTextValueNode.java | 49 // null since this is not an attribute. What we want is the "text value" of 53 if (parent != null) { 55 if (xml_node != null) { 57 xml_child != null; 85 if (parent != null && isValid() && isDirty()) { 88 if (element != null) { 95 xml_child != null; 107 if (doc != null) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiElementNodeTest.java | 101 MockXmlNode root = new MockXmlNode(null /* namespace */, "manifest", Node.ELEMENT_NODE, 103 new MockXmlNode(null /* namespace */, "application", Node.ELEMENT_NODE, null) 122 MockXmlNode root = new MockXmlNode(null /* namespace */, "blah", Node.ELEMENT_NODE, null); 132 MockXmlNode root = new MockXmlNode(null /* namespace */, "manifest", Node.ELEMENT_NODE, 134 new MockXmlNode(null /* namespace */, "application", Node.ELEMENT_NODE, null) 153 MockXmlNode root = new MockXmlNode(null /* namespace */, "manifest", Node.ELEMENT_NODE, 155 new MockXmlNode(null /* namespace */, "application", Node.ELEMENT_NODE, null) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ProfilesLoader.java | 38 Socket socket = null; 39 BufferedReader in = null; 40 BufferedWriter out = null; 66 if (out != null) { 69 if (in != null) { 72 if (socket != null) { 80 return null;
|
WindowsLoader.java | 34 Socket socket = null; 35 BufferedReader in = null; 36 BufferedWriter out = null; 54 while ((line = in.readLine()) != null) { 80 if (out != null) { 83 if (in != null) { 86 if (socket != null) {
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothInputDevice.java | 198 mService = null; 207 if (mService == null) { 230 if (mgr != null) { 245 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 255 if (mgr != null) { 264 if (mService != null) { 266 mService = null; 273 mServiceListener = null; 298 if (mService != null && isEnabled() && isValidDevice(device)) { 306 if (mService == null) Log.w(TAG, "Proxy not attached to service") [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 69 if (value != null) { 116 if (value != null && RenderResources.REFERENCE_NULL.equals(value) == false) { 134 "Failed to configure parser for " + value, e, null /*data*/); 135 // we'll return null below. 140 "Failed to parse file " + value, e, null /*data*/); 142 return null; 152 null /*data*/); 153 return null; 158 return null; 170 return null; 360 assert requireUnit == false || attribute != null; local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 137 * @param input the Reader to close, may be null or already closed
141 if (input != null) {
155 * @param output the Writer to close, may be null or already closed
159 if (output != null) {
173 * @param input the InputStream to close, may be null or already closed
177 if (input != null) {
191 * @param output the OutputStream to close, may be null or already closed
195 if (output != null) {
213 * @throws NullPointerException if the input is null
231 * @throws NullPointerException if the input is null
[all...] |