HomeSort by relevance Sort by last modified time
    Searched refs:outValue (Results 1 - 25 of 51) sorted by null

1 2 3

  /packages/apps/Contacts/src/com/android/contacts/util/
ThemeUtils.java 30 final TypedValue outValue = new TypedValue();
31 theme.resolveAttribute(attrId, outValue, true);
32 return outValue.resourceId;
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
TypedArray_Delegate.java 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) {
Resources_Theme_Delegate.java 62 int resid, TypedValue outValue,
65 resid, outValue, resolveRefs);
BridgeResources.java 513 public void getValue(int id, TypedValue outValue, boolean resolveRefs)
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)
  /frameworks/native/include/utils/
PropertyMap.h 66 * Returns true and sets outValue if the key was found and its value was parsed successfully.
67 * Otherwise returns false and does not modify outValue. (Also logs a warning.)
69 bool tryGetProperty(const String8& key, String8& outValue) const;
70 bool tryGetProperty(const String8& key, bool& outValue) const;
71 bool tryGetProperty(const String8& key, int32_t& outValue) const;
72 bool tryGetProperty(const String8& key, float& outValue) const;
  /frameworks/native/libs/utils/
PropertyMap.cpp 58 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const {
64 outValue = mProperties.valueAt(index);
68 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const {
74 outValue = intValue;
78 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const {
91 outValue = value;
95 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const {
108 outValue = value;
  /external/webkit/Source/WebKit/win/
WebSerializedJSValue.cpp 98 HRESULT WebSerializedJSValue::deserialize(JSContextRef destinationContext, JSValueRef* outValue)
100 if (!outValue)
104 *outValue = 0;
106 *outValue = m_value->deserialize(destinationContext, 0);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ScrollBarView.java 40 TypedValue outValue = new TypedValue();
42 android.R.attr.scrollbarThumbHorizontal, outValue, true);
44 context, outValue.resourceId);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 354 * @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, float value, float scale)
    [all...]
  /frameworks/base/core/java/android/content/res/
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.data)
    [all...]
TypedArray.java 637 * @param outValue TypedValue object in which to place the attribute's
642 public boolean getValue(int index, TypedValue outValue) {
643 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue);
699 private boolean getValueAt(int index, TypedValue outValue) {
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.density = data[index+AssetManager.STYLE_DENSITY]
    [all...]
Resources.java     [all...]
  /packages/apps/Settings/src/com/android/settings/quicklaunch/
ShortcutPreference.java 59 TypedValue outValue = new TypedValue();
60 context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, outValue, true);
61 sDimAlpha = (int) (outValue.getFloat() * 255);
  /frameworks/base/include/androidfw/
VirtualKeyMap.h 71 bool parseNextIntField(int32_t* outValue);
ResourceTypes.h 659 ssize_t getTextValue(Res_value* outValue) const;
691 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
    [all...]
  /frameworks/base/libs/androidfw/
VirtualKeyMap.cpp 156 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) {
163 *outValue = strtol(token.string(), &end, 0);
ResourceTypes.cpp 235 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue)
258 *outValue = 0;
269 *outValue = 0;
275 *outValue = 0;
278 *outValue = map[index];
836 ssize_t ResXMLParser::getTextValue(Res_value* outValue) const
839 outValue->copyFrom_dtoh(((const ResXMLTree_cdataExt*)mCurExt)->typedData);
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockResources.java 172 public void getValue(int id, TypedValue outValue, boolean resolveRefs)
178 public void getValue(String name, TypedValue outValue, boolean resolveRefs)
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 61 TypedValue outValue = new TypedValue();
62 context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, outValue, true);
63 sDimAlpha = (int) (outValue.getFloat() * 255);
  /external/webkit/Source/JavaScriptCore/runtime/
JSONObject.cpp 648 JSValue outValue = jsNull();
678 outValue = array;
697 outValue = inValue;
702 JSValue filteredValue = callReviver(array, jsString(m_exec, UString::number(indexStack.last())), outValue);
742 outValue = object;
762 outValue = inValue;
769 JSValue filteredValue = callReviver(object, jsString(m_exec, prop.ustring()), outValue);
782 outValue = inValue;
804 finalHolder->put(m_exec, m_exec->globalData().propertyNames->emptyIdentifier, outValue, slot);
805 return callReviver(finalHolder, jsEmptyString(m_exec), outValue);
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BreadCrumbView.java 173 TypedValue outValue = new TypedValue();
175 android.R.attr.selectableItemBackground, outValue, true);
176 int resid = outValue.resourceId;
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 81 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table,
85 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table,
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,
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/multiwaveview/
MultiWaveView.java 228 TypedValue outValue = new TypedValue();
229 if (a.getValue(R.styleable.MultiWaveView_chevronDrawables, outValue)) {
230 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
240 if (a.getValue(R.styleable.MultiWaveView_targetDrawables, outValue)) {
241 internalSetTargetResources(outValue.resourceId);
248 if (a.getValue(R.styleable.MultiWaveView_targetDescriptions, outValue)) {
249 final int resourceId = outValue.resourceId;
257 if (a.getValue(R.styleable.MultiWaveView_directionDescriptions, outValue)) {
258 final int resourceId = outValue.resourceId;
    [all...]
  /frameworks/base/core/java/android/app/
AlertDialog.java 141 TypedValue outValue = new TypedValue();
143 outValue, true);
144 return outValue.resourceId;
    [all...]
  /frameworks/base/tools/aapt/
ResourceTable.h 211 bool stringToValue(Res_value* outValue, StringPool* pool,
244 Res_value* outValue);
247 Res_value* outValue);
539 Res_value* outValue);

Completed in 426 milliseconds

1 2 3