Searched defs:value (Results 326 - 350 of 922) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tools/aapt2/
H A DBindingXmlPullParser.cpp46 var.name = util::utf16ToUtf8(attrIter->value);
48 var.type = util::utf16ToUtf8(attrIter->value);
76 idValue = util::utf16ToUtf8(attr->value);
78 StringPiece16 value = util::trimWhitespace(attr->value); local
79 if (util::stringStartsWith<char16_t>(value, u"@{") &&
80 util::stringEndsWith<char16_t>(value, u"}")) {
81 // This is attribute's value is an expression of the form
86 value.substr(2, value
139 StringPiece16 value = util::trimWhitespace(attr->value); local
[all...]
H A DManifestValidator.cpp66 android::Res_value value; local
67 if (parser->getAttributeValue(idx, &value) < 0) {
72 if (value.dataType == android::Res_value::TYPE_REFERENCE) {
73 ssize_t strIdx = mTable.resolveReference(&value, 0x10000000u);
80 if (value.dataType != android::Res_value::TYPE_STRING || !pool) {
83 return util::getString(*pool, value.data);
88 android::Res_value value; local
89 if (parser->getAttributeValue(idx, &value) < 0) {
93 if (value.dataType != android::Res_value::TYPE_STRING) {
96 return util::getString(parser->getStrings(), value
[all...]
H A DResourceTable.h43 * The resource value for a specific configuration.
49 std::unique_ptr<Value> value; member in struct:aapt::ResourceConfigValue
144 const SourceLine& source, std::unique_ptr<Value> value);
152 const SourceLine& source, std::unique_ptr<Value> value);
156 std::unique_ptr<Value> value);
191 std::unique_ptr<Value> value, const char16_t* validChars);
H A DResourceValues.cpp39 RawString::RawString(const StringPool::Ref& ref) : value(ref) {
43 return new RawString(newPool->makeRef(*value));
48 outValue.data = static_cast<uint32_t>(value.getIndex());
53 out << "(raw string) " << *value; local
117 String::String(const StringPool::Ref& ref) : value(ref) {
122 if (value.getIndex() > std::numeric_limits<uint32_t>::max()) {
127 outValue.data = static_cast<uint32_t>(value.getIndex());
132 return new String(newPool->makeRef(*value));
136 out << "(string) \"" << *value << "\""; local
139 StyledString::StyledString(const StringPool::StyleRef& ref) : value(re
368 operator <<(::std::ostream& out, const Style::Entry& value) argument
[all...]
H A DStringPool.h98 std::u16string value; member in class:aapt::StringPool::Entry
H A DXmlDom.h89 std::u16string value; member in struct:aapt::xml::Attribute
H A DXmlPullParser.h114 std::u16string value; member in struct:aapt::XmlPullParser::Attribute
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBar.java231 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { argument
232 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/);
240 ResourceValue value = resources.findItemInTheme("actionBarSize", true);
243 value = resources.resolveResValue(value);
245 if (value != null) {
246 // get the numerical value, if available
247 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(),
250 // compute the pixel value based on the display metrics
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java147 * Adds a mapping from the specified key to the specified value,
151 public void put(long key, E value) { argument
155 mValues[i] = new WeakReference(value);
161 mValues[i] = new WeakReference(value);
173 mValues = GrowingArrayUtils.insert(mValues, mSize, i, new WeakReference(value));
179 * Returns the number of key-value mappings that this SparseArray
192 * the key from the <code>index</code>th key-value mapping that this
205 * the value from the <code>index</code>th key-value mapping that this
218 * value fo
221 setValueAt(int index, E value) argument
250 indexOfValue(E value) argument
281 append(long key, E value) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java72 String signature, Object value) {
71 visitField(int access, String name, String desc, String signature, Object value) argument
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A DBCHeaderField.h106 static void WriteFixedSubfield(FixedSubfield value, uint8_t* buf) { argument
107 buf[0] = value & 0xFF;
108 buf[1] = (value >> 8) & 0xFF;
110 static void ReadFixedSubfield(FixedSubfield* value, const uint8_t* buf) { argument
111 *value = buf[0] | buf[1] << 8;
/frameworks/compile/mclinker/include/mcld/Script/
H A DOperand.h42 virtual uint64_t value() const = 0;
69 uint64_t value() const { return m_Value; } function in class:mcld::SymOperand
100 uint64_t value() const { return m_Value; } function in class:mcld::IntOperand
133 uint64_t value() const { function in class:mcld::SectOperand
166 uint64_t value() const { function in class:mcld::SectDescOperand
202 uint64_t value() const;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp138 const llvm::ELF::Elf32_Word* value = local
142 if (llvm::ELF::GRP_COMDAT == *value) {
144 pInput.context()->getSection(value[index])->setKind(
/frameworks/compile/mclinker/lib/Script/
H A DOperand.cpp186 uint64_t FragOperand::value() const { function in class:mcld::FragOperand
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp30 bool is_separator(char value) { argument
31 return (value == separator || value == preferred_separator);
37 bool is_separator(char value) {
38 return (value == separator);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DViewBindingAdapter.java114 public static void setRequiresFadingEdge(View view, int value) { argument
115 final boolean vertical = (value & FADING_EDGE_VERTICAL) != 0;
116 final boolean horizontal = (value & FADING_EDGE_HORIZONTAL) != 0;
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java103 public void setValue(String value, boolean notify) { argument
104 mValue = value;
106 notifyPropertyChanged(BR.value);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DFindMethodBindingObject.java35 public String method(String value) { return value; } argument
76 public T method(T value) { return value; } argument
/frameworks/ex/common/java/com/android/common/content/
H A DSyncStateContentProviderHelper.java131 * Checks that value is present as at least one of the elements of the array.
133 * @param value the value to check for
134 * @return true if the value is present in the array
136 private static <T> boolean contains(T[] array, T value) { argument
139 if (value == null) return true;
141 if (value != null && element.equals(value)) return true;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java77 * Get the rank score of the sample, a sample is a list of key, value pairs.
133 public boolean setModelParameter(String key, String value){ argument
134 boolean res = nativeSetParameterClassifier(key, value, mNativeClassifier);
191 private native boolean nativeSetParameterClassifier(String key, String value, argument
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionManager.java48 String value; field in class:BordeauxSessionManager.SessionKey
105 key.value = callingUid + "#" + "_" + name + "_" + learnerClass.getName();
110 if (mSessions.containsKey(key.value)) {
111 return mSessions.get(key.value).learner.getBinder();
116 Session stored = mSessionStorage.getSession(key.value);
119 stored.learner.setModelChangeCallback(new LearningUpdateCallback(key.value));
121 mSessions.put(key.value, stored);
126 Log.i(TAG, "create a new learning session: " + key.value);
130 learner.setModelChangeCallback(new LearningUpdateCallback(key.value));
134 mSessions.put(key.value, sessio
[all...]
H A DPredictor.java134 public boolean setPredictorParameter(String key, String value) { argument
135 Log.i(TAG, "setParameter : " + key + ", " + value);
138 result = mFeatureAssembly.registerFeature(value);
140 Log.e(TAG,"Setting on feauture: " + value + " which is not available");
143 String[] features = value.split(FEATURE_SEPARATOR);
146 Log.e(TAG,"Setting feauture pair: " + value + " is not valid");
150 mHistorySpan = Long.valueOf(value);
152 Log.e(TAG,"Setting parameter " + key + " with " + value + " is not valid");
/frameworks/native/cmds/service/
H A Dservice.cpp205 char* value = strtok_r(NULL, "=", &context1); local
212 action = value;
216 dataArg = value;
220 type = value;
224 launchFlags = atoi(value);
228 component = value;
234 categories[categoryCount] = strtok_r(value, ",", &context2);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp253 uint8_t value = 128; local
254 img[y*stride + x] = value;
270 uint8_t value = 0; local
272 value = 255;
274 img[y*stride + x] = value;
319 uint8_t value = 0; local
/frameworks/native/services/sensorservice/
H A Dtraits.h47 enum { value = -1 }; enumerator in enum:android::TL::IndexOf::__anon1481
52 enum { value = 0 }; enumerator in enum:android::TL::IndexOf::__anon1482
58 enum { temp = IndexOf<Tail, T>::value };
60 enum { value = temp == -1 ? -1 : 1 + temp }; enumerator in enum:android::TL::IndexOf::__anon1484
104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 };
105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 };
106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt };
107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };

Completed in 1121 milliseconds

<<11121314151617181920>>