Home
last modified time | relevance | path

Searched refs:mHeader (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/libs/androidfw/
DCursorWindow.cpp36 mHeader = static_cast<Header*>(mData); in CursorWindow()
73 window->mHeader->freeOffset, in create()
74 window->mHeader->numRows, in create()
75 window->mHeader->numColumns, in create()
128 window->mHeader->freeOffset, in createFromParcel()
129 window->mHeader->numRows, in createFromParcel()
130 window->mHeader->numColumns, in createFromParcel()
156 mHeader->freeOffset = sizeof(Header) + sizeof(RowSlotChunk); in clear()
157 mHeader->firstChunkOffset = sizeof(Header); in clear()
158 mHeader->numRows = 0; in clear()
[all …]
DResourceTypes.cpp423 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
428 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
451 mHeader = (const ResStringPool_header*) header; in setToEmpty()
491 mHeader = (const ResStringPool_header*)data; in setTo()
494 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
495 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo()
496 h->header.type = dtohs(mHeader->header.type); in setTo()
497 h->header.size = dtohl(mHeader->header.size); in setTo()
498 h->stringCount = dtohl(mHeader->stringCount); in setTo()
499 h->styleCount = dtohl(mHeader->styleCount); in setTo()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMediaNotificationView.java41 private NotificationHeaderView mHeader; field in MediaNotificationView
102 if (headerTextMarginEnd != mHeader.getHeaderTextMarginEnd()) { in onMeasure()
103 mHeader.setHeaderTextMarginEnd(headerTextMarginEnd); in onMeasure()
106 params = (MarginLayoutParams) mHeader.getLayoutParams(); in onMeasure()
109 mHeader.setLayoutParams(params); in onMeasure()
112 if (mHeader.getPaddingEnd() != mNotificationContentImageMarginEnd) { in onMeasure()
113 mHeader.setPaddingRelative(mHeader.getPaddingStart(), in onMeasure()
114 mHeader.getPaddingTop(), in onMeasure()
116 mHeader.getPaddingBottom()); in onMeasure()
138 if (mHeader.getPaddingEnd() != mNotificationContentMarginEnd) { in resetHeaderIndention()
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp60 mHeader(NULL), in SoftOpus()
76 if (mHeader != NULL) { in ~SoftOpus()
77 delete mHeader; in ~SoftOpus()
78 mHeader = NULL; in ~SoftOpus()
178 opusParams->nChannels = mHeader->channels; in internalGetParameter()
209 pcmParams->nChannels = mHeader->channels; in internalGetParameter()
394 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in handleEOS()
404 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in handleEOS()
422 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
443 delete mHeader; in onQueueFilled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java69 protected QuickStatusBarHeader mHeader; field in QSFragment
109 mHeader = view.findViewById(R.id.header); in onViewCreated()
113 mQSDetail.setQsPanel(mQSPanel, mHeader, (View) mFooter); in onViewCreated()
115 mHeader.findViewById(R.id.quick_qs_panel), mQSPanel); in onViewCreated()
162 return mHeader; in getHeader()
208 mHeader.setQSPanel(mQSPanel); in setHost()
228 mHeader.disable(state1, state2, animate); in disable()
238 mHeader.setVisibility((mQsExpanded || !mKeyguardShowing || mHeaderAnimating) in updateQsState()
241 mHeader.setExpanded((mKeyguardShowing && !mHeaderAnimating) in updateQsState()
308 mHeader.setListening(listening); in setListening()
[all …]
DQSContainerImpl.java42 private QuickStatusBarHeader mHeader; field in QSContainerImpl
63 mHeader = findViewById(R.id.header); in onFinishInflate()
167 : Math.round(mQsExpansion * (heightOverride - mHeader.getHeight())) in calculateContainerHeight()
168 + mHeader.getHeight(); in calculateContainerHeight()
191 mHeader.setMargins(mSideMargins); in setMargins()
DQSDetail.java70 private QuickStatusBarHeader mHeader; field in QSDetail
122 mHeader = header; in setQsPanel()
124 mHeader.setCallback(mQsPanelCallback); in setQsPanel()
218 mHeader.setVisibility(View.VISIBLE); in handleShowingDetail()
358 mHeader.setVisibility(View.INVISIBLE);
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp118 memset(&mHeader, 0, sizeof(mHeader)); in onStop()
141 memset(&mHeader, 0, sizeof(mHeader)); in initDecoder()
266 if (!ParseOpusHeader((uint8_t *)opusHeadBuf, opusHeadSize, &mHeader)) { in process()
273 if (mHeader.channels <= kMaxChannelsWithDefaultLayout) { in process()
279 mHeader.stream_map, in process()
280 mHeader.channels); in process()
284 mHeader.channels, in process()
285 mHeader.num_streams, in process()
286 mHeader.num_coupled, in process()
297 OPUS_SET_GAIN(mHeader.gain_db)); in process()
[all …]
/frameworks/base/services/net/java/android/net/netlink/
DNetlinkMessage.java85 protected StructNlMsgHdr mHeader; field in NetlinkMessage
88 mHeader = nlmsghdr; in NetlinkMessage()
92 return mHeader; in getHeader()
97 return "NetlinkMessage{" + (mHeader == null ? "" : mHeader.toString()) + "}"; in toString()
DConntrackMessage.java86 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest()
87 ctmsg.mHeader.nlmsg_type = (NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_NEW; in newIPv4TimeoutUpdateRequest()
88 ctmsg.mHeader.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newIPv4TimeoutUpdateRequest()
89 ctmsg.mHeader.nlmsg_seq = 1; in newIPv4TimeoutUpdateRequest()
106 mHeader.pack(byteBuffer); in pack()
DNetlinkErrorMessage.java57 + "nlmsghdr{" + (mHeader == null ? "" : mHeader.toString()) + "}, " in toString()
DRtNetlinkNeighborMessage.java109 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
243 + "nlmsghdr{" + (mHeader == null ? "" : mHeader.toString()) + "}, " in toString()
/frameworks/base/media/apex/java/android/media/
DUriDataSourceDesc.java40 private Map<String, String> mHeader; field in UriDataSourceDesc
47 mHeader = header; in UriDataSourceDesc()
64 if (mHeader == null) { in getHeaders()
67 return new HashMap<String, String>(mHeader); in getHeaders()
DDataSourceDesc.java138 private Map<String, String> mHeader; field in DataSourceDesc.Builder
172 mHeader = ((UriDataSourceDesc) dsd).getHeaders(); in Builder()
201 mMediaId, mStartPositionMs, mEndPositionMs, mUri, mHeader, mCookies); in build()
311 mHeader = new HashMap<String, String>(headers); in setDataSource()
/frameworks/base/core/java/android/app/backup/
DBackupDataInput.java67 private EntityHeader mHeader = new EntityHeader(); field in BackupDataInput
107 int result = readNextHeader_native(mBackupReader, mHeader); in readNextHeader()
130 return mHeader.key; in getKey()
145 return mHeader.dataSize; in getDataSize()
/frameworks/base/core/java/android/service/autofill/
DFillResponse.java78 private final @Nullable RemoteViews mHeader; field in FillResponse
94 mHeader = builder.mHeader; in FillResponse()
128 return mHeader; in getHeader()
199 private RemoteViews mHeader; field in FillResponse.Builder
280 if (mHeader != null || mFooter != null) { in setAuthentication()
489 mHeader = Preconditions.checkNotNull(header); in setHeader()
571 if (mDatasets == null && (mHeader != null || mFooter != null)) { in build()
620 if (mHeader != null) { in toString()
662 parcel.writeParcelable(mHeader, flags); in writeToParcel()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1162 private final PhotoView mHeader; field in PhotoView.ScaleRunnable
1178 mHeader = header; in ScaleRunnable()
1200 mHeader.post(this); in start()
1222 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1226 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()
1231 mHeader.post(this); in run()
1244 private final PhotoView mHeader; field in PhotoView.TranslateRunnable
1258 mHeader = header; in TranslateRunnable()
1278 mHeader.post(this); in start()
1300 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java205 private final SmsCbHeader mHeader; field in GsmCellBroadcastHandler.SmsCbConcatInfo
209 mHeader = header; in SmsCbConcatInfo()
215 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
226 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h91 inline size_t freeSpace() { return mSize - mHeader->freeOffset; } in freeSpace()
92 inline uint32_t getNumRows() { return mHeader->numRows; } in getNumRows()
93 inline uint32_t getNumColumns() { return mHeader->numColumns; } in getNumColumns()
169 Header* mHeader; variable
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp270 buffer->mHeader = *header; in useBuffer()
322 if (buffer->mHeader == header) { in freeBuffer()
416 if (buffer->mHeader == header) { in onMessageReceived()
551 notifyEmptyBufferDone(buffer->mHeader); in onPortEnable()
554 notifyFillBufferDone(buffer->mHeader); in onPortEnable()
601 buffer->mHeader->nFilledLen = 0; in onPortFlush()
602 buffer->mHeader->nOffset = 0; in onPortFlush()
603 buffer->mHeader->nFlags = 0; in onPortFlush()
608 notifyEmptyBufferDone(buffer->mHeader); in onPortFlush()
612 notifyFillBufferDone(buffer->mHeader); in onPortFlush()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp384 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
434 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
483 if (mHeaderOffset + bytes > sizeof(mHeader) || mHeaderComplete) { in onEncodedFlacAvailable()
488 memcpy(mHeader + mHeaderOffset, buffer, bytes); in onEncodedFlacAvailable()
507 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
512 mHeader, mHeaderOffset); in onEncodedFlacAvailable()
524 outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp96 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
106 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader; in onQueueFilled()
120 while (it != outQueue.end() && (*it)->mHeader != outHeader) { in onQueueFilled()
207 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader; in onQueueFilled()
315 while ((*it)->mHeader != outHeader) { in onQueueFilled()
/frameworks/base/core/java/android/net/
DDnsPacket.java206 protected final DnsHeader mHeader; field in DnsPacket
214 mHeader = new DnsHeader(buffer); in DnsPacket()
222 final int count = mHeader.getRecordCount(i); in DnsPacket()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java104 private final @Nullable View mHeader; field in FillUi
213 mHeader = null; in FillUi()
263 mHeader = headerPresentation.applyWithTheme(mContext, null, clickBlocker, mThemeId); in FillUi()
267 headerContainer.addView(mHeader); in FillUi()
270 mHeader = null; in FillUi()
473 if (mHeader != null) { in updateContentSize()
474 mHeader.measure(widthMeasureSpec, heightMeasureSpec); in updateContentSize()
475 changed |= updateWidth(mHeader, maxSize); in updateContentSize()
476 changed |= updateHeight(mHeader, maxSize); in updateContentSize()
714 if (mHeader != null) { in dump()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFragment.java51 private View mHeader; field in CarQSFragment
69 mHeader = view.findViewById(R.id.header); in onViewCreated()
102 return mHeader; in getHeader()

123