Searched refs:negative (Results 1 - 9 of 9) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.cpp27 const SparseWeightVector<Key, Hash> &negative,
35 gradient.AdditiveWeightUpdate(-1.0, negative, 0.0);
64 const SparseWeightVector<Key, Hash> &negative) {
71 const double negative_score = ScoreSample(negative);
83 UpdateSubGradient(positive, negative, learning_rate,
90 UpdateSubGradient(positive, negative, learning_rate,
94 current_negative_.LoadWeightVector(negative);
25 UpdateSubGradient( const SparseWeightVector<Key, Hash> &positive, const SparseWeightVector<Key, Hash> &negative, const double learning_rate, const double positive_score, const double negative_score, const int32 gradient_l0_norm) argument
62 UpdateClassifier( const SparseWeightVector<Key, Hash> &positive, const SparseWeightVector<Key, Hash> &negative) argument
H A Dstochastic_linear_ranker.h201 const SparseWeightVector<Key, Hash> &negative);
235 const SparseWeightVector<Key, Hash> &negative,
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DIntegralToString.java127 * expect. It is necessary because the range of the negative values is
131 boolean negative = false;
133 negative = true;
148 if (negative) {
174 boolean negative = false;
177 negative = true;
181 // If -n is still negative, n is Integer.MIN_VALUE
231 if (negative) {
261 * expect. It is necessary because the range of the negative values is
265 boolean negative
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java190 final boolean negative = mBuffer[0] == '-';
194 for (int i = negative ? 1 : 0; i < tokenIndex; i++) {
200 // always parse as negative number and apply sign later; this
210 return negative ? result : -result;
/frameworks/base/location/java/android/location/
H A DLocation.java191 // Handle negative values
231 boolean negative = false;
234 negative = true;
247 return negative ? -val : val;
263 boolean isNegative180 = negative && (deg == 180) &&
281 return negative ? -val : val;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp415 Flag negative;
521 negative = 1;
525 negative = 0;
541 if (negative != 0)
871 Flag negative; local
1004 negative = 1;
1008 negative = 0;
1025 if (negative != 0)
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java419 boolean negative;
423 negative = yVelocity < 0;
431 negative = xVelocity < 0;
441 if (negative) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java455 boolean negative = false;
462 negative = yVel < 0;
490 if (negative) {
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java794 final boolean negative = value < 0;
795 if (negative) {
812 if (negative) {

Completed in 521 milliseconds