Searched defs:value (Results 126 - 150 of 1454) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/print/
H A DPrintJobId.java45 * @param value The internal value.
49 public PrintJobId(@NonNull String value) { argument
50 mValue = value;
/frameworks/base/core/java/android/service/autofill/
H A DDateValueSanitizer.java52 * @param dateFormat date format applied to the actual date value of an input field.
62 public AutofillValue sanitize(@NonNull AutofillValue value) { argument
63 if (value == null) {
64 Log.w(TAG, "sanitize() called with null value");
67 if (!value.isDate()) {
68 if (sDebug) Log.d(TAG, value + " is not a date");
73 final Date date = new Date(value.getDateValue());
83 Log.w(TAG, "Could not apply " + mDateFormat + " to " + value + ": " + e);
/frameworks/base/core/java/android/util/
H A DFloatMath.java40 * 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...]
H A DSparseSetArray.java30 * Add a value at index n.
31 * @return FALSE when the value already existed at the given index, TRUE otherwise.
33 public boolean add(int n, T value) { argument
39 if (set.contains(value)) {
42 set.add(value);
47 * @return whether a value exists at index n.
49 public boolean contains(int n, T value) { argument
54 return set.contains(value);
58 * Remove a value from index n.
59 * @return TRUE when the value existe
61 remove(int n, T value) argument
[all...]
/frameworks/base/core/java/android/view/autofill/
H A DHelper.java32 * Appends {@code value} to the {@code builder} redacting its contents.
35 @Nullable CharSequence value) {
36 builder.append(getRedacted(value));
40 * Gets the redacted version of a value.
43 public static String getRedacted(@Nullable CharSequence value) { argument
44 return (value == null) ? "null" : value.length() + "_chars";
56 for (String value : values) {
58 appendRedacted(builder, value);
34 appendRedacted(@onNull StringBuilder builder, @Nullable CharSequence value) argument
/frameworks/base/core/java/com/android/internal/app/
H A DProcessMap.java32 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 DDurationsTable.java31 * 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 DExponentiallyBucketedHistogram.java35 * @param numBuckets The number of buckets. The highest bucket is for all value >=
45 * Add a new value to the histogram.
50 * @param value The value to add
52 public void add(int value) { argument
53 if (value <= 0) {
56 mData[Math.min(mData.length - 1, 32 - Integer.numberOfLeadingZeros(value))]++;
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));
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...]
H A DParseUtils.java30 /** Parse a value as a base-10 integer. */
31 public static int parseInt(@Nullable String value, int defValue) { argument
32 return parseIntWithBase(value, 10, defValue);
35 /** Parse a value as an integer of a given base. */
36 public static int parseIntWithBase(@Nullable String value, int base, int defValue) { argument
37 if (value == null) {
41 return Integer.parseInt(value, base);
47 /** Parse a value as a base-10 long. */
48 public static long parseLong(@Nullable String value, long defValue) { argument
49 return parseLongWithBase(value, 1
53 parseLongWithBase(@ullable String value, int base, long defValue) argument
65 parseFloat(@ullable String value, float defValue) argument
77 parseDouble(@ullable String value, double defValue) argument
89 parseBoolean(@ullable String value, boolean defValue) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetEventsTest.java76 public void setTranslationX(float value) { argument
77 button.setTranslationX(value);
81 public void setTranslationY(float value) { argument
82 button.setTranslationY(value);
/frameworks/base/core/tests/privacytests/src/android/privacy/
H A DRapporEncoderTest.java187 private static byte[] toBytes(long value) { argument
188 return ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(value).array();
/frameworks/base/graphics/java/android/graphics/
H A DBlurMaskFilter.java48 Blur(int value) { argument
49 native_int = value;
H A DPathDashPathEffect.java26 Style(int value) { argument
27 native_style = value;
/frameworks/base/libs/hwui/tests/common/scenes/
H A DOpPropAnimation.cpp46 mPaint->value.setAntiAlias(true);
47 mPaint->value.setColor(Color::Blue_500);
49 mRoundRectRight->value = width / 2;
50 mRoundRectBottom->value = height / 2;
52 mCircleX->value = width * 0.75;
53 mCircleY->value = height * 0.75;
65 float value = (abs((frameNr % 200) - 100)) / 100.0f; variable
66 mRoundRectRx->value = dp(10) + value * dp(40);
67 mRoundRectRy->value
[all...]
/frameworks/base/libs/services/src/os/
H A DStatsDimensionsValue.cpp33 StatsDimensionsValue::StatsDimensionsValue(int32_t field, String16 value) : argument
36 mStrValue(value) {
38 StatsDimensionsValue::StatsDimensionsValue(int32_t field, int32_t value) : argument
41 mIntValue(value) {
43 StatsDimensionsValue::StatsDimensionsValue(int32_t field, int64_t value) : argument
46 mLongValue(value) {
48 StatsDimensionsValue::StatsDimensionsValue(int32_t field, bool value) : argument
51 mBoolValue(value) {
53 StatsDimensionsValue::StatsDimensionsValue(int32_t field, float value) : argument
56 mFloatValue(value) {
58 StatsDimensionsValue(int32_t field, vector<StatsDimensionsValue> value) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScannerClient.java30 public void handleStringTag(String name, String value); argument
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java82 * @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 DBackDropperEffect.java90 public void setParameter(String parameterKey, Object value) { argument
93 background.setInputValue("sourceUrl", value);
96 background.setInputValue("context", value);
H A DIdentityEffect.java49 public void setParameter(String parameterKey, Object value) { argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DProgram.java35 public abstract void setHostValue(String variableName, Object value); argument
H A DProgramVariable.java41 public void setValue(Object value) { argument
46 mProgram.setHostValue(mVarName, value);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wrapper/
H A DBluetoothA2dpWrapper.java67 public void setOptionalCodecsEnabled(BluetoothDevice device, int value) { argument
68 mService.setOptionalCodecsEnabled(device, value);
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsStateTest.java108 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, null, "package", null, false);
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 DBugreportPrefs.java42 static void setWarningState(Context context, int value) { argument
45 prefs.edit().putInt(KEY_WARNING_STATE, value).apply();

Completed in 220 milliseconds

1234567891011>>