/frameworks/base/core/java/android/gesture/ |
H A D | Prediction.java | 22 public double score; field in class:Prediction 26 score = predictionScore;
|
/frameworks/base/core/java/android/service/chooser/ |
H A D | ChooserTarget.java | 71 * The score given to this item. It can be normalized. 82 * <p>The creator of a target may supply a ranking score. This score is assumed to be relative 99 * @param score ranking score for this target between 0.0f and 1.0f, inclusive 103 public ChooserTarget(CharSequence title, Icon icon, float score, argument 107 if (score > 1.f || score < 0.f) { 108 throw new IllegalArgumentException("Score " + score + " out of range; " 111 mScore = score; [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | Face.java | 72 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}. 88 public Face(Rect bounds, int score, int id, argument 91 if (score < SCORE_MIN || score > SCORE_MAX) { 103 mScore = score; 123 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}. 132 public Face(Rect bounds, int score) { argument 133 this(bounds, score, ID_UNSUPPORTED, 249 return String.format("{ bounds: %s, score: %s, id: %d, " +
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverComparator.java | 135 target.score = recencyScore + usageTimeScore + launchCountScore; 179 final float diff = rhsTarget.score - lhsTarget.score; 197 return target.score; 204 public float score; field in class:ResolverComparator.ScoredTarget 216 + " score: " + score
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 184 size_t width, height, fps, score; local 191 score = width * height * fps * (!interlaced + 1); 196 && score >= width * height * fps * (!interlaced + 1)) { 512 uint32_t score = width * height * framesPerSecond; local 514 score *= 2; 517 if (first || score > bestScore) { 518 bestScore = score;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkAgent.java | 89 /* centralize place where base network score, and network score scaling, will be 96 * network score. 97 * obj = network score Integer 159 NetworkCapabilities nc, LinkProperties lp, int score) { 160 this(looper, context, logTag, ni, nc, lp, score, null); 164 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 176 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); 297 * Called by the bearer code when it has a new score for this network. 299 public void sendNetworkScore(int score) { argument 158 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score) argument 163 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument [all...] |
H A D | NetworkFactory.java | 38 * can be filtered 3 ways: by NetworkCapabilities, by score and more complexly by 40 * or score forces re-evaluation of all current requests. 65 * msg.arg1 = score - the score of the any network currently satisfying this 67 * exceed this score it should not try to connect, holding the request 70 * or higher) score for this request, transmitted to each 72 * with the same NetworkRequest but an updated score. 74 * allowing for a better score in the future. 85 * Internally used to set our best-guess score. 86 * msg.arg1 = new score 157 public int score; field in class:NetworkFactory.NetworkRequestInfo 160 NetworkRequestInfo(NetworkRequest request, int score) argument 172 handleAddRequest(NetworkRequest request, int score) argument 195 handleSetScore(int score) argument 224 acceptRequest(NetworkRequest request, int score) argument 260 needNetworkFor(NetworkRequest networkRequest, int score) argument 269 addNetworkRequest(NetworkRequest networkRequest, int score) argument 278 setScoreFilter(int score) argument [all...] |
H A D | ConnectivityManager.java | 1973 NetworkCapabilities nc, int score, NetworkMisc misc) { 1975 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, misc); 1972 registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, NetworkCapabilities nc, int score, NetworkMisc misc) argument
|
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 45 private final int score; field in class:StatusBarNotification 50 int initialPid, int score, Notification notification, UserHandle user) { 51 this(pkg, opPkg, 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(); 123 out.writeInt(this.score); 156 this.score, no, this.user, this.postTime); 163 this.score, thi 49 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument 55 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | CommonTimeManagementService.java | 214 public InterfaceScoreRule(String prefix, byte score) { argument 216 mScore = score;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 43 * interested in using it. Default sort order is descending by score. 75 // for the default network connection, the one with the higher score should be chosen. 142 // This represents the last score received from the NetworkAgent. 156 // score. A non-empty list indicates that if this Network was validated it is lingered. 167 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 175 currentScore = score; 203 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from 205 // score. The NetworkScore class would provide a nice place to centralize score constants 209 // unvalidated, give it the maximum score 166 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | ImageGoodnessFilter.java | 16 // 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/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 102 // 2. If a font matches both language and script, it gets a score of 4. 103 // 3. If a font matches just language, it gets a score of 2. 104 // 4. Matching the "compact" or "elegant" variant adds one to the score. 105 // 5. Highest score wins, with ties resolved to the first font. 124 int score = lang.match(family->lang()) * 2; local 126 score++; 128 if (score > bestScore) { 129 bestScore = score;
|
H A D | FontFamily.cpp | 138 int score = abs(style1.getWeight() - style2.getWeight()); local 140 score += 2; 142 return score;
|
H A D | LineBreaker.cpp | 35 // constants are larger than any reasonable actual width score. 376 float jScore = mCandidates[j].score; 380 // compute width score for line 402 float score = jScore + widthScore + additionalPenalty; local 403 if (score <= best) { 404 best = score; 408 mCandidates[i].score = best + mCandidates[i].penalty + mLinePenalty; 412 ALOGD("break %d: score=%g, prev=%d", i, mCandidates[i].score, mCandidates[i].prev);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 54 int score; field in class:NotificationRecord 87 public NotificationRecord(StatusBarNotification sbn, int score) argument 90 this.score = score; 127 pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); 229 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s score=%d key=%s: %s)",
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 196 float score; // best score found for this break member in struct:android::LineBreaker::Candidate
|
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 226 int64_t score = 0; local 228 // simplest score: number of deltas that are near multiples 236 score = matches; 243 score *= max(0, err); 247 // or use the error as a negative score 251 score = -delta * err; 254 if (i == 0 || score > bestScore) { 255 bestScore = score;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiInfo.java | 157 public int score; field in class:WifiInfo 270 score = 0; 298 score = source.score; 554 append(", score: ").append(Integer.toString(score)); 585 dest.writeInt(score); 616 info.score = in.readInt();
|
H A D | WifiConfiguration.java | 435 * - GOOD/LOW/BAD thresholds are used so as to calculate link score 504 * Boost given to RSSI on a home network for the purpose of calculating the score 532 public int score; // Debug only, indicate last score used for autojoin/cell-handover field in class:WifiConfiguration.Visibility 571 if (score != 0) { 572 sbuf.append("; ").append(score);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DctController.java | 716 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | ConnectivityServiceTest.java | 317 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument 318 super.needNetworkFor(networkRequest, score); 980 // own NetworkRequest during startup, just bump up the score to cancel out the
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon1451 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/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 386 int score = mBufferTail - tick - MEASURE_BASE; local 387 if (mLatencyScore > score || mLatencyScore <= 0) { 388 mLatencyScore = score;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 153 private int mCurrentPipeId; // basically, equivalent to the current score 1052 private void setScore(int score) { argument 1053 mScore = score; 1055 mScoreField.setText(DEBUG_IDDQD ? "??" : String.valueOf(score));
|