Searched refs:positive (Results 1 - 8 of 8) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.cpp26 const SparseWeightVector<Key, Hash> &positive,
34 gradient.AdditiveWeightUpdate(1.0, positive, 0.0);
63 const SparseWeightVector<Key, Hash> &positive,
70 const double positive_score = ScoreSample(positive);
83 UpdateSubGradient(positive, negative, learning_rate,
90 UpdateSubGradient(positive, negative, learning_rate,
96 UpdateSubGradient(positive, current_negative_, learning_rate,
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 int UpdateClassifier(const SparseWeightVector<Key, Hash> &positive,
230 // adding any new constraints. positive number is treated as an L0 constraint
235 void UpdateSubGradient(const SparseWeightVector<Key, Hash> &positive,
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java224 final Button positive = getButton(BUTTON_POSITIVE);
225 if (positive != null) {
226 positive.setEnabled(valid);
/frameworks/base/core/java/android/widget/
H A DOverScroller.java460 * desired distance from finalX. Absolute value - must be positive.
477 * desired distance from finalY. Absolute value - must be positive.
823 final boolean positive = start > max;
824 final int edge = positive ? max : min;
833 fling(start, velocity, positive ? min : start, positive ? start : max, mOver);
H A DSimpleMonthView.java457 private boolean moveOneDay(boolean positive) { argument
460 if (positive) {
/frameworks/rs/api/
H A Drs_vector_math.spec163 positive values.
286 positive values.
H A Drs_math.spec854 Returns the positive difference between two values.
1049 Returns the positive fractional part of v, i.e. <code>v - floor(v)</code>.
2449 summary: Approximate positive base raised to an exponent
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerController.java98 // Proximity sensor debounce delay in milliseconds for positive or negative transitions.
981 private void handleProximitySensorEvent(long time, boolean positive) { argument
983 if (mPendingProximity == PROXIMITY_NEGATIVE && !positive) {
986 if (mPendingProximity == PROXIMITY_POSITIVE && positive) {
994 if (positive) {
1252 boolean positive = distance >= 0.0f && distance < mProximityThreshold;
1253 handleProximitySensorEvent(time, positive);

Completed in 282 milliseconds