Home
last modified time | relevance | path

Searched refs:typedValue (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java978 TypedValue typedValue = ResourceHelper.getValue("status_bar_height", in findStatusBar() local
980 if (typedValue != null) { in findStatusBar()
982 mStatusBarSize = (int)typedValue.getDimension(metrics); in findStatusBar()
1011 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(), in findActionBar() local
1013 if (typedValue != null) { in findActionBar()
1015 mActionBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1036 TypedValue typedValue = ResourceHelper.getValue("windowTitleSize", in findActionBar() local
1038 if (typedValue != null) { in findActionBar()
1040 mTitleBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1059 TypedValue typedValue = ResourceHelper.getValue("status_bar_height", in findSystemBar() local
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1723 jclass typedValue = env->FindClass("android/util/TypedValue"); in register_android_content_AssetManager() local
1724 LOG_FATAL_IF(typedValue == NULL, "Unable to find class android/util/TypedValue"); in register_android_content_AssetManager()
1726 = env->GetFieldID(typedValue, "type", "I"); in register_android_content_AssetManager()
1729 = env->GetFieldID(typedValue, "data", "I"); in register_android_content_AssetManager()
1732 = env->GetFieldID(typedValue, "string", "Ljava/lang/CharSequence;"); in register_android_content_AssetManager()
1735 = env->GetFieldID(typedValue, "assetCookie", "I"); in register_android_content_AssetManager()
1738 = env->GetFieldID(typedValue, "resourceId", "I"); in register_android_content_AssetManager()
1741 = env->GetFieldID(typedValue, "changingConfigurations", "I"); in register_android_content_AssetManager()
1743 gTypedValueOffsets.mDensity = env->GetFieldID(typedValue, "density", "I"); in register_android_content_AssetManager()
/frameworks/base/tools/aapt/
DXMLNode.cpp1445 attr.typedValue.size = htods(sizeof(attr.typedValue)); in flatten_node()
1448 attr.typedValue.res0 = 0; in flatten_node()
1449 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node()
1450 attr.typedValue.data = htodl(strings.offsetForString(ae.string)); in flatten_node()
1452 attr.typedValue.res0 = 0; in flatten_node()
1453 attr.typedValue.dataType = ae.value.dataType; in flatten_node()
1454 attr.typedValue.data = htodl(ae.value.data); in flatten_node()
/frameworks/base/include/utils/
DResourceTypes.h603 struct Res_value typedValue; member
/frameworks/base/libs/utils/
DResourceTypes.cpp981 return attr->typedValue.dataType; in getAttributeDataType()
996 return dtohl(attr->typedValue.data); in getAttributeData()
1011 outValue->copyFrom_dtoh(attr->typedValue); in getAttributeValue()