GraphicTypes.h revision 6266589793ddd9769a649a6b5f61ef115179572b
1a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin/* 2a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * Copyright 2018 The Android Open Source Project 3a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * 4a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * Licensed under the Apache License, Version 2.0 (the "License"); 5a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * you may not use this file except in compliance with the License. 6a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * You may obtain a copy of the License at 7a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * 8a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * http://www.apache.org/licenses/LICENSE-2.0 9a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * 10a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * Unless required by applicable law or agreed to in writing, software 11a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * distributed under the License is distributed on an "AS IS" BASIS, 12a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * See the License for the specific language governing permissions and 14a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin * limitations under the License. 15a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin */ 16a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin 17a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin#pragma once 18a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin 19a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin#include <android/hardware/graphics/common/1.1/types.h> 20a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin#include <system/graphics.h> 21a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin 22fd997e0969100418b4df8b8d97d21d497afa76c3Peiyong Lin// android::ui::* in this header file will alias different types as 23fd997e0969100418b4df8b8d97d21d497afa76c3Peiyong Lin// the HIDL interface is updated. 24a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Linnamespace android { 25fd997e0969100418b4df8b8d97d21d497afa76c3Peiyong Linnamespace ui { 26a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin 276266589793ddd9769a649a6b5f61ef115179572bPeiyong Linusing android::hardware::graphics::common::V1_0::Hdr; 280e7a791d51e92aafefd416044a2d38b6eec22a00Peiyong Linusing android::hardware::graphics::common::V1_1::ColorMode; 2934beb7a0ff0494b0c5ad81104171f8a49e599163Peiyong Linusing android::hardware::graphics::common::V1_1::Dataspace; 3034beb7a0ff0494b0c5ad81104171f8a49e599163Peiyong Linusing android::hardware::graphics::common::V1_1::PixelFormat; 310e7a791d51e92aafefd416044a2d38b6eec22a00Peiyong Linusing android::hardware::graphics::common::V1_1::RenderIntent; 32a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin 33fd997e0969100418b4df8b8d97d21d497afa76c3Peiyong Lin} // namespace ui 34a52f0295622a42849f5ef81c44589b816b2ccacbPeiyong Lin} // namespace android 35