/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableInt.java | 32 * field's value, not of the field itself. 43 * Creates an ObservableInt with the given initial value. 45 * @param value the initial value for the ObservableInt 47 public ObservableInt(int value) { argument 48 mValue = value; 52 * Creates an ObservableInt with the initial value of <code>0</code>. 58 * @return the stored value. 65 * Set the stored value. 67 public void set(int value) { argument [all...] |
H A D | ObservableLong.java | 31 * field's value, not of the field itself. 42 * Creates an ObservableLong with the given initial value. 44 * @param value the initial value for the ObservableLong 46 public ObservableLong(long value) { argument 47 mValue = value; 51 * Creates an ObservableLong with the initial value of <code>0L</code>. 57 * @return the stored value. 64 * Set the stored value. 66 public void set(long value) { argument [all...] |
H A D | ObservableShort.java | 31 * field's value, not of the field itself. 42 * Creates an ObservableShort with the given initial value. 44 * @param value the initial value for the ObservableShort 46 public ObservableShort(short value) { argument 47 mValue = value; 51 * Creates an ObservableShort with the initial value of <code>0</code>. 57 * @return the stored value. 64 * Set the stored value. 66 public void set(short value) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ComprehensionTlvTag.java | 20 * Enumeration for representing the tag value of COMPREHENSION-TLV objects. If 21 * you want to get the actual value, call {@link #value() value} method. 53 ComprehensionTlvTag(int value) { argument 54 mValue = value; 58 * Returns the actual value of this COMPREHENSION-TLV object. 60 * @return Actual tag value of this object 62 public int value() { method in class:ComprehensionTlvTag 66 public static ComprehensionTlvTag fromInt(int value) { argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | PickerColumn.java | 18 * Picker column class used by {@link Picker}, defines a contiguous value ranges and associated 20 * a current value. 21 * The labels can be dynamically generated from value by {@link #setLabelFormat(String)} or 37 * integer value. {@link #setStaticLabels(CharSequence[])} overrides the format. 39 * @param labelFormat String format to display label for value between minValue and maxValue. 47 * value. 48 * @return String format to display label for value. 55 * Set static labels for each value, minValue maps to labels[0], maxValue maps to 57 * @param labels Static labels for each value between minValue and maxValue. 64 * Returns static labels for each value, minValu 78 getLabelFor(int value) argument 96 setCurrentValue(int value) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 42 * Adds a new value in the session map table. It expects memory to be allocated already 46 * @param value - session object to add 48 * @return boolean result of adding value. returns false if key is already exist. 50 bool addValue(int key, TValue value) { argument 53 map.add(key, value); 84 * @param index - index of the value required 89 TValue value = NULL; local 93 value = map.valueAt(index); 95 return value; 101 * @param key - key of the value t 142 deleteValue(TValue value) argument 179 TValue value = NULL; local [all...] |
/frameworks/support/compat/java/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompat.java | 113 * By default, the animator uses the default value for ValueAnimator. Calling this method 114 * will cause the declared value to be used instead. 116 * @param value The length of ensuing property animations, in milliseconds. The value 120 public ViewPropertyAnimatorCompat setDuration(long value) { argument 123 view.animate().setDuration(value); 130 * specified value. Animations already running on the property will be canceled. 132 * @param value The value to be animated to. 135 public ViewPropertyAnimatorCompat alpha(float value) { argument 150 alphaBy(float value) argument 165 translationX(float value) argument 180 translationY(float value) argument 251 setInterpolator(Interpolator value) argument 283 setStartDelay(long value) argument 315 rotation(float value) argument 330 rotationBy(float value) argument 345 rotationX(float value) argument 360 rotationXBy(float value) argument 375 rotationY(float value) argument 390 rotationYBy(float value) argument 405 scaleX(float value) argument 420 scaleXBy(float value) argument 435 scaleY(float value) argument 450 scaleYBy(float value) argument 475 x(float value) argument 490 xBy(float value) argument 505 y(float value) argument 520 yBy(float value) argument 535 translationXBy(float value) argument 550 translationYBy(float value) argument 567 translationZBy(float value) argument 586 translationZ(float value) argument 605 z(float value) argument 624 zBy(float value) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Double2.java | 59 * @param value 61 public void add(Double2 value) { argument 62 x += value.x; 63 y += value.y; 69 * @param value 71 public void add(double value) { argument 72 x += value; 73 y += value; 94 * @param value 96 public void sub(Double2 value) { argument 121 sub(double value) argument 146 mul(Double2 value) argument 171 mul(double value) argument 196 div(Double2 value) argument 221 div(double value) argument 332 setAt(int i, double value) argument 351 addAt(int i, double value) argument [all...] |
H A D | Float2.java | 58 * @param value 60 public void add(Float2 value) { argument 61 x += value.x; 62 y += value.y; 68 * @param value 70 public void add(float value) { argument 71 x += value; 72 y += value; 93 * @param value 95 public void sub(Float2 value) { argument 120 sub(float value) argument 145 mul(Float2 value) argument 170 mul(float value) argument 195 div(Float2 value) argument 220 div(float value) argument 331 setAt(int i, float value) argument 350 addAt(int i, float value) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | BassBoost.java | 100 int[] value = new int[1]; 101 checkStatus(getParameter(PARAM_STRENGTH_SUPPORTED, value)); 102 mStrengthSupported = (value[0] != 0); 107 * strength is supported and the setStrength() method always rounds to that value. 117 * supported value. You can use the {@link #getRoundedStrength()} method to query the 118 * (possibly rounded) value that was actually set. 140 short[] value = new short[1]; 141 checkStatus(getParameter(PARAM_STRENGTH, value)); 142 return value[0]; 147 * parameter value ha 159 onParameterChange(BassBoost effect, int status, int param, short value) argument 170 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 78 * Returns the color value represented by the given string value 79 * @param value the color value 83 public static int getColor(String value) { argument 84 if (value != null) { 85 value = value.trim(); 86 if (!value.startsWith("#")) { 87 if (value 267 getDrawable(ResourceValue value, BridgeContext context) argument 278 getDrawable(ResourceValue value, BridgeContext context, Theme theme) argument 446 getFont(ResourceValue value, BridgeContext context, Theme theme) argument 553 getValue(String attribute, String value, boolean requireUnit) argument 569 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument 644 computeTypedValue(TypedValue outValue, float value, float scale) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Flags.cpp | 33 const StringPiece& description, std::string* value) { 34 auto func = [value](const StringPiece& arg) -> bool { 35 *value = arg.to_string(); 45 std::vector<std::string>* value) { 46 auto func = [value](const StringPiece& arg) -> bool { 47 value->push_back(arg.to_string()); 57 Maybe<std::string>* value) { 58 auto func = [value](const StringPiece& arg) -> bool { 59 *value = arg.to_string(); 69 std::vector<std::string>* value) { 32 RequiredFlag(const StringPiece& name, const StringPiece& description, std::string* value) argument 43 RequiredFlagList(const StringPiece& name, const StringPiece& description, std::vector<std::string>* value) argument 55 OptionalFlag(const StringPiece& name, const StringPiece& description, Maybe<std::string>* value) argument 67 OptionalFlagList(const StringPiece& name, const StringPiece& description, std::vector<std::string>* value) argument 79 OptionalFlagList(const StringPiece& name, const StringPiece& description, std::unordered_set<std::string>* value) argument 91 OptionalSwitch(const StringPiece& name, const StringPiece& description, bool* value) argument [all...] |
/frameworks/av/include/media/ |
H A D | AudioParameter.h | 36 // keyRouting: to change audio routing, value is an int in audio_devices_t 37 // keySamplingRate: to change sampling rate routing, value is an int 38 // keyFormat: to change audio format, value is an int in audio_format_t 39 // keyChannels: to change audio channel configuration, value is an int in audio_channels_t 40 // keyFrameCount: to change audio output frame count, value is an int 41 // keyInputSource: to change audio input source, value is an int in audio_source_t 61 // keyStreamConnect / Disconnect: value is an int in audio_devices_t 81 status_t add(const String8& key, const String8& value); 82 status_t addInt(const String8& key, const int value); 84 status_t addFloat(const String8& key, const float value); [all...] |
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioParameter.h | 36 // keyRouting: to change audio routing, value is an int in audio_devices_t 37 // keySamplingRate: to change sampling rate routing, value is an int 38 // keyFormat: to change audio format, value is an int in audio_format_t 39 // keyChannels: to change audio channel configuration, value is an int in audio_channels_t 40 // keyFrameCount: to change audio output frame count, value is an int 41 // keyInputSource: to change audio input source, value is an int in audio_source_t 61 // keyStreamConnect / Disconnect: value is an int in audio_devices_t 81 status_t add(const String8& key, const String8& value); 82 status_t addInt(const String8& key, const int value); 84 status_t addFloat(const String8& key, const float value); [all...] |
/frameworks/base/core/java/android/net/nsd/ |
H A D | NsdServiceInfo.java | 117 // n + 1 '=' optional separator of key and value 118 // n + 2 - record size uninterpreted bytes optional value 133 // recordLen is an unsigned 8 bit value 145 // Decode key-value records 147 byte[] value = null; 156 if (value == null) { 157 value = new byte[recordLen - key.length() - 1]; 159 value[valueLen] = txtRecordsRawBytes[i]; 179 setAttribute(key, value); 189 public void setAttribute(String key, byte[] value) { argument 239 setAttribute(String key, String value) argument [all...] |
/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/SystemUI/src/com/android/systemui/qs/ |
H A D | SecureSetting.java | 38 protected abstract void handleValueChanged(int value, boolean observedChange); argument 51 public void setValue(int value) { argument 52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId); 71 final int value = getValue(); 72 handleValueChanged(value, value != mObservedValue); 73 mObservedValue = value;
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | FakeSettingsProvider.java | 100 String value; 103 value = mTables.get(table).get(arg); 104 if (value != null) { 107 table, arg, value)); 109 out.putString(Settings.NameValueTable.VALUE, value); 113 value = extras.getString(Settings.NameValueTable.VALUE, null); 116 table, arg, value)); 118 if (value != null) { 119 mTables.get(table).put(arg, value);
|
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | DynamicAnimation.java | 43 * created with a {@link ViewProperty} instance, the corresponding property value of the view 57 public void setValue(View view, float value) { 58 view.setTranslationX(value); 72 public void setValue(View view, float value) { 73 view.setTranslationY(value); 87 public void setValue(View view, float value) { 88 ViewCompat.setTranslationZ(view, value); 102 public void setValue(View view, float value) { 103 view.setScaleX(value); 117 public void setValue(View view, float value) { 685 setPropertyValue(float value) argument 713 getAcceleration(float value, float velocity) argument 718 isAtEquilibrium(float value, float velocity) argument 738 onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, float velocity) argument 757 onAnimationUpdate(DynamicAnimation animation, float value, float velocity) argument [all...] |
H A D | FloatPropertyCompat.java | 23 * <p>FloatPropertyCompat is an abstraction that can be used to represent a mutable float value that 24 * is held in a host object. To access this float value, {@link #setValue(Object, float)} and getter 47 * {@link FloatPropertyCompat} instance will access and modify the property value of 64 public void setValue(T object, float value) { 65 property.setValue(object, value); 71 * Returns the current value that this property represents on the given <code>object</code>. 74 * @return the current property value of the given object 79 * Sets the value on <code>object</code> which this property represents. 82 * @param value new value o 84 setValue(T object, float value) argument [all...] |
/frameworks/av/media/libstagefright/codec2/tests/ |
H A D | C2_test.cpp | 35 static_assert(std::is_same<decltype(min_i32_i32), const int32_t>::value, "should be int32_t"); 37 static_assert(std::is_same<decltype(min_i32_i64), const int64_t>::value, "should be int64_t"); 39 static_assert(std::is_same<decltype(min_i8_i32), const int32_t>::value, "should be int32_t"); 46 static_assert(std::is_same<decltype(min_u32_u32), const uint32_t>::value, "should be uint32_t"); 48 static_assert(std::is_same<decltype(min_u32_u64), const uint32_t>::value, "should be uint32_t"); 50 static_assert(std::is_same<decltype(min_u32_u8), const uint8_t>::value, "should be uint8_t"); 57 static_assert(std::is_same<decltype(max_i32_i32), const int32_t>::value, "should be int32_t"); 59 static_assert(std::is_same<decltype(max_i32_i64), const int64_t>::value, "should be int64_t"); 61 static_assert(std::is_same<decltype(max_i8_i32), const int32_t>::value, "should be int32_t"); 68 static_assert(std::is_same<decltype(max_u32_u32), const uint32_t>::value, "shoul [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | prm2bits.cpp | 91 value = value to be converted to binary of type Word16 92 no_of_bits = number of bits associated with value of type Word16 128 Word16 value, // input : value to be converted to binary 129 Word16 no_of_bits, // input : number of bits associated with value 139 bit = value & MASK; 148 value = shr (value, 1); 179 Word16 value, /* inpu 178 Int2bin( Word16 value, Word16 no_of_bits, Word16 *bitstream ) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteProgram.java | 124 * Bind a NULL value to this statement. The value remains bound until 134 * Bind a long value to this statement. The value remains bound until 138 * @param value The value to bind 140 public void bindLong(int index, long value) { argument 141 bind(index, value); 145 * Bind a double value to this statement. The value remain 151 bindDouble(int index, double value) argument 162 bindString(int index, String value) argument 176 bindBlob(int index, byte[] value) argument 210 bind(int index, Object value) argument [all...] |
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
H A D | ReflectIntermediateClass.java | 31 int value = 0; 36 value += ((Integer) get.invoke(bigClass.newInstance())).intValue(); 43 return value;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | SimpleCache.java | 32 V value = load(key); 33 map.put(key, value); 34 return value;
|