Searched refs:value (Results 151 - 175 of 1696) sorted by relevance

1234567891011>>

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/annotations/
H A DUsedByNative.java30 String value(); method in interface:UsedByNative
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java37 public OrderedDataOutputStream writeShort(short value) throws IOException { argument
39 mByteBuffer.putShort(value);
44 public OrderedDataOutputStream writeInt(int value) throws IOException { argument
46 mByteBuffer.putInt(value);
H A DExifTag.java56 * value depending on the field definition.
96 // Actual data count in tag (should be number of elements in value array)
100 // The value (array of elements of type Tag Type)
194 * Gets the total data size in bytes of the value of this tag.
211 * setValue() if the length of value does not match the component count.
218 * Returns true if this ExifTag contains value; otherwise, this tag will
219 * contain an offset value that is determined when the tag is written.
231 * <li>The value overflows.</li>
232 * <li>The value.length does NOT match the component count in the definition
236 public boolean setValue(int[] value) { argument
270 setValue(int value) argument
286 setValue(long[] value) argument
307 setValue(long value) argument
327 setValue(String value) argument
363 setValue(Rational[] value) argument
394 setValue(Rational value) argument
411 setValue(byte[] value, int offset, int length) argument
427 setValue(byte[] value) argument
441 setValue(byte value) argument
912 checkOverflowForUnsignedShort(int[] value) argument
921 checkOverflowForUnsignedLong(long[] value) argument
930 checkOverflowForUnsignedLong(int[] value) argument
939 checkOverflowForUnsignedRational(Rational[] value) argument
950 checkOverflowForRational(Rational[] value) argument
[all...]
/frameworks/base/tools/aapt2/util/
H A DTypeTraits.h35 static constexpr bool value = test<T, U>(int()); \
46 static constexpr bool value = has_eq_op<T, U>::value && has_lt_op<T, U>::value; member in struct:aapt::is_comparable
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DBindingAdapter.java24 * and the value to set:
61 * parameter as well. If it does, it will be passed the value passed in during binding, either
62 * directly in the inflate method or indirectly, using the value from
74 String[] value(); method in interface:BindingAdapter
80 * for which there was no binding expression (even a normal XML value) will
81 * cause the associated parameter receive the Java default value. Care must be
82 * taken to ensure that a default value is not confused with a valid XML value.
85 * value is true.
H A DBindingMethods.java24 * {@link BindingMethod} annotations in the value.
28 BindingMethod[] value(); method in interface:BindingMethods
H A DInverseBindingMethods.java22 * Used to enumerate attribute, getter, and event association. The value is an array of
27 InverseBindingMethod[] value(); method in interface:InverseBindingMethods
H A DUntaggable.java26 String[] value(); method in interface:Untaggable
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStringFloat.java8 public float value; field in class:StringFloat
26 value = newValue;
39 out.writeFloat(value);
44 value = in.readFloat();
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/image/
H A DRangeInverseDepthTransform.java38 public int quantize(float value) { argument
40 (int) ((far - near * far / value) / (far - near) * 255f)));
44 public float reconstruct(int value) { argument
46 Math.max(0, Math.min(255, value)) / 255f);
H A DRangeLinearDepthTransform.java39 public int quantize(float value) { argument
41 (int) ((value - near) / (far - near) * 255f)));
45 public float reconstruct(int value) { argument
46 return near + (far - near) * Math.max(0, Math.min(255, value)) / 255f;
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DShadowSystemClock.java6 @Implements(value = SystemClock.class, callThroughByDefault = true)
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp92 void EventLog::TagBuffer::writeInt32(int32_t value) { argument
94 const size_t needed = 1 + sizeof(value);
100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
104 void EventLog::TagBuffer::writeInt64(int64_t value) { argument
106 const size_t needed = 1 + sizeof(value);
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
116 void EventLog::TagBuffer::writeString8(const String8& value) { argument
118 const int32_t stringLen = value
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DMessageUtils.java34 /** Thrown when two different constants have the same value. */
37 public DuplicateConstantError(String name1, String name2, int value) { argument
38 super(String.format("Duplicate constant value: both %s and %s = %d",
39 name1, name2, value));
83 // Fetch the constant's value.
84 int value;
86 value = field.getInt(null);
89 // initializer failed and we have no idea what its value is.
95 String previousName = messageNames.get(value);
97 throw new DuplicateConstantError(name, previousName, value);
[all...]
/frameworks/base/core/tests/utiltests/src/android/util/
H A DIRemoteMemoryIntArray.aidl26 void set(int index, int value);
/frameworks/base/graphics/java/android/graphics/
H A DPathDashPathEffect.java26 Style(int value) { argument
27 native_style = value;
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DNodeAttribute.java8 public NodeAttribute(String name, String type, String value) { argument
11 mValue = value;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedBitmapCache.java32 * when the same key is used to retrieve the value, a {@link NullReusableBitmap} singleton will
72 protected int sizeOf(final ReusableBitmap value) { argument
73 return value.getByteCount();
108 public void offer(final ReusableBitmap value) { argument
110 super.offer(value);
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) { argument
132 if (mNullRequests != null && (value == null || value == NullReusableBitmap.getInstance())) {
137 return super.put(key, value);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java37 public final String value; field in class:BmsgTokenizer.Property
39 public Property(String name, String value) { argument
40 if (name == null || value == null) {
45 this.value = value;
52 return name + ":" + value;
57 return ((o instanceof Property) && ((Property) o).name.equals(name) && ((Property) o).value
58 .equals(value));
/frameworks/support/v4/api21/android/support/v4/media/
H A DMediaMetadataCompatApi21.java60 public static void putBitmap(Object builderObj, String key, Bitmap value) { argument
61 ((MediaMetadata.Builder)builderObj).putBitmap(key, value);
64 public static void putLong(Object builderObj, String key, long value) { argument
65 ((MediaMetadata.Builder)builderObj).putLong(key, value);
72 public static void putText(Object builderObj, String key, CharSequence value) { argument
73 ((MediaMetadata.Builder) builderObj).putText(key, value);
76 public static void putString(Object builderObj, String key, String value) { argument
77 ((MediaMetadata.Builder) builderObj).putString(key, value);
/frameworks/support/percent/src/android/support/percent/
H A DPercentLayoutHelper.java149 float value = array.getFraction(R.styleable.PercentLayout_Layout_layout_widthPercent, 1, 1,
151 if (value != -1f) {
153 Log.v(TAG, "percent width: " + value);
156 info.widthPercent = value;
158 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_heightPercent, 1, 1, -1f);
159 if (value != -1f) {
161 Log.v(TAG, "percent height: " + value);
164 info.heightPercent = value;
166 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginPercent, 1, 1, -1f);
167 if (value !
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp63 AString value(&data[valueStart], i - valueStart);
64 value.trim();
66 mDict.add(name, value);
76 bool Parameters::findParameter(const char *name, AString *value) const {
83 value->clear();
88 *value = mDict.valueAt(index);
/frameworks/base/core/java/android/os/
H A DPersistableBundle.java48 public static boolean isValidType(Object value) { argument
49 return (value instanceof Integer) || (value instanceof Long) ||
50 (value instanceof Double) || (value instanceof String) ||
51 (value instanceof int[]) || (value instanceof long[]) ||
52 (value instanceof double[]) || (value instanceof String[]) ||
53 (value instanceo
140 forPair(String key, String value) argument
162 putPersistableBundle(@ullable String key, @Nullable PersistableBundle value) argument
[all...]
/frameworks/base/core/java/android/util/
H A DJsonWriter.java27 * encoded value to a stream, one token at a time. The stream includes both
38 * Write each of the array's elements with the appropriate {@link #value}
43 * {@link #name} with the property's value. Write property values with the
44 * appropriate {@link #value} method or by nesting other objects or arrays.
88 * writer.name("id").value(message.getId());
89 * writer.name("text").value(message.getText());
103 * writer.name("name").value(user.getName());
104 * writer.name("followers_count").value(user.getFollowersCount());
110 * for (Double value : doubles) {
111 * writer.value(valu
299 value(String value) argument
324 value(boolean value) argument
337 value(double value) argument
351 value(long value) argument
364 value(Number value) argument
400 string(String value) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DGmsFusedBatchOptions.java30 public void setMaxPowerAllocationInMW(double value) { argument
31 mOptions.setMaxPowerAllocationInMW(value);
38 public void setPeriodInNS(long value) { argument
39 mOptions.setPeriodInNS(value);
46 public void setSmallestDisplacementMeters(float value) { argument
47 mOptions.setSmallestDisplacementMeters(value);

Completed in 886 milliseconds

1234567891011>>