Rename Stack to Task related terms (7/n)

- Renaming PinnedStack to PinnedTask
- Renaming DockedStack to DockedTask

Bug: 157876447
Test: presubmit
Change-Id: I51c10564647ed0d46eddc0c51a1ee06eef897e43
This commit is contained in:
Louis Chang
2021-02-22 18:16:58 +08:00
parent c048b1c769
commit 7efc57797c
25 changed files with 124 additions and 126 deletions

View File

@@ -23,11 +23,11 @@ import android.graphics.Rect;
import android.view.DisplayInfo;
/**
* Listener for changes to the pinned stack made by the WindowManager.
* Listener for changes to the pinned task made by the WindowManager.
*
* @hide
*/
oneway interface IPinnedStackListener {
oneway interface IPinnedTaskListener {
/**
* Called when the window manager has detected a change that would cause the movement bounds

View File

@@ -36,13 +36,12 @@ import android.service.screenshot.ScreenshotHash;
import android.view.DisplayCutout;
import android.view.IApplicationToken;
import android.view.IAppTransitionAnimationSpecsFuture;
import android.view.IDockedStackListener;
import android.view.IDisplayWindowInsetsController;
import android.view.IDisplayWindowListener;
import android.view.IDisplayFoldListener;
import android.view.IDisplayWindowRotationController;
import android.view.IOnKeyguardExitResult;
import android.view.IPinnedStackListener;
import android.view.IPinnedTaskListener;
import android.view.IScrollCaptureCallbacks;
import android.view.RemoteAnimationAdapter;
import android.view.IRotationWatcher;
@@ -445,12 +444,12 @@ interface IWindowManager
* Sets the region the user can touch the divider. This region will be excluded from the region
* which is used to cause a focus switch when dispatching touch.
*/
void setDockedStackDividerTouchRegion(in Rect touchableRegion);
void setDockedTaskDividerTouchRegion(in Rect touchableRegion);
/**
* Registers a listener that will be called when the pinned stack state changes.
* Registers a listener that will be called when the pinned task state changes.
*/
void registerPinnedStackListener(int displayId, IPinnedStackListener listener);
void registerPinnedTaskListener(int displayId, IPinnedTaskListener listener);
/**
* Requests Keyboard Shortcuts from the displayed window.