Searched refs:score (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DPrediction.java22 public double score; field in class:Prediction
26 score = predictionScore;
H A DInstanceLearner.java31 double score1 = object1.score;
32 double score2 = object2.score;
66 Double score = label2score.get(sample.label);
67 if (score == null || weight > score) {
74 double score = label2score.get(name);
75 // sum += score;
76 predictions.add(new Prediction(name, score));
81 // prediction.score /= sum;
/frameworks/base/core/java/com/android/internal/notification/
H A DNotificationScorer.java25 public int getScore(Notification notification, int score); argument
H A DDemoContactNotificationScorer.java38 * from 0 to 15 (assuming NOTIFICATION_PRIORITY_MULTIPLIER = 10) depending on the initial score, and
156 if (DBG) Slog.v(TAG, "priorityBumpMap: score before: " + incomingScore
157 + ", score after " + theScore + ".");
170 public int getScore(Notification notification, int score) { argument
173 return score;
184 if (hasStarredPriority) score = priorityBumpMap(score);
185 return score;
/frameworks/base/core/java/android/hardware/camera2/
H A DFace.java69 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}.
85 public Face(Rect bounds, int score, int id, argument
88 if (score < SCORE_MIN || score > SCORE_MAX) {
100 mScore = score;
120 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}.
129 public Face(Rect bounds, int score) { argument
130 this(bounds, score, ID_UNSUPPORTED,
246 return String.format("{ bounds: %s, score: %s, id: %d, " +
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java40 private final int score; field in class:StatusBarNotification
43 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, argument
45 this(pkg, null, id, tag, uid, initialPid, score, notification, user);
50 int initialPid, int score, Notification notification, UserHandle user) {
51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user,
56 int initialPid, int score, Notification notification, UserHandle user,
67 this.score = score;
86 this.score = in.readInt();
105 out.writeInt(this.score);
49 StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument
55 StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DImageGoodnessFilter.java16 // Takes sharpness score, rates the image good if above 10, bad otherwise
88 .addOutputPort("score", Signature.PORT_OPTIONAL, floatT)
138 float score = 0.0f;
139 score = computePictureScore(vectorAccel, sharpness, underExposure, overExposure,
141 if (scoreMean == 0) scoreMean = score;
142 else scoreMean = scoreMean * (1 - DECAY) + score * DECAY;
148 colorfulness, contrastRating, score);
156 if (score >= GREAT_SCORE) {
158 } else if (score >= GOOD_SCORE) {
160 } else if (score >
212 classifierComputeScore(float vectorAccel, float sharpness, float underExposure, float colorfulness, float contrast, float score) argument
248 subComputeScore(float sharpness, float underExposure, float overExposure, float contrastRating, float colorfulness, float brightness, float score) argument
[all...]
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.cc31 // Returns a cross-correlation score for the specified buffers.
36 int score = 0; local
39 // Increment the score if the sign bits match.
40 score += ((bit_cast<int32>(*buffer1++) ^ bit_cast<int32>(*buffer2++)) >= 0)
43 return score;
275 // find the best correlation score, working from the center out.
282 int score; local
284 score = analyzer_->Correlate(input_pointer,
287 if (score > best_score) {
288 best_score = score;
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.h31 JNI_FES_FUNCTION(score)(
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAccountView.java234 int score = 0;
236 score = 4;
238 score = 3;
244 score = 2;
246 score = 1;
250 if (score > bestScore) {
252 bestScore = score;
253 } else if (score == bestScore) {
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp236 etc1_uint32 score; // Lower is more accurate member in struct:__anon1520
241 if (a->score > b->score) {
312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local
313 if (score >= bestScore) {
317 score += (etc1_uint32) (3 * square(decodedR - pixelR));
318 if (score >= bestScore) {
322 score += (etc1_uint32) square(decodedB - pixelB);
323 if (score < bestScore) {
324 bestScore = score;
338 int score = pCompressed->score; local
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java29 /* If the is parameter is true, the final score would be a
105 float score = 0;
108 score = score + mPriorWeights.get(keys[i]) * values[i];
110 return score;
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp184 size_t width, height, fps, score; local
191 score = width * height * fps * (!interlaced + 1);
196 && score >= width * height * fps * (!interlaced + 1)) {
513 uint32_t score = width * height * framesPerSecond; local
515 score *= 2;
518 if (first || score > bestScore) {
519 bestScore = score;
/frameworks/base/media/java/android/media/
H A DSubtitleController.java238 int score = (forced ? 0 : 8) +
250 if (score > bestScore) {
251 bestScore = score;
/frameworks/base/services/java/com/android/server/
H A DCommonTimeManagementService.java217 public InterfaceScoreRule(String prefix, byte score) { argument
219 mScore = score;
H A DNotificationManagerService.java947 pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore());
1004 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s score=%d: %s)",
1719 // 1. initial score: buckets of 10, around the app
1720 int score = notification.priority * NOTIFICATION_PRIORITY_MULTIPLIER; //[-20..20]
1726 int initialScore = score;
1728 if (DBG) Slog.v(TAG, "Initial score is " + score + ".");
1731 score = scorer.getScore(notification, score);
1736 if (DBG) Slog.v(TAG, "Final score i
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java394 final int score = DocumentInfo.compareToIgnoreCaseNullable(lhs.title, rhs.title);
395 if (score != 0) {
396 return score;
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java130 // those as having count one. Hence their score, i.e. log(count)
134 double score = Math.log((double) count);
135 classScores.put(app, score);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp171 ALOGW("%s: Face index %d with out of range score %d",
182 face.score = faceScores[i];
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp384 int score = mBufferTail - tick - MEASURE_BASE; local
385 if (mLatencyScore > score || mLatencyScore <= 0) {
386 mLatencyScore = score;
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java189 // The minimal score for accepting a predicted gesture.
811 if (bestPrediction.score >= MIN_PREDICTION_SCORE) {
813 Slog.i(LOG_TAG, "gesture: " + bestPrediction.name + " score: "
814 + bestPrediction.score);
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp351 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
1008 { "android/hardware/Camera$Face", "score", "I", &fields.face_score },
/frameworks/base/core/java/android/hardware/
H A DCamera.java1546 public int score; field in class:Camera.Face

Completed in 763 milliseconds