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

12

/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.java513 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument
521 if (ResourceHelper.parseFloatAttribute(value.getFirst(), v, outValue,
527 outValue.type = TypedValue.TYPE_STRING;
528 outValue.string = v;
538 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
H A DBridgeTypedArray.java827 * @param outValue TypedValue object in which to place the attribute's
833 public boolean getValue(int index, TypedValue outValue) { argument
844 return ResourceHelper.parseFloatAttribute(mNames[index], s, outValue,
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h53 bool get(TKey key, TValue& outValue) { argument
59 outValue = mTable.entryAt(index).value;
/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 DAssetManager.java194 TypedValue outValue,
197 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs);
199 if (outValue.type != TypedValue.TYPE_STRING) {
202 outValue.string = mStringBlocks[block].get(outValue.data);
229 TypedValue outValue, boolean resolveRefs) {
230 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs);
232 if (outValue.type != TypedValue.TYPE_STRING) {
240 outValue.string = blocks[block].get(outValue
192 getResourceValue(int ident, int density, TypedValue outValue, boolean resolveRefs) argument
228 getThemeValue(int theme, int ident, TypedValue outValue, boolean resolveRefs) argument
692 loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) argument
696 loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, boolean resolve) argument
739 loadThemeAttributeValue(int theme, int ident, TypedValue outValue, boolean resolve) argument
[all...]
H A DTypedArray.java638 * @param outValue TypedValue object in which to place the attribute's
643 public boolean getValue(int index, TypedValue outValue) { argument
644 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue);
700 private boolean getValueAt(int index, TypedValue outValue) { argument
706 outValue.type = type;
707 outValue.data = data[index+AssetManager.STYLE_DATA];
708 outValue.assetCookie = data[index+AssetManager.STYLE_ASSET_COOKIE];
709 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
710 outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS];
711 outValue
[all...]
H A DResources.java1108 * @param outValue Object in which to place the resource data.
1117 public void getValue(int id, TypedValue outValue, boolean resolveRefs) argument
1119 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs);
1140 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument
1142 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs);
1160 * @param outValue Object in which to place the resource data.
1169 public void getValue(String name, TypedValue outValue, boolean resolveRefs) argument
1173 getValue(id, outValue, resolveRefs);
1414 * <var>outValue</var> are ultimately filled in by
1419 * @param outValue Fille
1429 resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) argument
[all...]
/frameworks/native/include/input/
H A DVirtualKeyMap.h71 bool parseNextIntField(int32_t* outValue);
/frameworks/base/core/java/android/app/
H A DPresentation.java298 TypedValue outValue = new TypedValue();
300 com.android.internal.R.attr.presentationTheme, outValue, true);
301 theme = outValue.resourceId;
H A DAlertDialog.java142 TypedValue outValue = new TypedValue();
144 outValue, true);
145 return outValue.resourceId;
H A DDialog.java155 TypedValue outValue = new TypedValue();
157 outValue, true);
158 theme = outValue.resourceId;
H A DSearchDialog.java113 TypedValue outValue = new TypedValue();
115 outValue, true);
116 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.cpp234 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue) argument
257 *outValue = 0;
268 *outValue = 0;
274 *outValue = 0;
277 *outValue = map[index];
911 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const
914 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData);
1115 ssize_t ResXMLParser::getAttributeValue(size_t idx, Res_value* outValue) const
1124 outValue->copyFrom_dtoh(attr->typedValue);
2757 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, argument
3150 getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, uint32_t* outSpecFlags, ResTable_config* outConfig) const argument
4022 parse_unit(const char* str, Res_value* outValue, float* outScale, const char** outEnd) argument
4056 stringToInt(const char16_t* s, size_t len, Res_value* outValue) argument
4120 stringToFloat(const char16_t* s, size_t len, Res_value* outValue) argument
4215 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/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/include/androidfw/
H A DResourceTypes.h659 ssize_t getTextValue(Res_value* outValue) const;
695 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1313 * getTableStringBlock() and getTableCookie()) and fills in 'outValue'. If
1321 * @param outValue Filled in with the resource data that was found.
1325 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1330 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue, argument
1332 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
1390 * fills in 'outValue'. If not found, returns a negative error
1399 * @param outValue Filled in with the theme value that was
1404 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
[all...]
/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);
694 jobject outValue,
691 android_content_AssetManager_loadResourceValue(JNIEnv* env, jobject clazz, jint ident, jshort density, jobject outValue, jboolean resolve) argument
730 android_content_AssetManager_loadResourceBagValue(JNIEnv* env, jobject clazz, jint ident, jint bagEntryId, jobject outValue, jboolean resolve) argument
845 android_content_AssetManager_loadThemeAttributeValue( JNIEnv* env, jobject clazz, jint themeInt, jint ident, jobject outValue, jboolean resolve) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java229 TypedValue outValue = new TypedValue();
230 if (a.getValue(R.styleable.MultiWaveView_chevronDrawables, outValue)) {
231 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
241 if (a.getValue(R.styleable.MultiWaveView_targetDrawables, outValue)) {
242 internalSetTargetResources(outValue.resourceId);
249 if (a.getValue(R.styleable.MultiWaveView_targetDescriptions, outValue)) {
250 final int resourceId = outValue.resourceId;
258 if (a.getValue(R.styleable.MultiWaveView_directionDescriptions, outValue)) {
259 final int resourceId = outValue.resourceId;
H A DGlowPadView.java240 TypedValue outValue = new TypedValue();
243 if (a.getValue(R.styleable.GlowPadView_targetDrawables, outValue)) {
244 internalSetTargetResources(outValue.resourceId);
251 if (a.getValue(R.styleable.GlowPadView_targetDescriptions, outValue)) {
252 final int resourceId = outValue.resourceId;
260 if (a.getValue(R.styleable.GlowPadView_directionDescriptions, outValue)) {
261 final int resourceId = outValue.resourceId;
/frameworks/base/tools/aapt/
H A DResourceTable.h211 bool stringToValue(Res_value* outValue, StringPool* pool,
244 Res_value* outValue);
247 Res_value* outValue);
539 Res_value* outValue);
H A DResourceTable.cpp2154 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool, argument
2169 .stringToValue(outValue, &finalStr, str.string(), str.size(), preserveSpaces,
2175 outValue->size = sizeof(Res_value);
2176 outValue->res0 = 0;
2177 outValue->dataType = outValue->TYPE_STRING;
2178 outValue->data = 0;
2186 if (outValue->dataType == outValue->TYPE_STRING) {
2199 outValue
2338 getAttributeEnum( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument
2358 getAttributeFlags( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument
3930 getItemValue( uint32_t resID, uint32_t attrID, Res_value* outValue) argument
[all...]
/frameworks/base/services/input/
H A DEventHub.h225 int32_t* outValue) const = 0;
291 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const;
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java802 TypedValue outValue = new TypedValue();
805 outValue, true);
806 final int targetThemeRes = outValue.resourceId;

Completed in 640 milliseconds

12