Searched refs:value (Results 276 - 300 of 934) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java158 byte[] value = new byte[PARAM_STRING_SIZE_MAX];
163 checkStatus(getParameter(param, value));
165 while (value[length] != 0) length++;
167 mPresetNames[i] = new String(value, 0, length, "ISO-8859-1");
212 * Sets the given equalizer band to the given gain value.
225 short[] value = new short[1];
229 value[0] = level;
230 checkStatus(setParameter(param, value));
379 * parameter value has changed.
383 * Method called when a parameter value ha
392 onParameterChange(Equalizer effect, int status, int param1, int param2, int value) argument
403 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DFontLoader.java138 * Returns a {@link Font} object given a family name and a style value (constant in
328 private String trimXmlWhitespaces(String value) { argument
329 if (value == null) {
336 while ((index = value.indexOf('\n')) != -1) {
340 if (Character.isWhitespace(value.charAt(left))) {
348 int count = value.length();
350 if (Character.isWhitespace(value.charAt(right))) {
360 leftString = value.substring(0, left + 1);
364 rightString = value.substring(right);
368 value
[all...]
/frameworks/base/core/java/android/util/
H A DArrayMap.java24 * ArrayMap is a generic key->value mapping data structure that is
27 * codes for each item, and an Object array of the key/value pairs. This allows it to
77 * Special hash array value that indicates the container is immutable.
117 // Key not found -- return negative value indicating where a
155 // Key not found -- return negative value indicating where a
327 int indexOfValue(Object value) { argument
330 if (value == null) {
338 if (value.equals(array[i])) {
347 * Check whether a value exists in the array. This requires a linear search
350 * @param value Th
354 containsValue(Object value) argument
394 setValueAt(int index, V value) argument
418 put(K key, V value) argument
474 append(K key, V value) argument
[all...]
H A DDebugUtils.java89 Object value = declaredMethod
91 match |= (value != null ?
92 value.toString() : "null").matches(pair[1]);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java370 * Splits the given value into pieces using the delimiter ';' inside it.
374 public static List<String> constructListFromValue(final String value, argument
378 final int length = value.length();
380 char ch = value.charAt(i);
382 char nextCh = value.charAt(i + 1);
424 for (final String value : values) {
425 if (TextUtils.isEmpty(value)) {
428 if (!TextUtilsPort.isPrintableAsciiOnly(value)) {
457 for (final String value : values) {
458 if (TextUtils.isEmpty(value)) {
557 isV21Word(final String value) argument
595 toStringAsV30ParamValue(String value) argument
599 toStringAsV40ParamValue(String value) argument
603 toStringAsParamValue(String value, final int[] escapeIndicators) argument
706 appearsLikeAndroidVCardQuotedPrintable(String value) argument
726 parseQuotedPrintable( final String value, boolean strictLineBreaking, String sourceCharset, String targetCharset) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntent.java678 * extras: SHORTCUT_INTENT (value: Intent), SHORTCUT_NAME (value: String),
679 * and SHORTCUT_ICON (value: Bitmap) or SHORTCUT_ICON_RESOURCE
680 * (value: ShortcutIconResource).</p>
1277 * same value.
1486 * <li><em>time-zone</em> - The java.util.TimeZone.getID() value identifying the new time zone.</li>
2021 * The Intent contains an extra with name "read-only" and Boolean value to indicate if the
2127 * more radios have been turned off or on. The intent will have the following extra value:</p>
2129 * <li><em>state</em> - A boolean value indicating whether Airplane Mode is on. If true,
2265 * <li><em>state</em> - A boolean value indicatin
5457 putExtra(String name, boolean value) argument
5480 putExtra(String name, byte value) argument
5503 putExtra(String name, char value) argument
5526 putExtra(String name, short value) argument
5549 putExtra(String name, int value) argument
5572 putExtra(String name, long value) argument
5595 putExtra(String name, float value) argument
5618 putExtra(String name, double value) argument
5641 putExtra(String name, String value) argument
5664 putExtra(String name, CharSequence value) argument
5687 putExtra(String name, Parcelable value) argument
5710 putExtra(String name, Parcelable[] value) argument
5733 putParcelableArrayListExtra(String name, ArrayList<? extends Parcelable> value) argument
5756 putIntegerArrayListExtra(String name, ArrayList<Integer> value) argument
5779 putStringArrayListExtra(String name, ArrayList<String> value) argument
5802 putCharSequenceArrayListExtra(String name, ArrayList<CharSequence> value) argument
5825 putExtra(String name, Serializable value) argument
5848 putExtra(String name, boolean[] value) argument
5871 putExtra(String name, byte[] value) argument
5894 putExtra(String name, short[] value) argument
5917 putExtra(String name, char[] value) argument
5940 putExtra(String name, int[] value) argument
5963 putExtra(String name, long[] value) argument
5986 putExtra(String name, float[] value) argument
6009 putExtra(String name, double[] value) argument
6032 putExtra(String name, String[] value) argument
6055 putExtra(String name, CharSequence[] value) argument
6078 putExtra(String name, Bundle value) argument
6105 putExtra(String name, IBinder value) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp160 const char *value; local
161 if ((value = mRetriever->extractMetadata(
163 status = client.setMimeType(value);
193 const char *value; local
194 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
195 status = client.addStringTag(kKeyMap[i].tag, value);
/frameworks/base/core/java/android/net/
H A DLinkCapabilities.java48 * can read the value of that key from the socket but cannot request
52 * define the syntax for each value string associated with a key.
80 * This value is in kilobits per second (kbps).
104 * This value is in kilobits per second (kbps).
235 * Store the key/value capability pair
238 * @param value
240 public void put(int key, String value) { argument
241 mCapabilities.put(key, value);
256 * Returns whether this map contains the specified value.
258 * @param value t
262 containsValue(String value) argument
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.h43 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
44 entry(const entry& o) : value(o.value), offset(o.offset),
48 String16 value; member in struct:StringPool::entry
90 * otherwise, or if the value doesn't already exist, a new entry is
95 ssize_t add(const String16& value, bool mergeDuplicates = false,
98 ssize_t add(const String16& value, const Vector<entry_style_span>& spans,
167 // 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/base/core/java/com/android/internal/util/
H A DXmlUtils.java51 convertValueToList(CharSequence value, String[] options, int defaultValue) argument
53 if (null != value) {
55 if (value.equals(options[i]))
64 convertValueToBoolean(CharSequence value, boolean defaultValue) argument
68 if (null == value)
71 if (value.equals("1")
72 || value.equals("true")
73 || value.equals("TRUE"))
90 int value;
125 public static int convertValueToUnsignedInt(String value, in argument
929 writeIntAttribute(XmlSerializer out, String name, int value) argument
952 writeLongAttribute(XmlSerializer out, String name, long value) argument
962 writeBooleanAttribute(XmlSerializer out, String name, boolean value) argument
[all...]
H A DProcFileReader.java172 * the given default value if no remaining tokens on current line.
222 final long value = nextLong();
223 if (value > Integer.MAX_VALUE || value < Integer.MIN_VALUE) {
224 throw new NumberFormatException("parsed value larger than integer");
226 return (int) value;
/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/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/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurableUtils.java85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { argument
86 if (value != null) {
88 out.writeUTF(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/libs/hwui/
H A DStencil.h40 * Returns the desired size for the stencil buffer. If the returned value
63 * test always succeeds and the value 0x1 is written in the stencil
69 * The test passes only when equal to the specified value.
71 void enableDebugTest(GLint value, bool greater = false);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_buffer_interface.h42 virtual bool SetTextureParameter(GLenum pname, GLint value) = 0;
/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

Completed in 695 milliseconds

<<11121314151617181920>>