Home
last modified time | relevance | path

Searched refs:mHeaders (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java99 private PinnedHeader[] mHeaders; field in PinnedHeaderListView
164 if (mHeaders == null) { in onScroll()
165 mHeaders = new PinnedHeader[mSize]; in onScroll()
166 } else if (mHeaders.length < mSize) { in onScroll()
167 PinnedHeader[] headers = mHeaders; in onScroll()
168 mHeaders = new PinnedHeader[mSize]; in onScroll()
169 System.arraycopy(headers, 0, mHeaders, 0, headers.length); in onScroll()
174 if (mHeaders[i] == null) { in onScroll()
175 mHeaders[i] = new PinnedHeader(); in onScroll()
177 mHeaders[i].view = mAdapter.getPinnedHeaderView(i, mHeaders[i].view, this); in onScroll()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DHttpHelper.java45 private Map<String,String> mHeaders; field in HttpHelper.GetRequest
81 return mHeaders; in getHeaders()
91 if (mHeaders == null) { in setHeader()
92 mHeaders = new HashMap<String,String>(); in setHeader()
94 mHeaders.put(name, value); in setHeader()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java83 private PduHeaders mHeaders = null; field in PduParser
128 mHeaders = parseHeaders(mPduDataStream); in parse()
129 if (null == mHeaders) { in parse()
135 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
138 if (false == checkMandatoryHeader(mHeaders)) { in parse()
146 int retrieveStatus = mHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in parse()
147 mHeaders.getOctet(PduHeaders.RETRIEVE_STATUS) : PduHeaders.RETRIEVE_STATUS_OK; in parse()
165 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
171 SendConf sendConf = new SendConf(mHeaders); in parse()
178 new NotificationInd(mHeaders); in parse()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java61 private PduHeaders mHeaders = null; field in PduParser
113 mHeaders = parseHeaders(mPduDataStream); in parse()
114 if (null == mHeaders) { in parse()
120 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
123 if (false == checkMandatoryHeader(mHeaders)) { in parse()
143 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
149 SendConf sendConf = new SendConf(mHeaders); in parse()
156 new NotificationInd(mHeaders); in parse()
163 new NotifyRespInd(mHeaders); in parse()
170 new RetrieveConf(mHeaders, mBody); in parse()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAnimatedAdapter.java170 private List<View> mHeaders = Lists.newArrayList(); field in AnimatedAdapter
325 contentCount += 1 /* footer */ + mHeaders.size(); in getCount()
407 if (mHeaders.size() > position) { in getItemViewType()
489 if (mHeaders.size() > position) { in getView()
490 return mHeaders.get(position); in getView()
718 if ((mHeaders.size() > position) || (position == getCount() - 1)) { in getItemId()
807 if (mHeaders.size() > position) { in getItem()
808 return mHeaders.get(position); in getItem()
901 mHeaders.add(headerView); in addHeader()
1130 int viewsAbove = mHeaders.size(); in getPositionOffset()
[all …]