/packages/apps/Launcher3/src/com/android/launcher3/ |
WidgetPreviewLoader.java | 560 for (Bitmap candidate : mUnusedBitmaps) { 561 if (candidate != null && candidate.isMutable() && 562 candidate.getWidth() == mPreviewWidth && 563 candidate.getHeight() == mPreviewHeight) { 564 unusedBitmap = candidate;
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
AbstractPackageSanityTests.java | 225 * to construct the sample instances. In case of tie, the candidate constructors or factories 319 NEXT_CANDIDATE: for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) { 320 for (Class<?> testClass : testClasses.get(candidate)) { 326 result.add(candidate);
|
/external/opencv3/modules/python/test/ |
test.py | 37 candidate = NewOpenCVTests.repoPath + '/' + filename 38 if os.path.isfile(candidate): 39 with open(candidate, 'rb') as f:
|
/external/skia/src/core/ |
SkPictureFlat.h | 509 SkFlatData* candidate = fHash.find(scratch); local 510 if (candidate != nullptr) { 511 return candidate;
|
/external/webrtc/webrtc/p2p/base/ |
transport.cc | 15 #include "webrtc/p2p/base/candidate.h" 269 bool Transport::VerifyCandidate(const Candidate& cand, std::string* error) { 272 *error = "candidate has address of zero"; 287 *error = "candidate has port below 1024, but not 80 or 443"; 292 *error = "candidate has port of 80 or 443 with private IP address"; 318 bool Transport::AddRemoteCandidates(const std::vector<Candidate>& candidates, 321 // Verify each candidate before passing down to transport layer. 322 for (const Candidate& cand : candidates) { 327 *error = "Candidate has unknown component: " + cand.ToString() + 333 for (const Candidate& candidate : candidates) [all...] |
p2ptransportchannel_unittest.cc | 218 CandidateData(cricket::TransportChannel* ch, const cricket::Candidate& c) 219 : channel(ch), candidate(c) { 222 cricket::Candidate candidate; member in struct:P2PTransportChannelTestBase::CandidateData 406 // on the local and remote candidate of ep1_ch1, match. This can be 426 // on the local and remote candidate of ep1_ch1. This is like 445 // on the local and remote candidate of ep2_ch1, match. This can be 453 // candidate. This is done to handle remote type discrepancy from 472 // on the local and remote candidate of ep2_ch1. This is like 528 // only for the RFC 5245 as controlled agent will use USE-CANDIDATE 1877 const cricket::Candidate& candidate = conn1->remote_candidate(); local [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
MtpManager.java | 78 for (final UsbDevice candidate : mManager.getDeviceList().values()) { 79 if (candidate.getDeviceId() == deviceId) { 80 rawDevice = candidate;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
FormatActivity.java | 254 for (final VolumeInfo candidate : candidates) { 255 if (TextUtils.equals(candidate.getDiskId(), diskId)) { 256 moveTarget = candidate;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SuggestedWords.java | 234 final SuggestedWordInfo candidate = mSuggestedWordInfoList.get(0); 235 return candidate.isEligibleForAutoCommit() ? candidate : null; 387 * @return position of typed word in the candidate list
|
Dictionary.java | 173 * @param candidate The candidate suggestion, in whole (not only the first part). 176 public boolean shouldAutoCommit(final SuggestedWordInfo candidate) {
|
/external/boringssl/src/crypto/bn/ |
prime.c | 454 int BN_primality_test(int *is_probably_prime, const BIGNUM *candidate, 457 switch (BN_is_prime_fasttest_ex(candidate, checks, ctx, do_trial_division, cb)) { 470 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, BN_GENCB *cb) { 471 return BN_is_prime_fasttest_ex(candidate, checks, ctx, 0, cb); 678 /* In the case that the candidate prime is a single word then [all...] |
/external/skia/src/ports/ |
SkFontMgr_custom.cpp | 149 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { 151 score += (pattern.width() - candidate.width()) * 100; 152 score += (pattern.isItalic() == candidate.isItalic()) ? 0 : 1000; 153 score += pattern.weight() - candidate.weight();
|
/external/webrtc/talk/app/webrtc/objctests/ |
RTCPeerConnectionSyncObserver.m | 189 gotICECandidate:(RTCICECandidate*)candidate { 194 [_receivedICECandidates addObject:candidate];
|
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/ |
PeerConnectionClientTest.java | 127 public void onIceCandidate(final IceCandidate candidate) { 129 Log.d(TAG, "IceCandidate #" + iceCandidates.size() + " : " + candidate.toString()); 131 // Loopback local ICE candidate in a separate thread to avoid adding 132 // remote ICE candidate in a local ICE candidate callback. 136 pcClient.addRemoteIceCandidate(candidate); 140 iceCandidates.add(candidate);
|
/external/webrtc/webrtc/tools/rtcbot/test/ |
three_bots_video_conference.js | 81 if(event.candidate) { 82 this.addIceCandidate(event.candidate, 87 test.log("Candidate added successfully");
|
/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 238 * A non-candidate (even a much closer one) is always a worse choice 239 * than a real candidate. 250 Rect candidate = new Rect(src); local 251 candidate.offset(-(4 * src.width()), 0); 252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); 254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate); 320 * down (and not those next to but still a candidate because 457 new Rect(0, 0, 20, 1)); // candidate 462 new Rect(0, -1, 20, 0)); // candidate 467 new Rect(-1, 0, 0, 20)); // candidate [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Collections.java | 669 T candidate = i.next(); local 673 if (next.compareTo(candidate) < 0) 674 candidate = next; 676 return candidate; 708 T candidate = i.next(); local 712 if (comp.compare(next, candidate) < 0) 713 candidate = next; 715 return candidate; 742 T candidate = i.next(); local 781 T candidate = i.next(); local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
TreeRangeSet.java | 307 Entry<Cut<C>, Range<C>> candidate = rangesByLowerBound.lowerEntry(cut); local 308 if (candidate != null && candidate.getValue().upperBound.equals(cut)) { 309 return candidate.getValue(); 693 Range<C> candidate = Maps.valueOrNull(rangesByLowerBound.floorEntry(cut)); 694 if (candidate != null && candidate.upperBound.compareTo(restriction.lowerBound) > 0) { 695 return candidate.intersection(restriction);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ThaiBreakEngine.java | 121 //Look for candidate words at the current position 139 // Followed by another dictionary word; mark first word as a good candidate 195 int candidate = words[(wordsFound + 1) %THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); local 197 if (candidate > 0) {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
GlobalizationPreferences.java | 289 UResourceBundle candidate = null; local 297 urb = candidate; 302 candidate = UResourceBundle.getBundleInstance(baseName, localeName); 305 candidate = UResourceBundle.getBundleInstance(baseName, localeName, loader); 307 if (candidate != null) { 308 actualLocaleName = candidate.getULocale().getName(); 310 urb = candidate; 315 urb = candidate; [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
GlobalizationPreferences.java | 301 UResourceBundle candidate = null; local 309 urb = candidate; 314 candidate = UResourceBundle.getBundleInstance(baseName, localeName); 317 candidate = UResourceBundle.getBundleInstance(baseName, localeName, loader); 319 if (candidate != null) { 320 actualLocaleName = candidate.getULocale().getName(); 322 urb = candidate; 327 urb = candidate; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ThaiBreakEngine.java | 120 //Look for candidate words at the current position 138 // Followed by another dictionary word; mark first word as a good candidate 194 int candidate = words[(wordsFound + 1) %THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); local 196 if (candidate > 0) {
|
/external/webrtc/talk/app/webrtc/ |
peerconnectioninterface.h | 43 // 5. Once an ice candidate have been found PeerConnection will call the 49 // 7. Once a remote candidate is received from the remote peer, provide it to 65 // 7. Once a candidate have been found PeerConnection will call the observer 402 // Any changes to STUN/TURN servers or ICE candidate policy will affect the 412 // Provides a remote candidate to the ICE Agent. 413 // A copy of the |candidate| will be created and added to the remote 415 // |candidate|. 417 // take the ownership of the |candidate|. 418 virtual bool AddIceCandidate(const IceCandidateInterface* candidate) = 0; 477 // New Ice candidate have been found [all...] |
statscollector.cc | 47 // our stats report for ice candidate type could conform to that. 653 const cricket::Candidate& candidate, 655 StatsReport::Id id(StatsReport::NewCandidateId(local, candidate.id())); 662 AdapterTypeToStatsType(candidate.network_type())); 665 candidate.address().ipaddr().ToString()); 667 candidate.address().PortAsString()); 669 candidate.priority()); 671 IceCandidateTypeToStatsType(candidate.type())); 673 candidate.protocol()) [all...] |
/external/webrtc/webrtc/base/ |
proxydetect.cc | 441 Pathname candidate; local 450 candidate.clear(); 460 candidate = path; 462 candidate.clear(); 464 candidate.AppendFolder(line.substr(5)); 467 if ((line.at(8) != '0') && !candidate.empty()) { 473 if (candidate.empty()) { 476 profile_path->SetPathname(candidate.pathname()); [all...] |