/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | TypedArray_Delegate.java | 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
|
H A D | Resources_Theme_Delegate.java | 93 int resid, TypedValue outValue, 97 outValue, resolveRefs); 91 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
/frameworks/base/libs/hwui/utils/ |
H A D | TinyHashMap.h | 51 bool get(TKey key, TValue& outValue) { argument 57 outValue = mTable.entryAt(index).value;
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 46 bool RawString::flatten(android::Res_value& outValue) const { 47 outValue.dataType = ExtendedTypes::TYPE_RAW_STRING; 48 outValue.data = static_cast<uint32_t>(value.getIndex()); 66 bool Reference::flatten(android::Res_value& outValue) const { 67 outValue.dataType = (referenceType == Reference::Type::kResource) 70 outValue.data = id.id; 120 bool String::flatten(android::Res_value& outValue) const { 126 outValue.dataType = android::Res_value::TYPE_STRING; 127 outValue.data = static_cast<uint32_t>(value.getIndex()); 142 bool StyledString::flatten(android::Res_value& outValue) cons [all...] |
H A D | ResourceValues.h | 101 virtual bool flatten(android::Res_value& outValue) const = 0; 134 bool flatten(android::Res_value& outValue) const override; 159 bool flatten(android::Res_value& outValue) const override; 169 bool flatten(android::Res_value& outValue) const override; 179 bool flatten(android::Res_value& outValue) const override; 190 bool flatten(android::Res_value& outValue) const override; 204 bool flatten(android::Res_value& outValue) const override;
|
/frameworks/base/core/java/android/app/ |
H A D | TimePickerDialog.java | 86 final TypedValue outValue = new TypedValue(); 87 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true); 88 return outValue.resourceId; 116 final TypedValue outValue = new TypedValue(); 117 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true); 118 final int layoutResId = outValue.resourceId;
|
H A D | Presentation.java | 300 TypedValue outValue = new TypedValue(); 302 com.android.internal.R.attr.presentationTheme, outValue, true); 303 theme = outValue.resourceId;
|
H A D | DatePickerDialog.java | 87 final TypedValue outValue = new TypedValue(); 88 context.getTheme().resolveAttribute(R.attr.datePickerDialogTheme, outValue, true); 89 return outValue.resourceId;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 193 TypedValue outValue, 196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); 198 if (outValue.type != TypedValue.TYPE_STRING) { 201 outValue.string = mStringBlocks[block].get(outValue.data); 228 TypedValue outValue, boolean resolveRefs) { 229 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs); 231 if (outValue.type != TypedValue.TYPE_STRING) { 239 outValue.string = blocks[block].get(outValue 191 getResourceValue(int ident, int density, TypedValue outValue, boolean resolveRefs) argument 227 getThemeValue(long theme, int ident, TypedValue outValue, boolean resolveRefs) argument 733 loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) argument 737 loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, boolean resolve) argument 789 loadThemeAttributeValue(long theme, int ident, TypedValue outValue, boolean resolve) argument [all...] |
H A D | TypedArray.java | 906 * @param outValue TypedValue object in which to place the attribute's 912 public boolean getValue(int index, TypedValue outValue) { argument 917 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue); 1130 private boolean getValueAt(int index, TypedValue outValue) { argument 1136 outValue.type = type; 1137 outValue.data = data[index+AssetManager.STYLE_DATA]; 1138 outValue.assetCookie = data[index+AssetManager.STYLE_ASSET_COOKIE]; 1139 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID]; 1140 outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS]; 1141 outValue [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDialog.java | 150 TypedValue outValue = new TypedValue(); 151 context.getTheme().resolveAttribute(R.attr.dialogTheme, outValue, true); 152 themeId = outValue.resourceId;
|
H A D | AppCompatDelegateImplV7.java | 346 TypedValue outValue = new TypedValue(); 347 mContext.getTheme().resolveAttribute(R.attr.actionBarTheme, outValue, true); 350 if (outValue.resourceId != 0) { 351 themedContext = new ContextThemeWrapper(mContext, outValue.resourceId); 679 final TypedValue outValue = new TypedValue(); 681 baseTheme.resolveAttribute(R.attr.actionBarTheme, outValue, true); 684 if (outValue.resourceId != 0) { 687 actionBarTheme.applyStyle(outValue.resourceId, true); 704 R.attr.actionBarSize, outValue, true); 705 final int height = TypedValue.complexToDimensionPixelSize(outValue [all...] |
/frameworks/native/include/input/ |
H A D | VirtualKeyMap.h | 71 bool parseNextIntField(int32_t* outValue);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ResourcesWrapper.java | 205 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 207 mResources.getValue(id, outValue, resolveRefs); 211 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument 213 mResources.getValueForDensity(id, density, outValue, resolveRefs); 217 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument 219 mResources.getValue(name, outValue, resolveRefs);
|
H A D | TintTypedArray.java | 162 public boolean getValue(int index, TypedValue outValue) { argument 163 return mWrapped.getValue(index, outValue);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 395 * @param outValue the TypedValue to receive the parsed value 400 TypedValue outValue, boolean requireUnit) { 440 if (parseUnit(end, outValue, sFloatOut)) { 441 computeTypedValue(outValue, f, sFloatOut[0]); 451 if (outValue != null) { 453 outValue.type = TypedValue.TYPE_FLOAT; 454 outValue.data = Float.floatToIntBits(f); 457 applyUnit(sUnitNames[1], outValue, sFloatOut); 458 computeTypedValue(outValue, f, sFloatOut[0]); 474 private static void computeTypedValue(TypedValue outValue, floa argument 399 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument 515 parseUnit(String str, TypedValue outValue, float[] outScale) argument 528 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument [all...] |
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 157 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { argument 164 *outValue = strtol(token.string(), &end, 0);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1076 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const 1079 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData); 1309 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const 1318 outValue->copyFrom_dtoh(attr->typedValue); 1320 mTree.mDynamicRefTable->lookupResourceValue(outValue) != NO_ERROR) { 3406 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, argument 3455 *outValue = te.value; 3869 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, argument 3927 outValue->size = dtohs(value->size); 3928 outValue 4665 parse_unit(const char* str, Res_value* outValue, float* outScale, const char** outEnd) argument 4698 U16StringToInt(const char16_t* s, size_t len, Res_value* outValue) argument 4787 stringToInt(const char16_t* s, size_t len, Res_value* outValue) argument 4792 stringToFloat(const char16_t* s, size_t len, Res_value* outValue) argument 4887 stringToValue(Res_value* outValue, String16* outString, const char16_t* s, size_t len, bool preserveSpaces, bool coerceType, uint32_t attrID, const String16* defType, const String16* defPackage, Accessor* accessor, void* accessorCookie, uint32_t attrType, bool enforcePrivate) const argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptXml.cpp | 164 uint32_t attrRes, Res_value* outValue, String8* outError) { 172 if (tree.getAttributeValue(idx, outValue) != NO_ERROR) { 173 if (outValue->dataType == Res_value::TYPE_REFERENCE) { 174 resTable.resolveReference(outValue, 0); 163 getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, Res_value* outValue, String8* outError) argument
|
H A D | AaptXml.h | 114 * Returns the resource for the specified attribute in the outValue parameter. 118 const android::ResXMLTree& tree, uint32_t attrRes, android::Res_value* outValue,
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 172 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 178 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 723 ssize_t getTextValue(Res_value* outValue) const; 759 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const; 1535 bool U16StringToInt(const char16_t* s, size_t len, Res_value* outValue); 1581 * getTableStringBlock() and getTableCookie()) and fills in 'outValue'. If 1589 * @param outValue Filled in with the resource data that was found. 1593 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false, 1598 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue, argument 1600 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL); 1659 * fills in 'outValue'. If not found, returns a negative error 1668 * @param outValue Fille [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 276 final TypedValue outValue = new TypedValue(); 277 context.getTheme().resolveAttribute(tintAttrId, outValue, true); 278 return applyTintColor(context, drawableId, outValue.resourceId);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | HeadersFragment.java | 240 TypedValue outValue = new TypedValue(); 241 if (getActivity().getTheme().resolveAttribute(R.attr.defaultBrandColor, outValue, true)) { 242 return getResources().getColor(outValue.resourceId);
|
H A D | HeadersSupportFragment.java | 242 TypedValue outValue = new TypedValue(); 243 if (getActivity().getTheme().resolveAttribute(R.attr.defaultBrandColor, outValue, true)) { 244 return getResources().getColor(outValue.resourceId);
|