Searched defs:outValue (Results 1 - 17 of 17) sorted by relevance

/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.java62 int resid, TypedValue outValue,
65 resid, outValue, resolveRefs);
60 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
H A DBridgeResources.java515 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument
523 if (ResourceHelper.parseFloatAttribute(value.getFirst(), v, outValue,
529 outValue.type = TypedValue.TYPE_STRING;
530 outValue.string = v;
540 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
H A DBridgeTypedArray.java819 * @param outValue TypedValue object in which to place the attribute's
825 public boolean getValue(int index, TypedValue outValue) { argument
836 return ResourceHelper.parseFloatAttribute(mNames[index], s, outValue,
/frameworks/base/libs/ui/
H A DVirtualKeyMap.cpp156 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { argument
163 *outValue = strtol(token.string(), &end, 0);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java354 * @param outValue the TypedValue to receive the parsed value
359 TypedValue outValue, boolean requireUnit) {
399 if (parseUnit(end, outValue, sFloatOut)) {
400 computeTypedValue(outValue, f, sFloatOut[0]);
410 if (outValue != null) {
412 outValue.type = TypedValue.TYPE_FLOAT;
413 outValue.data = Float.floatToIntBits(f);
416 applyUnit(sUnitNames[1], outValue, sFloatOut);
417 computeTypedValue(outValue, f, sFloatOut[0]);
433 private static void computeTypedValue(TypedValue outValue, floa argument
358 parseFloatAttribute(String attribute, String value, TypedValue outValue, boolean requireUnit) argument
474 parseUnit(String str, TypedValue outValue, float[] outScale) argument
487 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java637 * @param outValue TypedValue object in which to place the attribute's
642 public boolean getValue(int index, TypedValue outValue) { argument
643 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue);
699 private boolean getValueAt(int index, TypedValue outValue) { argument
705 outValue.type = type;
706 outValue.data = data[index+AssetManager.STYLE_DATA];
707 outValue.assetCookie = data[index+AssetManager.STYLE_ASSET_COOKIE];
708 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
709 outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS];
710 outValue
[all...]
H A DResources.java1004 * @param outValue Object in which to place the resource data.
1013 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument
1015 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs);
1037 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument
1039 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs);
1057 * @param outValue Object in which to place the resource data.
1066 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
1070 getValue(id, outValue, resolveRefs);
1311 * <var>outValue</var> are ultimately filled in by
1316 * @param outValue Fille
1326 resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) argument
[all...]
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(int theme, int ident, TypedValue outValue, boolean resolveRefs) argument
686 loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) argument
690 loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, boolean resolve) argument
733 loadThemeAttributeValue(int theme, int ident, TypedValue outValue, boolean resolve) argument
[all...]
/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/base/media/libstagefright/
H A DSurfaceMediaSource.cpp601 int SurfaceMediaSource::query(int what, int* outValue) argument
627 outValue[0] = value;
/frameworks/base/libs/gui/
H A DSurfaceTexture.cpp1085 int SurfaceTexture::query(int what, int* outValue) argument
1112 outValue[0] = value;
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp81 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table,
85 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, argument
89 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
90 env->SetIntField(outValue, gTypedValueOffsets.mAssetCookie,
92 env->SetIntField(outValue, gTypedValueOffsets.mData, value.data);
93 env->SetObjectField(outValue, gTypedValueOffsets.mString, NULL);
94 env->SetIntField(outValue, gTypedValueOffsets.mResourceId, ref);
95 env->SetIntField(outValue, gTypedValueOffsets.mChangingConfigurations,
98 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
685 jobject outValue,
682 android_content_AssetManager_loadResourceValue(JNIEnv* env, jobject clazz, jint ident, jshort density, jobject outValue, jboolean resolve) argument
717 android_content_AssetManager_loadResourceBagValue(JNIEnv* env, jobject clazz, jint ident, jint bagEntryId, jobject outValue, jboolean resolve) argument
832 android_content_AssetManager_loadThemeAttributeValue( JNIEnv* env, jobject clazz, jint themeInt, jint ident, jobject outValue, jboolean resolve) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java247 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument
265 outValue.resourceId = getDynamicIdByStyle((StyleResourceValue)value);
283 outValue.resourceId = a;
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2044 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, argument
2058 .stringToValue(outValue, &finalStr, str.string(), str.size(), preserveSpaces,
2064 outValue->size = sizeof(Res_value);
2065 outValue->res0 = 0;
2066 outValue->dataType = outValue->TYPE_STRING;
2067 outValue->data = 0;
2075 if (outValue->dataType == outValue->TYPE_STRING) {
2079 outValue
2218 getAttributeEnum( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument
2238 getAttributeFlags( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument
3734 getItemValue( uint32_t resID, uint32_t attrID, Res_value* outValue) argument
[all...]
/frameworks/base/include/utils/
H A DResourceTypes.h651 ssize_t getTextValue(Res_value* outValue) const;
683 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1840 * getTableStringBlock() and getTableCookie()) and fills in 'outValue'. If
1848 * @param outValue Filled in with the resource data that was found.
1852 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1857 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue, argument
1859 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
1917 * fills in 'outValue'. If not found, returns a negative error
1926 * @param outValue Filled in with the theme value that was
1931 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
[all...]
/frameworks/base/libs/utils/
H A DResourceTypes.cpp235 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue) argument
258 *outValue = 0;
269 *outValue = 0;
275 *outValue = 0;
278 *outValue = map[index];
814 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const
817 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData);
1002 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const
1011 outValue->copyFrom_dtoh(attr->typedValue);
1679 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, argument
2057 getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, uint32_t* outSpecFlags, ResTable_config* outConfig) const argument
2948 parse_unit(const char* str, Res_value* outValue, float* outScale, const char** outEnd) argument
2982 stringToInt(const char16_t* s, size_t len, Res_value* outValue) argument
3046 stringToFloat(const char16_t* s, size_t len, Res_value* outValue) argument
3141 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...]

Completed in 1216 milliseconds