Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java100 private PinnedHeader[] mHeaders; field in PinnedHeaderListView
165 if (mHeaders == null) { in onScroll()
166 mHeaders = new PinnedHeader[mSize]; in onScroll()
167 } else if (mHeaders.length < mSize) { in onScroll()
168 PinnedHeader[] headers = mHeaders; in onScroll()
169 mHeaders = new PinnedHeader[mSize]; in onScroll()
170 System.arraycopy(headers, 0, mHeaders, 0, headers.length); in onScroll()
175 if (mHeaders[i] == null) { in onScroll()
176 mHeaders[i] = new PinnedHeader(); in onScroll()
178 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/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java291 private final Headers mHeaders; field in Http.HttpError
302 mHeaders = headers; in HttpError()
315 return mHeaders; in getHeaders()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java527 private final Map<String, String> mHeaders; field in CaptivePortalLoginActivityTest.HttpServer.MockResponse
532 this.mHeaders = Collections.unmodifiableMap(new HashMap<>(headers)); in MockResponse()
587 mockResponse.mHeaders.forEach(response::addHeader); in serve()