HomeSort by relevance Sort by last modified time
    Searched refs:outValue (Results 1 - 25 of 69) 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);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
dictionary_header_structure_policy.h 42 virtual void readHeaderValueOrQuestionMark(const char *const key, int *outValue,
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
header_policy.cpp 34 void HeaderPolicy::readHeaderValueOrQuestionMark(const char *const key, int *outValue,
38 outValue[0] = '\0';
46 outValue[0] = '?';
47 outValue[1] = '\0';
52 outValue[i] = it->second[i];
54 outValue[terminalIndex] = '\0';
  /system/core/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/base/libs/hwui/utils/
TinyHashMap.h 53 bool get(TKey key, TValue& outValue) {
59 outValue = mTable.entryAt(index).value;
  /system/core/libutils/
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;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ScrollBarView.java 43 TypedValue outValue = new TypedValue();
45 android.R.attr.scrollbarThumbHorizontal, outValue, true);
47 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 194 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.data)
    [all...]
TypedArray.java 638 * @param outValue TypedValue object in which to place the attribute's
643 public boolean getValue(int index, TypedValue outValue) {
644 return getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, outValue);
700 private boolean getValueAt(int index, TypedValue outValue) {
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.density = data[index+AssetManager.STYLE_DENSITY]
    [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/native/include/input/
VirtualKeyMap.h 71 bool parseNextIntField(int32_t* outValue);
  /frameworks/base/core/java/android/app/
Presentation.java 298 TypedValue outValue = new TypedValue();
300 com.android.internal.R.attr.presentationTheme, outValue, true);
301 theme = outValue.resourceId;
  /frameworks/native/libs/input/
VirtualKeyMap.cpp 157 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) {
164 *outValue = strtol(token.string(), &end, 0);
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 234 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue)
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);
    [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)
  /developers/build/prebuilts/gradle/SlidingTabsBasic/SlidingTabsBasicSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java 180 TypedValue outValue = new TypedValue();
182 outValue, true);
183 textView.setBackgroundResource(outValue.resourceId);
SlidingTabStrip.java 67 TypedValue outValue = new TypedValue();
68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true);
69 final int themeForegroundColor = outValue.data;
  /developers/build/prebuilts/gradle/SlidingTabsColors/SlidingTabsColorsSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java 180 TypedValue outValue = new TypedValue();
182 outValue, true);
183 textView.setBackgroundResource(outValue.resourceId);
SlidingTabStrip.java 67 TypedValue outValue = new TypedValue();
68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true);
69 final int themeForegroundColor = outValue.data;
  /developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabLayout.java 180 TypedValue outValue = new TypedValue();
182 outValue, true);
183 textView.setBackgroundResource(outValue.resourceId);
SlidingTabStrip.java 67 TypedValue outValue = new TypedValue();
68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true);
69 final int themeForegroundColor = outValue.data;
  /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);

Completed in 948 milliseconds

1 2 3