Home
last modified time | relevance | path

Searched refs:Change (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/base/core/java/android/window/
DTaskFragmentTransaction.java52 private final ArrayList<Change> mChanges = new ArrayList<>();
60 in.readTypedList(mChanges, Change.CREATOR); in TaskFragmentTransaction()
75 public void addChange(@Nullable Change change) { in addChange()
87 public List<Change> getChanges() { in getChanges()
159 public static final class Change implements Parcelable { class in TaskFragmentTransaction
202 public Change(@ChangeType int type) { in Change() method in TaskFragmentTransaction.Change
206 private Change(Parcel in) { in Change() method in TaskFragmentTransaction.Change
237 public Change setTaskFragmentToken(@NonNull IBinder taskFragmentToken) { in setTaskFragmentToken()
244 public Change setTaskFragmentInfo(@NonNull TaskFragmentInfo info) { in setTaskFragmentInfo()
251 public Change setTaskId(int taskId) { in setTaskId()
[all …]
DWindowContainerTransaction.java61 private final ArrayMap<IBinder, Change> mChanges = new ArrayMap<>();
81 private Change getOrCreateChange(IBinder token) { in getOrCreateChange()
82 Change out = mChanges.get(token); in getOrCreateChange()
84 out = new Change(); in getOrCreateChange()
109 Change chg = getOrCreateChange(container.asBinder()); in setBounds()
124 Change chg = getOrCreateChange(container.asBinder()); in setAppBounds()
140 Change chg = getOrCreateChange(container.asBinder()); in setScreenSizeDp()
154 Change chg = getOrCreateChange(container.asBinder()); in setDensityDpi()
167 Change chg = getOrCreateChange(container.asBinder()); in scheduleFinishEnterPip()
169 chg.mChangeMask |= Change.CHANGE_PIP_CALLBACK; in scheduleFinishEnterPip()
[all …]
DTransitionInfo.java214 private final ArrayList<Change> mChanges = new ArrayList<>();
233 in.readTypedList(mChanges, Change.CREATOR); in TransitionInfo()
371 public List<Change> getChanges() { in getChanges()
380 public Change getChange(@NonNull WindowContainerToken token) { in getChange()
392 public void addChange(@NonNull Change change) { in addChange()
562 public static boolean isIndependent(@NonNull TransitionInfo.Change change, in isIndependent()
579 TransitionInfo.Change parentChg = info.getChange(change.getParent()); in isIndependent()
600 final Change c = mChanges.get(i); in releaseAnimSurfaces()
656 public static final class Change implements Parcelable { class in TransitionInfo
684 public Change(@Nullable WindowContainerToken container, @NonNull SurfaceControl leash) { in Change() method in TransitionInfo.Change
[all …]
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_action_test.cc66 EXPECT_TRUE(action.Change(SIGUSR1, &new_sa, ClaimedHostSaSigaction, &old_sa, &error)); in TEST()
70 EXPECT_TRUE(action.Change(SIGUSR1, &old_sa, nullptr, &old_sa, &error)); in TEST()
93 EXPECT_TRUE(action.Change(SIGUSR1, &sa, ClaimedHostSaSigaction, &sa, &error)); in TEST()
98 EXPECT_TRUE(action.Change(SIGUSR1, nullptr, nullptr, &sa, &error)); in TEST()
115 EXPECT_TRUE(action.Change(SIGUSR1, nullptr, nullptr, &old_sa, &error)); in TEST()
124 EXPECT_TRUE(action.Change(SIGUSR1, &new_sa, ClaimedHostSaSigaction, &old_sa, &error)); in TEST()
132 EXPECT_TRUE(action.Change(SIGUSR1, &new_sa, ClaimedHostSaSigaction, &old_sa, &error)); in TEST()
138 EXPECT_TRUE(action.Change(SIGUSR1, nullptr, nullptr, &old_sa, &error)); in TEST()
155 EXPECT_TRUE(action.Change(SIGUSR1, nullptr, nullptr, &old_sa, &error)); in TEST()
161 EXPECT_TRUE(action.Change(SIGUSR1, &old_sa, ClaimedHostSaSigaction, &old_sa, &error)); in TEST()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java199 for (TransitionInfo.Change change : info.getChanges()) { in createAnimationAdapters()
243 final List<TransitionInfo.Change> openingChanges = new ArrayList<>(); in createOpenCloseAnimationAdapters()
244 final List<TransitionInfo.Change> closingChanges = new ArrayList<>(); in createOpenCloseAnimationAdapters()
247 for (TransitionInfo.Change change : info.getChanges()) { in createOpenCloseAnimationAdapters()
263 for (TransitionInfo.Change change : openingChanges) { in createOpenCloseAnimationAdapters()
276 for (TransitionInfo.Change change : closingChanges) { in createOpenCloseAnimationAdapters()
310 @NonNull TransitionInfo.Change closingChange) { in shouldUseSnapshotAnimationForClosingChange()
344 final TransitionInfo.Change change = adapter.mChange; in addEdgeExtensionIfNeeded()
376 @NonNull TransitionInfo info, @NonNull TransitionInfo.Change change, in createOpenCloseAnimationAdapter()
390 final Set<TransitionInfo.Change> handledChanges = new ArraySet<>(); in createChangeAnimationAdapters()
[all …]
DActivityEmbeddingController.java103 for (TransitionInfo.Change change : info.getChanges()) { in shouldAnimate()
129 for (TransitionInfo.Change change : info.getChanges()) { in shouldAnimateAnimationOptions()
178 for (TransitionInfo.Change change : info.getChanges()) { in containsNonEmbeddedChange()
186 private boolean handleNonEmbeddedChanges(List<TransitionInfo.Change> changes) { in handleNonEmbeddedChanges()
189 final TransitionInfo.Change change = changes.get(i); in handleNonEmbeddedChanges()
200 final TransitionInfo.Change change = changes.get(i); in handleNonEmbeddedChanges()
209 final TransitionInfo.Change change = changes.get(i); in handleNonEmbeddedChanges()
DActivityEmbeddingAnimationSpec.java77 static Animation createNoopAnimation(@NonNull TransitionInfo.Change change) { in createNoopAnimation()
94 Animation createChangeBoundsOpenAnimation(@NonNull TransitionInfo.Change change, in createChangeBoundsOpenAnimation()
122 Animation createChangeBoundsCloseAnimation(@NonNull TransitionInfo.Change change, in createChangeBoundsCloseAnimation()
154 Animation[] createChangeBoundsChangeAnimations(@NonNull TransitionInfo.Change change, in createChangeBoundsChangeAnimations()
204 @NonNull TransitionInfo.Change change, @NonNull Rect wholeAnimationBounds) { in loadOpenAnimation()
231 @NonNull TransitionInfo.Change change, @NonNull Rect wholeAnimationBounds) { in loadCloseAnimation()
257 @NonNull TransitionInfo.Change change) { in shouldShowBackdrop()
266 @NonNull TransitionInfo.Change change, boolean isEnter) { in loadCustomAnimation()
DActivityEmbeddingAnimationAdapter.java48 final TransitionInfo.Change mChange;
76 @NonNull TransitionInfo.Change change, @NonNull TransitionInfo.Root root) { in ActivityEmbeddingAnimationAdapter()
87 @NonNull TransitionInfo.Change change, @NonNull SurfaceControl leash, in ActivityEmbeddingAnimationAdapter()
195 SnapshotAdapter(@NonNull Animation animation, @NonNull TransitionInfo.Change change, in SnapshotAdapter()
223 BoundsChangeAdapter(@NonNull Animation animation, @NonNull TransitionInfo.Change change, in BoundsChangeAdapter()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DHomeTransitionObserverTest.java101 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testHomeActivityWithOpenModeNotifiesHomeIsVisible()
119 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testHomeActivityWithCloseModeNotifiesHomeIsNotVisible()
137 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testNonHomeActivityDoesNotTriggerCallback()
155 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testNonRunningHomeActivityDoesNotTriggerCallback()
173 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testStartDragToDesktopDoesNotTriggerCallback()
192 TransitionInfo.Change change = mock(TransitionInfo.Change.class); in testHomeActivityWithBackGestureNotifiesHomeIsVisible()
212 TransitionInfo.Change change, in setupTransitionInfo()
DTransitionInfoBuilder.java56 final TransitionInfo.Change change = new TransitionInfo.Change( in addChange()
86 public TransitionInfoBuilder addChange(TransitionInfo.Change change) { in addChange()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DTransitionUtil.java88 final TransitionInfo.Change change = info.getChanges().get(i); in hasDisplayChange()
97 public static boolean isWallpaper(TransitionInfo.Change change) { in isWallpaper()
104 public static boolean isNonApp(TransitionInfo.Change change) { in isNonApp()
111 public static boolean isDividerBar(TransitionInfo.Change change) { in isDividerBar()
116 public static boolean isOrderOnly(TransitionInfo.Change change) { in isOrderOnly()
128 public static class LeafTaskFilter implements Predicate<TransitionInfo.Change> {
132 public boolean test(TransitionInfo.Change change) { in test()
164 @NonNull TransitionInfo.Change change, int layer, in setupLeash()
223 private static SurfaceControl createLeash(TransitionInfo info, TransitionInfo.Change change, in createLeash()
256 public static RemoteAnimationTarget newTarget(TransitionInfo.Change change, int order, in newTarget()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionObserverTest.java96 final TransitionInfo.Change change = in testCreatesWindowDecorOnOpenTransition_freeform()
113 final TransitionInfo.Change change = in testPreparesWindowDecorOnCloseTransition_freeform()
130 final TransitionInfo.Change change = in testDoesntCloseWindowDecorDuringCloseTransition()
146 final TransitionInfo.Change change = in testClosesWindowDecorAfterCloseTransition()
166 final TransitionInfo.Change change1 = in testClosesMergedWindowDecorationAfterTransitionFinishes()
178 final TransitionInfo.Change change2 = in testClosesMergedWindowDecorationAfterTransitionFinishes()
197 final TransitionInfo.Change change1 = in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions()
209 final TransitionInfo.Change change2 = in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions()
226 private static TransitionInfo.Change createChange(int mode, int taskId, int windowingMode) { in createChange()
231 final TransitionInfo.Change change = new TransitionInfo.Change( in createChange()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DMixedTransitionHelper.java56 TransitionInfo.Change pipChange = null; in animateEnterPipFromSplit()
57 TransitionInfo.Change wallpaper = null; in animateEnterPipFromSplit()
62 TransitionInfo.Change change = info.getChanges().get(i); in animateEnterPipFromSplit()
111 TransitionInfo.Change change = info.getChanges().get(i); in animateEnterPipFromSplit()
175 public static TransitionInfo.Change getPipReplacingChange(TransitionInfo info, in getPipReplacingChange()
176 TransitionInfo.Change pipChange, int splitMainStageRootId, int splitSideStageRootId, in getPipReplacingChange()
186 TransitionInfo.Change change = info.getChanges().get(i); in getPipReplacingChange()
199 private static boolean isHomeOpening(@NonNull TransitionInfo.Change change) { in isHomeOpening()
204 private static boolean isWallpaper(@NonNull TransitionInfo.Change change) { in isWallpaper()
DCounterRotatorHelper.java47 @NonNull TransitionInfo.Change displayRotationChange) { in handleClosingChanges()
56 final List<TransitionInfo.Change> changes = info.getChanges(); in handleClosingChanges()
59 final TransitionInfo.Change change = changes.get(i); in handleClosingChanges()
90 public Rect getEndBoundsInStartRotation(@NonNull TransitionInfo.Change change) { in getEndBoundsInStartRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DDimmerAnimationHelper.java46 static class Change { class in DimmerAnimationHelper
53 Change() {} in Change() method in DimmerAnimationHelper.Change
55 Change(Change other) { in Change() method in DimmerAnimationHelper.Change
63 boolean hasSameVisualProperties(Change other) { in hasSameVisualProperties()
67 boolean hasSameDimmingContainer(Change other) { in hasSameDimmingContainer()
83 private Change mCurrentProperties = new Change();
84 private Change mRequestedProperties = new Change();
159 mCurrentProperties = new Change(mRequestedProperties); in applyChanges()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationTestBase.java86 static TransitionInfo.Change createChange(@TransitionInfo.ChangeFlags int flags) { in createChange()
87 TransitionInfo.Change c = new TransitionInfo.Change(mock(WindowContainerToken.class), in createChange()
97 static TransitionInfo.Change createEmbeddedChange(@NonNull Rect startBounds, in createEmbeddedChange()
99 final TransitionInfo.Change change = createChange(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY); in createEmbeddedChange()
/frameworks/native/services/inputflinger/tests/fuzzers/
DCursorInputFuzzer.cpp67 InputReaderConfiguration::Change( in LLVMFuzzerTestOneInput()
74 InputReaderConfiguration::Change(0)); in LLVMFuzzerTestOneInput()
82 InputReaderConfiguration::Change(0)); in LLVMFuzzerTestOneInput()
97 InputReaderConfiguration::Change(0)); in LLVMFuzzerTestOneInput()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionObserver.java77 for (TransitionInfo.Change change : info.getChanges()) { in onTransitionReady()
120 TransitionInfo.Change change, in onOpenTransitionReady()
128 TransitionInfo.Change change, in onCloseTransitionReady()
135 TransitionInfo.Change change, in onChangeTransitionReady()
143 TransitionInfo.Change change, in onToFrontTransitionReady()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DExitDesktopTaskTransitionHandlerTest.java112 TransitionInfo.Change change = in testTransitExitDesktopModeAnimation()
132 private TransitionInfo.Change createChange(@WindowManager.TransitionType int type, int taskId, in createChange()
140 final TransitionInfo.Change change = new TransitionInfo.Change( in createChange()
148 @WindowManager.TransitionType int type, @NonNull TransitionInfo.Change change) { in createTransitionInfo()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteAnimationTargetCompat.java23 import android.window.TransitionInfo.Change;
74 Predicate<Change> filter) {
77 TransitionInfo.Change change = info.getChanges().get(i);
DRemoteAnimationRunnerCompat.java93 TransitionInfo.Change launcherTask = null; in wrap()
94 TransitionInfo.Change wallpaper = null; in wrap()
100 final TransitionInfo.Change change = info.getChanges().get(i); in wrap()
124 final TransitionInfo.Change parent = info.getChange(launcherTask.getParent()); in wrap()
143 final TransitionInfo.Change change = info.getChanges().get(i); in wrap()
165 final TransitionInfo.Change parent = info.getChange(wallpaper.getParent()); in wrap()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java211 final TransitionInfo.Change currentPipTaskChange = findCurrentPipTaskChange(info); in startAnimation()
212 final TransitionInfo.Change fixedRotationChange = findFixedRotationChange(info); in startAnimation()
314 final TransitionInfo.Change pipChange = getPipChange(info); in handleEnteringPipWithDisplayChange()
606 private TransitionInfo.Change findCurrentPipTaskChange(@NonNull TransitionInfo info) { in findCurrentPipTaskChange()
611 final TransitionInfo.Change change = info.getChanges().get(i); in findCurrentPipTaskChange()
620 private TransitionInfo.Change findFixedRotationChange(@NonNull TransitionInfo info) { in findFixedRotationChange()
622 final TransitionInfo.Change change = info.getChanges().get(i); in findFixedRotationChange()
634 @NonNull TaskInfo taskInfo, @Nullable TransitionInfo.Change pipTaskChange) { in startExitAnimation()
635 TransitionInfo.Change pipChange = pipTaskChange; in startExitAnimation()
645 final TransitionInfo.Change change = info.getChanges().get(i); in startExitAnimation()
[all …]
/frameworks/base/services/core/xsd/platform-compat/config/schema/
Dcurrent.txt4 public class Change {
5 ctor public Change();
28 method public java.util.List<com.android.server.compat.config.Change> getCompatChange();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java179 final TransitionInfo.Change currentPipTaskChange = findCurrentPipTaskChange(info); in startAnimation()
195 TransitionInfo.Change pipChange = currentPipTaskChange; in startAnimation()
206 final TransitionInfo.Change change = info.getChanges().get(i); in startAnimation()
272 TransitionInfo.Change enterPip = null; in startAnimation()
274 final TransitionInfo.Change change = info.getChanges().get(i); in startAnimation()
288 final TransitionInfo.Change change = info.getChanges().get(i); in startAnimation()
328 final TransitionInfo.Change pipTaskChange = findCurrentPipTaskChange(info); in startCloseAnimation()
332 for (TransitionInfo.Change change : info.getChanges()) { in startCloseAnimation()
398 public void startEnterAnimation(@NonNull TransitionInfo.Change pipChange, in startEnterAnimation()
605 final TransitionInfo.Change currentPipTaskChange = findCurrentPipTaskChange(info); in isCloseTransition()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java205 TransitionInfo.Change pipChange = getPipChange(info); in startAnimation()
252 TransitionInfo.Change pipChange = getPipChange(info); in startResizeAnimation()
285 TransitionInfo.Change pipChange = getPipChange(info); in handleSwipePipToHomeTransition()
367 TransitionInfo.Change pipChange = getPipChange(info); in startBoundsTypeEnterAnimation()
384 TransitionInfo.Change pipChange = getPipChange(info); in startAlphaTypeEnterAnimation()
436 private TransitionInfo.Change getPipChange(TransitionInfo info) { in getPipChange()
437 for (TransitionInfo.Change change : info.getChanges()) { in getPipChange()
485 TransitionInfo.Change pipChange = getPipChange(info); in isLegacyEnter()
497 TransitionInfo.Change pipChange = info.getChange(mPipTransitionState.mPipTaskToken); in isRemovePipTransition()

12345