/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
PictureSizeCalculator.java | 115 for (Size candidate : supported) { 116 long pixels = candidate.area(); 117 if (candidate.getWidth() >= target.getWidth() && 118 candidate.getHeight() >= target.getHeight() && 120 best = candidate; 163 for (Size candidate : supported) { 164 long area = candidate.area(); 166 largestSize = candidate;
|
/packages/apps/TV/tests/common/src/com/android/tv/input/ |
TunerHelper.java | 92 Tuner candidate = null; local 98 // A tuner which is used both for the tune and recording is the candidate. 99 candidate = tuner; 108 if (candidate != null) { 109 candidate.tuning = false; 120 Tuner candidate = null; local 127 // A tuner which is used both for the tune and recording is the candidate. 128 candidate = tuner; 139 if (candidate != null) { 140 candidate.recording = false [all...] |
/art/compiler/optimizing/ |
ssa_phi_elimination.cc | 147 HInstruction* candidate = nullptr; local 160 } else if (candidate == nullptr) { 161 candidate = input; 162 } else if (candidate != input) { 163 candidate = nullptr; 168 // If we haven't found a candidate, check for a phi cycle. Note that we need to detect 171 if (candidate == nullptr) { 190 } else if (candidate == nullptr) { 191 candidate = input; 192 } else if (candidate != input) [all...] |
/external/ImageMagick/ |
winpath.sh | 42 candidate="$temp" 46 result=$candidate
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
p3.cpp | 6 class C {}; // expected-note {{candidate}} 10 expected-note {{candidate}}
|
/external/google-tv-pairing-protocol/cpp/ |
autogen.sh | 22 for candidate in "$@"; do 23 if "$candidate" --version >/dev/null 2>&1; then 24 echo "$candidate" 28 echo "$candidate" # the last one in $@
|
/external/skia/src/core/ |
SkTDynamicHash.h | 94 T* candidate = fArray[index]; local 95 if (Empty() == candidate) { 98 if (Deleted() != candidate && GetKey(*candidate) == key) { 99 return candidate; 148 const T* candidate = fArray[index]; local 149 if (Empty() == candidate || Deleted() == candidate || GetKey(*candidate) == key) { 212 const T* candidate = fArray[index] local 231 const T* candidate = fArray[index]; local [all...] |
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDSignalingMessage.m | 46 if ([typeString isEqualToString:@"candidate"]) { 47 RTCICECandidate *candidate = 49 message = [[ARDICECandidateMessage alloc] initWithCandidate:candidate]; 72 @synthesize candidate = _candidate; 74 - (instancetype)initWithCandidate:(RTCICECandidate *)candidate { 76 _candidate = candidate;
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
PhoneNumberMatcher.java | 220 * @param leniency the leniency to use when evaluating candidate phone numbers 252 CharSequence candidate = text.subSequence(start, matcher.end()); local 257 candidate = trimAfterFirstMatch(PhoneNumberUtil.SECOND_NUMBER_START_PATTERN, candidate); 259 PhoneNumberMatch match = extractMatch(candidate, start); 264 index = start + candidate.length(); 272 * Trims away any characters after the first match of {@code pattern} in {@code candidate}, 275 private static CharSequence trimAfterFirstMatch(Pattern pattern, CharSequence candidate) { 276 Matcher trailingCharsMatcher = pattern.matcher(candidate); 278 candidate = candidate.subSequence(0, trailingCharsMatcher.start()) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
SavedNetworkEvaluatorTest.java | 168 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 171 assertNull(candidate); 195 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 198 assertNull(candidate); 202 * Set the candidate {@link ScanResult} for all {@link WifiConfiguration}s regardless of 259 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 263 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); 265 chosenScanResult, candidate); 287 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 291 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); 314 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 341 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 371 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 404 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 446 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local 497 WifiConfiguration candidate = mSavedNetworkEvaluator.evaluateNetworks(scanDetails, local [all...] |
WifiNetworkSelectorTest.java | 185 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 187 assertEquals("Expect null configuration", null, candidate); 214 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 216 assertEquals("Expect null configuration", null, candidate); 244 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 251 candidate = mWifiNetworkSelector.selectNetwork(scanDetails, 254 assertEquals("Expect null configuration", null, candidate); 283 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 285 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); 291 candidate = mWifiNetworkSelector.selectNetwork(scanDetails 339 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 380 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 427 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 474 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 507 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 537 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local 644 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(scanDetails, local [all...] |
ScoredNetworkEvaluatorTest.java | 242 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 245 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfig, candidate); 247 scanResult, candidate); 248 assertEquals(meteredHints[1], candidate.meteredHint); 282 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 285 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfigs[1], candidate); 287 scanResults[1], candidate); 288 assertEquals(meteredHints[1], candidate.meteredHint); 318 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 321 assertEquals("Expect null configuration", null, candidate); 348 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 380 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 413 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 466 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 499 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local 536 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks( local 570 WifiConfiguration candidate = mScoredNetworkEvaluator.evaluateNetworks(scanDetails, local [all...] |
/external/v8/src/heap/ |
mark-compact-inl.h | 91 JSFunction** CodeFlusher::GetNextCandidateSlot(JSFunction* candidate) { 93 HeapObject::RawField(candidate, JSFunction::kNextFunctionLinkOffset)); 97 JSFunction* CodeFlusher::GetNextCandidate(JSFunction* candidate) { 98 Object* next_candidate = candidate->next_function_link(); 103 void CodeFlusher::SetNextCandidate(JSFunction* candidate, 105 candidate->set_next_function_link(next_candidate, UPDATE_WEAK_WRITE_BARRIER); 109 void CodeFlusher::ClearNextCandidate(JSFunction* candidate, Object* undefined) { 110 DCHECK(undefined->IsUndefined(candidate->GetIsolate())); 111 candidate->set_next_function_link(undefined, SKIP_WRITE_BARRIER); 116 SharedFunctionInfo* candidate) { [all...] |
/external/v8/src/compiler/ |
instruction-scheduler.cc | 17 // the next best candidate to schedule. 30 auto candidate = nodes_.end(); local 34 candidate = iterator; 39 if (candidate != nodes_.end()) { 40 ScheduleGraphNode *result = *candidate; 41 nodes_.erase(candidate); 53 auto candidate = nodes_.begin(); local 54 std::advance(candidate, isolate()->random_number_generator()->NextInt( 56 ScheduleGraphNode *result = *candidate; 57 nodes_.erase(candidate); 218 ScheduleGraphNode* candidate = ready_list.PopBestCandidate(cycle); local [all...] |
/external/skia/src/gpu/ |
GrRenderTargetOpList.cpp | 303 const RecordedOp& candidate = fRecordedOps.fromBack(i); local 305 if (candidate.fRenderTarget.get() != renderTarget) { 306 GrOP_INFO("\t\tBreaking because of (%s, B%u) Rendertarget\n", candidate.fOp->name(), 307 candidate.fOp->uniqueID()); 310 if (this->combineIfPossible(candidate, op.get(), clip, dstTexture)) { 311 GrOP_INFO("\t\tCombining with (%s, B%u)\n", candidate.fOp->name(), 312 candidate.fOp->uniqueID()); 314 GrOP_INFO(SkTabString(candidate.fOp->dumpInfo(), 4).c_str()); 315 GR_AUDIT_TRAIL_OPS_RESULT_COMBINED(fAuditTrail, candidate.fOp.get(), op.get()); 316 return candidate.fOp.get() 358 const RecordedOp& candidate = fRecordedOps[j]; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
VsyncManager.cpp | 170 bool VsyncManager::enableVsync(int candidate) 177 IDisplayDevice *device = getDisplayDevice(candidate); 179 ETRACE("invalid vsync source candidate %d", candidate); 184 mVsyncSource = candidate; 188 if (candidate != IDisplayDevice::DEVICE_PRIMARY) { 189 WTRACE("failed to enable vsync on display %d, fall back to primary", candidate);
|
VsyncManager.h | 43 inline bool enableVsync(int candidate);
|
/external/clang/include/clang/Sema/ |
TypoCorrection.h | 269 /// candidate is viable, without ranking potentially viable candidates. 272 /// The default predicate always returns true if the candidate is not a type 276 virtual bool ValidateCandidate(const TypoCorrection &candidate); 279 /// to a candidate (where a lower value represents a better candidate), or 280 /// returning InvalidDistance if the candidate is not at all viable. For 281 /// validation callbacks that only need to determine if a candidate is viable, 284 virtual unsigned RankCandidate(const TypoCorrection &candidate) { 285 return (!MatchesTypo(candidate) && ValidateCandidate(candidate)) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.c | 42 int candidate = -1; local 88 candidate = i; 93 candidate = RC_PAIR_PRESUB_SRC; 94 } else if (candidate < 0 || (rgb && rgb_used > 2) 99 /* candidate >= 0 */ 102 pair->RGB.Src[candidate].Used = 1; 103 pair->RGB.Src[candidate].File = file; 104 pair->RGB.Src[candidate].Index = index; 105 if (candidate == RC_PAIR_PRESUB_SRC) { 115 pair->Alpha.Src[candidate].Used = 1 [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
DelaySlotFiller.cpp | 62 MachineBasicBlock::iterator candidate); 74 bool delayHasHazard(MachineBasicBlock::iterator candidate, 187 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, 194 if (candidate->isImplicitDef() || candidate->isKill()) 197 if (candidate->getDesc().mayLoad()) { 203 if (candidate->getDesc().mayStore()) { 211 for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) { 212 const MachineOperand &MO = candidate->getOperand(i); 293 // return true if the candidate is a delay filler [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
Primes.java | 139 * information about a composite candidate, which may be useful when generating or validating 142 * @param candidate 150 public static MROutput enhancedMRProbablePrimeTest(BigInteger candidate, SecureRandom random, int iterations) 152 checkCandidate(candidate, "candidate"); 163 if (candidate.bitLength() == 2) 167 if (!candidate.testBit(0)) 172 BigInteger w = candidate; 173 BigInteger wSubOne = candidate.subtract(ONE); 174 BigInteger wSubTwo = candidate.subtract(TWO) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateFilter.java | 46 String str = word.candidate;
|
/art/test/150-loadlibrary/src/ |
Main.java | 36 String candidate = p + libName; local 37 if (new File(candidate).exists()) { 38 fileName = candidate;
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSet.java | 50 Object candidate = table[i & mask]; local 51 if (candidate == null) { 54 if (candidate.equals(target)) {
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
UnusedStubbings.java | 34 for (Stubbing candidate : unused) { 35 if (!candidate.wasUsed()) { 36 hint.appendLine(x++, ". Unused ", candidate.getInvocation().getLocation());
|