/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | AnglesVarianceEvaluator.java | 20 public static float evaluate(float value, int type) { argument 22 if (value > 0.20) evaluation++; 23 if (value > 0.40) evaluation++; 24 if (value > 0.80) evaluation++; 25 if (value > 1.50) evaluation++;
|
H A D | ProximityEvaluator.java | 20 public static float evaluate(float value, int type) { argument 26 if (value >= threshold) evaluation += 2.0;
|
/frameworks/compile/libbcc/lib/ |
H A D | Properties.h | 28 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 D | BinaryOp.cpp | 30 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 D | NumberPickerBindingAdapter.java | 34 @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 D | ObservableField.java | 29 * 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 D | ObservableParcelable.java | 33 * 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 D | UnnecessaryCalculationTest.java | 68 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 D | CustomNamespaceAdapter.java | 23 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/ml/nn/runtime/test/generated/models/ |
H A D | embedding_lookup.model.cpp | 7 auto value = model->addOperand(&type1); local 10 model->addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, {index, value}, {output}); 13 {index, value},
|
H A D | embedding_lookup_relaxed.model.cpp | 7 auto value = model->addOperand(&type1); local 10 model->addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, {index, value}, {output}); 13 {index, value},
|
H A D | hashtable_lookup_float.model.cpp | 11 auto value = model->addOperand(&type2); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
H A D | hashtable_lookup_float_relaxed.model.cpp | 11 auto value = model->addOperand(&type2); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
H A D | hashtable_lookup_quant8.model.cpp | 11 auto value = model->addOperand(&type2); local 15 model->addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, {lookup, key, value}, {output, hits}); 18 {lookup, key, value},
|
/frameworks/native/libs/vr/libdvrcommon/tests/ |
H A D | numeric_test.cpp | 25 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/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 82 EGLint value; local 83 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 84 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/ |
H A D | LowpanBeaconInfoTest.cpp | 38 LowpanBeaconInfo value; local 39 value.readFromParcel(&p); 40 return value; 64 const LowpanBeaconInfo value = unmarshall(env, inParcel); local 65 return marshall(env, value);
|
H A D | LowpanChannelInfoTest.cpp | 38 LowpanChannelInfo value; local 39 value.readFromParcel(&p); 40 return value; 64 const LowpanChannelInfo value = unmarshall(env, inParcel); local 65 return marshall(env, value);
|
H A D | LowpanCredentialTest.cpp | 38 LowpanCredential value; local 39 value.readFromParcel(&p); 40 return value; 64 const LowpanCredential value = unmarshall(env, inParcel); local 65 return marshall(env, value);
|
H A D | LowpanIdentityTest.cpp | 38 LowpanIdentity value; local 39 value.readFromParcel(&p); 40 return value; 64 const LowpanIdentity value = unmarshall(env, inParcel); local 65 return marshall(env, value);
|
H A D | LowpanProvisionTest.cpp | 38 LowpanProvision value; local 39 value.readFromParcel(&p); 40 return value; 64 const LowpanProvision value = unmarshall(env, inParcel); local 65 return marshall(env, value);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | DummyLogMessage.java | 22 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 D | BitMask.java | 23 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;
|
H A D | GeneralUtil.java | 33 public E value; field in class:GeneralUtil.Mutable 36 value = null; 39 public Mutable(E value) { argument 40 this.value = value;
|
/frameworks/rs/ |
H A D | rsApiDevice.cpp | 39 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument 42 d->mForceSW = value != 0;
|