Searched refs:value (Results 251 - 275 of 846) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBrightnessController.java97 int value;
99 value = Settings.System.getIntForUser(mContext.getContentResolver(),
103 value = mMaximumBacklight;
107 control.setValue(value - mMinimumBacklight);
110 public void onChanged(ToggleSlider view, boolean tracking, boolean automatic, int value) { argument
115 final int val = value + mMinimumBacklight;
/frameworks/base/tools/aapt/
H A DStringPool.h44 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
45 entry(const entry& o) : value(o.value), offset(o.offset),
49 String16 value; member in struct:StringPool::entry
91 * otherwise, or if the value doesn't already exist, a new entry is
96 ssize_t add(const String16& value, bool mergeDuplicates = false,
99 ssize_t add(const String16& value, const Vector<entry_style_span>& spans,
168 // the first index of mEntryArray where the value was added.
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_StochasticLinearRanker.java57 values_1[i] = temp_1.get(i).value;
64 values_2[i] = temp_2.get(i).value;
81 values[i] = temp.get(i).value;
92 weights.put(temp.get(i).key, temp.get(i).value);
98 public boolean SetModelParameter(String key, String value) { argument
101 return mLearningSlRanker.setModelParameter(key,value);
/frameworks/native/libs/utils/
H A DPropertyMap.cpp50 void PropertyMap::addProperty(const String8& key, const String8& value) { argument
51 mProperties.add(key, value);
85 int value = strtol(stringValue.string(), & end, 10); local
87 ALOGW("Property key '%s' has invalid value '%s'. Expected an integer.",
91 outValue = value;
102 float value = strtof(stringValue.string(), & end); local
104 ALOGW("Property key '%s' has invalid value '%s'. Expected a float.",
108 outValue = value;
182 ALOGE("%s: Expected '=' between property key and value.",
191 ALOGE("%s: Found reserved character '\\' or '\"' in property value
[all...]
/frameworks/av/media/mtp/
H A DMtpProperty.h97 void print(MtpPropertyValue& value, MtpString& buffer);
105 void readValue(MtpDataPacket& packet, MtpPropertyValue& value);
106 void writeValue(MtpDataPacket& packet, MtpPropertyValue& value);
/frameworks/base/core/java/android/content/pm/
H A DManifestDigest.java60 final String value = attributes.getValue(DIGEST_TYPES[i]);
61 if (value != null) {
62 encodedDigest = value;
/frameworks/base/core/java/android/util/
H A DDebugUtils.java88 Object value = declaredMethod
90 match |= (value != null ?
91 value.toString() : "null").matches(pair[1]);
/frameworks/base/native/android/
H A Dnative_window.cpp44 int value; local
45 int res = window->query(window, what, &value);
46 return res < 0 ? res : value;
/frameworks/base/services/java/com/android/server/net/
H A DNetworkIdentitySet.java79 private static void writeOptionalString(DataOutputStream out, String value) throws IOException { argument
80 if (value != null) {
82 out.writeUTF(value);
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java80 int value = (buf[3] << 24) + ((buf[2] & 0xFF) << 16)
82 if (value != i) {
83 Log.e(TAG, "Mismatch: index " + i + " : value " + value);
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local
134 return value;
156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local
158 return value;
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.h27 bool findParameter(const char *name, AString *value) const;
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java81 * @param results memory and runtime metrics stored as key/value pairs,
117 * @param value long value of the measurement
119 public void writeMeasurement(String label, long value); argument
127 * @param value float value of the measurement
129 public void writeMeasurement(String label, float value); argument
137 * @param value string summary of the measurement
139 public void writeMeasurement(String label, String value); argument
315 * @return Memory and runtime metrics stored as key/value pair
424 addMeasurement(String label, long value) argument
435 addMeasurement(String label, float value) argument
446 addMeasurement(String label, String value) argument
[all...]
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java55 * Returns the value at the specified row and column.
60 * @return the value stored at the specified position.
77 int value = mValues[row * columns + column];
81 value += valuegap[column + columns];
84 return value;
88 * Sets the value at the specified row and column.
97 public void setValue(int row, int column, int value) { argument
108 value -= valuegap[column + mColumns];
111 mValues[row * mColumns + column] = value;
115 * Sets the value a
122 setValueInternal(int row, int column, int value) argument
[all...]
/frameworks/base/core/java/com/android/internal/preference/
H A DYesNoPreference.java57 * Sets the value of this preference, and saves it to the persistent store
60 * @param value The value of the preference.
62 public void setValue(boolean value) { argument
63 mWasPositiveResult = value;
65 persistBoolean(value);
67 notifyDependencyChange(!value);
71 * Gets the value of this preference.
73 * @return The value of the preference.
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java189 final long value = nextLong();
190 if (value > Integer.MAX_VALUE || value < Integer.MIN_VALUE) {
191 throw new NumberFormatException("parsed value larger than integer");
193 return (int) value;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_buffer_interface.h42 virtual bool SetTextureParameter(GLenum pname, GLint value) = 0;
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp52 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value);
53 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value);
57 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value);
238 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value) { argument
241 const char **str = (const char **)value;
247 const char **str = (const char **)value;
255 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument
258 void **v = (void **)value;
271 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java200 * the value is negative.
202 public void setBandwidth(String type, int value) { argument
203 mFields.setBandwidth(type, value);
223 * the value is {@code null}. To set a binary attribute, use an empty
224 * string as the value.
226 public void setAttribute(String name, String value) { argument
227 mFields.setAttribute(name, value);
385 * has three parts: a key, a delimiter, and a value. Delimiters are special
471 String value = get("b=" + type, ':');
472 if (value !
485 setBandwidth(String type, int value) argument
509 setAttribute(String name, String value) argument
584 set(String key, char delimiter, String value) argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringEntry.h42 value_type& value() function in class:mcld::StringEntry
45 const value_type& value() const function in class:mcld::StringEntry
92 value_type& value() function in class:mcld::StringEntry
95 const value_type& value() const function in class:mcld::StringEntry
/frameworks/native/include/utils/
H A DBlobCache.h29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
39 // Create an empty blob cache. The blob cache will cache key/value pairs
40 // with key and value sizes less than or equal to maxKeySize and
42 // (key sizes plus value sizes) will not exceed maxTotalSize.
45 // set inserts a new binary value into the cache and associates it with the
46 // given binary key. If the key or value are too large for the cache then
48 // value was previously associated with the given key - the old value will
49 // remain in the cache. If the given key and value are small enough to be
51 // values specified to the BlobCache constructor), then the key/value pai
[all...]
H A DTrace.h77 // ATRACE_INT traces a named integer value. This can be used to track how the
78 // value changes over time in a trace.
79 #define ATRACE_INT(name, value) android::Tracer::traceCounter(ATRACE_TAG, name, value)
102 int32_t value) {
105 snprintf(buf, 1024, "C|%d|%s|%d", getpid(), name, value);
140 // retrieve the current value of the system property.
143 // sIsReady is a boolean value indicating whether a call to init() has
169 // This value is only ever non-zero when tracing is initialized and sTraceFD is not -1.
101 traceCounter(uint64_t tag, const char* name, int32_t value) argument
/frameworks/native/opengl/tests/lib/
H A DglTestLib.cpp110 EGLint value = -1; local
112 &value);
115 testPrintI(" %s: %d (%#x)", names[j].name, value, value);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java250 * Creates a new property with the provided name and value.
252 * @param value The value of the property.
254 public Property(String name, String value) { argument
256 mValue = value;
268 * Returns the value of this property.
269 * @return The value of this property.
276 * Sets the value of this property.
277 * @param value The desired value fo
279 setValue(String value) argument
359 public String value; field in class:ICalendar.Parameter
372 Parameter(String name, String value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java282 Integer value = (Integer) f.get(null);
283 sRMap.put(value, Pair.of(resType, f.getName()));
284 fullMap.put(f.getName(), value);
464 * Returns details of a framework resource from its integer value.
465 * @param value the integer value
469 public static Pair<ResourceType, String> resolveResourceId(int value) { argument
470 Pair<ResourceType, String> pair = sRMap.get(value);
472 pair = sDynamicIds.resolveId(value);
474 //System.out.println(String.format("Missing id: %1$08X (%1$d)", value));
534 getCachedBitmap(String value, Object projectKey) argument
559 setCachedBitmap(String value, Bitmap bmp, Object projectKey) argument
581 getCached9Patch(String value, Object projectKey) argument
607 setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) argument
[all...]

Completed in 805 milliseconds

<<11121314151617181920>>