2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
hwc_color 構造体リファレンス
#include <
hwcomposer_defs.h
>
|
uint8_t
|
r
|
|
uint8_t
|
g
|
|
uint8_t
|
b
|
|
uint8_t
|
a
|
|
この構造体のドキュメントは、次のファイルから生成されました。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Android Hardware Abstraction Layer: hwc_color Struct Reference\n\nhwc_color Struct Reference\n==========================\n\n[Data Fields](#pub-attribs) \nhwc_color Struct Reference \n\n`\n#include \u003c\n`[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)`\n\u003e\n`\n\n|---------|------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint8_t | [r](/reference/hal/structhwc__color#a4c5c6ceb8ed33456261fa907136e0c3a) |\n| ||\n| uint8_t | [g](/reference/hal/structhwc__color#a1673907d4d89d763bb7b94ec1eeb7b60) |\n| ||\n| uint8_t | [b](/reference/hal/structhwc__color#a4313c9563516f94387762ab05763456b) |\n| ||\n| uint8_t | [a](/reference/hal/structhwc__color#af4007aacd75b22aee32dba9ea96082c0) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[54](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------|\n| uint8_t a |\n\n\nDefinition at line\n[58](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t b |\n\n\nDefinition at line\n[57](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t g |\n\n\nDefinition at line\n[56](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t r |\n\n\nDefinition at line\n[55](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)"]]