Searched refs:header (Results 1 - 25 of 63) sorted by relevance

123

/packages/apps/Nfc/nci/jni/
H A DDataQueue.cpp54 tHeader* header = mQueue.front (); local
56 free (header);
90 tHeader* header = (tHeader*) malloc (sizeof(tHeader) + dataLen); local
92 if (header)
94 memset (header, 0, sizeof(tHeader));
95 header->mDataLen = dataLen;
96 memcpy (header+1, data, dataLen);
98 mQueue.push_back (header);
127 tHeader* header = mQueue.front (); local
130 if (header
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DMimeHeaderUnitTests.java38 MimeHeader header = new MimeHeader();
40 // empty header
41 String actual1 = header.writeToString();
42 assertEquals("empty header", actual1, null);
44 // single header
45 header.setHeader("Header1", "value1");
46 String actual2 = header.writeToString();
47 assertEquals("single header", actual2, "Header1: value1\r\n");
50 header.setHeader("Header2", "value2");
51 String actual3 = header
[all...]
H A DRfc822OutputTests.java172 Header header = mimeMessage.getHeader();
173 Field contentType = header.getField("content-type");
182 header = part.getHeader();
183 assertNull(header.getField("content-disposition"));
216 Header header = mimeMessage.getHeader();
217 Field contentType = header.getField("content-type");
226 header = part.getHeader();
227 assertNotNull(header.getField("content-disposition"));
295 Header header = mimeMessage.getHeader();
296 Field contentType = header
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DPinnedHeaderListView.java35 * A ListView that maintains a header pinned at the top of the list. The
36 * pinned header can be pushed up and dissolved as needed.
52 * Creates or updates the pinned header view.
61 * {@link PinnedHeaderListView#setHeaderInvisible}, for each header that
67 * Returns the list position to scroll to if the pinned header is touched.
191 // Disable vertical fading at the top when the pinned header is present
215 PinnedHeader header = mHeaders[i];
216 if (header.visible) {
217 if (header.state == TOP) {
218 windowTop = header
550 drawHeader(Canvas canvas, PinnedHeader header, long currentTime) argument
[all...]
H A DContactsSectionIndexer.java99 public void setProfileHeader(String header) { argument
101 // Don't do anything if the header is already set properly.
102 if (mSections.length > 0 && header.equals(mSections[0])) {
110 tempSections[0] = header;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
H A DEntity.java30 * MIME entity. An entity has a header and a body (see RFC 2045).
36 private Header header = null; field in class:Entity
61 * Gets the entity header.
63 * @return the header.
66 return header;
70 * Sets the entity header.
72 * @param header the header.
74 public void setHeader(Header header) { argument
75 this.header
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DWbxmlResponseLoggerTests.java50 final BasicHeader header = new BasicHeader("content-encoding", encoding);
51 final String outputEncoding = WbxmlResponseLogger.processContentEncoding(header);
63 final BasicHeader header = new BasicHeader("content-encoding", null);
64 final String outputEncoding = WbxmlResponseLogger.processContentEncoding(header);
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCurlLogger.java55 for (Header header: request.getAllHeaders()) {
56 builder.append("--header \"");
58 && (header.getName().equals("Authorization") ||
59 header.getName().equals("Cookie"))) {
61 builder.append(header.getName()).append(": ").append("${token}");
63 builder.append(header.toString().trim());
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DVer4DictDecoder.java53 final DictionaryHeader header = binaryDictionary.getHeader();
55 if (header == null) {
56 throw new IOException("Cannot read the dictionary header.");
58 return header;
69 final DictionaryHeader header = readHeader();
71 new FusionDictionary(new FusionDictionary.PtNodeArray(), header.mDictionaryOptions);
H A DVer2DictDecoder.java175 final DictionaryHeader header = binaryDictionary.getHeader();
177 if (header == null) {
178 throw new IOException("Cannot read the dictionary header.");
180 if (header.mFormatOptions.mVersion != FormatSpec.VERSION2) {
181 throw new UnsupportedFormatException("File header has a wrong version : "
182 + header.mFormatOptions.mVersion);
188 setPosition(header.mBodyOffset);
189 return header;
263 final DictionaryHeader header = readHeader();
265 new FusionDictionary(new FusionDictionary.PtNodeArray(), header
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
H A DMailPreferenceActivity.java113 final Header header = new Header();
117 header.title = account.getEmailAddress();
119 header.title = account.getDisplayName();
120 header.summary = account.getEmailAddress();
122 header.fragment = account.settingsFragmentClass;
126 header.fragmentArguments = accountBundle;
128 target.add(header);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java43 * This is the view model for the conversation header. It includes all the
44 * information needed to layout a conversation header view. Each view model is
153 ConversationItemViewModel header = ConversationItemViewModel.forConversationId(account,
155 header.conversation = conv;
156 header.unread = !conv.read;
157 header.hasBeenForwarded =
160 header.hasBeenRepliedTo =
163 header.isInvite =
166 return header;
180 ConversationItemViewModel header
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/
H A DExternalDictionaryGetterForDebug.java54 final DictionaryHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull(f);
55 if (null == header) continue;
102 final DictionaryHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull(file);
104 final String locale = header.getLocaleString();
105 for (String key : header.mDictionaryOptions.mAttributes.keySet()) {
106 message.append(key + " = " + header.mDictionaryOptions.mAttributes.get(key));
128 installFile(context, file, header);
146 final DictionaryHeader header) {
150 final String locale = header.getLocaleString();
145 installFile(final Context context, final File file, final DictionaryHeader header) argument
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java30 // [8] MaxBytes: Max number of data bytes per region (including header).
51 // [16] Length of this blob (not including header)
86 // index header offset
99 // blob header offset
189 // mIndexHeader and index header in file should be kept sync.
198 Log.w(TAG, "cannot read header");
203 Log.w(TAG, "cannot read header magic");
220 Log.w(TAG, "header checksum does not match");
387 byte[] header = mBlobHeader;
388 Arrays.fill(header, (byt
[all...]
/packages/apps/Mms/src/com/android/mms/util/
H A DBlobCache.java30 // [8] MaxBytes: Max number of data bytes per region (including header).
51 // [16] Length of this blob (not including header)
87 // index header offset
100 // blob header offset
190 // mIndexHeader and index header in file should be kept sync.
199 Log.w(TAG, "cannot read header");
204 Log.w(TAG, "cannot read header magic");
221 Log.w(TAG, "header checksum does not match");
389 byte[] header = mBlobHeader;
391 writeLong(header, BH_KE
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DFetchUrlMimeType.java96 Header header = response.getFirstHeader("Content-Type");
97 if (header != null) {
98 mimeType = header.getValue();
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeHeader.java29 * Application specific header that contains Store specific information about an attachment.
32 * The info is recorded from this header on LocalStore.appendMessage and is put back
43 * Fields that should be omitted when writing the header using writeTo()
58 String[] header = getHeader(name);
59 if (header == null) {
62 return header[0];
101 * Write header into String
103 * @return CR-NL separated header string except the headers in writeOmitFields
104 * null if header is empty
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DBinaryDictionaryUtils.java56 // dictType is never used for reading the header. Passing an empty string.
61 final DictionaryHeader header = binaryDictionary.getHeader();
63 if (header == null) {
66 return header;
H A DDictionaryInfoUtils.java292 final DictionaryHeader header =
294 return header;
310 final DictionaryHeader header = getDictionaryFileHeaderOrNull(
312 if (header == null) {
315 final String id = header.getId();
316 final Locale locale = LocaleUtils.constructLocaleFromString(header.getLocaleString());
317 final String description = header.getDescription();
318 final String version = header.getVersion();
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java746 // header tint before the MultiShrinkScroller has been measured will
1283 String header = null;
1316 // If the protocol is custom, display the "IM" entry header as well to distinguish
1318 header = res.getString(R.string.header_im_entry);
1323 header = Im.getProtocolLabel(res, protocol,
1327 entryContextMenuInfo = new EntryContextMenuInfo(im.getData(), header,
1331 header = res.getString(R.string.header_organization_entry);
1333 entryContextMenuInfo = new EntryContextMenuInfo(subHeader, header,
1347 header = res.getString(R.string.header_nickname_entry);
1349 entryContextMenuInfo = new EntryContextMenuInfo(subHeader, header,
1704 public String header; field in class:QuickContactActivity.GPlusOrHangoutsDataItemModel
1708 GPlusOrHangoutsDataItemModel(Intent intent, Intent alternateIntent, DataItem dataItem, DataItem secondDataItem, StringBuilder alternateContentDescription, String header, String text, Context context) argument
[all...]
H A DExpandingEntryCardView.java90 public Entry(int id, Drawable mainIcon, String header, String subHeader, argument
99 mHeader = header;
531 TextView header = (TextView) entryView.findViewById(R.id.header);
532 if (header != null) {
533 header.setTextColor(color);
601 final TextView header = (TextView) view.findViewById(R.id.header);
603 header.setText(entry.getHeader());
605 header
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DSimpleContentHandler.java32 * tasks. Currently performs header parsing and applies content-transfer
42 public abstract void headers(Header header); argument
51 * <code>Content-Transfer-Encoding</code> header fields.
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageMms.java96 sb.append("Content-Transfer-Encoding: 8BIT\r\n\r\n"); // Add the header split empty line
100 sb.append("Content-Transfer-Encoding: Base64\r\n\r\n"); // Add the header split empty line
307 * Encode an address header, and perform folding if needed.
309 * @param headerName The RFC 2822 header name
343 * rejected. Non-7-bit characters elsewhere in a header MUST be encoded
356 // illegal (RFC822 header), and android do not seem to have encoders/decoders for quoted-printables
471 String header;
475 header = headers[i];
476 if(D) Log.d(TAG,"Header[" + i + "]: " + header);
478 * Skip empty lines, and then parse headers until a non-header lin
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallDetailHistoryAdapter.java41 /** The top element is a blank header, which is hidden under the rest of the UI. */
107 final View header = convertView == null
110 return header;
/packages/apps/Email/provider_src/com/android/email/provider/
H A DFolderPickerDialog.java51 FolderPickerCallback callback, String header, boolean cancelable) {
56 builder.setTitle(header);
50 FolderPickerDialog(final Context context, Uri uri, FolderPickerCallback callback, String header, boolean cancelable) argument

Completed in 1270 milliseconds

123