Properties.h revision 51769a68a5cb34e9564740c6a854fcb93018789d
151769a68a5cb34e9564740c6a854fcb93018789dRomain Guy/*
251769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * Copyright (C) 2010 The Android Open Source Project
351769a68a5cb34e9564740c6a854fcb93018789dRomain Guy *
451769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * Licensed under the Apache License, Version 2.0 (the "License");
551769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * you may not use this file except in compliance with the License.
651769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * You may obtain a copy of the License at
751769a68a5cb34e9564740c6a854fcb93018789dRomain Guy *
851769a68a5cb34e9564740c6a854fcb93018789dRomain Guy *      http://www.apache.org/licenses/LICENSE-2.0
951769a68a5cb34e9564740c6a854fcb93018789dRomain Guy *
1051769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * Unless required by applicable law or agreed to in writing, software
1151769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * distributed under the License is distributed on an "AS IS" BASIS,
1251769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1351769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * See the License for the specific language governing permissions and
1451769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * limitations under the License.
1551769a68a5cb34e9564740c6a854fcb93018789dRomain Guy */
1651769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
1751769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#ifndef ANDROID_UI_PROPERTIES_H
1851769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define ANDROID_UI_PROPERTIES_H
1951769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
2051769a68a5cb34e9564740c6a854fcb93018789dRomain Guy/**
2151769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * This file contains the list of system properties used to configure
2251769a68a5cb34e9564740c6a854fcb93018789dRomain Guy * the OpenGLRenderer.
2351769a68a5cb34e9564740c6a854fcb93018789dRomain Guy */
2451769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
2551769a68a5cb34e9564740c6a854fcb93018789dRomain Guy// These properties are defined in mega-bytes
2651769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define PROPERTY_TEXTURE_CACHE_SIZE "ro.hwui.texture_cache_size"
2751769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define PROPERTY_LAYER_CACHE_SIZE "ro.hwui.layer_cache_size"
2851769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define PROPERTY_GRADIENT_CACHE_SIZE "ro.hwui.gradient_cache_size"
2951769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
3051769a68a5cb34e9564740c6a854fcb93018789dRomain Guy// These properties are defined in pixels
3151769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define PROPERTY_TEXT_CACHE_WIDTH "ro.hwui.text_cache_width"
3251769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#define PROPERTY_TEXT_CACHE_HEIGHT "ro.hwui.text_cache_height"
3351769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
3451769a68a5cb34e9564740c6a854fcb93018789dRomain Guy#endif // ANDROID_UI_PROPERTIES_H
3551769a68a5cb34e9564740c6a854fcb93018789dRomain Guy
36