Searched defs:value (Results 51 - 75 of 1260) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterBooleanArgument.java27 public final boolean value = true; field in class:KeymasterBooleanArgument
45 // Do nothing, value is implicit.
H A DKeymasterIntArgument.java25 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 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 DFloatProperty.java37 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 DIntProperty.java37 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 DTestAnnotation3.java30 Value value(); method in interface:TestAnnotation3
/frameworks/base/location/lib/java/com/android/location/provider/
H A DFusedProvider.java53 * @param value The instance to set. This can be null in cases where the service connection
56 public abstract void setFusedLocationHardware(FusedLocationHardware value); argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dstatistics.cpp34 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_;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DProximityEvaluator.java20 public static float evaluate(float value, int type) { argument
26 if (value >= threshold) evaluation += 2.0;
/frameworks/compile/libbcc/lib/
H A DProperties.h28 static inline int property_get(const char *key, char *value, const char *default_value) { argument
30 len = __system_property_get(key, value);
37 memcpy(value, default_value, len + 1);
/frameworks/compile/mclinker/lib/Script/
H A DBinaryOp.cpp30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value());
38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value());
46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value());
54 res->setValue(m_pOperand[0]->value() + m_pOperand[1]->value());
62 res->setValue(m_pOperand[0]->value() - m_pOperand[1]->value());
179 uint64_t value = m_pOperand[0]->value(); local
193 uint64_t value = m_pOperand[0]->value() + m_pOperand[1]->value(); local
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DNumberPickerBindingAdapter.java34 @InverseBindingMethod(type = NumberPicker.class, attribute = "android:value"),
38 @BindingAdapter("android:value")
39 public static void setValue(NumberPicker view, int value) { argument
40 if (view.getValue() != value) {
41 view.setValue(value);
45 @BindingAdapter(value = {"android:onValueChange", "android:valueAttrChanged"},
/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...]
H A DObservableParcelable.java33 * field's value, not of the field itself.
45 * @param value The value to be wrapped as an observable.
47 public ObservableParcelable(T value) { argument
48 super(value);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DUnnecessaryCalculationTest.java68 public String boolMethod(boolean value) { argument
70 return super.boolMethod(value);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DCustomNamespaceAdapter.java23 public static void setOne(TextView view, String value) { argument
24 view.setText(value);
28 public static void setTwo(TextView view, String value) { argument
29 view.setText(value);
/frameworks/native/libs/vr/libdvrcommon/tests/
H A Dnumeric_test.cpp25 FT value = RandomInRange(kLowRange, kHighRange); local
27 EXPECT_LE(kLowRange, value);
28 EXPECT_GE(kHighRange, value);
34 // value (this was previously a bug)
41 int value = RandomInRange(kLowRange, kHighRange); local
43 if (value != kLowRange) {
49 FAIL() << "Did not produce a value other than the range minimum for "
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DDummyLogMessage.java22 public WifiLog.LogMessage r(String value) { argument
27 public WifiLog.LogMessage c(String value) { argument
32 public WifiLog.LogMessage c(long value) { argument
37 public WifiLog.LogMessage c(char value) { argument
42 public WifiLog.LogMessage c(boolean value) { argument
/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/rs/
H A DrsApiDevice.cpp39 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument
42 d->mForceSW = value != 0;
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
H A DDoclavaJavadocOptionFileOption.java36 public DoclavaJavadocOptionFileOption(String option, Iterable<String> value) { argument
37 super(option, value);
63 final Iterable<String> value = getValue();
65 if (value != null) {
67 for (String item : value) {
/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/support/design/src/android/support/design/widget/
H A DViewUtils.java22 static PorterDuff.Mode parseTintMode(int value, PorterDuff.Mode defaultMode) { argument
23 switch (value) {
/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...]
H A DForce.java26 boolean isAtEquilibrium(float value, float velocity); argument

Completed in 457 milliseconds

1234567891011>>