/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/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 | 92 int resid, TypedValue outValue, 96 outValue, resolveRefs); 90 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
H A D | BridgeResources.java | 519 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 527 if (ResourceHelper.parseFloatAttribute(value.getFirst(), v, outValue, 533 outValue.type = TypedValue.TYPE_STRING; 534 outValue.string = v; 544 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
|
H A D | BridgeTypedArray.java | 728 * @param outValue TypedValue object in which to place the attribute's 734 public boolean getValue(int index, TypedValue outValue) { argument 736 return s != null && ResourceHelper.parseFloatAttribute(mNames[index], s, outValue, false);
|
/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 | ResourceTable.cpp | 2207 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, argument 2222 .stringToValue(outValue, &finalStr, str.string(), str.size(), preserveSpaces, 2228 outValue->size = sizeof(Res_value); 2229 outValue->res0 = 0; 2230 outValue->dataType = outValue->TYPE_STRING; 2231 outValue->data = 0; 2239 if (outValue->dataType == outValue->TYPE_STRING) { 2252 outValue 2408 getAttributeEnum( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument 2428 getAttributeFlags( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument 4293 getItemValue( uint32_t resID, uint32_t attrID, Res_value* outValue) 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 370 * @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 D | TypedArray.java | 780 * @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...] |
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 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 D | Resources.java | 1251 * @param outValue Object in which to place the resource data. 1260 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument 1262 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs); 1283 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument 1285 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs); 1303 * @param outValue Object in which to place the resource data. 1312 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument 1316 getValue(id, outValue, resolveRefs); 1587 * <var>outValue</var> are ultimately filled in by 1592 * @param outValue Fille 1602 resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) argument [all...] |
/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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintTypedArray.java | 152 public boolean getValue(int index, TypedValue outValue) { argument 153 return mWrapped.getValue(index, outValue);
|
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);
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 722 int BufferQueueProducer::query(int what, int *outValue) { argument 726 if (outValue == NULL) { 727 BQ_LOGE("query: outValue was NULL"); 764 *outValue = value;
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 98 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 102 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, argument 106 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType); 107 env->SetIntField(outValue, gTypedValueOffsets.mAssetCookie, 109 env->SetIntField(outValue, gTypedValueOffsets.mData, value.data); 110 env->SetObjectField(outValue, gTypedValueOffsets.mString, NULL); 111 env->SetIntField(outValue, gTypedValueOffsets.mResourceId, ref); 112 env->SetIntField(outValue, gTypedValueOffsets.mChangingConfigurations, 115 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density); 790 jobject outValue, 787 android_content_AssetManager_loadResourceValue(JNIEnv* env, jobject clazz, jint ident, jshort density, jobject outValue, jboolean resolve) argument 830 android_content_AssetManager_loadResourceBagValue(JNIEnv* env, jobject clazz, jint ident, jint bagEntryId, jobject outValue, jboolean resolve) argument 969 android_content_AssetManager_loadThemeAttributeValue( JNIEnv* env, jobject clazz, jlong themeHandle, jint ident, jobject outValue, jboolean resolve) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 274 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 300 outValue.resourceId = getDynamicIdByStyle((StyleResourceValue)value); 317 outValue.resourceId = a;
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 722 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/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1041 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...] |