Searched defs:header (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/
H A DBackScrollManager.java24 * Handles scrolling back of a list tied to a header.
26 * This is used to implement a header that scrolls up with the content of a list to be partially
30 /** Defines the header to be scrolled. */
34 /** Gets the maximum offset that should be applied to the header. */
47 // The first item is not shown, the header should be pinned at the top.
56 // We scroll the header up, but at most pin it to the top of the screen.
70 * Creates a new instance of a {@link BackScrollManager} that connected the header and the list
73 public static void bind(ScrollableHeader header, ListView listView) { argument
74 BackScrollManager backScrollManager = new BackScrollManager(header, listView);
78 private BackScrollManager(ScrollableHeader header, ListVie argument
[all...]
/packages/apps/Email/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/Nfc/nci/jni/
H A DDataQueue.cpp52 tHeader* header = mQueue.front (); local
54 free (header);
88 tHeader* header = (tHeader*) malloc (sizeof(tHeader) + dataLen); local
90 if (header)
92 memset (header, 0, sizeof(tHeader));
93 header->mDataLen = dataLen;
94 memcpy (header+1, data, dataLen);
96 mQueue.push_back (header);
125 tHeader* header = mQueue.front (); local
128 if (header
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
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;
H A DIndexerListAdapter.java25 * A list adapter that supports section indexer and a pinned header.
38 * section header when it is at the beginning of a section. This object
63 * Creates a section header view that will be pinned at the top of the list
69 * Sets the title in the pinned header as the user scrolls.
74 * Sets the contacts count in the pinned header.
76 protected abstract void setPinnedHeaderContactsCount(View header); argument
79 * clears the contacts count in the pinned header and makes the view invisible.
81 protected abstract void clearPinnedHeaderContactsCount(View header); argument
H A DPinnedHeaderListView.java34 * A ListView that maintains a header pinned at the top of the list. The
35 * pinned header can be pushed up and dissolved as needed.
51 * Creates or updates the pinned header view.
60 * {@link PinnedHeaderListView#setHeaderInvisible}, for each header that
66 * Returns the list position to scroll to if the pinned header is touched.
187 // Disable vertical fading at the top when the pinned header is present
211 PinnedHeader header = mHeaders[i];
212 if (header.visible) {
213 if (header.state == TOP) {
214 windowTop = header
499 drawHeader(Canvas canvas, PinnedHeader header, long currentTime) argument
[all...]
H A DContactEntryListAdapter.java88 /** Resource used to provide header-text for default filter. */
112 protected void setPinnedHeaderContactsCount(View header) { argument
113 // Update the header with the contacts count only if a profile header exists
114 // otherwise, the contacts count are shown in the empty profile header view
116 ((ContactListPinnedHeaderView)header).setCountView(mContactsCount);
118 clearPinnedHeaderContactsCount(header);
123 protected void clearPinnedHeaderContactsCount(View header) { argument
124 ((ContactListPinnedHeaderView)header).setCountView(null);
320 // Stick the "ME" header fo
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExternalDictionaryGetterForDebug.java47 final FileHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull(f);
48 if (null == header) continue;
90 final FileHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull(file);
92 final String locale = header.getLocaleString();
93 for (String key : header.mDictionaryOptions.mAttributes.keySet()) {
94 message.append(key + " = " + header.mDictionaryOptions.mAttributes.get(key));
113 installFile(context, file, header);
120 final FileHeader header) {
124 final String locale = header.getLocaleString();
119 installFile(final Context context, final File file, final FileHeader header) argument
/packages/apps/Email/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/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeUtility.java93 * @param usedCharacters number of characters already used up by header name
125 * characters for header field name plus colon and one space.
174 * Returns the named parameter of a header field. If name is null the first
182 * TODO: The doc says that for a null name you get the first param, but you get the header.
187 * @param header
189 * @return the entire header (if name=null), the found parameter, or null
191 public static String getHeaderParameter(String header, String name) { argument
192 if (header == null) {
195 String[] parts = unfold(header).split(";");
415 // An attachment filename can be defined in either the Content-Disposition header
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DUtils.java249 List<Header> target, Header header) {
251 Intent intent = header.intent;
290 //header.icon = icon;
291 header.title = title;
292 header.summary = summary;
294 header.intent = new Intent().setClassName(resolveInfo.activityInfo.packageName,
303 target.remove(header);
248 updateHeaderToSpecificActivityFromMetaDataOrRemove(Context context, List<Header> target, Header header) argument
H A DSettings.java168 // If the current header was saved, switch to it
245 private void switchToHeaderLocal(Header header) { argument
247 switchToHeader(header);
252 public void switchToHeader(Header header) { argument
257 super.switchToHeader(header);
359 * Override initial header when an activity-alias is causing Settings to be launched
366 Header header = new Header();
367 header.fragment = fragmentClass;
368 header.title = getTitle();
369 header
593 getHeaderType(Header header) argument
743 onHeaderClick(Header header, int position) argument
[all...]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java201 assertTrue("No Range header: " + headers,
203 assertTrue("No ETag header: " + headers, headers.contains("If-Match: " + ETAG));
382 Download download = enqueueRequest(getRequest().addRequestHeader("header", "value"));
403 // header, so we need to enqueue a second one
500 // meantime, just use an absurdly large header value
754 * Return value of requested HTTP header, if it exists.
756 private static String getHeaderValue(RecordedRequest req, String header) { argument
757 header = header.toLowerCase() + ":";
759 if (h.toLowerCase().startsWith(header)) {
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksPage.java290 BookmarkItem header = new BookmarkItem(activity);
291 header.setEnableScrolling(true);
292 populateBookmarkItem(cursor, header, isFolder);
293 menu.setHeaderView(header);
618 public LookupBookmarkCount(Context context, BookmarkItem header) { argument
620 mHeader = header;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettings.java65 * dealing with accounts being added/deleted and triggering the header reload.
270 * Click in the header list (e.g. another account) - handled elsewhere
337 * Write the current header (accounts) array into the one provided by the PreferenceActivity.
347 // Always add app preferences as first header
355 Header header = mAccountListHeaders[index];
356 if (header != null && header.id != HEADER_ID_UNDEFINED) {
357 if (header.id != mDeletingAccountId) {
358 target.add(header);
359 if (header
475 onHeaderClick(Header header, int position) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadInfo.java138 private void addHeader(DownloadInfo info, String header, String value) { argument
139 info.mRequestHeaders.add(Pair.create(header, value));

Completed in 336 milliseconds