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

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDistanceRatioEvaluator.java20 public static float evaluate(float value) { argument
22 if (value <= 1.0) evaluation++;
23 if (value <= 0.5) evaluation++;
24 if (value > 4.0) evaluation++;
25 if (value > 7.0) evaluation++;
26 if (value > 14.0) evaluation++;
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 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 DSpeedRatioEvaluator.java20 public static float evaluate(float value) { argument
22 if (value <= 1.0) evaluation++;
23 if (value <= 0.5) evaluation++;
24 if (value > 9.0) evaluation++;
25 if (value > 18.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/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:__anon1098
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/v4/api21/android/support/v4/view/
H A DViewPropertyAnimatorCompatLollipop.java23 public static void translationZ(View view, float value) { argument
24 view.animate().translationZ(value);
27 public static void translationZBy(View view, float value) { argument
28 view.animate().translationZBy(value);
31 public static void z(View view, float value) { argument
32 view.animate().z(value);
35 public static void zBy(View view, float value) { argument
36 view.animate().zBy(value);
/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/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);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java25 public static void setDuration(View view, long value) { argument
26 view.animate().setDuration(value);
29 public static void alpha(View view, float value) { argument
30 view.animate().alpha(value);
33 public static void translationX(View view, float value) { argument
34 view.animate().translationX(value);
37 public static void translationY(View view, float value) { argument
38 view.animate().translationY(value);
45 public static void setInterpolator(View view, Interpolator value) { argument
46 view.animate().setInterpolator(value);
49 setStartDelay(View view, long value) argument
57 alphaBy(View view, float value) argument
61 rotation(View view, float value) argument
65 rotationBy(View view, float value) argument
69 rotationX(View view, float value) argument
73 rotationXBy(View view, float value) argument
77 rotationY(View view, float value) argument
81 rotationYBy(View view, float value) argument
85 scaleX(View view, float value) argument
89 scaleXBy(View view, float value) argument
93 scaleY(View view, float value) argument
97 scaleYBy(View view, float value) argument
105 x(View view, float value) argument
109 xBy(View view, float value) argument
113 y(View view, float value) argument
117 yBy(View view, float value) argument
121 translationXBy(View view, float value) argument
125 translationYBy(View view, float value) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DSystemPropertiesTest.java30 String value;
33 value = SystemProperties.get(KEY, "default");
34 assertEquals("default", value);
37 value = SystemProperties.get(KEY, "default");
38 assertEquals("AAA", value);
40 value = SystemProperties.get(KEY);
41 assertEquals("AAA", value);
44 value = SystemProperties.get(KEY, "default");
45 assertEquals("default", value);
47 value
[all...]

Completed in 369 milliseconds

1234567891011>>