Searched refs:value (Results 1 - 25 of 2087) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDurationCountEvaluator.java21 public static float evaluate(float value) { argument
23 if (value < 0.0105) evaluation++;
24 if (value < 0.00909) evaluation++;
25 if (value < 0.00667) evaluation++;
26 if (value > 0.0333) evaluation++;
27 if (value > 0.0500) evaluation++;
H A DSpeedRatioEvaluator.java20 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 DPointerCountEvaluator.java20 public static float evaluate(int value) { argument
21 return (value - 1) * (value - 1);
H A DSpeedEvaluator.java20 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 DSpeedVarianceEvaluator.java20 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 DAnglesVarianceEvaluator.java20 public static float evaluate(float value) { argument
22 if (value > 0.05) evaluation++;
23 if (value > 0.10) evaluation++;
24 if (value > 0.20) evaluation++;
25 if (value > 0.40) evaluation++;
26 if (value > 0.80) evaluation++;
27 if (value > 1.50) evaluation++;
H A DEndPointLengthEvaluator.java20 public static float evaluate(float value) { argument
22 if (value < 0.05) evaluation += 2.0;
23 if (value < 0.1) evaluation += 2.0;
24 if (value < 0.2) evaluation += 2.0;
25 if (value < 0.3) evaluation += 2.0;
26 if (value < 0.4) evaluation += 2.0;
27 if (value < 0.5) evaluation += 2.0;
H A DEndPointRatioEvaluator.java20 public static float evaluate(float value) { argument
22 if (value < 0.85) evaluation++;
23 if (value < 0.75) evaluation++;
24 if (value < 0.65) evaluation++;
25 if (value < 0.55) evaluation++;
26 if (value < 0.45) evaluation++;
27 if (value < 0.35) evaluation++;
H A DLengthCountEvaluator.java24 public static float evaluate(float value) { argument
26 if (value < 0.09) evaluation++;
27 if (value < 0.05) evaluation++;
28 if (value < 0.02) evaluation++;
29 if (value > 0.6) evaluation++;
30 if (value > 0.9) evaluation++;
31 if (value > 1.2) evaluation++;
H A DAnglesPercentageEvaluator.java20 public static float evaluate(float value) { argument
22 if (value < 1.00) evaluation++;
23 if (value < 0.90) evaluation++;
24 if (value < 0.70) evaluation++;
H A DSpeedAnglesPercentageEvaluator.java20 public static float evaluate(float value) { argument
22 if (value < 1.00) evaluation++;
23 if (value < 0.90) evaluation++;
24 if (value < 0.70) evaluation++;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DBitMask.java23 public int value; field in class:BitMask
25 public BitMask(int value) { argument
26 this.value = value;
33 * @return true if and only if the mask was originally set in value
36 boolean ans = (value & maskBit) != 0;
37 value &= ~maskBit;
/frameworks/support/core-utils/java/android/support/v4/math/
H A DMathUtils.java27 * This method takes a numerical value and ensures it fits in a given numerical range. If the
32 * @param value the value to be clamped.
33 * @param min minimum resulting value.
34 * @param max maximum resulting value.
36 * @return the clamped value.
38 public static float clamp(float value, float min, float max) { argument
39 if (value < min) {
41 } else if (value > max) {
44 return value;
59 clamp(double value, double min, double max) argument
80 clamp(int value, int min, int max) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dget_amr_wb_bits.cpp121 int16 value = 0; local
126 value <<= 2;
130 value |= 2;
135 value |= 1;
142 value <<= 1;
146 value |= 1;
151 return (value);
157 int16 value = 0; local
161 value = 1;
163 return (value);
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h29 void* value; member in struct:__anon1290
35 int GetIntValue(Value value);
36 float GetFloatValue(Value value);
37 const char* GetStringValue(Value value);
38 const char* GetBufferValue(Value value);
39 char* GetMutableBufferValue(Value value);
40 int* GetIntArrayValue(Value value);
41 float* GetFloatArrayValue(Value value);
44 int ValueIsNull(Value value);
45 int ValueIsInt(Value value);
[all...]
H A Dvalue.cpp21 #include "value.h"
34 POD GetPODValue(Value value) { argument
35 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD();
39 PTR GetPtrValue(Value value) { argument
40 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL;
44 Value MakePODValue(POD value) { argument
64 SetPODValue(Value* value, POD new_value) argument
78 SetPtrValue(Value* value, const BASE* new_values, int count) argument
92 GetIntValue(Value value) argument
96 GetFloatValue(Value value) argument
100 GetStringValue(Value value) argument
104 GetBufferValue(Value value) argument
110 GetMutableBufferValue(Value value) argument
114 GetIntArrayValue(Value value) argument
118 GetFloatArrayValue(Value value) argument
122 ValueIsNull(Value value) argument
126 ValueIsInt(Value value) argument
130 ValueIsFloat(Value value) argument
134 ValueIsString(Value value) argument
138 ValueIsBuffer(Value value) argument
142 ValueIsIntArray(Value value) argument
146 ValueIsFloatArray(Value value) argument
158 MakeIntValue(int value) argument
162 MakeFloatValue(float value) argument
166 MakeStringValue(const char* value) argument
202 SetIntValue(Value* value, int new_value) argument
206 SetFloatValue(Value* value, float new_value) argument
210 SetStringValue(Value* value, const char* new_value) argument
214 SetMutableBufferValue(Value* value, const char* new_data, int size) argument
218 SetIntArrayValue(Value* value, const int* new_values, int count) argument
222 SetFloatArrayValue(Value* value, const float* new_values, int count) argument
226 GetValueCount(Value value) argument
230 ReleaseValue(Value* value) argument
[all...]
/frameworks/support/dynamic-animation/src/android/support/animation/
H A DFloatValueHolder.java20 * <p>FloatValueHolder holds a float value. FloatValueHolder provides a setter and a getter (
21 * i.e. {@link #setValue(float)} and {@link #getValue()}) to access this float value. Animations can
23 * FloatValueHolder will have its value updated via {@link #setValue(float)}. The caller can
24 * obtain the up-to-date animation value via {@link FloatValueHolder#getValue()}.
43 * Constructs a holder for a float value that is initialized to 0.
49 * Constructs a holder for a float value that is initialized to the input value.
51 * @param value the value to initialize the value hel
53 FloatValueHolder(float value) argument
62 setValue(float value) argument
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DUtils.java29 static Date cloneIfNotNull(Date value) { argument
30 return (value != null) ? (Date) value.clone() : null;
33 static byte[] cloneIfNotNull(byte[] value) { argument
34 return (value != null) ? value.clone() : null;
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableField.java29 * field's value, not of the field itself.
41 * @param value The value to be wrapped as an observable.
43 public ObservableField(T value) { argument
44 mValue = value;
54 * @return the stored value.
61 * Set the stored value.
63 public void set(T value) { argument
64 if (value != mValue) {
65 mValue = value;
[all...]
/frameworks/av/media/libstagefright/foundation/tests/
H A DTypeTraits_test.cpp38 static_assert(!std::is_integral<A>::value, "enums should not be integral");
39 static_assert(!std::is_integral<UA>::value, "enums should not be integral");
40 static_assert(!std::is_integral<IA>::value, "enums should not be integral");
41 static_assert(is_integral_or_enum<A>::value, "enums should be integral_or_enum");
42 static_assert(is_integral_or_enum<UA>::value, "enums should be integral_or_enum");
43 static_assert(is_integral_or_enum<IA>::value, "enums should be integral_or_enum");
44 static_assert(is_integral_or_enum<int>::value, "ints should be integral_or_enum");
45 static_assert(is_integral_or_enum<unsigned>::value, "unsigned ints should be integral_or_enum");
46 static_assert(!is_integral_or_enum<float>::value, "floats should not be integral_or_enum");
50 static_assert(!std::is_unsigned<UA>::value,
[all...]
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterLongArgument.java25 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 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...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java29 public static int round(float value) { argument
30 long lx = (long) (value * (65536 * 256f));
/frameworks/base/media/java/android/media/
H A DIRemoteVolumeObserver.aidl25 void dispatchRemoteVolumeUpdate(int direction, int value);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxServiceCallback.aidl26 * Called when the service has a new value for you.
28 void valueChanged(int value);

Completed in 472 milliseconds

1234567891011>>