Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DAttributeResolution_test.cpp88 EXPECT_EQ(1u, values_cursor[STYLE_DATA]); in TEST()
96 EXPECT_EQ(2u, values_cursor[STYLE_DATA]); in TEST()
119 EXPECT_EQ(1u, values_cursor[STYLE_DATA]); in TEST_F()
134 EXPECT_EQ(3u, values_cursor[STYLE_DATA]); in TEST_F()
142 EXPECT_EQ(Res_value::DATA_NULL_UNDEFINED, values_cursor[STYLE_DATA]); in TEST_F()
152 EXPECT_EQ(Res_value::DATA_NULL_EMPTY, values_cursor[STYLE_DATA]); in TEST_F()
169 EXPECT_EQ(Res_value::DATA_NULL_EMPTY, values_cursor[STYLE_DATA]); in TEST_F()
177 EXPECT_EQ(0u, values_cursor[STYLE_DATA]); in TEST_F()
185 EXPECT_EQ(10u, values_cursor[STYLE_DATA]); in TEST_F()
193 EXPECT_EQ(R::attr::attr_indirect, values_cursor[STYLE_DATA]); in TEST_F()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java67 static final int STYLE_DATA = 1; field in TypedArray
260 return mXml.getPooledString(data[index + STYLE_DATA]).toString(); in getNonResourceString()
338 return data[index + STYLE_DATA] != 0; in getBoolean()
377 return data[index + STYLE_DATA]; in getInt()
413 return Float.intBitsToFloat(data[index + STYLE_DATA]); in getFloat()
416 return data[index + STYLE_DATA]; in getFloat()
465 return data[index + STYLE_DATA]; in getColor()
583 return data[index + STYLE_DATA]; in getInteger()
630 return TypedValue.complexToDimension(data[index + STYLE_DATA], mMetrics); in getDimension()
678 return TypedValue.complexToDimensionPixelOffset(data[index + STYLE_DATA], mMetrics); in getDimensionPixelOffset()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h30 STYLE_DATA = 1, enumerator
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp184 out_values[STYLE_DATA] = value.data; in ResolveAttrs()
379 out_values[STYLE_DATA] = value.data; in ApplyStyle()
454 out_values[STYLE_DATA] = value.data; in RetrieveAttributes()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp854 cursor[STYLE_DATA] = static_cast<jint>(value.data); in NativeGetResourceArray()