/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | TypeConverter.cpp | 236 bool TypeConverter<Traits>::toString(const typename Traits::Type &value, std::string &str) argument 239 if (mTable[i].value == value) { 253 result = mTable[i].value; 268 typename Traits::Type value; local 269 if (fromString(cstr, value)) { 270 collection.add(value); 280 uint32_t value = 0; local 284 value |= static_cast<uint32_t>(type); 288 return value; [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | BidirectionalTypeConverter.java | 20 * is necessary when the value types of in animation are different from the property 21 * type. BidirectionalTypeConverter is needed when only the final value for the 36 * @param value The Object to convert. 37 * @return A value of type T, converted from <code>value</code>. 39 public abstract T convertBack(V value); argument 64 public From convertBack(To value) { argument 65 return mConverter.convert(value); 69 public To convert(From value) { argument 70 return mConverter.convertBack(value); [all...] |
H A D | TypeConverter.java | 21 * is necessary when the value types of in animation are different 51 * Converts a value from one type to another. 52 * @param value The Object to convert. 53 * @return A value of type V, converted from <code>value</code>. 55 public abstract V convert(T value); argument
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobId.java | 45 * @param value The internal value. 49 public PrintJobId(@NonNull String value) { argument 50 mValue = value;
|
/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 40 * positive infinity) integer value which is less than the argument. 42 * @param value to be converted 43 * @return the floor of value 46 public static float floor(float value) { argument 47 return (float) Math.floor(value); 52 * negative infinity) integer value which is greater than the argument. 54 * @param value to be converted 55 * @return the ceiling of value 58 public static float ceil(float value) { argument 59 return (float) Math.ceil(value); 92 sqrt(float value) argument 104 exp(float value) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessMap.java | 32 public E put(String name, int uid, E value) { argument 38 uids.put(uid, value); 39 return value;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | DurationsTable.java | 31 * and the new value. 42 * Add the value into the value stored for the state. 45 * and the new value. 47 public void addDuration(int state, long value) { argument 49 setValue(key, getValue(key) + value);
|
/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)); 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/coretests/src/android/animation/ |
H A D | AnimatorSetEventsTest.java | 76 public void setTranslationX(float value) { argument 77 button.setTranslationX(value); 81 public void setTranslationY(float value) { argument 82 button.setTranslationY(value);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BlurMaskFilter.java | 48 Blur(int value) { argument 49 native_int = value;
|
H A D | PathDashPathEffect.java | 26 Style(int value) { argument 27 native_style = value;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | OpPropAnimation.cpp | 47 mPaint->value.setAntiAlias(true); 48 mPaint->value.setColor(Color::Blue_500); 50 mRoundRectRight->value = width / 2; 51 mRoundRectBottom->value = height / 2; 53 mCircleX->value = width * 0.75; 54 mCircleY->value = height * 0.75; 66 float value = (abs((frameNr % 200) - 100)) / 100.0f; variable 67 mRoundRectRx->value = dp(10) + value * dp(40); 68 mRoundRectRy->value [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerClient.java | 30 public void handleStringTag(String name, String value); argument
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | Effect.java | 82 * @param value The new value to set the parameter to. 83 * @throws InvalidArgumentException if parameterName is not a recognized name, or the value is 84 * not a valid value for this parameter. 86 public abstract void setParameter(String parameterKey, Object value); argument
|
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
H A D | BackDropperEffect.java | 90 public void setParameter(String parameterKey, Object value) { argument 93 background.setInputValue("sourceUrl", value); 96 background.setInputValue("context", value);
|
H A D | IdentityEffect.java | 49 public void setParameter(String parameterKey, Object value) { argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Program.java | 35 public abstract void setHostValue(String variableName, Object value); argument
|
H A D | ProgramVariable.java | 41 public void setValue(Object value) { argument 46 mProgram.setHostValue(mVarName, value);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MultiValueMap.java | 13 public void put(String key, T value) { argument 20 values.add(value); 31 throw new IllegalArgumentException("Cannot do get on multi-value"); 43 T value = values.get(n); 44 if (value == oldValue) { 46 return value; 52 public T remove(String key, T value) { argument 62 if (valueIterator.next() == value) { 64 result = value; 74 public T remove(T value) { argument [all...] |
H A D | NodeAttribute.java | 8 public NodeAttribute(String name, String type, String value) { argument 11 mValue = value;
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsStateTest.java | 108 private void checkWriteSingleSetting(XmlSerializer serializer, String key, String value) argument 110 checkWriteSingleSetting(key + "/" + value, serializer, key, value); 114 String key, String value) throws Exception { 118 serializer, "1", key, value, "package"); 152 * In version 120, value "null" meant {code NULL}. 162 " <setting id=\"0\" name=\"k0\" value=\"null\" package=\"null\" />" + 163 " <setting id=\"1\" name=\"k1\" value=\"\" package=\"\" />" + 164 " <setting id=\"2\" name=\"k2\" value=\"v2\" package=\"p2\" />" + 113 checkWriteSingleSetting(String msg, XmlSerializer serializer, String key, String value) argument
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportPrefs.java | 42 static void setWarningState(Context context, int value) { argument 45 prefs.edit().putInt(KEY_WARNING_STATE, value).apply();
|
H A D | Screenshooter.java | 123 private static float getDegreesForRotation(int value) { argument 124 switch (value) {
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetJsonWriter.java | 45 * Appends a field to the output, putting both the key and value in lowercase. Null values are 48 public void writeFieldLower(String key, String value) { argument 54 if (value != null) { 57 mWriter.value(value.toLowerCase(Locale.US)); 79 for (String value : values) { 80 mWriter.value(value.toUpperCase(Locale.US));
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 37 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);
|