Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java215 PinnedHeader header = mHeaders[i]; in onItemSelected() local
216 if (header.visible) { in onItemSelected()
217 if (header.state == TOP) { in onItemSelected()
218 windowTop = header.y + header.height; in onItemSelected()
219 } else if (header.state == BOTTOM) { in onItemSelected()
220 windowBottom = header.y; in onItemSelected()
261 PinnedHeader header = mHeaders[viewIndex]; in setHeaderPinnedAtTop() local
262 header.visible = true; in setHeaderPinnedAtTop()
263 header.y = y; in setHeaderPinnedAtTop()
264 header.state = TOP; in setHeaderPinnedAtTop()
[all …]
DContactsSectionIndexer.java99 public void setProfileHeader(String header) { in setProfileHeader() argument
102 if (mSections.length > 0 && header.equals(mSections[0])) { in setProfileHeader()
110 tempSections[0] = header; in setProfileHeader()
/packages/apps/Nfc/nci/jni/
DDataQueue.cpp57 tHeader* header = mQueue.front (); in ~DataQueue() local
59 free (header); in ~DataQueue()
93 tHeader* header = (tHeader*) malloc (sizeof(tHeader) + dataLen); in enqueue() local
95 if (header) in enqueue()
97 memset (header, 0, sizeof(tHeader)); in enqueue()
98 header->mDataLen = dataLen; in enqueue()
99 memcpy (header+1, data, dataLen); in enqueue()
101 mQueue.push_back (header); in enqueue()
130 tHeader* header = mQueue.front (); in dequeue() local
133 if (header && buffer && (bufferMaxLen>0)) in dequeue()
[all …]
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java115 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
117 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
137 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
139 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
154 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
156 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
172 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
174 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
193 @Nullable CharSequence title, @Nullable CharSequence header, in launchConfirmationActivityWithExternalAndChallenge() argument
195 return launchConfirmationActivity(request, title, header, description, false, in launchConfirmationActivityWithExternalAndChallenge()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeHeaderUnitTests.java38 MimeHeader header = new MimeHeader(); in testWriteToString() local
41 String actual1 = header.writeToString(); in testWriteToString()
45 header.setHeader("Header1", "value1"); in testWriteToString()
46 String actual2 = header.writeToString(); in testWriteToString()
50 header.setHeader("Header2", "value2"); in testWriteToString()
51 String actual3 = header.writeToString(); in testWriteToString()
57 header.setHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "value3"); in testWriteToString()
58 String actual4 = header.writeToString(); in testWriteToString()
DRfc822OutputTests.java172 Header header = mimeMessage.getHeader(); in testWriteToAlternativePart() local
173 Field contentType = header.getField("content-type"); in testWriteToAlternativePart()
182 header = part.getHeader(); in testWriteToAlternativePart()
183 assertNull(header.getField("content-disposition")); in testWriteToAlternativePart()
216 Header header = mimeMessage.getHeader(); in testWriteToMixedPart() local
217 Field contentType = header.getField("content-type"); in testWriteToMixedPart()
226 header = part.getHeader(); in testWriteToMixedPart()
227 assertNotNull(header.getField("content-disposition")); in testWriteToMixedPart()
295 Header header = mimeMessage.getHeader(); in checkMimeVersion() local
296 Field contentType = header.getField("MIME-VERSION"); in checkMimeVersion()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DHeaderElevationController.java43 public ControllerV16(View header) { in ControllerV16() argument
44 Resources res = header.getContext().getResources(); in ControllerV16()
47 mShadow = new View(header.getContext()); in ControllerV16()
55 lp.topMargin = ((FrameLayout.LayoutParams) header.getLayoutParams()).height; in ControllerV16()
57 ((ViewGroup) header.getParent()).addView(mShadow, lp); in ControllerV16()
83 public ControllerVL(View header) { in ControllerVL() argument
84 mHeader = header; in ControllerVL()
87 Resources res = header.getContext().getResources(); in ControllerVL()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewModel.java153 ConversationItemViewModel header = ConversationItemViewModel.forConversationId(account, in forConversation() local
155 header.conversation = conv; in forConversation()
156 header.unread = !conv.read; in forConversation()
157 header.hasBeenForwarded = in forConversation()
160 header.hasBeenRepliedTo = in forConversation()
163 header.isInvite = in forConversation()
166 return header; in forConversation()
180 ConversationItemViewModel header = in forConversationId() local
182 if (header == null) { in forConversationId()
184 header = new ConversationItemViewModel(); in forConversationId()
[all …]
DConversationViewAdapter.java149 ConversationViewHeader header = (ConversationViewHeader) v; in bindView() local
150 header.bind(this); in bindView()
291 final MessageHeaderView header = (MessageHeaderView) v; in bindView() local
292 header.bind(this, measureOnly); in bindView()
303 final MessageHeaderView header = (MessageHeaderView) v; in onModelUpdated() local
304 header.refresh(); in onModelUpdated()
389 final MessageHeaderView header = (MessageHeaderView) view; in rebindView() local
390 header.rebind(this); in rebindView()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java387 byte[] header = mBlobHeader; in clearEntry()
388 Arrays.fill(header, (byte) 0); in clearEntry()
390 mActiveDataFile.write(header); in clearEntry()
398 byte[] header = mBlobHeader; in insertInternal()
400 writeLong(header, BH_KEY, key); in insertInternal()
401 writeInt(header, BH_CHECKSUM, sum); in insertInternal()
402 writeInt(header, BH_OFFSET, mActiveBytes); in insertInternal()
403 writeInt(header, BH_LENGTH, length); in insertInternal()
404 mActiveDataFile.write(header); in insertInternal()
490 byte[] header = mBlobHeader; in getBlob()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DMailPreferenceActivity.java113 final Header header = new Header(); in onBuildHeaders() local
117 header.title = account.getEmailAddress(); in onBuildHeaders()
119 header.title = account.getDisplayName(); in onBuildHeaders()
120 header.summary = account.getEmailAddress(); in onBuildHeaders()
122 header.fragment = account.settingsFragmentClass; in onBuildHeaders()
126 header.fragmentArguments = accountBundle; in onBuildHeaders()
128 target.add(header); in onBuildHeaders()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java36 private Header header = null; field in Entity
66 return header; in getHeader()
74 public void setHeader(Header header) { in setHeader() argument
75 this.header = header; in setHeader()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictDecoder.java48 final DictionaryHeader header = binaryDictionary.getHeader(); in readHeader() local
50 if (header == null) { in readHeader()
53 return header; in readHeader()
64 final DictionaryHeader header = readHeader(); in readDictionaryBinary() local
66 new FusionDictionary(new FusionDictionary.PtNodeArray(), header.mDictionaryOptions); in readDictionaryBinary()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java493 String header; in parseMimeHeaders() local
497 header = headers[i]; in parseMimeHeaders()
498 if(D) Log.d(TAG,"Header[" + i + "]: " + header); in parseMimeHeaders()
504 if(header.trim() == "") in parseMimeHeaders()
506 String[] headerParts = header.split(":",2); in parseMimeHeaders()
572 if(D) Log.w(TAG,"Skipping unknown header: " + headerType + " (" + header + ")"); in parseMimeHeaders()
590 for(String header : headers) { in parseMimePart()
592 if((header.length() == 0) in parseMimePart()
593 || (header.trim().isEmpty()) in parseMimePart()
594 || header.trim().equals("--")) in parseMimePart()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1708 String header = null; in dataItemToEntry() local
1747 header = res.getString(R.string.header_im_entry); in dataItemToEntry()
1752 header = Im.getProtocolLabel(res, protocol, in dataItemToEntry()
1756 entryContextMenuInfo = new EntryContextMenuInfo(im.getData(), header, in dataItemToEntry()
1760 header = res.getString(R.string.header_organization_entry); in dataItemToEntry()
1762 entryContextMenuInfo = new EntryContextMenuInfo(subHeader, header, in dataItemToEntry()
1776 header = res.getString(R.string.header_nickname_entry); in dataItemToEntry()
1778 entryContextMenuInfo = new EntryContextMenuInfo(subHeader, header, in dataItemToEntry()
1783 header = res.getString(R.string.header_note_entry); in dataItemToEntry()
1785 entryContextMenuInfo = new EntryContextMenuInfo(subHeader, header, in dataItemToEntry()
[all …]
DExpandingEntryCardView.java122 public Entry(int id, Drawable mainIcon, String header, String subHeader, in Entry() argument
132 mHeader = header; in Entry()
632 TextView header = (TextView) entryView.findViewById(R.id.header); in setEntryHeaderColor() local
633 if (header != null) { in setEntryHeaderColor()
634 header.setTextColor(color); in setEntryHeaderColor()
702 final TextView header = (TextView) view.findViewById(R.id.header); in createEntryView() local
704 header.setText(entry.getHeader()); in createEntryView()
706 header.setVisibility(View.GONE); in createEntryView()
749 if (header.getVisibility() == View.VISIBLE && subHeader.getVisibility() == View.GONE && in createEntryView()
752 (RelativeLayout.LayoutParams) header.getLayoutParams(); in createEntryView()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DTitledSettingsFragment.java114 mHeader = (TextView) v.findViewById(R.id.header); in initializeLayout()
144 public void positionOnCircular(Context context, View header, View details, in positionOnCircular() argument
148 (LinearLayout.LayoutParams) header.getLayoutParams(); in positionOnCircular()
159 header.setLayoutParams(params); in positionOnCircular()
162 if (header instanceof TextView) { in positionOnCircular()
163 ((TextView) header).setGravity(Gravity.CENTER); in positionOnCircular()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DHeader.java59 final DictionaryHeader header = spec.mResult; in run() local
63 System.out.println("Format version : " + header.mFormatOptions.mVersion); in run()
66 System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing)); in run()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java61 final DictionaryHeader header = binaryDictionary.getHeader(); in getHeaderWithOffsetAndLength() local
63 if (header == null) { in getHeaderWithOffsetAndLength()
66 return header; in getHeaderWithOffsetAndLength()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeHeader.java57 String[] header = getHeader(name); in getFirstHeader() local
58 if (header == null) { in getFirstHeader()
61 return header[0]; in getFirstHeader()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeHeader.java58 String[] header = getHeader(name); in getFirstHeader() local
59 if (header == null) { in getFirstHeader()
62 return header[0]; in getFirstHeader()
/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java213 HeaderItem header =
217 mResultAdapter.add(new ListRow(header, resultsAdapter));
219 HeaderItem header =
224 mResultAdapter.add(new ListRow(header, resultsAdapter));
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
DDictionaryHeaderUtils.java27 final DictionaryHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull( in getContentVersion() local
29 return Integer.parseInt(header.mVersionString); in getContentVersion()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/
Doffdevice_intermediate_dict.h34 OffdeviceIntermediateDict(const OffdeviceIntermediateDictHeader &header) in OffdeviceIntermediateDict() argument
35 : mHeader(header), mRootPtNodeArray() {} in OffdeviceIntermediateDict()
/packages/apps/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java131 public void onHeaderClick(Header header, int position) { in onHeaderClick() argument
132 if (header.id == R.id.settings_header_sounds_and_vibration) { in onHeaderClick()
145 super.onHeaderClick(header, position); in onHeaderClick()

1234