Home
last modified time | relevance | path

Searched refs:BackNavigationInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DShellBackAnimationRegistry.java24 import android.window.BackNavigationInfo;
45 BackNavigationInfo.TYPE_CROSS_ACTIVITY, crossActivityAnimation.getRunner()); in ShellBackAnimationRegistry()
49 BackNavigationInfo.TYPE_CROSS_TASK, crossTaskAnimation.getRunner()); in ShellBackAnimationRegistry()
53 BackNavigationInfo.TYPE_DIALOG_CLOSE, dialogCloseAnimation.getRunner()); in ShellBackAnimationRegistry()
57 BackNavigationInfo.TYPE_RETURN_TO_HOME, defaultBackToHomeAnimation.getRunner()); in ShellBackAnimationRegistry()
68 @BackNavigationInfo.BackTargetType int type, @NonNull BackAnimationRunner runner) { in registerAnimation()
71 if (BackNavigationInfo.TYPE_CROSS_ACTIVITY == type) { in registerAnimation()
76 void unregisterAnimation(@BackNavigationInfo.BackTargetType int type) { in unregisterAnimation()
79 if (BackNavigationInfo.TYPE_CROSS_ACTIVITY == type) { in unregisterAnimation()
90 boolean startGesture(@BackNavigationInfo.BackTargetType int type) { in startGesture()
[all …]
DShellBackAnimation.java20 import android.window.BackNavigationInfo;
49 public boolean prepareNextAnimation(BackNavigationInfo.CustomAnimationInfo animationInfo, in prepareNextAnimation()
DCustomCrossActivityBackAnimation.kt27 import android.window.BackNavigationInfo in <lambda>()
174 animationInfo: BackNavigationInfo.CustomAnimationInfo?, in <lambda>()
225 animationInfo: BackNavigationInfo.CustomAnimationInfo in loadAll()
245 animationInfo: BackNavigationInfo.CustomAnimationInfo, in loadAnimation()
DBackAnimationController.java55 import android.window.BackNavigationInfo;
116 private BackNavigationInfo mBackNavigationInfo;
179 @BackNavigationInfo.BackTargetType
375 BackNavigationInfo.TYPE_RETURN_TO_HOME, in setBackToLauncherCallback()
387 BackNavigationInfo.TYPE_RETURN_TO_HOME)); in clearBackToLauncherCallback()
407 void registerAnimation(@BackNavigationInfo.BackTargetType int type, in registerAnimation()
412 void unregisterAnimation(@BackNavigationInfo.BackTargetType int type) { in unregisterAnimation()
539 private void onBackNavigationInfoReceived(@Nullable BackNavigationInfo backNavigationInfo, in onBackNavigationInfoReceived()
DCrossActivityBackAnimation.kt42 import android.window.BackNavigationInfo in <lambda>()
478 animationInfo: BackNavigationInfo.CustomAnimationInfo?, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackAnimationControllerTest.java19 import static android.window.BackNavigationInfo.KEY_NAVIGATION_FINISHED;
56 import android.window.BackNavigationInfo;
169 BackNavigationInfo.Builder builder = in createNavigationInfo()
170 new BackNavigationInfo.Builder() in createNavigationInfo()
181 private void createNavigationInfo(BackNavigationInfo.Builder builder) { in createNavigationInfo()
224 BackNavigationInfo.TYPE_RETURN_TO_HOME, in verifyNavigationFinishes()
225 BackNavigationInfo.TYPE_CROSS_TASK, in verifyNavigationFinishes()
226 BackNavigationInfo.TYPE_CROSS_ACTIVITY, in verifyNavigationFinishes()
227 BackNavigationInfo.TYPE_DIALOG_CLOSE, in verifyNavigationFinishes()
228 BackNavigationInfo.TYPE_CALLBACK in verifyNavigationFinishes()
[all …]
DCustomCrossActivityBackAnimationTest.kt34 import android.window.BackNavigationInfo
155 BackNavigationInfo.Builder() in testLoadCustomAnimation()
195 BackNavigationInfo.Builder() in startCustomAnimation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackNavigationControllerTests.java27 import static android.window.BackNavigationInfo.typeToString;
65 import android.window.BackNavigationInfo;
120 BackNavigationInfo backNavigationInfo = startBackNavigation(); in backNavInfo_HomeWhenBackToLauncher()
124 .isEqualTo(typeToString(BackNavigationInfo.TYPE_RETURN_TO_HOME)); in backNavInfo_HomeWhenBackToLauncher()
140 BackNavigationInfo backNavigationInfo = startBackNavigation(); in noBackWhenMoveTaskToBack()
152 BackNavigationInfo backNavigationInfo = startBackNavigation(); in backTypeCrossTaskWhenBackToPreviousTask()
155 .isEqualTo(typeToString(BackNavigationInfo.TYPE_CROSS_TASK)); in backTypeCrossTaskWhenBackToPreviousTask()
169 .isEqualTo(typeToString(BackNavigationInfo.TYPE_CALLBACK)); in backTypeCrossTaskWhenBackToPreviousTask()
179 .isEqualTo(typeToString(BackNavigationInfo.TYPE_CALLBACK)); in backTypeCrossTaskWhenBackToPreviousTask()
190 .isEqualTo(typeToString(BackNavigationInfo.TYPE_CALLBACK)); in backTypeCrossTaskWhenBackToPreviousTask()
[all …]
/frameworks/base/core/java/android/window/
DBackNavigationInfo.java41 public final class BackNavigationInfo implements Parcelable { class
130 private BackNavigationInfo(@BackTargetType int type, in BackNavigationInfo() method in BackNavigationInfo
150 private BackNavigationInfo(@NonNull Parcel in) { in BackNavigationInfo() method in BackNavigationInfo
284 public static final Creator<BackNavigationInfo> CREATOR = new Creator<BackNavigationInfo>() {
286 public BackNavigationInfo createFromParcel(Parcel in) {
287 return new BackNavigationInfo(in);
291 public BackNavigationInfo[] newArray(int size) {
292 return new BackNavigationInfo[size];
532 public BackNavigationInfo build() { in build()
533 return new BackNavigationInfo(mType, mOnBackNavigationDone, in build()
DBackNavigationInfo.aidl22 parcelable BackNavigationInfo;
/frameworks/base/services/core/java/com/android/server/wm/
DBackNavigationController.java56 import android.window.BackNavigationInfo;
79 private @BackNavigationInfo.BackTargetType int mLastBackType;
122 BackNavigationInfo startBackNavigation(@NonNull RemoteCallback navigationObserver, in startBackNavigation()
129 int backType = BackNavigationInfo.TYPE_UNDEFINED; in startBackNavigation()
144 BackNavigationInfo.Builder infoBuilder = new BackNavigationInfo.Builder(); in startBackNavigation()
200 backType = BackNavigationInfo.TYPE_CALLBACK; in startBackNavigation()
219 if (backType == BackNavigationInfo.TYPE_CALLBACK in startBackNavigation()
225 infoBuilder.setType(BackNavigationInfo.TYPE_CALLBACK); in startBackNavigation()
227 onBackNavigationDone(result, BackNavigationInfo.TYPE_CALLBACK))); in startBackNavigation()
228 mLastBackType = BackNavigationInfo.TYPE_CALLBACK; in startBackNavigation()
[all …]
DActivityTaskManagerService.java248 import android.window.BackNavigationInfo;
1870 public BackNavigationInfo startBackNavigation( in startBackNavigation()
/frameworks/base/core/tests/coretests/src/android/window/
DBackNavigationTest.java94 BackNavigationInfo info = ActivityTaskManager.getService() in assertCallbackIsCalled()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl77 import android.window.BackNavigationInfo;
361 android.window.BackNavigationInfo startBackNavigation( in startBackNavigation()
/frameworks/base/core/api/
Dtest-current.txt4142 public final class BackNavigationInfo implements android.os.Parcelable {
4146 …nNull public static final android.os.Parcelable.Creator<android.window.BackNavigationInfo> CREATOR;
/frameworks/base/boot/
Dpreloaded-classes10203 android.window.BackNavigationInfo$1
10204 android.window.BackNavigationInfo
Dboot-image-profile.txt32623 Landroid/window/BackNavigationInfo$1;
32624 Landroid/window/BackNavigationInfo;
/frameworks/base/config/
Dpreloaded-classes10234 android.window.BackNavigationInfo$1
10235 android.window.BackNavigationInfo
Dboot-image-profile.txt42784 Landroid/window/BackNavigationInfo$1;
42785 Landroid/window/BackNavigationInfo;