Home
last modified time | relevance | path

Searched refs:wc (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DBLASTSyncEngine.java96 final WindowContainer wc = mRootMembers.valueAt(i); in onSurfacePlacement() local
97 if (!wc.isSyncFinished()) { in onSurfacePlacement()
99 mSyncId, wc); in onSurfacePlacement()
112 for (WindowContainer wc : mRootMembers) { in finishNow()
113 wc.finishSync(merged, false /* cancel */); in finishNow()
126 private void addToSync(WindowContainer wc) { in addToSync() argument
127 if (!mRootMembers.add(wc)) { in addToSync()
130 ProtoLog.v(WM_DEBUG_SYNC_ENGINE, "SyncGroup %d: Adding to group: %s", mSyncId, wc); in addToSync()
131 wc.setSyncGroup(this); in addToSync()
132 wc.prepareSync(); in addToSync()
[all …]
DTransition.java164 void collect(@NonNull WindowContainer wc) { in collect() argument
167 mSyncId, wc); in collect()
170 for (WindowContainer curr = wc.getParent(); curr != null && !mChanges.containsKey(curr); in collect()
174 if (mParticipants.contains(wc)) return; in collect()
175 mSyncEngine.addToSyncSet(mSyncId, wc); in collect()
176 ChangeInfo info = mChanges.get(wc); in collect()
178 info = new ChangeInfo(wc); in collect()
179 mChanges.put(wc, info); in collect()
181 mParticipants.add(wc); in collect()
185 wc.getDisplayContent().mWallpaperController.getTopVisibleWallpaper(); in collect()
[all …]
DWindowOrganizerController.java277 final WindowContainer wc = WindowContainer.fromBinder(entry.getKey()); in applyTransaction() local
278 if (wc == null || !wc.isAttached()) { in applyTransaction()
279 Slog.e(TAG, "Attempt to operate on detached container: " + wc); in applyTransaction()
286 addToSyncSet(syncId, wc); in applyTransaction()
288 if (transition != null) transition.collect(wc); in applyTransaction()
290 int containerEffect = applyWindowContainerChange(wc, entry.getValue()); in applyTransaction()
296 haveConfigChanges.add(wc); in applyTransaction()
314 final WindowContainer wc = WindowContainer.fromBinder(entry.getKey()); in applyTransaction() local
315 if (wc == null || !wc.isAttached()) { in applyTransaction()
316 Slog.e(TAG, "Attempt to operate on detached container: " + wc); in applyTransaction()
[all …]
DTransitionController.java126 boolean isCollecting(@NonNull WindowContainer wc) { in isCollecting() argument
127 return mCollectingTransition != null && mCollectingTransition.mParticipants.contains(wc); in isCollecting()
145 boolean inTransition(@NonNull WindowContainer wc) { in inTransition() argument
146 if (isCollecting(wc)) return true; in inTransition()
148 for (WindowContainer p = wc; p != null; p = p.getParent()) { in inTransition()
232 void collect(@NonNull WindowContainer wc) { in collect() argument
234 mCollectingTransition.collect(wc); in collect()
238 void collectExistenceChange(@NonNull WindowContainer wc) { in collectExistenceChange() argument
240 mCollectingTransition.collectExistenceChange(wc); in collectExistenceChange()
DWindowContainer.java687 final WindowContainer wc = mChildren.get(i); in removeIfPossible() local
688 wc.removeIfPossible(); in removeIfPossible()
859 final WindowContainer wc = mChildren.get(i); in setWaitingForDrawnIfResizingChanged() local
860 wc.setWaitingForDrawnIfResizingChanged(); in setWaitingForDrawnIfResizingChanged()
866 final WindowContainer wc = mChildren.get(i); in onResize() local
867 wc.onParentResize(); in onResize()
885 final WindowContainer wc = mChildren.get(i); in onMovedByResize() local
886 wc.onMovedByResize(); in onMovedByResize()
892 final WindowContainer wc = mChildren.get(i); in resetDragResizingChangeReported() local
893 wc.resetDragResizingChangeReported(); in resetDragResizingChangeReported()
[all …]
DAppTransitionController.java472 static ActivityRecord getAppFromContainer(WindowContainer wc) { in getAppFromContainer() argument
473 return wc.asTask() != null ? wc.asTask().getTopNonFinishingActivity() in getAppFromContainer()
474 : wc.asActivityRecord(); in getAppFromContainer()
572 final WindowContainer wc = wcs.valueAt(i); in applyAnimations() local
580 if (app.isDescendantOf(wc)) { in applyAnimations()
584 wc.applyAnimation(animLp, transit, visible, voiceInteraction, transitioningDescendants); in applyAnimations()
619 for (WindowContainer wc = otherApps.valueAt(i); wc != null; wc = wc.getParent()) { in getAnimationTargets()
620 otherAncestors.add(wc); in getAnimationTargets()
749 final WindowContainer wc = app.getAnimatingContainer(PARENTS, in handleOpeningApps() local
751 if (wc == null || !wc.getAnimationSources().contains(app)) { in handleOpeningApps()
[all …]
DDisplayAreaOrganizerController.java256 final WindowContainer wc = WindowContainer.fromBinder(token.asBinder()); in deleteTaskDisplayArea() local
257 if (wc == null || wc.asTaskDisplayArea() == null) { in deleteTaskDisplayArea()
260 final TaskDisplayArea taskDisplayArea = wc.asTaskDisplayArea(); in deleteTaskDisplayArea()
DTaskOrganizerController.java680 final WindowContainer wc = WindowContainer.fromBinder(token.asBinder()); in deleteRootTask() local
681 if (wc == null) return false; in deleteRootTask()
682 final Task task = wc.asTask(); in deleteRootTask()
905 final WindowContainer wc = WindowContainer.fromBinder(token.asBinder()); in setInterceptBackPressedOnTaskRoot() local
906 if (wc == null) { in setInterceptBackPressedOnTaskRoot()
910 final Task task = wc.asTask(); in setInterceptBackPressedOnTaskRoot()
932 final WindowContainer wc = WindowContainer.fromBinder(token.asBinder()); in restartTaskTopActivityProcessIfVisible() local
933 if (wc == null) { in restartTaskTopActivityProcessIfVisible()
937 final Task task = wc.asTask(); in restartTaskTopActivityProcessIfVisible()
DInputConsumerImpl.java147 void reparent(SurfaceControl.Transaction t, WindowContainer wc) { in reparent() argument
148 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
DInsetsStateController.java255 final WindowContainer wc = p.mWin; in addProvidersToTransition() local
256 if (wc == null) continue; in addProvidersToTransition()
257 mDisplayContent.mAtmService.getTransitionController().collect(wc); in addProvidersToTransition()
DLockTaskController.java346 private boolean isLockTaskModeViolationInternal(WindowContainer wc, int userId, in isLockTaskModeViolationInternal() argument
349 if (wc.isActivityTypeRecents() && isRecentsAllowed(userId)) { in isLockTaskModeViolationInternal()
359 if (wc.isActivityTypeDream()) { in isLockTaskModeViolationInternal()
DActivityMetricsLogger.java728 final WindowContainer<?> wc = activityToReason.keyAt(index); in notifyTransitionStarting() local
729 final ActivityRecord activity = wc.asActivityRecord(); in notifyTransitionStarting()
731 : wc.getTopActivity(false /* includeFinishing */, true /* includeOverlays */); in notifyTransitionStarting()
738 Slog.i(TAG, "notifyTransitionStarting activity=" + wc + " info=" + info); in notifyTransitionStarting()
DDisplayRotation.java550 final WindowContainer wc = transition.mParticipants.valueAt(i); in getDisplayFromTransition() local
551 if (!(wc instanceof DisplayContent)) continue; in getDisplayFromTransition()
552 return (DisplayContent) wc; in getDisplayFromTransition()
DTaskDisplayArea.java1975 final WindowContainer wc = rootTask.getParent();
1976 final int index = wc.mChildren.indexOf(rootTask) + 1;
1977 return (index < wc.mChildren.size()) ? (Task) wc.mChildren.get(index) : null;
/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java151 WorkChain wc = ws.createWorkChain(); in testWorkSourceParcelling() local
152 wc.addNode(56, "foo"); in testWorkSourceParcelling()
153 wc.addNode(75, "baz"); in testWorkSourceParcelling()
173 WorkChain wc = ws2.createWorkChain(); in testSet_workChains() local
174 wc.addNode(75, "tag"); in testSet_workChains()
191 wc.addNode(50, "tag2"); in testSet_workChains()
199 WorkChain wc = ws.createWorkChain(); in testSet_nullWorkChain() local
200 wc.addNode(75, "tag"); in testSet_nullWorkChain()
371 WorkChain wc = ws.createWorkChain(); in testGetAttributionWhenEmpty() local
373 assertEquals(-1, wc.getAttributionUid()); in testGetAttributionWhenEmpty()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaOrganizerTest.java143 final WindowContainer wc = mTestDisplayArea.getParent().getChildAt(newTdaIndex); in testCreateTaskDisplayArea_topBelowRoot() local
146 assertThat(wc).isInstanceOf(TaskDisplayArea.class); in testCreateTaskDisplayArea_topBelowRoot()
149 .isEqualTo(wc.mRemoteToken.toWindowContainerToken()); in testCreateTaskDisplayArea_topBelowRoot()
151 final TaskDisplayArea tda = wc.asTaskDisplayArea(); in testCreateTaskDisplayArea_topBelowRoot()
167 final WindowContainer wc = parentTda.getChildAt(parentTda.getChildCount() - 1); in testCreateTaskDisplayArea_topBelowAnotherTaskDisplayArea() local
170 assertThat(wc).isInstanceOf(TaskDisplayArea.class); in testCreateTaskDisplayArea_topBelowAnotherTaskDisplayArea()
173 .isEqualTo(wc.mRemoteToken.toWindowContainerToken()); in testCreateTaskDisplayArea_topBelowAnotherTaskDisplayArea()
175 final TaskDisplayArea tda = wc.asTaskDisplayArea(); in testCreateTaskDisplayArea_topBelowAnotherTaskDisplayArea()
DWindowContainerTests.java921 private void verifyWindowContainerApplyAnimation(WindowContainer wc, ActivityRecord act, in verifyWindowContainerApplyAnimation() argument
944 wc.getDisplayContent().prepareAppTransition(TRANSIT_OPEN); in verifyWindowContainerApplyAnimation()
945 wc.getDisplayContent().mAppTransition.overridePendingAppTransitionRemote(adapter); in verifyWindowContainerApplyAnimation()
946 spyOn(wc); in verifyWindowContainerApplyAnimation()
947 doReturn(true).when(wc).okToAnimate(); in verifyWindowContainerApplyAnimation()
955 assertTrue(wc.applyAnimation(null, TRANSIT_OLD_TASK_OPEN, true, false, sources)); in verifyWindowContainerApplyAnimation()
957 assertEquals(act, wc.getTopMostActivity()); in verifyWindowContainerApplyAnimation()
958 assertTrue(wc.isAnimating()); in verifyWindowContainerApplyAnimation()
959 assertTrue(wc.isAnimating(0, ANIMATION_TYPE_APP_TRANSITION)); in verifyWindowContainerApplyAnimation()
960 assertTrue(wc.getAnimationSources().contains(act)); in verifyWindowContainerApplyAnimation()
[all …]
DWindowOrganizerTests.java353 private void testTransaction(WindowContainer wc) { in testTransaction() argument
356 t.setBounds(wc.mRemoteToken.toWindowContainerToken(), new Rect(10, 10, 100, 100)); in testTransaction()
358 assertEquals(newBounds, wc.getBounds()); in testTransaction()
372 private void testSetWindowingMode(WindowContainer wc) { in testSetWindowingMode() argument
374 t.setWindowingMode(wc.mRemoteToken.toWindowContainerToken(), WINDOWING_MODE_FULLSCREEN); in testSetWindowingMode()
376 assertEquals(WINDOWING_MODE_FULLSCREEN, wc.getWindowingMode()); in testSetWindowingMode()
DWindowTestsBase.java455 final WindowContainer wc = taskDisplayArea.getChildAt(i); in getTaskIndexOf() local
456 if (wc.asTask() != null) { in getTaskIndexOf()
457 if (wc.asTask() == task) { in getTaskIndexOf()
462 final TaskDisplayArea tda = wc.asTaskDisplayArea(); in getTaskIndexOf()
/frameworks/base/core/java/android/os/
DWorkSource.java435 for (WorkChain wc : other.mChains) { in add()
436 if (!mChains.contains(wc)) { in add()
437 mChains.add(new WorkChain(wc)); in add()
568 final WorkChain wc = new WorkChain(); in createWorkChain() local
569 mChains.add(wc); in createWorkChain()
571 return wc; in createWorkChain()
1137 final WorkChain wc = oldWs.mChains.get(i);
1138 if (newWs.mChains == null || !newWs.mChains.contains(wc)) {
1142 goneChains.add(wc);
1149 final WorkChain wc = newWs.mChains.get(i);
[all …]
/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredentialStore.java105 IWritableCredential wc; in createCredential() local
106 wc = mStore.createCredential(credentialName, docType); in createCredential()
107 return new CredstoreWritableIdentityCredential(mContext, credentialName, docType, wc); in createCredential()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java111 void reparentTask(WindowContainerToken wc, SurfaceControl leash) { in reparentTask() argument
112 mWc = wc; in reparentTask()
/frameworks/base/libs/hwui/tests/scripts/
Dprep_taieye.sh1 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
Dprep_buller.sh3 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
/frameworks/rs/
Dupdate_rs_prebuilts.sh162 if [ `git status --short --untracked-files=no | wc -l` -ne 0 ]; then

12