Home
last modified time | relevance | path

Searched refs:score (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DImageGoodnessFilter.java138 float score = 0.0f; in onProcess() local
139 score = computePictureScore(vectorAccel, sharpness, underExposure, overExposure, in onProcess()
141 if (scoreMean == 0) scoreMean = score; in onProcess()
142 else scoreMean = scoreMean * (1 - DECAY) + score * DECAY; in onProcess()
148 colorfulness, contrastRating, score); in onProcess()
156 if (score >= GREAT_SCORE) { in onProcess()
158 } else if (score >= GOOD_SCORE) { in onProcess()
160 } else if (score >= OK_SCORE) { in onProcess()
162 } else if (score >= BAD_SCORE) { in onProcess()
191 scoreFrame.setValue(score); in onProcess()
[all …]
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java40 private final int score; field in StatusBarNotification
43 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, in StatusBarNotification() argument
45 this(pkg, null, id, tag, uid, initialPid, score, notification, user); in StatusBarNotification()
50 int initialPid, int score, Notification notification, UserHandle user) { in StatusBarNotification() argument
51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, in StatusBarNotification()
56 int initialPid, int score, Notification notification, UserHandle user, in StatusBarNotification() argument
67 this.score = score; in StatusBarNotification()
86 this.score = in.readInt(); in StatusBarNotification()
105 out.writeInt(this.score); in writeToParcel()
138 this.score, no, this.user, this.postTime); in cloneLight()
[all …]
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java31 double score1 = object1.score;
32 double score2 = object2.score;
66 Double score = label2score.get(sample.label); in classify() local
67 if (score == null || weight > score) { in classify()
74 double score = label2score.get(name); in classify() local
76 predictions.add(new Prediction(name, score)); in classify()
DPrediction.java22 public double score; field in Prediction
26 score = predictionScore; in Prediction()
/frameworks/base/core/java/android/hardware/camera2/
DFace.java85 public Face(Rect bounds, int score, int id, in Face() argument
88 if (score < SCORE_MIN || score > SCORE_MAX) { in Face()
100 mScore = score; in Face()
129 public Face(Rect bounds, int score) { in Face() argument
130 this(bounds, score, ID_UNSUPPORTED, in Face()
/frameworks/ex/variablespeed/jni/
Dsola_time_scaler.cc36 int score = 0; in Correlate() local
40 score += ((bit_cast<int32>(*buffer1++) ^ bit_cast<int32>(*buffer2++)) >= 0) in Correlate()
43 return score; in Correlate()
282 int score; in Process() local
284 score = analyzer_->Correlate(input_pointer, in Process()
287 if (score > best_score) { in Process()
288 best_score = score; in Process()
290 if (score == (num_overlap_frames_ * num_channels_)) { in Process()
295 score = analyzer_->Correlate(input_pointer, in Process()
298 if (score > best_score) { in Process()
[all …]
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp236 etc1_uint32 score; // Lower is more accurate member
241 if (a->score > b->score) { in take_best()
312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier() local
313 if (score >= bestScore) { in chooseModifier()
317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier()
318 if (score >= bestScore) { in chooseModifier()
322 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier()
323 if (score < bestScore) { in chooseModifier()
324 bestScore = score; in chooseModifier()
338 int score = pCompressed->score; in etc_encode_subblock_helper() local
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAccountView.java234 int score = 0; in findIntendedAccount() local
236 score = 4; in findIntendedAccount()
238 score = 3; in findIntendedAccount()
244 score = 2; in findIntendedAccount()
246 score = 1; in findIntendedAccount()
250 if (score > bestScore) { in findIntendedAccount()
252 bestScore = score; in findIntendedAccount()
253 } else if (score == bestScore) { in findIntendedAccount()
/frameworks/base/core/java/com/android/internal/notification/
DDemoContactNotificationScorer.java170 public int getScore(Notification notification, int score) { in getScore() argument
173 return score; in getScore()
184 if (hasStarredPriority) score = priorityBumpMap(score); in getScore()
185 return score; in getScore()
DNotificationScorer.java25 public int getScore(Notification notification, int score); in getScore() argument
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp184 size_t width, height, fps, score; in enableResolutionUpto() local
191 score = width * height * fps * (!interlaced + 1); in enableResolutionUpto()
196 && score >= width * height * fps * (!interlaced + 1)) { in enableResolutionUpto()
513 uint32_t score = width * height * framesPerSecond; in PickBestFormat() local
515 score *= 2; in PickBestFormat()
518 if (first || score > bestScore) { in PickBestFormat()
519 bestScore = score; in PickBestFormat()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DStochasticLinearRankerWithPrior.java105 float score = 0; in priorScoreSample() local
108 score = score + mPriorWeights.get(keys[i]) * values[i]; in priorScoreSample()
110 return score; in priorScoreSample()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dtest_root.rs14 float score;
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dtest_root.rs14 float score;
Dshared.rsh8 float score;
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dtest_root.rs14 float score;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dtest_root.rs14 float score;
Dshared.rsh8 float score;
/frameworks/base/media/java/android/media/
DSubtitleController.java238 int score = (forced ? 0 : 8) + in getDefaultTrack() local
250 if (score > bestScore) { in getDefaultTrack()
251 bestScore = score; in getDefaultTrack()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dstats_scorer.h31 JNI_FES_FUNCTION(score)(
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt53 By comparing each of these features frame by frame, a score is calculated to
55 and from that score I can determine the great images from the bad ones.
/frameworks/base/services/java/com/android/server/
DCommonTimeManagementService.java217 public InterfaceScoreRule(String prefix, byte score) { in InterfaceScoreRule() argument
219 mScore = score; in InterfaceScoreRule()
DNotificationManagerService.java1720 int score = notification.priority * NOTIFICATION_PRIORITY_MULTIPLIER; //[-20..20] in enqueueNotificationInternal()
1726 int initialScore = score; in enqueueNotificationInternal()
1728 if (DBG) Slog.v(TAG, "Initial score is " + score + "."); in enqueueNotificationInternal()
1731 score = scorer.getScore(notification, score); in enqueueNotificationInternal()
1736 if (DBG) Slog.v(TAG, "Final score is " + score + "."); in enqueueNotificationInternal()
1741 score != initialScore); in enqueueNotificationInternal()
1746 score = JUNK_SCORE; in enqueueNotificationInternal()
1753 Slog.v(TAG, "Assigned score=" + score + " to " + notification); in enqueueNotificationInternal()
1756 if (score < SCORE_DISPLAY_THRESHOLD) { in enqueueNotificationInternal()
1762 final boolean canInterrupt = (score >= SCORE_INTERRUPTION_THRESHOLD); in enqueueNotificationInternal()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java394 final int score = DocumentInfo.compareToIgnoreCaseNullable(lhs.title, rhs.title); in compare() local
395 if (score != 0) { in compare()
396 return score; in compare()
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java134 double score = Math.log((double) count); in getClassScores() local
135 classScores.put(app, score); in getClassScores()

12