Searched refs:existing (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/rs/
H A DrsProgramStore.cpp95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; local
96 if (existing->mHal.state.ditherEnable != ditherEnable) continue;
97 if (existing->mHal.state.colorRWriteEnable != colorMaskR) continue;
98 if (existing->mHal.state.colorGWriteEnable != colorMaskG) continue;
99 if (existing->mHal.state.colorBWriteEnable != colorMaskB) continue;
100 if (existing->mHal.state.colorAWriteEnable != colorMaskA) continue;
101 if (existing->mHal.state.blendSrc != srcFunc) continue;
102 if (existing->mHal.state.blendDst != destFunc) continue;
103 if (existing->mHal.state.depthWriteEnable != depthMask) continue;
104 if (existing
[all...]
H A DrsSampler.cpp88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; local
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state.wrapT != wrapT) continue;
93 if (existing->mHal.state.wrapR != wrapR) continue;
94 if (existing->mHal.state.aniso != aniso) continue;
95 returnRef.set(existing);
H A DrsProgramRaster.cpp84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; local
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
87 returnRef.set(existing);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUCache.java111 ScanResult existing = mBatchedOSUs.put(provider, scanResult);
112 if (existing != null && existing.level > scanResult.level) {
114 mBatchedOSUs.put(provider, existing);
H A DOSUManager.java613 OSUInfo existing = mOSUMap.get(entry.getKey());
616 if (existing == null || existing.getBSSID() != bssid) {
620 // Maintain existing entries.
621 osus.put(entry.getKey(), existing);
649 for (OSUInfo existing : mOSUMap.values()) {
650 if (existing.getIconStatus() == OSUInfo.IconStatus.Available) {
765 OSUThread existing = mServiceThreads.get(homeSP.getFQDN());
766 if (existing != null) {
767 if (System.currentTimeMillis() - existing
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartDataLoader.java130 * an existing {@link NetworkStatsHistory} if provided.
133 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing)
138 if (existing != null) {
139 existing.recordEntireHistory(history);
140 return existing;
132 collectHistoryForUid( NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DBoundsAnimationController.java287 final BoundsAnimator existing = mRunningAnimations.get(target);
288 final boolean replacing = existing != null;
294 if (existing.isAnimatingTo(to)) {
297 if (DEBUG) Slog.d(TAG, "animateBounds: same destination as existing=" + existing
301 existing.cancel();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DANQPData.java62 public ANQPData(Clock clock, NetworkDetail network, ANQPData existing) { argument
67 if (existing == null) {
72 mRetry = Math.max(existing.getRetry() + 1, MAX_RETRY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java985 RemoteInputView existing = (RemoteInputView)
988 if (existing != null) {
989 existing.onNotificationUpdateOrReset();
992 if (existing == null && hasRemoteInput) {
1002 existing = riv;
1009 existing.setBackgroundColor(NotificationColorUtil.ensureTextBackgroundColor(color,
1013 if (existingPendingIntent != null || existing.isActive()) {
1018 existing.setPendingIntent(existingPendingIntent);
1020 if (existing.updatePendingIntentFromActions(actions)) {
1021 if (!existing
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java113 * replaced with the existing Item. SortedList uses
396 T existing = mData[index];
397 if (mCallback.areItemsTheSame(existing, item)) {
398 if (mCallback.areContentsTheSame(existing, item)) {
464 * You can use this method if you need to change an existing Item such that its position in the
482 final T existing = get(index);
484 boolean contentsChanged = existing == item || !mCallback.areContentsTheSame(existing, item);
485 if (existing != item) {
487 final int cmp = mCallback.compare(existing, ite
[all...]
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java341 DnsServerEntry existing = mIndex.get(address);
342 if (existing != null) {
343 existing.expiry = expiry;
365 // Prefer existing servers over new servers in order to minimize updates to the rest of the
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java301 final NetworkStatsHistory existing = mStats.get(key);
303 // update when no existing, or when bucket duration changed
305 if (existing == null) {
307 } else if (existing.getBucketDuration() != mBucketDuration) {
308 updated = new NetworkStatsHistory(existing, mBucketDuration);
315 return existing;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java85 * If it already exists, returns existing one.
97 T existing = (T) mExprMap.get(expr.getUniqueKey());
98 if (existing != null) {
105 expr.onSwappedWith(existing);
107 existing.addLocation(location);
109 return existing;
172 * Creates a static identifier for the given class or returns the existing one.
176 // check for existing
H A DExpr.java283 public void onSwappedWith(Expr existing) { argument
285 child.onParentSwapped(this, existing);
503 // check if remaining dependencies can be satisfied w/ existing values
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java429 long[] existing = new long[POSSIBLE_SETS.length + 1];
435 existing[num++] = token;
439 existing[num++] = CURRENT_SET_TOKEN;
443 available[i] = new RestoreSet("Local disk image", "flash", existing[i]);
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp194 * existing value, 0 means fail, and +1 means take the incoming value.
196 int ResourceTable::resolveValueCollision(Value* existing, Value* incoming) { argument
197 Attribute* existingAttr = valueCast<Attribute>(existing);
203 // already exists. Keep the existing.
205 } else if (existing->isWeak()) {
209 // The existing and incoming values are strong, this is an error
215 if (existing->isWeak()) {
216 // The existing value is not an attribute and it is weak,
220 // The existing value is not an attribute and it is strong,
247 // Keep the existing attribut
[all...]
H A DResourceTable.h186 * Returns -1 if the existing value should be chosen.
190 static int resolveValueCollision(Value* existing, Value* incoming);
220 * when loading resources from an existing binary resource table that may have mangled
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java160 * point at the existing base APK (when adding splits to an existing app).
538 // Verify that stage looks sane with respect to existing application.
572 // Inherit any packages and native libraries from existing install that
597 "Failed to inherit existing install", e);
759 // Partial installs must be consistent with existing install
763 "Missing existing base package for " + mPackageName);
766 final PackageLite existing;
769 existing = PackageParser.parsePackageLite(new File(app.getCodePath()), 0);
785 if (!ArrayUtils.isEmpty(existing
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java74 for (LayoutFileBundle existing : bundles) {
75 if (existing.equals(bundle)) {
308 NameTypeLocation existing = result.get(item.name);
309 if (existing != null && !existing.type.equals(item.type)) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessExpressions.java222 public void removeOverridden(List<Intermediate> existing) { argument
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java117 public NetworkStatsHistory(NetworkStatsHistory existing, long bucketDuration) { argument
118 this(bucketDuration, existing.estimateResizeBuckets(bucketDuration));
119 recordEntireHistory(existing);
390 // try finding existing bucket
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java862 final int existing = mSpanIndexCache.get(position, -1);
863 if (existing != -1) {
864 return existing;
H A DLinearLayoutManager.java514 final View existing = findViewByPosition(mPendingScrollPosition);
515 if (existing != null) {
520 mOrientationHelper.getDecoratedEnd(existing);
523 current = mOrientationHelper.getDecoratedStart(existing)
665 // This case may happen if new views are added or an existing view expands and pushes
727 Log.d(TAG, "updated anchor info from existing children");
739 * Finds an anchor child from existing Views. Most of the time, this is the view closest to
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java2103 Provider existing = lookupProviderLocked(providerId);
2107 if (existing == null) {
2109 existing = lookupProviderLocked(restoredProviderId);
2112 if (existing != null) {
2113 if (existing.zombie && !mSafeMode) {
2115 existing.id = providerId;
2116 existing.zombie = false;
2117 existing.info = provider.info; // the real one filled out from the ResolveInfo
2119 Slog.i(TAG, "Provider placeholder now reified: " + existing);
4162 // just use the existing Hos
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java1691 Integer existing = mIndexOfSpan.get(mSpans[i]);
1692 if (existing == null || existing != i) {

Completed in 1964 milliseconds

12