Home
last modified time | relevance | path

Searched refs:TYPE_NULL (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/libs/androidfw/
DAttributeResolution.cpp112 value.dataType = Res_value::TYPE_NULL; in ResolveAttrs()
140 if (value.dataType != Res_value::TYPE_NULL) { in ResolveAttrs()
173 value.dataType = Res_value::TYPE_NULL; in ResolveAttrs()
191 (value.dataType != Res_value::TYPE_NULL || value.data == Res_value::DATA_NULL_EMPTY)) { in ResolveAttrs()
239 value.dataType = Res_value::TYPE_NULL; in ApplyStyle()
286 value.dataType = Res_value::TYPE_NULL; in ApplyStyle()
304 if (value.dataType == Res_value::TYPE_NULL && value.data != Res_value::DATA_NULL_EMPTY) { in ApplyStyle()
318 if (value.dataType == Res_value::TYPE_NULL && value.data != Res_value::DATA_NULL_EMPTY) { in ApplyStyle()
333 if (value.dataType != Res_value::TYPE_NULL) { in ApplyStyle()
368 value.dataType = Res_value::TYPE_NULL; in ApplyStyle()
[all …]
DAssetManager2.cpp976 if (force || (entry.value.dataType == Res_value::TYPE_NULL && in ApplyStyle()
1015 if (entry.value.dataType == Res_value::TYPE_NULL && in GetAttribute()
/frameworks/base/core/java/android/content/res/
DTypedArray.java181 if (type == TypedValue.TYPE_NULL) { in getText()
218 if (type == TypedValue.TYPE_NULL) { in getString()
293 if (type == TypedValue.TYPE_NULL) { in getNonConfigurationString()
334 if (type == TypedValue.TYPE_NULL) { in getBoolean()
373 if (type == TypedValue.TYPE_NULL) { in getInt()
410 if (type == TypedValue.TYPE_NULL) { in getFloat()
461 if (type == TypedValue.TYPE_NULL) { in getColor()
579 if (type == TypedValue.TYPE_NULL) { in getInteger()
627 if (type == TypedValue.TYPE_NULL) { in getDimension()
675 if (type == TypedValue.TYPE_NULL) { in getDimensionPixelOffset()
[all …]
DXmlBlock.java211 if (t == TypedValue.TYPE_NULL) { in getAttributeValue()
/frameworks/base/libs/androidfw/tests/
DAttributeResolution_test.cpp141 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
151 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
168 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
176 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
200 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
223 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
263 EXPECT_EQ(Res_value::TYPE_NULL, values_cursor[STYLE_TYPE]); in TEST_F()
DResTable_test.cpp285 ASSERT_EQ(out.TYPE_NULL, out.dataType) << "Failed with " << s; in testU16StringToInt()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java38 private int mFromXType = TypedValue.TYPE_NULL;
39 private int mToXType = TypedValue.TYPE_NULL;
40 private int mFromYType = TypedValue.TYPE_NULL;
41 private int mToYType = TypedValue.TYPE_NULL;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DContentFrameLayout.java108 if (tvw != null && tvw.type != TypedValue.TYPE_NULL) { in onMeasure()
127 if (tvh != null && tvh.type != TypedValue.TYPE_NULL) { in onMeasure()
152 if (tv != null && tv.type != TypedValue.TYPE_NULL) { in onMeasure()
/frameworks/base/core/java/android/view/
DPointerIcon.java54 public static final int TYPE_NULL = 0; field in PointerIcon
144 private static final PointerIcon gNullIcon = new PointerIcon(TYPE_NULL);
202 if (type == TYPE_NULL) { in getSystemIcon()
339 if (type == TYPE_NULL) {
368 if (mType != TYPE_NULL) { in writeToParcel()
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
DPointerIconCompatTest.java81 compareSystemIcon(PointerIcon.TYPE_NULL, PointerIconCompat.TYPE_NULL); in testSystemIcon()
/frameworks/base/core/java/android/text/
DInputType.java75 public static final int TYPE_NULL = 0x00000000; field
/frameworks/base/core/java/android/util/
DTypedValue.java28 public static final int TYPE_NULL = 0x00; field in TypedValue
483 case TYPE_NULL: in coerceToString()
/frameworks/base/tools/aapt/
DXMLNode.h80 value.dataType = Res_value::TYPE_NULL; in attribute_entry()
85 || value.dataType == Res_value::TYPE_NULL in needStringValue()
/frameworks/support/compat/src/main/java/androidx/core/view/
DPointerIconCompat.java36 public static final int TYPE_NULL = 0; field in PointerIconCompat
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp199 …ASSERT_THAT(ResourceUtils::MakeEmpty(), Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_NULL, Res_… in TEST()
200 …yParseNullOrEmpty("@empty"), Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_NULL, Res_value::DATA… in TEST()
DResourceUtils.cpp330 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_NULL, in MakeEmpty()
543 case android::Res_value::TYPE_NULL: in AndroidTypeToAttributeTypeMask()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java630 case RestrictionEntry.TYPE_NULL: // hidden in loadRestriction()
715 case RestrictionEntry.TYPE_NULL: in addRestrictionToBundle()
DRestrictionEntry.java42 public static final int TYPE_NULL = 0; field in RestrictionEntry
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java55 import static android.util.TypedValue.TYPE_NULL;
803 case TYPE_NULL: in getValue()
824 return TYPE_NULL; in getType()
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java93 public int inputType = TYPE_NULL;
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DEmojiExtractTextLayout.java172 && ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
/frameworks/base/graphics/java/android/graphics/drawable/
DScaleDrawable.java173 if (type == TypedValue.TYPE_FRACTION || type == TypedValue.TYPE_NULL) { in getPercent()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java219 return InputType.TYPE_NULL; in getInputType()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2667 if (ei.inputType == InputType.TYPE_NULL || in onUpdateExtractingVisibility()
2703 ei.inputType != InputType.TYPE_NULL); in onUpdateExtractingViews()
2739 if (ei.inputType == InputType.TYPE_NULL) { in onExtractingInputChanged()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp769 val.dataType = android::Res_value::TYPE_NULL; in DeserializeItemFromPb()
773 val.dataType = android::Res_value::TYPE_NULL; in DeserializeItemFromPb()

123