Home
last modified time | relevance | path

Searched refs:Header (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/preference/
DPreferenceActivity.java178 private final ArrayList<Header> mHeaders = new ArrayList<Header>();
196 private Header mCurHeader;
227 ArrayList<Header> oldHeaders = new ArrayList<Header>(mHeaders);
233 Header header = onGetNewHeader();
235 Header mappedHeader = findBestMatchingHeader(header, oldHeaders);
240 Header mappedHeader = findBestMatchingHeader(mCurHeader, mHeaders);
250 private static class HeaderAdapter extends ArrayAdapter<Header> {
261 public HeaderAdapter(Context context, List<Header> objects, int layoutResId, in HeaderAdapter()
287 Header header = getItem(position); in getView()
328 public static final class Header implements Parcelable { class in PreferenceActivity
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java32 private static class Header { class in BackupHelperDispatcher
53 Header header = new Header(); in performBackup()
83 ParcelFileDescriptor newState, Header header, BackupHelper helper) in doOneBackup()
145 private static native int readHeader_native(Header h, FileDescriptor fd); in readHeader_native()
148 private static native int allocateHeader_native(Header h, FileDescriptor fd); in allocateHeader_native()
149 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); in writeHeader_native()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h175 class Header {
177 static std::unique_ptr<const Header> FromBinaryStream(std::istream& stream);
212 Header() = default;
216 DISALLOW_COPY_AND_ASSIGN(Header);
239 const std::unique_ptr<const Header>& GetHeader() const { in GetHeader()
264 std::unique_ptr<const Header> header_;
315 virtual void visit(const IdmapData::Header& header) = 0;
DPrettyPrintVisitor.h40 void visit(const IdmapData::Header& header) override;
DBinaryStreamVisitor.h36 void visit(const IdmapData::Header& header) override;
DRawPrintVisitor.h41 void visit(const IdmapData::Header& header) override;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt203 isVisible = header.type == Header.Type.DEFAULT in bindDataWithThemedHeaders()
250 private fun getHeaderStyle(header: Header): HeaderStyle { in getHeaderStyle()
257 private fun getHeaderBackground(header: Header): HeaderStyle.Background { in getHeaderBackground()
259 Header.Type.DEFAULT -> { in getHeaderBackground()
277 Header.Type.CUSTOM -> HeaderStyle.Background.Transparent in getHeaderBackground()
281 private fun getHeaderForeground(header: Header): HeaderStyle.Foreground { in getHeaderForeground()
283 Header.Type.DEFAULT -> { in getHeaderForeground()
313 Header.Type.CUSTOM -> when { in getHeaderForeground()
343 private fun fillHeaderInfo(taskInfo: RunningTaskInfo): Header { in fillHeaderInfo()
344 return Header( in fillHeaderInfo()
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DHeader.java33 public class Header implements RemoteComposeOperation { class
59 public Header(int majorVersion, int minorVersion, int patchVersion, in Header() method in Header
123 Header header = new Header(majorVersion, minorVersion, patchVersion, in read()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp175 size_t size = align4(sizeof(Header) + buildId.size()); in getFlattenedSize()
186 if (size < sizeof(Header)) { in flatten()
190 Header* header = reinterpret_cast<Header*>(buffer); in flatten()
201 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten()
241 if (size < sizeof(Header)) { in unflatten()
245 const Header* header = reinterpret_cast<const Header*>(buffer); in unflatten()
261 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten()
DBlobCache.h201 struct Header { struct
/frameworks/base/core/jni/
Dandroid_ddm_DdmHandleNativeHeap.cpp39 struct Header { struct
72 Header header; in DdmHandleNativeHeap_getLeakInfo()
99 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); in DdmHandleNativeHeap_getLeakInfo()
/frameworks/native/libs/gui/tests/
DDisplayEventStructLayout_test.cpp31 CHECK_OFFSET(DisplayEventReceiver::Event::Header, type, 0); in TEST()
32 CHECK_OFFSET(DisplayEventReceiver::Event::Header, displayId, 8); in TEST()
33 CHECK_OFFSET(DisplayEventReceiver::Event::Header, timestamp, 16); in TEST()
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h204 if (mmap_size >= sizeof(Header)) { in Import()
220 return sizeof(Header) + sizeof(Record) * record_count; in MemorySize()
249 if (mmap_size <= sizeof(Header)) { in GetRecordCount()
253 static_cast<uint32_t>((mmap_size - sizeof(Header)) / sizeof(Record)); in GetRecordCount()
380 struct Header { struct
453 Header header;
501 if (memory_size + sizeof(Header) < memory_size) return false; in ValidateGeometry()
502 if (memory_size + sizeof(Header) > mmap_size) return false; in ValidateGeometry()
601 Header* header_mmap() const { return &data_.mmap->header; } in header_mmap()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp185 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
186 std::unique_ptr<IdmapData::Header> idmap_data_header(new IdmapData::Header()); in FromBinaryStream()
201 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
344 std::unique_ptr<IdmapData::Header> data_header(new IdmapData::Header()); in FromResourceMapping()
416 void IdmapData::Header::accept(Visitor* v) const { in accept()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSuwScaffold.kt79 Header(imageVector, title) in <lambda>()
88 Header(imageVector, title) in <lambda>()
106 private fun Header( in Header() method
/frameworks/minikin/include/minikin/
DHyphenator.h171 struct Header;
277 const Header* getHeader() const { return reinterpret_cast<const Header*>(mPatternData); } in getHeader()
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h78 struct Header { struct
113 Header header;
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java20 import org.apache.http.Header;
53 Header h = me.getContentType(); in testParts()
/frameworks/minikin/rust/
Dhyphenator.rs226 pub struct Header<'a> { struct
304 impl<'a> Header<'a> { impl
307 Header { data: HyphenationData::new(bytes) } in new()
582 let header = Header::new(self.data); in hyphenate()
718 let header = Header::new(self.data);
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp113 CHECK_OFFSET(InputMessage::Header, type, 0); in TestHeaderSize()
114 CHECK_OFFSET(InputMessage::Header, seq, 4); in TestHeaderSize()
115 static_assert(sizeof(InputMessage::Header) == 8); in TestHeaderSize()
/frameworks/base/core/java/android/window/flags/
Dlse_desktop_experience.aconfig92 description: "Matches the App Header density to that of the app window, instead of SysUI's"
99 description: "Makes the App Header style adapt to the system's and app's light/dark theme"
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/card/
DSettingsCollapsibleCard.kt61 Header(title, imageVector, models.count { it.isVisible() }, expanded) { expanded = it } in SettingsCollapsibleCard()
74 private fun Header( in Header() method
/frameworks/native/libs/input/
DInputTransport.cpp157 return sizeof(Header) + body.key.size(); in size()
159 return sizeof(Header) + body.motion.size(); in size()
161 return sizeof(Header) + body.finished.size(); in size()
163 return sizeof(Header) + body.focus.size(); in size()
165 return sizeof(Header) + body.capture.size(); in size()
167 return sizeof(Header) + body.drag.size(); in size()
169 return sizeof(Header) + body.timeline.size(); in size()
171 return sizeof(Header) + body.touchMode.size(); in size()
173 return sizeof(Header); in size()
/frameworks/av/media/module/foundation/tests/OpusHeader/
DREADME.md3 #### Opus Header
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DOperations.java38 import com.android.internal.widget.remotecompose.core.operations.Header;
113 map.put(HEADER, Header.COMPANION); in map.put()

123