Searched refs:outValue (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DTypedArray_Delegate.java26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
H A DResources_Theme_Delegate.java92 int resid, TypedValue outValue,
96 outValue, resolveRefs);
90 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h51 bool get(TKey key, TValue& outValue) { argument
57 outValue = mTable.entryAt(index).value;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java370 * @param outValue the TypedValue to receive the parsed value
375 TypedValue outValue, boolean requireUnit) {
415 if (parseUnit(end, outValue, sFloatOut)) {
416 computeTypedValue(outValue, f, sFloatOut[0]);
426 if (outValue != null) {
428 outValue.type = TypedValue.TYPE_FLOAT;
429 outValue.data = Float.floatToIntBits(f);
432 applyUnit(sUnitNames[1], outValue, sFloatOut);
433 computeTypedValue(outValue, f, sFloatOut[0]);
449 private static void computeTypedValue(TypedValue outValue, floa argument
374 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument
490 parseUnit(String str, TypedValue outValue, float[] outScale) argument
503 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java193 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
719 loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) argument
723 loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, boolean resolve) argument
774 loadThemeAttributeValue(long theme, int ident, TypedValue outValue, boolean resolve) argument
[all...]
H A DTypedArray.java780 * @param outValue TypedValue object in which to place the attribute's
785 public boolean getValue(int index, TypedValue outValue) { argument
790 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue);
970 private boolean getValueAt(int index, TypedValue outValue) { argument
976 outValue.type = type;
977 outValue.data = data[index+AssetManager.STYLE_DATA];
978 outValue.assetCookie = data[index+AssetManager.STYLE_ASSET_COOKIE];
979 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
980 outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS];
981 outValue
[all...]
/frameworks/native/include/input/
H A DVirtualKeyMap.h71 bool parseNextIntField(int32_t* outValue);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DResourcesWrapper.java205 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 DTintTypedArray.java152 public boolean getValue(int index, TypedValue outValue) { argument
153 return mWrapped.getValue(index, outValue);
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java87 final TypedValue outValue = new TypedValue();
88 context.getTheme().resolveAttribute(R.attr.datePickerDialogTheme, outValue, true);
89 return outValue.resourceId;
H A DPresentation.java298 TypedValue outValue = new TypedValue();
300 com.android.internal.R.attr.presentationTheme, outValue, true);
301 theme = outValue.resourceId;
H A DTimePickerDialog.java82 final TypedValue outValue = new TypedValue();
83 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true);
84 return outValue.resourceId;
/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp157 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { argument
164 *outValue = strtol(token.string(), &end, 0);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1041 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const
1044 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData);
1264 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const
1273 outValue->copyFrom_dtoh(attr->typedValue);
1275 mTree.mDynamicRefTable->lookupResourceValue(outValue) != NO_ERROR) {
3182 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, argument
3221 *outValue = te.value;
3613 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, argument
3671 outValue->size = dtohs(value->size);
3672 outValue
4376 parse_unit(const char* str, Res_value* outValue, float* outScale, const char** outEnd) argument
4410 stringToInt(const char16_t* s, size_t len, Res_value* outValue) argument
4474 stringToFloat(const char16_t* s, size_t len, Res_value* outValue) argument
4569 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 DAaptXml.cpp164 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 DAaptXml.h114 * Returns the resource for the specified attribute in the outValue parameter.
118 const android::ResXMLTree& tree, uint32_t attrRes, android::Res_value* outValue,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRowPresenter.java298 TypedValue outValue = new TypedValue();
299 context.getTheme().resolveAttribute(R.attr.defaultBrandColor, outValue, true);
300 return context.getResources().getColor(outValue.resourceId);
304 TypedValue outValue = new TypedValue();
305 context.getTheme().resolveAttribute(R.attr.playbackProgressPrimaryColor, outValue, true);
306 return context.getResources().getColor(outValue.resourceId);
H A DPlaybackControlsRow.java575 TypedValue outValue = new TypedValue();
576 context.getTheme().resolveAttribute(attributeResId, outValue, true);
577 return outValue.data;
581 TypedValue outValue = new TypedValue();
583 R.attr.playbackControlsActionIcons, outValue, false);
584 TypedArray array = context.getTheme().obtainStyledAttributes(outValue.data,
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java172 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument
178 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
/frameworks/native/include/gui/
H A DBufferQueueProducer.h136 virtual int query(int what, int* outValue);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DHeadersFragment.java232 TypedValue outValue = new TypedValue();
233 getActivity().getTheme().resolveAttribute(R.attr.defaultBrandColor, outValue, true);
234 return getResources().getColor(outValue.resourceId);
H A DHeadersSupportFragment.java234 TypedValue outValue = new TypedValue();
235 getActivity().getTheme().resolveAttribute(R.attr.defaultBrandColor, outValue, true);
236 return getResources().getColor(outValue.resourceId);
/frameworks/base/include/androidfw/
H A DResourceTypes.h722 ssize_t getTextValue(Res_value* outValue) const;
758 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1549 * getTableStringBlock() and getTableCookie()) and fills in 'outValue'. If
1557 * @param outValue Filled in with the resource data that was found.
1561 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1566 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue, argument
1568 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
1626 * fills in 'outValue'. If not found, returns a negative error
1635 * @param outValue Filled in with the theme value that was
1640 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegateBase.java274 TypedValue outValue = new TypedValue();
275 mActivity.getTheme().resolveAttribute(R.attr.actionBarTheme, outValue, true);
278 if (outValue.resourceId != 0) {
279 themedContext = new ContextThemeWrapper(mActivity, outValue.resourceId);
965 final TypedValue outValue = new TypedValue();
967 baseTheme.resolveAttribute(R.attr.actionBarTheme, outValue, true);
970 if (outValue.resourceId != 0) {
973 widgetTheme.applyStyle(outValue.resourceId, true);
975 R.attr.actionBarWidgetTheme, outValue, true);
978 R.attr.actionBarWidgetTheme, outValue, tru
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DIconUtils.java277 final TypedValue outValue = new TypedValue();
278 context.getTheme().resolveAttribute(tintAttrId, outValue, true);
279 return applyTintColor(context, drawableId, outValue.resourceId);

Completed in 1317 milliseconds

123