/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | SpeedEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 4.0) evaluation++; 23 if (value < 2.2) evaluation++; 24 if (value > 35.0) evaluation++; 25 if (value > 50.0) evaluation++;
|
H A D | SpeedRatioEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value == 0) return 0; 23 if (value <= 1.0) evaluation++; 24 if (value <= 0.5) evaluation++; 25 if (value > 9.0) evaluation++; 26 if (value > 18.0) evaluation++;
|
H A D | SpeedVarianceEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value > 0.06) evaluation++; 23 if (value > 0.15) evaluation++; 24 if (value > 0.3) evaluation++; 25 if (value > 0.6) evaluation++;
|
H A D | AnglesPercentageEvaluator.java | 20 public static float evaluate(float value, int type) { argument 23 if (value < 1.00 && !secureUnlock) evaluation++; 24 if (value < 0.90 && !secureUnlock) evaluation++; 25 if (value < 0.70) evaluation++;
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
H A D | Mutable.java | 23 * @param <E> type of boxed value. 27 * A mutable value. 29 public E value; field in class:Mutable 32 * Initialize value with null pointer. 35 value = null; 39 * Initialize value with specific value. 41 * @param value initial value. 43 public Mutable(E value) { argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptUtil.h | 32 const KEY& key, const VALUE& value); 36 const KEY& key, const VALUE& value); 44 const KEY& key, const VALUE& value) { 49 keyedVector.editValueAt(idx).add(value); 54 const KEY& key, const VALUE& value) { 59 keyedVector.editValueAt(idx).add(value); 43 appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument 53 appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | SwitchBindingAdapter.java | 33 public static void setSwitchTextAppearance(Switch view, int value) { argument 34 view.setSwitchTextAppearance(null, value);
|
H A D | SwitchCompatBindingAdapter.java | 30 public static void setSwitchTextAppearance(SwitchCompat view, int value) { argument 31 view.setSwitchTextAppearance(null, value);
|
/frameworks/native/cmds/installd/ |
H A D | dexopt_return_codes.h | 110 const char* value = get_installd_return_code_name(static_cast<DexoptReturnCodes>(code)); local 111 if (value != nullptr) { 112 return value; 114 value = get_dex2oat_return_code_name(static_cast<art::dex2oat::ReturnCode>(code)); 115 return value;
|
/frameworks/native/libs/binder/tests/ |
H A D | binderValueTypeTest.cpp | 41 Value value = VAL; \ 42 ASSERT_FALSE(value.empty()); \ 43 ASSERT_TRUE(value.is ## TYPENAME ()); \ 44 ASSERT_TRUE(value.get ## TYPENAME (&y)); \ 46 ASSERT_EQ(value, Value(y)); \ 47 value.put ## TYPENAME (x); \ 48 ASSERT_EQ(value, Value(y)); \ 49 value = Value(); \ 50 ASSERT_TRUE(value.empty()); \ 51 ASSERT_NE(value, Valu 92 Value value; local [all...] |
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/ |
H A D | MutableLiveData.java | 27 public void postValue(T value) { argument 28 super.postValue(value); 32 public void setValue(T value) { argument 33 super.setValue(value);
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioStreamConfiguration.cpp | 68 int32_t value; local 69 status_t status = parcel->readInt32(&value); 71 setDeviceId(value); 72 status = parcel->readInt32(&value); 74 setSampleRate(value); 75 status = parcel->readInt32(&value); 77 setSamplesPerFrame(value); 78 status = parcel->readInt32(&value); 80 setSharingMode((aaudio_sharing_mode_t) value); 81 status = parcel->readInt32(&value); [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListWriter.cpp | 28 const char* key, const char* value) { 29 mGlobalSettings.emplace_back(key, value); 27 addGlobalSetting( const char* key, const char* value) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | bits2prm.cpp | 83 no_of_bits = number of bits associated with value 119 Word16 no_of_bits, // input : number of bits associated with value 123 Word16 value, i, bit; 125 value = 0; 128 value = shl (value, 1); 131 value = add (value, 1); 133 return (value); 163 Word16 no_of_bits, /* input : number of bits associated with value */ 167 Word16 value; local [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimationUtil.cpp | 29 char value[PROPERTY_VALUE_MAX]; local 30 property_get("debug.sf.nobootanimation", value, "0"); 31 if (atoi(value) > 0) { 35 property_get("ro.boot.quiescent", value, "0"); 36 return atoi(value) > 0;
|
/frameworks/base/core/java/android/annotation/ |
H A D | SdkConstant.java | 25 * Indicates a constant field value should be exported to be used in the SDK tools. 35 SdkConstantType value(); method in interface:SdkConstant
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | SetCommand.java | 20 * Setter interface for use with Command pattern metadata value setters. 25 * Set the value in the given metadata. 27 * @param metadata {@link CameraMetadataNative} to set value in. 28 * @param value value to set. 29 * @param <T> type of the value to set. 32 T value); 31 setValue( CameraMetadataNative metadata, T value) argument
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeymasterBooleanArgument.java | 27 public final boolean value = true; field in class:KeymasterBooleanArgument 45 // Do nothing, value is implicit.
|
H A D | KeymasterIntArgument.java | 25 public final int value; field in class:KeymasterIntArgument 27 public KeymasterIntArgument(int tag, int value) { argument 38 this.value = value; 43 value = in.readInt(); 48 out.writeInt(value);
|
H A D | KeymasterLongArgument.java | 25 public final long value; field in class:KeymasterLongArgument 27 public KeymasterLongArgument(int tag, long value) { argument 36 this.value = value; 41 value = in.readLong(); 46 out.writeLong(value);
|
/frameworks/base/core/java/android/util/ |
H A D | FloatProperty.java | 37 public abstract void setValue(T object, float value); argument 40 final public void set(T object, Float value) { argument 41 setValue(object, value);
|
H A D | IntProperty.java | 37 public abstract void setValue(T object, int value); argument 40 final public void set(T object, Integer value) { argument 41 setValue(object, value.intValue());
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/annotation/ |
H A D | TestAnnotation3.java | 30 Value value(); method in interface:TestAnnotation3
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | LowpanProperty.java | 27 public void putInMap(Map map, T value) { argument 28 map.put(getName(), value);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | statistics.cpp | 34 void IncrementalGaussian::Add(float value) { argument 36 sum_x_ += value; 37 sum_x2_ += value * value; 50 float IncrementalGaussian::Pdf(float value) const { 51 if (var_ == 0.0f) { return n_ > 0 ? value == mean_ : 0.0f; } 52 const float diff = value - mean_;
|