Searched defs:value (Results 276 - 300 of 796) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextureSource.java90 public void setParameter(int parameter, int value) { argument
92 GLES20.glTexParameteri(mTarget, parameter, value);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java65 public void setTransform(int index, Float4 value, TransformType type) { argument
66 mTransformData.transforms[index] = value;
/frameworks/base/tools/aapt/
H A DStringPool.h46 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
47 entry(const entry& o) : value(o.value), offset(o.offset),
51 String16 value; member in struct:StringPool::entry
93 * otherwise, or if the value doesn't already exist, a new entry is
98 ssize_t add(const String16& value, bool mergeDuplicates = false,
101 ssize_t add(const String16& value, const Vector<entry_style_span>& spans,
170 // the first index of mEntryArray where the value was added.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBar.java229 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { argument
230 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/);
238 ResourceValue value = resources.findItemInTheme("actionBarSize", true);
241 value = resources.resolveResValue(value);
243 if (value != null) {
244 // get the numerical value, if available
245 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(),
248 // compute the pixel value based on the display metrics
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java65 * Returns the color value represented by the given string value
66 * @param value the color value
70 public static int getColor(String value) { argument
71 if (value != null) {
72 if (!value.startsWith("#")) {
74 String.format("Color value '%s' must start with #", value));
77 value
169 getDrawable(ResourceValue value, BridgeContext context) argument
180 getDrawable(ResourceValue value, BridgeContext context, Theme theme) argument
358 getValue(String attribute, String value, boolean requireUnit) argument
374 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument
449 computeTypedValue(TypedValue outValue, float value, float scale) argument
[all...]
/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/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java354 String signature, Object value) {
356 return super.visitField(access, name, desc, signature, value);
353 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.h47 virtual uint64_t value() const = 0;
76 uint64_t value() const { return m_Value; } function in class:mcld::SymOperand
109 uint64_t value() const { return m_Value; } function in class:mcld::IntOperand
144 uint64_t value() const function in class:mcld::SectOperand
180 uint64_t value() const function in class:mcld::SectDescOperand
219 uint64_t value() const;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp143 const llvm::ELF::Elf32_Word* value = local
147 if (llvm::ELF::GRP_COMDAT == *value) {
149 pInput.context()->getSection(value[index])->setKind(LDFileFormat::Ignore);
/frameworks/compile/mclinker/lib/Script/
H A DOperand.cpp218 uint64_t FragOperand::value() const function in class:FragOperand
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp27 bool is_separator(char value) argument
29 return (value == separator || value == preferred_separator);
35 bool is_separator(char value)
37 return (value == separator);
/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.cpp178 char* value = strtok_r(NULL, "=", &context1); local
185 action = value;
189 dataArg = value;
193 type = value;
197 launchFlags = atoi(value);
201 component = value;
207 categories[categoryCount] = strtok_r(value, ",", &context2);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp245 uint8_t value = 128; local
246 img[y*stride + x] = value;
262 uint8_t value = 0; local
264 value = 255;
266 img[y*stride + x] = value;
311 uint8_t value = 0; local
/frameworks/native/services/sensorservice/
H A Dtraits.h47 enum { value = -1 }; enumerator in enum:android::TL::IndexOf::__anon1408
52 enum { value = 0 }; enumerator in enum:android::TL::IndexOf::__anon1409
58 enum { temp = IndexOf<Tail, T>::value };
60 enum { value = temp == -1 ? -1 : 1 + temp }; enumerator in enum:android::TL::IndexOf::__anon1411
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 };
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h77 inline Key& set(key_t mask, key_t value) { argument
78 mKey = (mKey & ~mask) | value;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DAppInterface.java85 CommandType(int value) { argument
86 mValue = value;
89 public int value() { method in class:AppInterface.CommandType
96 * @param value Integer value to be converted to a CommandType object.
97 * @return CommandType object whose "Type of Command" value is {@code
98 * value}. If no CommandType object has that value, null is
101 public static CommandType fromInt(int value) { argument
103 if (e.mValue == value) {
[all...]
H A DComprehensionTlvTag.java20 * Enumeration for representing the tag value of COMPREHENSION-TLV objects. If
21 * you want to get the actual value, call {@link #value() value} method.
53 ComprehensionTlvTag(int value) { argument
54 mValue = value;
58 * Returns the actual value of this COMPREHENSION-TLV object.
60 * @return Actual tag value of this object
62 public int value() { method in class:ComprehensionTlvTag
66 public static ComprehensionTlvTag fromInt(int value) { argument
[all...]
H A DResponseData.java61 int tag = 0x80 | ComprehensionTlvTag.ITEM_ID.value();
104 int tag = 0x80 | ComprehensionTlvTag.TEXT_STRING.value();
177 int tag = 0x80 | ComprehensionTlvTag.LANGUAGE.value();
215 int tag = 0x80 | CommandType.PROVIDE_LOCAL_INFORMATION.value();
257 private byte byteToBCD(int value) { argument
258 if (value < 0 && value > 99) {
259 CatLog.d(this, "Err: byteToBCD conversion Value is " + value +
264 return (byte) ((value / 10) | ((value
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java28 * Encoded-string-value = Text-string | Value-length Char-set Text-string
36 * The Char-set value.
41 * The Text-string value.
48 * @param charset the Char-set value
49 * @param data the Text-string value
50 * @throws NullPointerException if Text-string value is null.
66 * @param data the Text-string value
67 * @throws NullPointerException if Text-string value is null.
83 * Get Char-set value.
85 * @return the value
264 copy(EncodedStringValue value) argument
[all...]

Completed in 5708 milliseconds

<<11121314151617181920>>