/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/core/java/android/content/res/ |
H A D | AssetManager.java | 160 final TypedValue outValue = mValue; 161 if (getResourceValue(resId, 0, outValue, true)) { 162 return outValue.coerceToString(); 179 final TypedValue outValue = mValue; 180 final int block = loadResourceBagValue(resId, bagEntryId, outValue, true); 184 if (outValue.type == TypedValue.TYPE_STRING) { 185 return mStringBlocks[block].get(outValue.data); 187 return outValue.coerceToString(); 204 * Populates {@code outValue} with the data associated a particular 209 * @param outValue th 215 getResourceValue(@nyRes int resId, int densityDpi, @NonNull TypedValue outValue, boolean resolveRefs) argument 261 getThemeValue(long theme, @AnyRes int resId, @NonNull TypedValue outValue, boolean resolveRefs) argument 789 loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) argument 793 loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, boolean resolve) argument 848 loadThemeAttributeValue(long theme, int ident, TypedValue outValue, boolean resolve) argument [all...] |
H A D | TypedArray.java | 964 * @param outValue TypedValue object in which to place the attribute's 970 public boolean getValue(@StyleableRes int index, TypedValue outValue) { argument 975 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue); 1190 private boolean getValueAt(int index, TypedValue outValue) { argument 1196 outValue.type = type; 1197 outValue.data = data[index+AssetManager.STYLE_DATA]; 1198 outValue.assetCookie = data[index+AssetManager.STYLE_ASSET_COOKIE]; 1199 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID]; 1200 outValue.changingConfigurations = ActivityInfo.activityInfoConfigNativeToJava( 1202 outValue [all...] |
/frameworks/base/core/java/android/app/ |
H A D | TimePickerDialog.java | 84 final TypedValue outValue = new TypedValue(); 85 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true); 86 return outValue.resourceId; 114 final TypedValue outValue = new TypedValue(); 115 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true);
|
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 | 141 final TypedValue outValue = new TypedValue(); 142 context.getTheme().resolveAttribute(R.attr.datePickerDialogTheme, outValue, true); 143 return outValue.resourceId;
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 49 bool RawString::flatten(android::Res_value* outValue) const { 50 outValue->dataType = android::Res_value::TYPE_STRING; 51 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 69 bool Reference::flatten(android::Res_value* outValue) const { 70 outValue->dataType = (referenceType == Reference::Type::kResource) ? 72 outValue->data = util::hostToDevice32(id ? id.value().id : 0); 125 bool String::flatten(android::Res_value* outValue) const { 131 outValue->dataType = android::Res_value::TYPE_STRING; 132 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 158 bool StyledString::flatten(android::Res_value* outValue) cons [all...] |
H A D | ResourceValues.h | 129 virtual bool flatten(android::Res_value* outValue) const = 0; 161 bool flatten(android::Res_value* outValue) const override; 186 bool flatten(android::Res_value* outValue) const override; 201 bool flatten(android::Res_value* outValue) const override; 219 bool flatten(android::Res_value* outValue) const override; 238 bool flatten(android::Res_value* outValue) const override; 253 bool flatten(android::Res_value* outValue) const override;
|
H A D | ResourceUtils.h | 78 * Returns true if the value is a boolean, putting the result in `outValue`. 80 bool tryParseBool(const StringPiece16& str, bool* outValue);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDialog.java | 160 TypedValue outValue = new TypedValue(); 161 context.getTheme().resolveAttribute(R.attr.dialogTheme, outValue, true); 162 themeId = outValue.resourceId;
|
H A D | AppCompatDelegateImplV7.java | 383 TypedValue outValue = new TypedValue(); 384 mContext.getTheme().resolveAttribute(R.attr.actionBarTheme, outValue, true); 387 if (outValue.resourceId != 0) { 388 themedContext = new ContextThemeWrapper(mContext, outValue.resourceId); 737 final TypedValue outValue = new TypedValue(); 739 baseTheme.resolveAttribute(R.attr.actionBarTheme, outValue, true); 742 if (outValue.resourceId != 0) { 745 actionBarTheme.applyStyle(outValue.resourceId, true); 762 R.attr.actionBarSize, outValue, true); 763 final int height = TypedValue.complexToDimensionPixelSize(outValue [all...] |
H A D | ToolbarActionBar.java | 532 final TypedValue outValue = new TypedValue(); 537 widgetTheme.resolveAttribute(R.attr.actionBarPopupTheme, outValue, true); 538 if (outValue.resourceId != 0) { 539 widgetTheme.applyStyle(outValue.resourceId, true); 543 widgetTheme.resolveAttribute(R.attr.panelMenuListTheme, outValue, true); 544 if (outValue.resourceId != 0) { 545 widgetTheme.applyStyle(outValue.resourceId, true);
|
/frameworks/native/include/input/ |
H A D | VirtualKeyMap.h | 71 bool parseNextIntField(int32_t* outValue);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ResourcesWrapper.java | 202 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 204 mResources.getValue(id, outValue, resolveRefs); 208 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument 210 mResources.getValueForDensity(id, density, outValue, resolveRefs); 214 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument 216 mResources.getValue(name, outValue, resolveRefs);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 480 * @param outValue the TypedValue to receive the parsed value 485 TypedValue outValue, boolean requireUnit) { 525 if (parseUnit(end, outValue, sFloatOut)) { 526 computeTypedValue(outValue, f, sFloatOut[0]); 536 if (outValue != null) { 538 outValue.type = TypedValue.TYPE_FLOAT; 539 outValue.data = Float.floatToIntBits(f); 542 applyUnit(sUnitNames[1], outValue, sFloatOut); 543 computeTypedValue(outValue, f, sFloatOut[0]); 559 private static void computeTypedValue(TypedValue outValue, floa argument 484 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument 600 parseUnit(String str, TypedValue outValue, float[] outScale) argument 613 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | BottomSheetDialog.java | 121 TypedValue outValue = new TypedValue(); 123 R.attr.bottomSheetDialogTheme, outValue, true)) { 124 themeId = outValue.resourceId;
|
/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/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 | 177 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 183 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1078 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const 1081 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData); 1311 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const 1320 outValue->copyFrom_dtoh(attr->typedValue); 1322 mTree.mDynamicRefTable->lookupResourceValue(outValue) != NO_ERROR) { 3519 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, argument 3568 *outValue = te.value; 3989 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, argument 4047 outValue->size = dtohs(value->size); 4048 outValue 4816 parse_unit(const char* str, Res_value* outValue, float* outScale, const char** outEnd) argument 4849 U16StringToInt(const char16_t* s, size_t len, Res_value* outValue) argument 4938 stringToInt(const char16_t* s, size_t len, Res_value* outValue) argument 4943 stringToFloat(const char16_t* s, size_t len, Res_value* outValue) argument 5038 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/include/androidfw/ |
H A D | ResourceTypes.h | 729 ssize_t getTextValue(Res_value* outValue) const; 765 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const; 1561 bool U16StringToInt(const char16_t* s, size_t len, Res_value* outValue); 1608 * getTableStringBlock() and getTableCookie()) and fills in 'outValue'. If 1616 * @param outValue Filled in with the resource data that was found. 1620 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false, 1625 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue, argument 1627 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL); 1686 * fills in 'outValue'. If not found, returns a negative error 1695 * @param outValue Fille [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 274 final TypedValue outValue = new TypedValue(); 275 context.getTheme().resolveAttribute(tintAttrId, outValue, true); 276 return applyTintColor(context, drawableId, outValue.resourceId);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsRow.java | 600 TypedValue outValue = new TypedValue(); 602 outValue, true)) { 603 return outValue.data; 609 TypedValue outValue = new TypedValue(); 611 R.attr.playbackControlsActionIcons, outValue, false)) { 614 TypedArray array = context.getTheme().obtainStyledAttributes(outValue.data,
|