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

123

/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/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DMediatorLiveData.java54 Source<?> existing = mSources.putIfAbsent(source, e);
55 if (existing != null && existing.mObserver != onChanged) {
59 if (existing != null) {
H A DLiveData.java191 LifecycleBoundObserver existing = mObservers.putIfAbsent(observer, wrapper);
192 if (existing != null && existing.owner != wrapper.owner) {
196 if (existing != null) {
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUManager.java187 OSUInfo existing = mOSUMap.get(entry.getKey());
190 if (existing == null) {
193 } else if (existing.getBSSID() != bssid) {
194 HSIconFileElement icon = mIconCache.getIcon(existing);
195 if (icon != null && icon.equals(existing.getIconFileElement())) {
197 existing.getOsuID());
198 osuInfo.setIconFileElement(icon, existing.getIconFileName());
205 // Maintain existing entries.
206 osus.put(entry.getKey(), existing);
238 for (OSUInfo existing
[all...]
H A DOSUCache.java116 ScanResult existing = mBatchedOSUs.put(provider, scanResult);
117 if (existing != null && existing.level > scanResult.level) {
119 mBatchedOSUs.put(provider, existing);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java317 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId);
318 if (existing == networkRequest) return false;
319 if (existing != null) {
323 networkRequest, existing, name()));
324 updateRequestCounts(REMOVE, existing);
335 NetworkRequest existing = mNetworkRequests.get(requestId);
336 if (existing == null) return;
337 updateRequestCounts(REMOVE, existing);
339 if (existing.isRequest()) {
340 unlingerRequest(existing);
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DDataBinder.java117 final CallbackWrapper existing = uniqueWrappers.get(entry.getKey());
118 if (existing == null) {
129 .prepare(existing.getClassName(), existing.getListenerMethodName());
147 private String makeUnique(Set<String> existing, String wanted) { argument
149 while (existing.contains(wanted)) {
153 existing.add(wanted);
/frameworks/base/services/core/java/com/android/server/wm/
H A DBoundsAnimationController.java392 final BoundsAnimator existing = mRunningAnimations.get(target);
393 final boolean replacing = existing != null;
402 if (existing.isAnimatingTo(to)) {
405 if (DEBUG) Slog.d(TAG, "animateBounds: same destination as existing=" + existing
408 return existing;
412 prevSchedulePipModeChangedState = existing.mSchedulePipModeChangedState;
415 if (existing.mSchedulePipModeChangedState == SCHEDULE_PIP_MODE_CHANGED_ON_START) {
418 + " existing deferred state");
424 } else if (existing
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DCallbackExprModel.java79 final Expr existing = mExprMap.get(id.getUniqueKey());
80 if (existing == null) {
87 return (IdentifierExpr) existing;
H A DExprModel.java93 * If it already exists, returns existing one.
106 T existing = (T) mExprMap.get(expr.getUniqueKey());
107 if (existing != null) {
114 expr.onSwappedWith(existing);
116 existing.addLocation(location);
118 return existing;
205 * Creates a static identifier for the given class or returns the existing one.
209 // check for existing
297 String existing = mImports.get(alias);
298 if (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/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DDiffUtilTest.java390 Item existing = target.get(positionInList);
392 assertThat(existing.changed, is(false));
393 assertThat(existing.newItem, is(false));
394 assertThat(existing.payload, is(nullValue()));
395 Item replica = new Item(existing);
417 Item existing = mAfter.get(index);
418 if (existing.newItem) {
421 Item replica = new Item(existing);
432 Item existing = mAfter.get(index);
433 if (existing
[all...]
/frameworks/support/lifecycle/common/src/main/java/android/arch/lifecycle/
H A DReflectiveGenericLifecycleObserver.java86 CallbackInfo existing = sInfoCache.get(klass);
87 if (existing != null) {
88 return existing;
90 existing = createInfo(klass);
91 return existing;
/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/services/core/java/com/android/server/pm/
H A DShortcutRequestPinProcessor.java301 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId());
302 final boolean existsAlready = existing != null;
318 validateExistingShortcut(existing);
321 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing);
333 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java1188 RemoteInputView existing = (RemoteInputView)
1191 if (existing != null) {
1192 existing.onNotificationUpdateOrReset();
1195 if (existing == null && hasRemoteInput) {
1206 existing = riv;
1211 existing = cachedView;
1219 existing.setBackgroundColor(NotificationColorUtil.ensureTextBackgroundColor(color,
1223 existing.setWrapper(wrapper);
1225 if (existingPendingIntent != null || existing.isActive()) {
1230 existing
[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/support/room/runtime/src/main/java/android/arch/persistence/room/
H A DRoomDatabase.java473 Migration existing = targetMap.get(end);
474 if (existing != null) {
475 Log.w(Room.LOG_TAG, "Overriding migration " + existing + " with " + migration);
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp189 // existing value.
190 static ResourceTable::CollisionResult ResolveMergeCollision(Value* existing, Value* incoming, argument
192 if (Styleable* existing_styleable = ValueCast<Styleable>(existing)) {
198 } else if (Style* existing_style = ValueCast<Style>(existing)) {
206 return ResourceTable::ResolveValueCollision(existing, incoming);
275 << " does not override an existing resource");
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceAdminServiceController.java156 final PersistentConnection<IDeviceAdminService> existing =
158 if (existing != null) {
162 debug("Disconnecting from existing service connection.",
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java125 NotificationData.Entry existing = group.children.get(added.key);
126 if (existing != null && existing != added) {
127 Throwable existingThrowable = existing.getDebugThrowable();
129 + "existing removed: " + existing.row.isRemoved()
/frameworks/base/services/core/java/com/android/server/notification/
H A DSnoozeHelper.java233 NotificationRecord existing = pkgRecords.get(record.getKey());
234 if (existing != null && existing.isCanceled) {
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java250 // the existing file and proceed in either case.
313 Log.v(TAG, "No existing data for this package");
514 long[] existing = new long[POSSIBLE_SETS.length + 1];
520 existing[num++] = token;
524 existing[num++] = CURRENT_SET_TOKEN;
528 available[i] = new RestoreSet("Local disk image", "flash", existing[i]);

Completed in 1174 milliseconds

123