/frameworks/base/tools/aapt2/util/ |
H A D | TypeTraits.h | 36 static constexpr bool value = test<T, U>(int()); \ 47 static constexpr bool value = member in struct:aapt::is_comparable 48 has_eq_op<T, U>::value && has_lt_op<T, U>::value;
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | BindingAdapter.java | 24 * 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 D | BindingMethods.java | 24 * {@link BindingMethod} annotations in the value. 28 BindingMethod[] value(); method in interface:BindingMethods
|
H A D | InverseBindingMethods.java | 22 * Used to enumerate attribute, getter, and event association. The value is an array of 27 InverseBindingMethod[] value(); method in interface:InverseBindingMethods
|
H A D | Untaggable.java | 26 String[] value(); method in interface:Untaggable
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | StringFloat.java | 8 public float value; field in class:StringFloat 26 value = newValue; 39 out.writeFloat(value); 44 value = in.readFloat();
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglplatform.h | 125 #define EGL_CAST(type, value) (static_cast<type>(value)) 127 #define EGL_CAST(type, value) ((type) (value))
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/image/ |
H A D | RangeInverseDepthTransform.java | 38 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 D | RangeLinearDepthTransform.java | 39 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/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifTag.java | 56 * 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/native/services/surfaceflinger/EventLog/ |
H A D | EventLog.cpp | 92 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 D | MessageUtils.java | 34 /** 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)); 84 // Fetch the constant's value. 85 int value; 87 value = field.getInt(null); 90 // initializer failed and we have no idea what its value is. 96 String previousName = messageNames.get(value); 98 throw new DuplicateConstantError(name, previousName, value); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ICrossUserContentService.aidl | 22 void updateContent(in Uri uri, String key, int value);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathDashPathEffect.java | 26 Style(int value) { argument 27 native_style = value;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | NodeAttribute.java | 8 public NodeAttribute(String name, String type, String value) { argument 11 mValue = value;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | MockableSystemProperties.java | 35 public void set(String key, String value) { argument 36 SystemProperties.set(key, value);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedBitmapCache.java | 32 * 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 D | BmsgTokenizer.java | 37 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/buildSrc/src/main/groovy/android/support/doclava/ |
H A D | DoclavaMultilineJavadocOptionFileOption.java | 38 public DoclavaMultilineJavadocOptionFileOption(String option, List<List<String>> value) { argument 39 super(option, value); 43 public void setValue(List<List<String>> value) { argument 46 super.setValue(new ArrayList<List<String>>(value)); 48 args.addAll(value); 86 final List<List<String>> value = getValue(); 87 final ArrayList<List<String>> valueCopy = new ArrayList<>(value.size()); 88 for (List<String> item : value) {
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator_test.cpp | 34 EXPECT_EQ(original_style.str, *new_string->value->str); 35 ASSERT_EQ(original_style.spans.size(), new_string->value->spans.size()); 37 EXPECT_EQ(std::string("i"), *new_string->value->spans[0].name); 38 EXPECT_EQ(std::u16string(u"H").size(), new_string->value->spans[0].first_char); 39 EXPECT_EQ(std::u16string(u"Hello worl").size(), new_string->value->spans[0].last_char); 41 EXPECT_EQ(std::string("b"), *new_string->value->spans[1].name); 42 EXPECT_EQ(std::u16string(u"He").size(), new_string->value->spans[1].first_char); 43 EXPECT_EQ(std::u16string(u"Hel").size(), new_string->value->spans[1].last_char); 45 EXPECT_EQ(std::string("b"), *new_string->value->spans[2].name); 46 EXPECT_EQ(std::u16string(u"Hello ").size(), new_string->value [all...] |
/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentLayoutHelper.java | 199 float value = array.getFraction(R.styleable.PercentLayout_Layout_layout_widthPercent, 1, 1, 201 if (value != -1f) { 203 Log.v(TAG, "percent width: " + value); 206 info.widthPercent = value; 208 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_heightPercent, 1, 1, -1f); 209 if (value != -1f) { 211 Log.v(TAG, "percent height: " + value); 214 info.heightPercent = value; 216 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginPercent, 1, 1, -1f); 217 if (value ! [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 63 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 D | PersistableBundle.java | 49 public static boolean isValidType(Object value) { argument 50 return (value instanceof Integer) || (value instanceof Long) || 51 (value instanceof Double) || (value instanceof String) || 52 (value instanceof int[]) || (value instanceof long[]) || 53 (value instanceof double[]) || (value instanceof String[]) || 54 (value instanceo 151 forPair(String key, String value) argument 186 putPersistableBundle(@ullable String key, @Nullable PersistableBundle value) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 27 * 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 D | GmsFusedBatchOptions.java | 30 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);
|