/frameworks/rs/ |
D | rsProgramStore.cpp | 95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; in getProgramStore() local 96 if (existing->mHal.state.ditherEnable != ditherEnable) continue; in getProgramStore() 97 if (existing->mHal.state.colorRWriteEnable != colorMaskR) continue; in getProgramStore() 98 if (existing->mHal.state.colorGWriteEnable != colorMaskG) continue; in getProgramStore() 99 if (existing->mHal.state.colorBWriteEnable != colorMaskB) continue; in getProgramStore() 100 if (existing->mHal.state.colorAWriteEnable != colorMaskA) continue; in getProgramStore() 101 if (existing->mHal.state.blendSrc != srcFunc) continue; in getProgramStore() 102 if (existing->mHal.state.blendDst != destFunc) continue; in getProgramStore() 103 if (existing->mHal.state.depthWriteEnable != depthMask) continue; in getProgramStore() 104 if (existing->mHal.state.depthFunc != depthFunc) continue; in getProgramStore() [all …]
|
D | rsSampler.cpp | 88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; in getSampler() local 89 if (existing->mHal.state.magFilter != magFilter) continue; in getSampler() 90 if (existing->mHal.state.minFilter != minFilter ) continue; in getSampler() 91 if (existing->mHal.state.wrapS != wrapS) continue; in getSampler() 92 if (existing->mHal.state.wrapT != wrapT) continue; in getSampler() 93 if (existing->mHal.state.wrapR != wrapR) continue; in getSampler() 94 if (existing->mHal.state.aniso != aniso) continue; in getSampler() 95 returnRef.set(existing); in getSampler()
|
D | rsProgramRaster.cpp | 84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; in getProgramRaster() local 85 if (existing->mHal.state.pointSprite != pointSprite) continue; in getProgramRaster() 86 if (existing->mHal.state.cull != cull) continue; in getProgramRaster() 87 returnRef.set(existing); in getProgramRaster()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BoundsAnimationController.java | 394 final BoundsAnimator existing = mRunningAnimations.get(target); in animateBoundsImpl() local 395 final boolean replacing = existing != null; in animateBoundsImpl() 404 if (existing.isAnimatingTo(to) && (!moveToFullscreen || existing.mMoveToFullscreen) in animateBoundsImpl() 405 && (!moveFromFullscreen || existing.mMoveFromFullscreen)) { in animateBoundsImpl() 410 + "existing=" + existing + ", ignoring..."); in animateBoundsImpl() 411 return existing; in animateBoundsImpl() 415 prevSchedulePipModeChangedState = existing.mSchedulePipModeChangedState; in animateBoundsImpl() 418 if (existing.mSchedulePipModeChangedState == SCHEDULE_PIP_MODE_CHANGED_ON_START) { in animateBoundsImpl() 427 } else if (existing.mSchedulePipModeChangedState == SCHEDULE_PIP_MODE_CHANGED_ON_END) { in animateBoundsImpl() 441 moveToFullscreen = existing.mMoveToFullscreen; in animateBoundsImpl() [all …]
|
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/ |
D | LiveData.java | 172 ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper); in observe() local 173 if (existing != null && !existing.isAttachedTo(owner)) { in observe() 177 if (existing != null) { in observe() 201 ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper); in observeForever() local 202 if (existing != null && existing instanceof LiveData.LifecycleBoundObserver) { in observeForever() 206 if (existing != null) { in observeForever()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | DataBinder.java | 117 final CallbackWrapper existing = uniqueWrappers.get(entry.getKey()); in writeCallbackWrappers() local 118 if (existing == null) { in writeCallbackWrappers() 129 .prepare(existing.getClassName(), existing.getListenerMethodName()); in writeCallbackWrappers() 147 private String makeUnique(Set<String> existing, String wanted) { in makeUnique() argument 149 while (existing.contains(wanted)) { in makeUnique() 153 existing.add(wanted); in makeUnique()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingPropertyAnimator.java | 142 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_TOP_ANIMATOR); in startTopAnimation() local 143 if (existing != null) { in startTopAnimation() 144 existing.cancel(); in startTopAnimation() 182 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_ALPHA_ANIMATOR); in fadeIn() local 183 if (existing != null) { in fadeIn() 184 existing.cancel(); in fadeIn() 215 ObjectAnimator existing = (ObjectAnimator) view.getTag(TAG_ALPHA_ANIMATOR); in fadeOut() local 216 if (existing != null) { in fadeOut() 217 existing.cancel(); in fadeOut()
|
D | MessagingLayout.java | 471 MessagingMessage existing = mMessages.get(i); in findAndRemoveMatchingMessage() local 472 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage() 474 return existing; in findAndRemoveMatchingMessage() 478 MessagingMessage existing = mHistoricMessages.get(i); in findAndRemoveMatchingMessage() local 479 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage() 481 return existing; in findAndRemoveMatchingMessage() 495 MessagingMessage existing = mHistoricMessages.get(i); in updateHistoricMessageVisibility() local 496 existing.setVisibility(mShowHistoricMessages ? VISIBLE : GONE); in updateHistoricMessageVisibility()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 313 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest() local 314 if (existing == networkRequest) return false; in addRequest() 315 if (existing != null) { in addRequest() 319 networkRequest, existing, name())); in addRequest() 320 updateRequestCounts(REMOVE, existing); in addRequest() 331 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest() local 332 if (existing == null) return; in removeRequest() 333 updateRequestCounts(REMOVE, existing); in removeRequest() 335 if (existing.isRequest()) { in removeRequest() 336 unlingerRequest(existing); in removeRequest()
|
D | MultipathPolicyTracker.java | 455 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback() 456 if (existing != null) { in registerTrackMobileCallback() 457 existing.setNetworkCapabilities(nc); in registerTrackMobileCallback() 458 existing.updateMultipathBudget(); in registerTrackMobileCallback() 472 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback() 473 if (existing != null) { in registerTrackMobileCallback() 474 existing.shutdown(); in registerTrackMobileCallback()
|
/frameworks/support/lifecycle/livedata/src/main/java/androidx/lifecycle/ |
D | MediatorLiveData.java | 87 Source<?> existing = mSources.putIfAbsent(source, e); in addSource() local 88 if (existing != null && existing.mObserver != onChanged) { in addSource() 92 if (existing != null) { in addSource()
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | DiffUtilTest.java | 391 Item existing = target.get(positionInList); in applyUpdates() 393 assertThat(existing.changed, is(false)); in applyUpdates() 394 assertThat(existing.newItem, is(false)); in applyUpdates() 395 assertThat(existing.payload, is(nullValue())); in applyUpdates() 396 Item replica = new Item(existing); in applyUpdates() 418 Item existing = mAfter.get(index); in update() local 419 if (existing.newItem) { in update() 422 Item replica = new Item(existing); in update() 433 Item existing = mAfter.get(index); in updateWithPayload() local 434 if (existing.newItem) { in updateWithPayload() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | ChartDataLoader.java | 133 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) in collectHistoryForUid() argument 138 if (existing != null) { in collectHistoryForUid() 139 existing.recordEntireHistory(history); in collectHistoryForUid() 140 return existing; in collectHistoryForUid()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | SortedList.java | 546 T existing = mData[index]; in add() local 547 if (mCallback.areItemsTheSame(existing, item)) { in add() 548 if (mCallback.areContentsTheSame(existing, item)) { in add() 554 mCallback.onChanged(index, 1, mCallback.getChangePayload(existing, item)); in add() 632 final T existing = get(index); in updateItemAt() local 634 boolean contentsChanged = existing == item || !mCallback.areContentsTheSame(existing, item); in updateItemAt() 635 if (existing != item) { in updateItemAt() 637 final int cmp = mCallback.compare(existing, item); in updateItemAt() 641 mCallback.onChanged(index, 1, mCallback.getChangePayload(existing, item)); in updateItemAt() 647 mCallback.onChanged(index, 1, mCallback.getChangePayload(existing, item)); in updateItemAt()
|
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/ |
D | CompatPermissionManager.java | 165 String[] existing = mPaths.valueAt(i); in addPath() local 166 if (isPathPrefixMatch(existing, pathSegs)) { in addPath() 170 if (isPathPrefixMatch(pathSegs, existing)) { in addPath() 182 String[] existing = mPaths.valueAt(i); in removePath() local 183 if (isPathPrefixMatch(pathSegs, existing)) { in removePath()
|
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/ |
D | ClassesInfoCache.java | 80 CallbackInfo existing = mCallbackMap.get(klass); in getInfo() local 81 if (existing != null) { in getInfo() 82 return existing; in getInfo() 84 existing = createInfo(klass, null); in getInfo() 85 return existing; in getInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 301 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId()); in requestPinShortcutLocked() local 302 final boolean existsAlready = existing != null; in requestPinShortcutLocked() 303 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked() 320 validateExistingShortcut(existing); in requestPinShortcutLocked() 323 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing); in requestPinShortcutLocked() 335 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in requestPinShortcutLocked()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | CallbackExprModel.java | 79 final Expr existing = mExprMap.get(id.getUniqueKey()); in identifier() local 80 if (existing == null) { in identifier() 87 return (IdentifierExpr) existing; in identifier()
|
D | ExprModel.java | 106 T existing = (T) mExprMap.get(expr.getUniqueKey()); in register() local 107 if (existing != null) { in register() 114 expr.onSwappedWith(existing); in register() 116 existing.addLocation(location); in register() 118 return existing; in register() 297 String existing = mImports.get(alias); 298 if (existing != null) { 299 if (existing.equals(type)) { 306 existing, type);
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | PagedListView.java | 494 TopOffsetDecoration existing = null; in setListContentTopOffset() local 498 existing = (TopOffsetDecoration) itemDecoration; in setListContentTopOffset() 503 if (offset == 0 && existing != null) { in setListContentTopOffset() 504 mRecyclerView.removeItemDecoration(existing); in setListContentTopOffset() 505 } else if (existing == null) { in setListContentTopOffset() 508 existing.setTopOffset(offset); in setListContentTopOffset() 706 ItemSpacingDecoration existing = null; in setItemSpacing() local 710 existing = (ItemSpacingDecoration) itemDecoration; in setItemSpacing() 715 if (itemSpacing == 0 && existing != null) { in setItemSpacing() 716 mRecyclerView.removeItemDecoration(existing); in setItemSpacing() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationContentView.java | 1295 RemoteInputView existing = (RemoteInputView) in applyRemoteInput() local 1298 if (existing != null) { in applyRemoteInput() 1299 existing.onNotificationUpdateOrReset(); in applyRemoteInput() 1302 if (existing == null && hasRemoteInput) { in applyRemoteInput() 1313 existing = riv; in applyRemoteInput() 1318 existing = cachedView; in applyRemoteInput() 1326 existing.setBackgroundColor(NotificationColorUtil.ensureTextBackgroundColor(color, in applyRemoteInput() 1330 existing.setWrapper(wrapper); in applyRemoteInput() 1331 existing.setOnVisibilityChangedListener(this::setRemoteInputVisible); in applyRemoteInput() 1333 if (existingPendingIntent != null || existing.isActive()) { in applyRemoteInput() [all …]
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | Database.kt | 81 val existing = file.inputStream().use { in <lambda>() constant 84 if (existing.isSchemaEqual(schemaBundle)) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 223 String[] existing = mPaths.valueAt(i); in addPath() local 224 if (isPathPrefixMatch(existing, pathSegs)) { in addPath() 228 if (isPathPrefixMatch(pathSegs, existing)) { in addPath() 240 String[] existing = mPaths.valueAt(i); in removePath() local 241 if (isPathPrefixMatch(pathSegs, existing)) { in removePath()
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 341 DnsServerEntry existing = mIndex.get(address); in updateExistingEntry() local 342 if (existing != null) { in updateExistingEntry() 343 existing.expiry = expiry; in updateExistingEntry()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 902 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local 903 existing.inject(); in TEST_F() 917 mFlinger.destroyDisplay(existing.token()); in TEST_F() 923 EXPECT_FALSE(hasCurrentDisplayState(existing.token())); in TEST_F() 926 EXPECT_TRUE(hasDrawingDisplayState(existing.token())); in TEST_F() 959 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local 960 existing.inject(); in TEST_F() 984 EXPECT_FALSE(hasDisplayDevice(existing.token())); in TEST_F() 987 EXPECT_TRUE(hasCurrentDisplayState(existing.token())); in TEST_F() 990 EXPECT_FALSE(hasDrawingDisplayState(existing.token())); in TEST_F() [all …]
|