Searched defs:value (Results 351 - 375 of 922) sorted by relevance

<<11121314151617181920>>

/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/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DOMANode.java62 public abstract OMANode addChild(String name, String context, String value, String path) argument
111 String value = OMAConstants.deserializeString(in);
112 return parent.addChild(name, urn, value, null);
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DPartnerTest.java93 assertEquals("Partner value should be overlaid to 5000", 5000, partnerValue);
94 assertTrue("Partner value should come from overlay", entry.isOverlay);
107 assertEquals("Partner value should default to 0xdeffffff", 0xdeffffff, partnerValue);
108 assertFalse("Partner value should come from fallback", entry.isOverlay);
130 private static void addItem(String name, int id, Object value) { argument
132 TEST_RESOURCES.put(id, value);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
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...]
H A DRetrieveConf.java59 * Get CC value.
61 * @return the value
68 * Add a "CC" value.
70 * @param value the value
71 * @throws NullPointerException if the value is null.
73 public void addCc(EncodedStringValue value) { argument
74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC);
78 * Get Content-type value.
80 * @return the value
92 setContentType(byte[] value) argument
111 setDeliveryReport(int value) argument
132 setFrom(EncodedStringValue value) argument
153 setMessageClass(byte[] value) argument
172 setMessageId(byte[] value) argument
191 setReadReport(int value) argument
210 setRetrieveStatus(int value) argument
229 setRetrieveText(EncodedStringValue value) argument
248 setTransactionId(byte[] value) argument
[all...]
H A DSendReq.java53 * @param contentType the content type value
54 * @param from the from value
56 * @param transactionId the transaction-id value
92 * Get Bcc value.
94 * @return the value
101 * Add a "BCC" value.
103 * @param value the value
104 * @throws NullPointerException if the value is null.
106 public void addBcc(EncodedStringValue value) { argument
116 setBcc(EncodedStringValue[] value) argument
135 addCc(EncodedStringValue value) argument
145 setCc(EncodedStringValue[] value) argument
164 setContentType(byte[] value) argument
183 setDeliveryReport(int value) argument
204 setExpiry(long value) argument
224 setMessageSize(long value) argument
245 setMessageClass(byte[] value) argument
264 setReadReport(int value) argument
274 setTo(EncodedStringValue[] value) argument
293 setTransactionId(byte[] value) argument
[all...]
/frameworks/rs/cpp/
H A DType.cpp130 void Type::Builder::setX(uint32_t value) { argument
131 if(value < 1) {
134 mDimX = value;
137 void Type::Builder::setY(uint32_t value) { argument
138 if(value < 1) {
141 mDimY = value;
144 void Type::Builder::setZ(uint32_t value) { argument
145 if(value < 1) {
148 mDimZ = value;
165 void Type::Builder::setMipmaps(bool value) { argument
169 setFaces(bool value) argument
[all...]
/frameworks/rs/
H A DrsAdapter.cpp66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { argument
73 a->setY(value);
76 a->setZ(value);
79 a->setLOD(value);
82 a->setFace((RsAllocationCubemapFace)value);
140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { argument
150 a->setZ(value);
153 a->setLOD(value);
156 a->setFace((RsAllocationCubemapFace)value);
H A DrsClosure.cpp47 uintptr_t value, size_t size) {
48 ((Closure*)closure)->setArg(index, (const void*)value, size);
52 RsScriptFieldID fieldID, uintptr_t value,
55 (const void*)value, size);
142 void Closure::setArg(const uint32_t index, const void* value, const size_t size) { argument
143 mArgs[index] = value;
146 void Closure::setGlobal(const ScriptFieldID* fieldID, const void* value, argument
148 mGlobals[fieldID] = make_pair(value, size);
46 rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, uintptr_t value, size_t size) argument
51 rsi_ClosureSetGlobal(Context* rsc, RsClosure closure, RsScriptFieldID fieldID, uintptr_t value, size_t size) argument
/frameworks/support/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java322 private void writeInt(Uri uri, int value) throws IOException { argument
326 os.writeInt(value);
332 private static void writeInt(File file, int value) throws IOException { argument
335 os.writeInt(value);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/
H A DUntargetableAnimatorSet.java102 public void setInterpolator(TimeInterpolator value) { argument
103 mAnimatorSet.setInterpolator(value);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
H A DSettings.java84 public void setBoolean(String key, boolean value) { argument
85 getOrSetBoolean(key, true, value);
88 boolean getOrSetBoolean(String key, boolean set, boolean value) { argument
90 return set ? (mPreferStaticShadows = value) : mPreferStaticShadows;
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java25 public static void setDuration(View view, long value) { argument
26 view.animate().setDuration(value);
29 public static void alpha(View view, float value) { argument
30 view.animate().alpha(value);
33 public static void translationX(View view, float value) { argument
34 view.animate().translationX(value);
37 public static void translationY(View view, float value) { argument
38 view.animate().translationY(value);
45 public static void setInterpolator(View view, Interpolator value) { argument
46 view.animate().setInterpolator(value);
49 setStartDelay(View view, long value) argument
57 alphaBy(View view, float value) argument
61 rotation(View view, float value) argument
65 rotationBy(View view, float value) argument
69 rotationX(View view, float value) argument
73 rotationXBy(View view, float value) argument
77 rotationY(View view, float value) argument
81 rotationYBy(View view, float value) argument
85 scaleX(View view, float value) argument
89 scaleXBy(View view, float value) argument
93 scaleY(View view, float value) argument
97 scaleYBy(View view, float value) argument
105 x(View view, float value) argument
109 xBy(View view, float value) argument
113 y(View view, float value) argument
117 yBy(View view, float value) argument
121 translationXBy(View view, float value) argument
125 translationYBy(View view, float value) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java174 * Adds a mapping from the specified key to the specified value,
178 public void put(long key, E value) { argument
182 mValues[i] = value;
188 mValues[i] = value;
220 mValues[i] = value;
226 * Returns the number of key-value mappings that this LongSparseArray
239 * the key from the <code>index</code>th key-value mapping that this
252 * the value from the <code>index</code>th key-value mapping that this
266 * value fo
269 setValueAt(int index, E value) argument
298 indexOfValue(E value) argument
329 append(long key, E value) argument
[all...]
H A DLruCache.java72 * Returns the value for {@code key} if it exists in the cache or can be
73 * created by {@code #create}. If a value was returned, it is moved to the
74 * head of the queue. This returns null if a value is not cached and cannot
93 * Attempt to create a value. This may take a long time, and the map
94 * may be different when create() returns. If a conflicting value was
95 * added to the map while create() was working, we leave that value in
96 * the map and release the created value.
126 * Caches {@code value} for {@code key}. The value is moved to the head of
129 * @return the previous value mappe
131 put(K key, V value) argument
248 safeSizeOf(K key, V value) argument
263 sizeOf(K key, V value) argument
[all...]
H A DSparseArrayCompat.java167 * Adds a mapping from the specified key to the specified value,
171 public void put(int key, E value) { argument
175 mValues[i] = value;
181 mValues[i] = value;
213 mValues[i] = value;
219 * Returns the number of key-value mappings that this SparseArray
232 * the key from the <code>index</code>th key-value mapping that this
245 * the value from the <code>index</code>th key-value mapping that this
259 * value fo
262 setValueAt(int index, E value) argument
293 indexOfValue(E value) argument
324 append(int key, E value) argument
[all...]
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DHttpHeaderParserTest.java217 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { argument
218 long diff = Math.abs(expected - value);
254 // Empty value
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h133 const String8& name, String8& value) const;
136 const String8& name, Vector<uint8_t>& value) const {
138 UNUSED(value);
143 const String8& name, const String8& value) {
145 UNUSED(value);
150 const String8& name, const Vector<uint8_t>& value) {
152 UNUSED(value);
142 setPropertyString( const String8& name, const String8& value) argument
149 setPropertyByteArray( const String8& name, const Vector<uint8_t>& value) argument
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp47 void CharacterEncodingDetector::addTag(const char *name, const char *value) { argument
49 mValues.push_back(value);
56 status_t CharacterEncodingDetector::getTag(int index, const char **name, const char**value) {
62 *value = mValues.getEntry(index);
66 static bool isPrintableAscii(const char *value, size_t len) { argument
68 if ((value[i] & 0x80) || value[i] < 0x20 || value[i] == 0x7f) {
95 const char *value = mValues.getEntry(i); local
96 if (!isPrintableAscii(value, strle
136 const char *value = mValues.getEntry(i); local
[all...]
H A DIMediaMetadataRetriever.cpp187 String8 value(str);
189 mMetadata.add(keyCode, value);
191 mMetadata.replaceValueFor(keyCode, value);
231 String8 value = data.readString8(); local
232 headers.add(key, value);
299 const char* value = extractMetadata(keyCode); local
300 if (value != NULL) { // Don't send NULL across the binder interface
302 reply->writeCString(value);
H A DMediaCodecInfo.cpp261 void MediaCodecInfo::addDetail(const AString &key, const AString &value) { argument
262 mCurrentCaps->mDetails->setString(key.c_str(), value.c_str());
265 void MediaCodecInfo::addFeature(const AString &key, int32_t value) { argument
268 mCurrentCaps->mDetails->setInt32(tag.c_str(), value);
271 void MediaCodecInfo::addFeature(const AString &key, const char *value) { argument
274 mCurrentCaps->mDetails->setString(tag.c_str(), value);
H A DToneGenerator.cpp815 char value[PROPERTY_VALUE_MAX]; local
816 property_get("gsm.operator.iso-country", value, "");
817 if (strcmp(value,"us") == 0 ||
818 strcmp(value,"ca") == 0) {
820 } else if (strcmp(value,"jp") == 0) {
1097 // returned value: always true.
1343 // returned value: true if wave generators have been created, false otherwise
1413 // returned value: nummber of sine waves
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp386 int16_t value = *data++; local
387 if (value < 0) {
388 value = -value;
390 if (mMaxAmplitude < value) {
391 mMaxAmplitude = value;
401 int16_t value = mMaxAmplitude; local
403 ALOGV("max amplitude since last call: %d", value);
404 return value;

Completed in 715 milliseconds

<<11121314151617181920>>